Fixes Abyssal Gaze blinding forever

This commit is contained in:
XDTM
2018-01-02 15:22:09 +01:00
committed by CitadelStationBot
parent bf35f19aca
commit bae882bf46
2 changed files with 10 additions and 3 deletions
@@ -209,14 +209,18 @@
to_chat(target, "<span class='userdanger'>A freezing darkness surrounds you...</span>")
target.playsound_local(get_turf(target), 'sound/hallucinations/i_see_you1.ogg', 50, 1)
user.playsound_local(get_turf(user), 'sound/effects/ghost2.ogg', 50, 1)
<<<<<<< HEAD
target.adjust_blindness(5)
=======
target.become_blind(ABYSSAL_GAZE_BLIND)
>>>>>>> b85776f... Fixes Abyssal Gaze (#34003)
addtimer(CALLBACK(src, .proc/cure_blindness, target), 40)
target.bodytemperature -= 200
/obj/effect/proc_holder/spell/targeted/abyssal_gaze/proc/cure_blindness(mob/target)
if(isliving(target))
var/mob/living/L = target
L.cure_blind(DISABILITY_BLIND, "abyssal_gaze")
L.cure_blind(ABYSSAL_GAZE_BLIND)
/obj/effect/proc_holder/spell/targeted/dominate
name = "Dominate"