Add strangled to safe_wait

... and ignore vomiting from sickness.
This commit is contained in:
Pasi Kallinen
2022-12-18 12:36:34 +02:00
parent d7e90fbae2
commit 32bbf84ee1
2 changed files with 6 additions and 5 deletions
+2 -2
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 comes alive" even when revived monster was undead
prevent searching or waiting next to a hostile monster if boolean option prevent searching or waiting next to a hostile monster if boolean option
safe_wait is on - override with 'm' safe_wait is on - override with 'm'
prevent searching or waiting if hero is slimed, stoning, or deadly ill prevent searching or waiting if hero is slimed, stoning, strangled,
if safe_wait is on - override with 'm' or deadly ill if safe_wait is on - override with 'm'
allow random mimics to show up mimicing more furniture than just stairs allow random mimics to show up mimicing more furniture than just stairs
scatter exploding bag of holding contents instead of outright deleting them 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 male hero poly'd into nymph chooses charm vs seduce message based on being
+4 -3
View File
@@ -2137,9 +2137,10 @@ zombify_mon(anything *arg, long timeout)
static boolean static boolean
danger_uprops(void) danger_uprops(void)
{ {
return (((Stoned && !Stone_resistance) return ((Stoned && !Stone_resistance)
|| Slimed || Slimed
|| ((Sick & SICK_NONVOMITABLE) && !Sick_resistance))); || Strangled
|| (Sick && !Sick_resistance));
} }
boolean boolean