mind flayer's damage
From a followup to #H2247, April 2011... Physical damage from a mind flayer attack was inflicted in the AD_DRIN case for hitmu(), then being inflicted again in the common code after the switch statement. The new comment explaining the reason for non-standard damage is just a guess.
This commit is contained in:
@@ -1091,9 +1091,11 @@ register struct attack *mattk;
|
||||
helm_simple_name(uarmh));
|
||||
break;
|
||||
}
|
||||
/* negative armor class doesn't reduce this damage */
|
||||
if (Half_physical_damage)
|
||||
dmg = (dmg + 1) / 2;
|
||||
mdamageu(mtmp, dmg);
|
||||
dmg = 0; /* don't inflict a second dose below */
|
||||
|
||||
if (!uarmh || uarmh->otyp != DUNCE_CAP) {
|
||||
/* eat_brains() will miss if target is mindless (won't
|
||||
|
||||
Reference in New Issue
Block a user