Deadly afflictions and resistances for safe_wait
Amend the safe_wait so it still waits if you have a deadly property, even if you have a resistance to it. External resistances do not protect against already existing deadly properties, for example becoming deadly ill is not cured even if you wear a green dragon scale mail.
This commit is contained in:
@@ -2137,10 +2137,7 @@ zombify_mon(anything *arg, long timeout)
|
|||||||
static boolean
|
static boolean
|
||||||
danger_uprops(void)
|
danger_uprops(void)
|
||||||
{
|
{
|
||||||
return ((Stoned && !Stone_resistance)
|
return (Stoned || Slimed || Strangled || Sick);
|
||||||
|| Slimed
|
|
||||||
|| Strangled
|
|
||||||
|| (Sick && !Sick_resistance));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean
|
boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user