surviving petrification (trunk only)
From the newsgroup: if you were wielding a cockatrice corpse without gloves while polymorphed into something capable of doing that, then were turned to stone when rehumanizing, you'd be left wielding the untouchable corpse if life-saving kept the game going. This causes it to stop being wielded if you get that far. Likewise for monsters.
This commit is contained in:
+1
-2
@@ -1130,8 +1130,7 @@ mdamagem(magr, mdef, mattk)
|
||||
obj_extract_self(otmp);
|
||||
if (otmp->owornmask) {
|
||||
mdef->misc_worn_check &= ~otmp->owornmask;
|
||||
if (otmp->owornmask & W_WEP)
|
||||
setmnotwielded(mdef,otmp);
|
||||
if (otmp->owornmask & W_WEP) mwepgone(mdef);
|
||||
otmp->owornmask = 0L;
|
||||
update_mon_intrinsics(mdef, otmp, FALSE, FALSE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user