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
This commit is contained in:
DeityLink
2021-09-05 17:06:18 +02:00
committed by GitHub
parent 2fd0c0bea0
commit 2b6d12f64b

View File

@@ -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, "<span class='warning'>\the [C] is blind!</span>")
return FALSE
if(do_mob(user, C, 10 - C.get_vamp_enhancements()))