petrification fixes
Eliminate the somewhat redundant "You die..." following "You turned to stone..." when becoming petrified by touching a cockatrice (reported by <email deleted> for kicking, but occurs for weaponless hitting too). Also, if a cockatrice killed you with normal damage, your tombstone would erroneously report petrification and presumeably there'd be a statue instead of a ghost in the resulting bones file. This fixes both things.
This commit is contained in:
@@ -403,7 +403,7 @@ int spellnum;
|
||||
if (Half_spell_damage) dmg = (dmg + 1) / 2;
|
||||
losestr(rnd(dmg));
|
||||
if (u.uhp < 1)
|
||||
done_in_by(mtmp);
|
||||
done_in_by(mtmp, DIED);
|
||||
}
|
||||
dmg = 0;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user