Code:
Sabaku Sousou
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Sabaku Sousou
Actions
Set SousouCaster = (Triggering unit)
Set SousouTarget = (Target unit of ability being cast)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(SousouTarget has buff Sabaku Kyuu ) Equal to True
Then - Actions
Unit - Pause SousouCaster
Unit - Make SousouCaster Invulnerable
Unit - Pause SousouTarget
Unit - Make SousouTarget Invulnerable
Unit - Turn collision for SousouTarget Off
Unit - Add Crow Form to SousouTarget
Unit - Remove Crow Form from SousouTarget
Animation - Change SousouTarget flying height to 500.00 at 400.00
Wait 1.00 seconds
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Unit - Make SousouTarget Vulnerable
Unit - Cause SousouCaster to damage SousouTarget, dealing ((25.00 + ((Real((Level of Sabaku Sousou for SousouCaster))) x 50.00)) / 4.00) damage of attack type Chaos and damage type Normal
Unit - Make SousouTarget Invulnerable
Animation - Play SousouTarget's death animation
Special Effect - Create a special effect attached to the origin of SousouTarget using war3mapImported\gaars sand.mdx
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the origin of SousouTarget using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
Special Effect - Destroy (Last created special effect)
Wait 0.10 seconds
Special Effect - Create a special effect attached to the origin of SousouTarget using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
Special Effect - Destroy (Last created special effect)
Wait 0.10 seconds
Animation - Reset SousouTarget's animation
Wait 0.25 seconds
Unit - Add Crow Form to SousouTarget
Unit - Remove Crow Form from SousouTarget
Animation - Change SousouTarget flying height to 0.00 at 1000.00
Wait 0.50 seconds
Special Effect - Create a special effect attached to the origin of SousouTarget using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit - Unpause SousouCaster
Unit - Make SousouCaster Vulnerable
Unit - Unpause SousouTarget
Unit - Make SousouTarget Vulnerable
Unit - Turn collision for SousouTarget On
Unit - Cause SousouCaster to damage SousouTarget, dealing ((25.00 + ((Real((Level of Sabaku Sousou for SousouCaster))) x 50.00)) / 4.00) damage of attack type Chaos and damage type Normal
Else - Actions
For some reason, if I use this ability on the same target more than one time, they won't float up. They'll just stay on the ground. First time works fine though.. Anyone know why?