summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s
diff options
context:
space:
mode:
authorMittendrein Markus <maxmitti@gmx.net>2016-03-09 13:43:37 +0100
committerMittendrein Markus <maxmitti@gmx.net>2016-03-09 13:43:37 +0100
commit04f6ac72485e08cbcf8f44ed58d1cf6ac4ce3769 (patch)
tree0cdc79e4d8cf46cb13c9816ffd455725a8a60bb2 /TemplePushing.c4s
parenta14a78484cd5908d3ad7b8ddf6fea69d60840f8a (diff)
downloadtempelschubsen-04f6ac72485e08cbcf8f44ed58d1cf6ac4ce3769.tar.gz
tempelschubsen-04f6ac72485e08cbcf8f44ed58d1cf6ac4ce3769.zip
Attach WhiteAura- particles to the caster
Diffstat (limited to 'TemplePushing.c4s')
-rw-r--r--TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt3
-rw-r--r--TemplePushing.c4s/System.c4g/Gravity.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt b/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt
index c87caa7..34cc37b 100644
--- a/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt
+++ b/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt
@@ -6,8 +6,9 @@ ExecFn=StdExec
DrawFn=Std
Face=0,0,64,64,-32,-32
GravityAcc=0
-RByV=1
+RByV=3
AlphaFade=5
Delay=0
Additive=1
Repeats=1
+Attach=1
diff --git a/TemplePushing.c4s/System.c4g/Gravity.c b/TemplePushing.c4s/System.c4g/Gravity.c
index 5d0220e..fcc0cdf 100644
--- a/TemplePushing.c4s/System.c4g/Gravity.c
+++ b/TemplePushing.c4s/System.c4g/Gravity.c
@@ -11,7 +11,7 @@ func FxFloatPSpellTimer(pClonk, iEffectNumber, iEffectTime)
var iSearchRadius = GetRange();
var pObj;
- CreateParticle("WhiteAura",GetX(pClonk),GetY(pClonk), RandomX(-1,1),RandomX(-1,1), 12*iSearchRadius,GetPlrColorDw(GetOwner(pClonk)));
+ CreateParticle("WhiteAura",GetX(pClonk),GetY(pClonk), 0, 0, 12*iSearchRadius,GetPlrColorDw(GetOwner(pClonk)), pClonk);
var i=2;
while(i--)
{