cancellation, polymorphed and unchanging
<Someone> reported that a wand of cancellation would ignore Unchanging, noting the case of cancelling yourself while polymorphed into a stone golem. He thought the wand should win, killing the player. I felt otherwise, since the case he specified passes the flag allow_cancel_kill == FALSE.
This commit is contained in:
@@ -1496,7 +1496,8 @@ struct obj *otmp;
|
||||
case AMULET_OF_RESTFUL_SLEEP: /* another bad idea! */
|
||||
HSleeping = FROMOUTSIDE | rnd(100);
|
||||
break;
|
||||
case RIN_SUSTAIN_ABILITY:
|
||||
case RIN_SUSTAIN_ABILITY:
|
||||
case AMULET_OF_UNCHANGING:
|
||||
case AMULET_OF_LIFE_SAVING:
|
||||
case AMULET_OF_REFLECTION: /* nice try */
|
||||
/* can't eat Amulet of Yendor or fakes,
|
||||
|
||||
Reference in New Issue
Block a user