I've Never ,ade MUI spells before, please tell me why this wont work.
FlashCut
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to |cff0000FFFlash Cut|r
Actions
Custom script: local unit udg_FUnit1
Custom script: local unit udg_FUnit2
Custom script: local location udg_FPoint1
Custom script: local location udg_FPoint2
Custom script: local integer udg_FLevel
Set FUnit1 = (Casting unit)
Set FUnit2 = (Target unit of ability being cast)
Set FPoint1 = (Position of FUnit2)
Set FPoint2 = (FPoint1 offset by 90.00 towards ((Facing of FUnit2) + 180.00) degrees)
Set FLevel = (Level of |cff0000FFFlash Cut|r for FUnit1)
Unit - Move FUnit1 instantly to FPoint2
Animation - Play FUnit1's Spell Slam animation
Special Effect - Create a special effect at FPoint1 using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
Special Effect - Destroy (Last created special effect)
Unit - Cause FUnit1 to damage FUnit2, dealing ((Real(FLevel)) x 50.00) damage of attack type Hero and damage type Normal
Custom script: call RemoveLocation(udg_FPoint1)
Custom script: call RemoveLocation(udg_FPoint2)
FlashCut
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to |cff0000FFFlash Cut|r
Actions
Custom script: local unit udg_FUnit1
Custom script: local unit udg_FUnit2
Custom script: local location udg_FPoint1
Custom script: local location udg_FPoint2
Custom script: local integer udg_FLevel
Set FUnit1 = (Casting unit)
Set FUnit2 = (Target unit of ability being cast)
Set FPoint1 = (Position of FUnit2)
Set FPoint2 = (FPoint1 offset by 90.00 towards ((Facing of FUnit2) + 180.00) degrees)
Set FLevel = (Level of |cff0000FFFlash Cut|r for FUnit1)
Unit - Move FUnit1 instantly to FPoint2
Animation - Play FUnit1's Spell Slam animation
Special Effect - Create a special effect at FPoint1 using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
Special Effect - Destroy (Last created special effect)
Unit - Cause FUnit1 to damage FUnit2, dealing ((Real(FLevel)) x 50.00) damage of attack type Hero and damage type Normal
Custom script: call RemoveLocation(udg_FPoint1)
Custom script: call RemoveLocation(udg_FPoint2)