diff --git a/code/__DEFINES/stat.dm b/code/__DEFINES/stat.dm index ecb3fcc611..96dceb6db2 100644 --- a/code/__DEFINES/stat.dm +++ b/code/__DEFINES/stat.dm @@ -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 diff --git a/code/modules/spells/spell_types/construct_spells.dm b/code/modules/spells/spell_types/construct_spells.dm index eca4990290..a88322d5ee 100644 --- a/code/modules/spells/spell_types/construct_spells.dm +++ b/code/modules/spells/spell_types/construct_spells.dm @@ -209,14 +209,14 @@ to_chat(target, "A freezing darkness surrounds you...") 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.adjust_blindness(5) + 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" @@ -279,4 +279,4 @@ /obj/effect/proc_holder/spell/targeted/ethereal_jaunt/shift/golem charge_max = 800 jaunt_in_type = /obj/effect/temp_visual/dir_setting/cult/phase - jaunt_out_type = /obj/effect/temp_visual/dir_setting/cult/phase/out \ No newline at end of file + jaunt_out_type = /obj/effect/temp_visual/dir_setting/cult/phase/out