From 2b6d12f64b7f9b972d16da4f9675f8b6dc6b7f0d Mon Sep 17 00:00:00 2001 From: DeityLink Date: Sun, 5 Sep 2021 17:06:18 +0200 Subject: [PATCH] Vampire Hypnotize now only fails on blinded people if their blindness is genetic or because of a blindfold. (#30440) * Hypnotize now only fails on blinded people if their blindness is genetic * also glasses --- code/modules/spells/targeted/hypnotise.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/spells/targeted/hypnotise.dm b/code/modules/spells/targeted/hypnotise.dm index bdfc0d8bfef..6fb845171f1 100644 --- a/code/modules/spells/targeted/hypnotise.dm +++ b/code/modules/spells/targeted/hypnotise.dm @@ -48,7 +48,7 @@ if (VAMP_FAILURE) critfail(target, user) return FALSE - + /spell/targeted/hypnotise/cast(var/list/targets, var/mob/user) if (targets.len > 1) return FALSE @@ -57,7 +57,7 @@ if(ishuman(target) || ismonkey(target)) var/mob/living/carbon/C = target - if (C.is_blind()) + if ((C.sdisabilities & BLIND) || (C.sight & BLIND)) to_chat(user, "\the [C] is blind!") return FALSE if(do_mob(user, C, 10 - C.get_vamp_enhancements()))