mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes Abyssal Gaze (#34003)
This commit is contained in:
@@ -25,8 +25,6 @@
|
||||
// common disability sources
|
||||
#define EYE_DAMAGE "eye_damage"
|
||||
#define GENETIC_MUTATION "genetic"
|
||||
#define STATUE_MUTE "statue"
|
||||
#define CHANGELING_DRAIN "drain"
|
||||
#define OBESITY "obesity"
|
||||
#define MAGIC_DISABILITY "magic"
|
||||
#define STASIS_MUTE "stasis"
|
||||
@@ -34,6 +32,11 @@
|
||||
#define TRAUMA_DISABILITY "trauma"
|
||||
#define CHEMICAL_DISABILITY "chemical"
|
||||
|
||||
// unique disability sources, still defines
|
||||
#define STATUE_MUTE "statue"
|
||||
#define CHANGELING_DRAIN "drain"
|
||||
#define ABYSSAL_GAZE_BLIND "abyssal_gaze"
|
||||
|
||||
// bitflags for machine stat variable
|
||||
#define BROKEN 1
|
||||
#define NOPOWER 2
|
||||
|
||||
@@ -209,14 +209,14 @@
|
||||
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)
|
||||
target.become_blind("abyssal_gaze")
|
||||
target.become_blind(ABYSSAL_GAZE_BLIND)
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user