Don't interrupt tin opening if being slimed and tin is chameleon

Another SliceHack feature. It's possible for you to eat the chameleon
tin and turn into a fiery monster that burns off the slime in its
natural form, either extremely luckily at random or if you have
polymorph control.
This commit is contained in:
copperwater
2019-01-30 20:54:30 -05:00
committed by Pasi Kallinen
parent 1b945bf60a
commit a9dd7a5a46
2 changed files with 4 additions and 1 deletions

View File

@@ -3357,8 +3357,10 @@ int threat;
case STONED:
return (boolean) (mndx >= LOW_PM
&& (mndx == PM_LIZARD || acidic(&mons[mndx])));
/* no tins can cure these (yet?) */
/* polymorph into a fiery monster */
case SLIMED:
return (boolean) (mndx == PM_CHAMELEON);
/* no tins can cure these (yet?) */
case SICK:
case VOMITING:
break;