Skip to content

Commit

Permalink
Revert "Polymorphing non-magical items."
Browse files Browse the repository at this point in the history
This reverts commit acae8f7.
  • Loading branch information
elunna committed Nov 29, 2023
1 parent ad9b12d commit 70db982
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions src/zap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 70db982

Please sign in to comment.