fix #H4142 - resistance from Excalibur
Enlightenment and end of game disclosure didn't report level-drain resistance if that was obtained via wielding Excalibur (or Stormbringer or Staff of Aesculapius). Drain_resistance wasn't one of the attributes set for intrinsics/extrinsics when wielding or unwielding weapon or wearing/unwearing other equipment. loseexp() checks resists_drli() which does check for items in use, so level drain would be aborted, possibly after messages claimed that it was taming place. I didn't try to untangle any of that, just changed set_artifact_intrinsic to include a test for DRAIN_RES.
This commit is contained in:
@@ -57,6 +57,8 @@ do not autopickup unpaid items in shops
|
||||
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
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user