diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-04-06 19:44:42 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-04-06 19:44:42 +0200 |
| commit | 376c20e8d9d0379ceffa28f459a3475e939cc6eb (patch) | |
| tree | 053ef2c5d4f89f28e3535c43b39e2ed724110008 /TemplePushing.c4s/System.c4g/FireBall.c | |
| parent | 481ec8425d2bb02816a95ac8bf72052de08d0a68 (diff) | |
| download | tempelschubsen-376c20e8d9d0379ceffa28f459a3475e939cc6eb.tar.gz tempelschubsen-376c20e8d9d0379ceffa28f459a3475e939cc6eb.zip | |
Add hyper mode to deflection, enabled by stacking them, that can deflect ice needles and fire balls
Diffstat (limited to 'TemplePushing.c4s/System.c4g/FireBall.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/FireBall.c | 13 |
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 |
