diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index fea3c9576..0d58633f4 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1652,6 +1652,8 @@ pets capable of using items would pick up and wear cursed armor if something breakable was set up as alternate weapon and the second of two bare-handed hits succeeded, it would be broken and trigger impossible "objfree: deleting worn obj" +strength cap for hero poly'd into an orc captain was 18/50 even though it is + 10/100 for Uruk-Hai and monster Uruk-Hai can grow into orc captains Fixes to 3.7.0-x Platform and/or Interface Problems Exposed Via git Repository diff --git a/src/polyself.c b/src/polyself.c index 0042dc488..b732527ac 100644 --- a/src/polyself.c +++ b/src/polyself.c @@ -1028,7 +1028,7 @@ uasmon_maxStr(void) struct permonst *ptr = &mons[mndx]; if (is_orc(ptr)) { - if (mndx != PM_URUK_HAI) + if (mndx != PM_URUK_HAI && mndx != PM_ORC_CAPTAIN) mndx = PM_ORC; } else if (is_elf(ptr)) { mndx = PM_ELF; @@ -1052,11 +1052,11 @@ uasmon_maxStr(void) hero poly'd into an orc the same; goblins, orc shamans, and orc zombies don't have strongmonst() attribute so won't get here; hobgoblins and orc mummies do get here and are limited to 18/50 - like normal orcs; however, Uruk-hai retain 18/100 strength; - hero gnomes are also limited to 18/50; hero elves are limited - to 18/00 regardless of whether they're strongmonst, but the two - strongmonst types (monarchs and nobles) have current strength - set to 18 [by polymon()], the others don't */ + like normal orcs; however, orc captains and Uruk-hai retain 18/100 + strength; hero gnomes are also limited to 18/50; hero elves are + limited to 18/00 regardless of whether they're strongmonst, but + the two strongmonst types (monarchs and nobles) have current + strength set to 18 [by polymon()], the others don't */ newMaxStr = R ? R->attrmax[A_STR] : live_H ? STR19(19) : STR18(100); } else { newMaxStr = R ? R->attrmax[A_STR] : 18; /* 18 is same as STR18(0) */