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:
@@ -2239,8 +2239,7 @@ boolean wep_was_destroyed;
|
||||
if (!Stone_resistance &&
|
||||
!(poly_when_stoned(youmonst.data) &&
|
||||
polymon(PM_STONE_GOLEM))) {
|
||||
You("turn to stone...");
|
||||
done_in_by(mon);
|
||||
done_in_by(mon, STONING); /* "You turn to stone..." */
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user