U944: Tripping over cockatrice corpse does not petrify
added the missing check in slip_or_trip for the case where the hero is not wearing boots
This commit is contained in:
@@ -649,6 +649,12 @@ slip_or_trip()
|
||||
} else {
|
||||
You("trip over %s.", what);
|
||||
}
|
||||
if (!uarmf && otmp->otyp == CORPSE &&
|
||||
touch_petrifies(&mons[otmp->corpsenm]) && !Stone_resistance) {
|
||||
Sprintf(killer.name, "tripping over %s corpse",
|
||||
an(mons[otmp->corpsenm].mname));
|
||||
instapetrify(killer.name);
|
||||
}
|
||||
} else if (rn2(3) && is_ice(u.ux, u.uy)) {
|
||||
pline("%s %s%s on the ice.",
|
||||
#ifdef STEED
|
||||
|
||||
Reference in New Issue
Block a user