Add strangled to safe_wait

... and ignore vomiting from sickness.
This commit is contained in:
Pasi Kallinen
2022-12-18 12:36:30 +02:00
parent d7e90fbae2
commit 32bbf84ee1
2 changed files with 6 additions and 5 deletions

View File

@@ -174,8 +174,8 @@ revival via undead turning of corpse carried by hero said "your <mon> corpse
comes alive" even when revived monster was undead
prevent searching or waiting next to a hostile monster if boolean option
safe_wait is on - override with 'm'
prevent searching or waiting if hero is slimed, stoning, or deadly ill
if safe_wait is on - override with 'm'
prevent searching or waiting if hero is slimed, stoning, strangled,
or deadly ill if safe_wait is on - override with 'm'
allow random mimics to show up mimicing more furniture than just stairs
scatter exploding bag of holding contents instead of outright deleting them
male hero poly'd into nymph chooses charm vs seduce message based on being

View File

@@ -2137,9 +2137,10 @@ zombify_mon(anything *arg, long timeout)
static boolean
danger_uprops(void)
{
return (((Stoned && !Stone_resistance)
|| Slimed
|| ((Sick & SICK_NONVOMITABLE) && !Sick_resistance)));
return ((Stoned && !Stone_resistance)
|| Slimed
|| Strangled
|| (Sick && !Sick_resistance));
}
boolean