-
Death Knight Life Transfer Copy
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Life Transfer
-
-

Actions
-


Set LifeTransferCaster = (Casting unit)
-


Set LifeTransferTarget = (Target unit of ability being cast)
-


Lightning - Create a Drain Life lightning effect from source (Position of (Casting unit)) to target (Position of (Target unit of ability being cast))
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-



Then - Actions
-




For each (Integer A) from 1 to 10, do (Actions)
-





Loop - Actions
-






Wait 1.00 seconds
-






Unit - Set life of LifeTransferTarget to ((Life of LifeTransferTarget) - ((Real((Strength of Death Knight 0124 <gen> (Include bonuses)))) - (Real((Strength of Death Knight 0124 <gen> (Include bonuses))))))
-






Unit - Set life of LifeTransferCaster to ((Life of LifeTransferCaster) - (Real((Strength of Death Knight 0124 <gen> (Include bonuses)))))
-






Lightning - Move (Last created lightning effect) to source (Position of LifeTransferCaster) and target (Position of LifeTransferTarget)
-






Special Effect - Create a special effect attached to the chest of LifeTransferTarget using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
-






Special Effect - Destroy (Last created special effect)
-






Special Effect - Create a special effect attached to the chest of LifeTransferCaster using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
-






Special Effect - Destroy (Last created special effect)
-






Lightning - Destroy (Last created lightning effect)
-
-
-
-



Else - Actions
-
-
-


