inappropriately sensing humans and elves
Discovered while testing the from-what enhancements to enlightenment. Polymorphing into a vampire confers the ability to sense humans and elves without having telepathy or being triggered by blindness. That would be taken away if you polymorphed into something else, but was being left in effect if polymorph just timed out and hero returned to normal form. Same thing occurred for sensing shriekers if you poly'd into a purple worm and then reverted to normal (something much less likely to get noticed and not really subject to abuse if it ever did). Bonus fix: the code involved was using 0 to mean that Warn_of_mon from polymorph wasn't in effect, but 0 is also giant ant. This makes it use NON_PM for that instead.
This commit is contained in:
@@ -60,6 +60,10 @@ actually make the castle chest not trapped
|
||||
level-drain resistance wasn't shown during enlightenment if it was conferred
|
||||
by worn/wielded equipment
|
||||
wizard mode enlightenment now shows more reasons for various intrinsics
|
||||
rehumanizing after being poly'd into vampire left hero with ability to sense
|
||||
humans and elves
|
||||
Warn_of_mon wouldn't have been able to sense giant ants if any creature were
|
||||
to have that ability, caused by using 0 instead of NON_PM for 'none'
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user