From 41a0a415d25a4208d0d58e20854ace3b95af2b38 Mon Sep 17 00:00:00 2001 From: Zed Date: Tue, 8 Mar 2016 22:33:45 +0100 Subject: Add particles on Lavashot/Magic Lightning deletion --- TemplePushing.c4s/System.c4g/GravityStops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'TemplePushing.c4s/System.c4g/GravityStops.c') diff --git a/TemplePushing.c4s/System.c4g/GravityStops.c b/TemplePushing.c4s/System.c4g/GravityStops.c index 5c3698a..9034d2b 100644 --- a/TemplePushing.c4s/System.c4g/GravityStops.c +++ b/TemplePushing.c4s/System.c4g/GravityStops.c @@ -5,5 +5,7 @@ func MagicStop(object caller) { + var vertex = GetVertexNum() - 1; + CastParticles("MSpark", 50, 20, AbsX(GetVertex(vertex, VTX_X)), AbsY(GetVertex(vertex, VTX_Y)), 50, 75, RGBa(128,128,255,0), RGBa(255,255,255,127)); return RemoveObject(); -} +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf