summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/GravityStops.c
blob: 9034d2bb0c92b6573a32edd304ee9a771c3bced2 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*-- Make the Gravity spell stop Magic Lightning and Lavashot --*/
#strict 2
#appendto LGTS
#appendto _LVS

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();
}