mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
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:
@@ -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, "<span class='warning'>\the [C] is blind!</span>")
|
||||
return FALSE
|
||||
if(do_mob(user, C, 10 - C.get_vamp_enhancements()))
|
||||
|
||||
Reference in New Issue
Block a user