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/Stoneshield.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/Stoneshield.c b/TemplePushing.c4s/System.c4g/Stoneshield.c
index f342f1b..7786ad1 100644
--- a/TemplePushing.c4s/System.c4g/Stoneshield.c
+++ b/TemplePushing.c4s/System.c4g/Stoneshield.c
@@ -34,3 +34,14 @@ func Activate(pCaster,pRealcaster)
RemoveObject();
return(0);
}
+
+func FxStoneShieldPSpellTimer(pClonk, iEffectNumber, iEffectTime)
+{
+ // Keine St舐ke mehr, weg damit
+ if(!EffectVar(0,pClonk,iEffectNumber)) return(-1);
+ // Schild verliert langsam an Energie
+ if(!Random(120)) EffectVar(0,pClonk,iEffectNumber)-=1000;
+ // Effekt!
+ if (!Random(2)) CastParticles("PSpark", 1, 10, GetX(pClonk), GetY(pClonk)+4, 35, 60, GetPlrColorDw(GetOwner(pClonk)), GetPlrColorDw(GetOwner(pClonk)));
+ return(1);
+} \ No newline at end of file