1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-05-15 03:55:05 +01:00
Add conversions from nonstandard role markers to monsters
This commit is contained in:
Chris-plus-alphanumericgibberish 2015-01-24 11:23:35 -05:00
parent 40d9583418
commit 37fd9aa744

View file

@ -1085,7 +1085,7 @@ encodeachieve(void)
if(achieve.get_luckstone) r |= 1L << 9;
if(achieve.finish_sokoban) r |= 1L << 10;
if(achieve.killed_medusa) r |= 1L << 11;
return r;
}
#endif
@ -1253,6 +1253,13 @@ classmon(plch, fem)
else
return PM_HUMAN;
}
if (!strcmp(plch, "Elf")) return PM_ELF;
if (!strcmp(plch, "Dro")) return PM_DROW_MATRON;
if (!strcmp(plch, "Hdr")) return PM_HEDROW_WARRIOR;
if (!strcmp(plch, "Dna")) return PM_DWARF_LORD;
if (!strcmp(plch, "Dnb")) return PM_DWARF_LORD;
if (!strcmp(plch, "Ndr")) return PM_DROW_MATRON;
if (!strcmp(plch, "Nhd")) return PM_HEDROW_WARRIOR;
/* this might be from a 3.2.x score for former Elf class */
if (!strcmp(plch, "E")) return PM_RANGER;