Fix thinko in drain life attack

Fixes #667
This commit is contained in:
Pasi Kallinen
2022-02-05 10:40:34 +02:00
parent 93db2a8a84
commit 8eb00cf593

View File

@@ -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));