Skip to content

Commit

Permalink
Actually uses pike burrow's attack delay var
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorDinamit committed Jan 31, 2024
1 parent 97262f0 commit a394a33
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@

var/mob/living/chosen_target = get_atom_closest_to_atom(src, nearby_targets)
var/turf/T = get_turf(chosen_target)
var/obj/effect/temp_visual/decoy/D = new(T, 0, T, 6)
var/obj/effect/temp_visual/decoy/D = new(T, 0, T, attack_delay + 1)
D.transform = matrix()*1.5
D.alpha = 125
animate(D, transform = matrix(), color = COLOR_RED, alpha = 0, time = 5)
addtimer(CALLBACK(src, .proc/SpikeTurf, T), 5)
animate(D, transform = matrix(), color = COLOR_RED, alpha = 0, time = attack_delay)
addtimer(CALLBACK(src, .proc/SpikeTurf, T), attack_delay)

return TRUE

Expand Down

0 comments on commit a394a33

Please sign in to comment.