mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-18 03:36:07 +01:00
Buff gentlephasing (#7626)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user