I am trying to make a spell out of Huskar's final ability, " Life Break "
I simply know how to make the damage trigger

I simply know how to make the damage trigger
-
Life Break
-

Events
-


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

Conditions
-


(Ability being cast) Equal to Life Break
-
-

Actions
-


Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((Life of (Target unit of ability being cast)) x 0.50) damage of attack type Spells and damage type Magic
-


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



If - Conditions
-




(Level of Life Break for (Casting unit)) Equal to 1
-
-



Then - Actions
-




Unit - Cause (Casting unit) to damage (Casting unit), dealing ((Life of (Casting unit)) x 0.40) damage of attack type Spells and damage type Magic
-
-



Else - Actions
-




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





If - Conditions
-






(Level of Life Break for (Casting unit)) Equal to 2
-
-





Then - Actions
-






Unit - Cause (Casting unit) to damage (Casting unit), dealing ((Life of (Casting unit)) x 0.33) damage of attack type Spells and damage type Magic
-
-





Else - Actions
-






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







If - Conditions
-








(Level of Life Break for (Casting unit)) Equal to 3
-
-







Then - Actions
-








Unit - Cause (Casting unit) to damage (Casting unit), dealing ((Life of (Casting unit)) x 0.25) damage of attack type Spells and damage type Magic
-
-







Else - Actions
-
-
-
-
-
-
-









