summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Ice.c
blob: 9bfdc896be0221dac02b5767495f23e201fdb027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*--- Eisklumpen ---*/
 
#strict 2
 
#appendto ICE1
 
local hit;
 
protected func Hit()
{
        if (!hit)
        {
                var frostwave = CreateObject(MFWV, 0, 0, NO_OWNER);
                frostwave->SetMaxRadius(60);
                frostwave->Activate(this);
                hit = true;
        }
 
		CastParticles("Snow", 50, 20, 0, 0, 50, 80, RGBa(120,120,255,0), RGBa(90,90,255,127));
		RemoveObject();
}