diff options
| author | Zed <Zed@zed.zed> | 2016-03-06 21:12:11 +0100 |
|---|---|---|
| committer | Zed <Zed@zed.zed> | 2016-03-06 21:12:11 +0100 |
| commit | 28ae4c5f5089b9778e8b3a7b6e24cbd841897775 (patch) | |
| tree | 3198ac11bd0e3cf1cbf3d0073a8aca01b2891b03 /TemplePushing.c4s | |
| parent | d676035d82cf0052d1a2669dd2a44e623583a8d1 (diff) | |
| download | tempelschubsen-28ae4c5f5089b9778e8b3a7b6e24cbd841897775.tar.gz tempelschubsen-28ae4c5f5089b9778e8b3a7b6e24cbd841897775.zip | |
Remove random decay on Stone Shield spell and prevent its particles from leaking the caster's position while invisible
Diffstat (limited to 'TemplePushing.c4s')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Stoneshield.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TemplePushing.c4s/System.c4g/Stoneshield.c b/TemplePushing.c4s/System.c4g/Stoneshield.c index 7786ad1..32478f5 100644 --- a/TemplePushing.c4s/System.c4g/Stoneshield.c +++ b/TemplePushing.c4s/System.c4g/Stoneshield.c @@ -39,9 +39,7 @@ 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)));
+ if (!Random(3)) CastParticles("PSpark", 1, 10, GetX(pClonk), GetY(pClonk)+4, 50, 80, GetPlrColorDw(GetOwner(pClonk)), GetPlrColorDw(GetOwner(pClonk)), pClonk);
return(1);
}
\ No newline at end of file |
