diff options
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Ice.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Ice.c | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/TemplePushing.c4s/System.c4g/Ice.c b/TemplePushing.c4s/System.c4g/Ice.c index 329d013..9bfdc89 100644 --- a/TemplePushing.c4s/System.c4g/Ice.c +++ b/TemplePushing.c4s/System.c4g/Ice.c @@ -1,20 +1,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; - } - - return _inherited(); + 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(); }
\ No newline at end of file |
