wishing fix
name_to_mon() has a bunch of alternate monster names, such as "gray-elf" to match "grey-elf" and "ki rin" to match "ki-rin". Those worked as intended when they occurred at the end of a wish, but only worked in the middle if their length was the same or one character less than the canonical name in mons[].mname. djinni figurine -> h - a figurine of a djinni genie figurine -> i - a figurine of a djinni figurine of mumak -> j - a figurine of a mumak mumak figurine -> k - a figurine of a mumak figurine of mumakil -> l - a figurine of a mumak mumakil figurine -> nothing fitting that description exists (The one-less case worked because its following space ended up being implicitly removed when skipping ahead by the length of mons[].mname; subsequent explicit removal didn't find a space so was a no-op.)
This commit is contained in:
@@ -137,6 +137,10 @@ hostile monsters with launcher and ammo try to stay away from melee range
|
||||
allow displacing peaceful creatures
|
||||
unicorn horns don't restore attribute loss anymore
|
||||
when a shop is changed from food to health food, change room type to match
|
||||
wish parsing of things containing monster names would accept all supported
|
||||
alternate spellings if they occurred at the end ("corpse of mumakil")
|
||||
but only some when they occurred elsewhere ("gray-elf corpse" worked,
|
||||
"mumakil corpse" yielded "does not exist") depending upon name length
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user