mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-05-15 03:55:05 +01:00
topten.c
Add conversions from nonstandard role markers to monsters
This commit is contained in:
parent
40d9583418
commit
37fd9aa744
1 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue