Rabarber
You can change this now in User CP.
- Reaction score
- 94
Code:
Ultra Jump Super OMG Spell
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Kamikaze Super ultra Jump
Actions
Custom script: local effect udg_Effect[1]
Custom script: local effect udg_Effect[2]
Custom script: local effect udg_Effect[3]
Set TempPoint = ((Position of (Target unit of ability being cast)) offset by 256.00 towards (Facing of (Casting unit)) degrees)
Set TempLoc = (Position of (Casting unit))
Special Effect - Create a special effect at TempLoc using Abilities\Spells\Orc\FeralSpirit\feralspiritdone.mdl
Set Effect[1] = (Last created special effect)
Special Effect - Create a special effect at TempPoint using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Set Effect[2] = (Last created special effect)
Special Effect - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Human\HumanBlood\HumanBloodFootman.mdl
Set Effect[3] = (Last created special effect)
Unit - Move (Casting unit) instantly to TempPoint
Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing 275.00 damage of attack type Magic and damage type Force
Wait 2.00 seconds
Special Effect - Destroy Effect[1]
Special Effect - Destroy Effect[2]
Special Effect - Destroy Effect[3]
Custom script: call RemoveLocation (udg_TempPoint)
Custom script: call RemoveLocation (udg_TempLoc)
That's it, with special effects. Leak free.