Buff gentlephasing (#7626)

This commit is contained in:
Raeschen
2024-01-28 16:06:36 +01:00
committed by GitHub
parent f41f2c7097
commit de795e08be
2 changed files with 4 additions and 4 deletions
@@ -121,7 +121,7 @@
var/energy_light = 0.25
var/energy_dark = 0.75
var/nutrition_conversion_scaling = 0.5 //CHOMPEdit - Add nutrition <-> dark energy conversion
var/phase_gentle = FALSE //CHOMPEdit - Add gentle phasing
var/phase_gentle = TRUE //CHOMPEdit - Add gentle phasing, defaults to on.
var/doing_phase = FALSE //CHOMPEdit - Prevent bugs when spamming phase button
var/manual_respite = FALSE //CHOMPEdit - Dark Respite
var/respite_activating = FALSE //CHOMPEdit - Dark Respite
@@ -199,12 +199,12 @@
//CHOMPEdit end
//CHOMPEdit start - Add gentle phasing
if(SK.phase_gentle) // gentle case: No light destruction. Flicker in 4 tile radius for 3s. Weaken for 3sec after
if(SK.phase_gentle) // gentle case: No light destruction. Flicker in 4 tile radius once.
for(var/obj/machinery/light/L in machines)
if(L.z != z || get_dist(src,L) > 4)
continue
L.flicker(3)
src.Stun(3)
L.flicker(1)
src.Stun(1)
else
//CHOMPEdit end
for(var/obj/machinery/light/L in machines)