From: Pasi Kallinen Date: Sat, 5 Feb 2022 08:40:34 +0000 (+0200) Subject: Fix thinko in drain life attack X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8eb00cf59315a7eee38cd9ab89d4064ef9829950;p=nethack Fix thinko in drain life attack Fixes #667 --- diff --git a/src/uhitm.c b/src/uhitm.c index 6b13551e9..76f2f8e48 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -1942,7 +1942,7 @@ mhitm_ad_drli( boolean negated = !(rn2(10) >= 3 * armpro); if (!negated && !rn2(3) - && !(resists_drli(mdef) || defended(mdef, AD_FIRE))) { + && !(resists_drli(mdef) || defended(mdef, AD_DRLI))) { mhm->damage = d(2, 6); /* Stormbringer uses monhp_per_lvl * (usually 1d8) */ pline("%s becomes weaker!", Monnam(mdef));