Go to the documentation of this file.
47 for (i = 0; i < num; i++) {
48 if (i && (i%3) == 0) {
67 const char *gen_name =
"";
80 if (
HEAD(&at->clone) != &at->clone)
83 gen =
getManager()->archetypes()->first([&at] (
const auto gen) {
91 printf(
"%-16s|%6" FMT64 "|%4d|%3d|%s|%s|%s\n", at->clone.name, at->clone.stats.exp,
92 at->clone.stats.hp, at->clone.stats.ac,
name, at->name, gen_name);
102 printf(
" | | | | | attack | resistances |\n");
103 printf(
"monster | hp |dam| ac | wc |pmf ecw adw gpd ptf|phy mag fir ele cld cfs acd drn wmg ght poi slo par tud fer cnc dep dth chs csp gpw hwd bln int | exp | new exp |\n");
104 printf(
"---------------------------------------------------------------------------------------------------------------------------------------------------\n");
110 printf(
"%-15s|%5d|%3d|%4d|%4d|%s|",
111 op->arch->name,
op->stats.maxhp,
op->stats.dam,
op->stats.ac,
112 op->stats.wc, attbuf);
114 printf(
"%4d",
op->resist[i]);
int64_t new_exp(const object *ob)
#define QUERY_FLAG(xyz, p)
AssetsManager * getManager()
char * stringbuffer_finish(StringBuffer *sb)
void object_free_drop_inventory(object *ob)
void each(std::function< void(T *)> op)
void dump_abilities(void)
struct archetype * other_arch
Archetypes * archetypes()
StringBuffer * describe_item(const object *op, const object *owner, int use_media_tags, StringBuffer *buf)
void print_monsters(void)
object * arch_to_object(archetype *at)
static void bitstostring(long bits, int num, char *str)