From 70db9828d81a308cdb93e9610ebec84a663cecaf Mon Sep 17 00:00:00 2001 From: Erik Lunna Date: Wed, 29 Nov 2023 12:50:22 +0100 Subject: [PATCH] Revert "Polymorphing non-magical items." This reverts commit acae8f755f58fcd2761597cabcd839ea9b353266. --- src/zap.c | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/src/zap.c b/src/zap.c index 6c86a8c64..d2ed46e6d 100644 --- a/src/zap.c +++ b/src/zap.c @@ -1901,39 +1901,6 @@ int id; } #endif - /* things that affect what otyp will be created by polymorph */ - switch(obj->otyp) { - case SCR_BLANK_PAPER: - case SCR_AMNESIA: - if (rn2(100)) - otmp->otyp = SCR_BLANK_PAPER; - break; - case SPE_BLANK_PAPER: - if (rn2(100)) - otmp->otyp = SPE_BLANK_PAPER; - break; - case SCR_ZAPPING: - otmp->corpsenm = NON_PM; - break; - case POT_WATER: - case POT_AMNESIA: - if (rn2(100)) - otmp->otyp = POT_WATER; - break; - case POT_BLOOD: - if (rn2(100)) - otmp->otyp = POT_BLOOD; - break; - case WAN_NOTHING: - if (rn2(100)) - otmp->otyp = WAN_NOTHING; - break; - case WAN_WONDER: - if (rn2(100)) - otmp->otyp = WAN_WONDER; - break; - } - /* avoid abusing eggs laid by you */ if (obj->otyp == EGG && obj->spe) { int mnum, tryct = 100;