fix #H4146 - more enlightenment vs drain resistance
Duplicate of another recent report as far as drain resistance from Excalibur/Stormbringer/Staff of Aesculapius not being shown by enlightenment goes, but this one mentioned that it also wasn't being shown for lycanthropy. Being inflicted by that does confers level- drain resistance. were_change() wasn't calling set_uasmon() since it isn't changing youmonst.data, but set_uasmon() is were intrinsics conferred by creature form are set up. So call it when changing were-form. Direct access to u.ulycn wasn't calling it either, so add a new routine to assign the value to that instead doing so directly.
This commit is contained in:
@@ -57,7 +57,7 @@ death due an unseen gas spore's explosion resulted in "killed by a died"
|
||||
allow optional parameter "true", "yes", "false", or "no" for boolean options
|
||||
actually make the castle chest not trapped
|
||||
level-drain resistance wasn't shown during enlightenment if it was conferred
|
||||
by worn/wielded equipment
|
||||
by worn/wielded equipment or by lycanthropy
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user