diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2016-02-13 00:34:23 +0100 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2016-02-13 00:34:23 +0100 |
| commit | 853eeae473d3bd8c5ae7a0fde1e4dfd97bd0c57e (patch) | |
| tree | b47eea03f0c47df1a36aa472b03ef0c9d26b2a4e /TemplePushing.c4s/System.c4g/Clonk.c | |
| parent | f7afa300ca3ceae2af7742414862630d1464dfb8 (diff) | |
| download | tempelschubsen-853eeae473d3bd8c5ae7a0fde1e4dfd97bd0c57e.tar.gz tempelschubsen-853eeae473d3bd8c5ae7a0fde1e4dfd97bd0c57e.zip | |
Dragonbreath doesn't incinerate the caster
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Clonk.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Clonk.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/Clonk.c b/TemplePushing.c4s/System.c4g/Clonk.c index 09c4b20..cad2f5f 100644 --- a/TemplePushing.c4s/System.c4g/Clonk.c +++ b/TemplePushing.c4s/System.c4g/Clonk.c @@ -10,6 +10,7 @@ local removeOnDeath; protected func Initialize() { AddEffect("CheckStuck2", this, 20, 1, this); + AddEffect("CheckBurn", this, 101, 0, this); SetPhysical("Fight", 75000, PHYS_Temporary, this); SetPhysical("Scale", 60000, PHYS_Temporary, this); SetPhysical("Hangle", 60000, PHYS_Temporary, this); @@ -101,3 +102,8 @@ private func FxCheckStuck2Timer(object pTarget, int iEffectNumber, int iEffectTi if ((d == -1 && GetComDir(pTarget) != COMD_Left) || (d == 1 && GetComDir(pTarget) != COMD_Right)) SetComDir(COMD_Up, pTarget); } } + +func FxCheckBurnEffect(string newEffectName, object target, int effectNumber, int newEffectNumber, int causedBy, bool fBlasted, object incineratingObject) +{ + if (newEffectName == "Fire" && incineratingObject && incineratingObject->~QueryIncinerateObject(target)) return FX_Effect_Deny; +} |
