half-physical-damage from gas spore explosion should only affect you

- <Someone> noticed the fix for applying half physical damage to gas spore
explosions affected damage to all monsters, not just you
This commit is contained in:
cohrs
2002-03-27 02:31:21 +00:00
parent ea18afa4dd
commit 6cdf92851e
3 changed files with 4 additions and 2 deletions

View File

@@ -314,7 +314,8 @@ int expltype;
if (Invulnerable) {
damu = 0;
You("are unharmed!");
}
} else if (Half_physical_damage && adtyp == AD_PHYS)
damu = (damu+1) / 2;
if (adtyp == AD_FIRE) (void) burnarmor(&youmonst);
destroy_item(SCROLL_CLASS, (int) adtyp);
destroy_item(SPBOOK_CLASS, (int) adtyp);