summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/System.c4g')
-rw-r--r--TemplePushing.c4s/System.c4g/FireBall.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/FireBall.c b/TemplePushing.c4s/System.c4g/FireBall.c
index 8578ebc..669ffc9 100644
--- a/TemplePushing.c4s/System.c4g/FireBall.c
+++ b/TemplePushing.c4s/System.c4g/FireBall.c
@@ -90,3 +90,16 @@ func FxFireballFlightTimer(pTarget, iEffectNumber, iEffectTime)
// OK; weiter existieren
return(1);
}
+
+func HyperDeflectable() { return true; }
+
+func HyperDeflection(int newAngle, int newSpeed, object by)
+{
+ var effect = GetEffect("FireballFlight", this);
+ if(!effect)
+ {
+ return;
+ }
+ EffectVar(2, this, effect) = newAngle;
+ SetOwner(GetOwner(by));
+} \ No newline at end of file