Right, I know there is a shorter way to do this so if any math genius can help me much appreciated 
largelvl is a integer for the 3d move for each character.

-
Life Link
-

Events
-


Unit - A unit Finishes casting an ability
-
-

Conditions
-


(Ability being cast) Equal to Life Link Warlock/Witch 3
-
-

Actions
-


Set largelvl[(Player number of (Owner of (Casting unit)))] = (Level of Life Link Warlock/Witch 3 for (Casting unit))
-


Unit Group - Pick every unit in (Units within 1000000000.00 of (Position of (Casting unit)) matching ((Picked unit) Equal to (Target unit of ability being cast))) and do (Actions)
-



Loop - Actions
-




Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Position of (Target unit of ability being cast)) facing Default building facing degrees
-




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





If - Conditions
-






(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 1
-
-





Then - Actions
-






Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 3.00 damage of attack type Chaos and damage type Normal
-






If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 3.00)) else do (Do nothing)
-
-





Else - Actions
-






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







If - Conditions
-








(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 2
-
-







Then - Actions
-








Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 4.05 damage of attack type Chaos and damage type Normal
-








If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 4.05)) else do (Do nothing)
-
-







Else - Actions
-








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









If - Conditions
-










(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 3
-
-









Then - Actions
-










Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 5.47 damage of attack type Chaos and damage type Normal
-










If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 5.47)) else do (Do nothing)
-
-









Else - Actions
-










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











If - Conditions
-












(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 4
-
-











Then - Actions
-












Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 7.38 damage of attack type Chaos and damage type Normal
-












If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 7.38)) else do (Do nothing)
-
-











Else - Actions
-












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













If - Conditions
-














(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 5
-
-













Then - Actions
-














Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 9.96 damage of attack type Chaos and damage type Normal
-














If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 9.96)) else do (Do nothing)
-
-













Else - Actions
-














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















If - Conditions
-
















(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 6
-
-















Then - Actions
-
















Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 13.45 damage of attack type Chaos and damage type Normal
-
















If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 13.45)) else do (Do nothing)
-
-















Else - Actions
-
















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

















If - Conditions
-


















(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 7
-
-

















Then - Actions
-


















Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 18.16 damage of attack type Chaos and damage type Normal
-


















If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 18.16)) else do (Do nothing)
-
-

















Else - Actions
-


















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



















If - Conditions
-




















(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 8
-
-



















Then - Actions
-




















Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 24.52 damage of attack type Chaos and damage type Normal
-




















If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 24.52)) else do (Do nothing)
-
-



















Else - Actions
-




















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





















If - Conditions
-






















(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 9
-
-





















Then - Actions
-






















Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 33.10 damage of attack type Chaos and damage type Normal
-






















If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 33.10)) else do (Do nothing)
-
-





















Else - Actions
-






















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























If - Conditions
-
























(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 10
-
-























Then - Actions
-
























Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 44.68 damage of attack type Chaos and damage type Normal
-
























If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 44.68)) else do (Do nothing)
-
-























Else - Actions
-
























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

























If - Conditions
-


























(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 11
-
-

























Then - Actions
-


























Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 60.32 damage of attack type Chaos and damage type Normal
-


























If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 60.32)) else do (Do nothing)
-
-

























Else - Actions
-


























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



























If - Conditions
-




























(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 12
-
-



























Then - Actions
-




























Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 81.43 damage of attack type Chaos and damage type Normal
-




























If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 81.43)) else do (Do nothing)
-
-



























Else - Actions
-




























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





























If - Conditions
-






























(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 13
-
-





























Then - Actions
-






























Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 109.93 damage of attack type Chaos and damage type Normal
-






























If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 109.93)) else do (Do nothing)
-
-





























Else - Actions
-






























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































If - Conditions
-
































(Level of Life Link Warlock/Witch 3 for (Casting unit)) Equal to 14
-
-































Then - Actions
-
































Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing 148.41 damage of attack type Chaos and damage type Normal
-
































If ((Percentage life of (Casting unit)) Not equal to 100.00) then do (Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + 148.41)) else do (Do nothing)
-
-































Else - Actions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-




Unit - Remove (Last created unit) from the game
-




Wait 1.00 seconds
-
-
-


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



If - Conditions
-




largelvl[(Player number of (Owner of (Casting unit)))] Less than or equal to 2
-
-



Then - Actions
-




Set largelvl[(Player number of (Owner of (Casting unit)))] = 10
-
-



Else - Actions
-




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





If - Conditions
-






largelvl[(Player number of (Owner of (Casting unit)))] Equal to 3
-
-





Then - Actions
-






Set largelvl[(Player number of (Owner of (Casting unit)))] = 11
-
-





Else - Actions
-






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







If - Conditions
-








largelvl[(Player number of (Owner of (Casting unit)))] Less than or equal to 5
-
-







Then - Actions
-








Set largelvl[(Player number of (Owner of (Casting unit)))] = 12
-
-







Else - Actions
-








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









If - Conditions
-










largelvl[(Player number of (Owner of (Casting unit)))] Less than or equal to 7
-
-









Then - Actions
-










Set largelvl[(Player number of (Owner of (Casting unit)))] = 13
-
-









Else - Actions
-










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











If - Conditions
-












largelvl[(Player number of (Owner of (Casting unit)))] Equal to 8
-
-











Then - Actions
-












Set largelvl[(Player number of (Owner of (Casting unit)))] = 14
-
-











Else - Actions
-












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













If - Conditions
-














largelvl[(Player number of (Owner of (Casting unit)))] Equal to 9
-
-













Then - Actions
-














Set largelvl[(Player number of (Owner of (Casting unit)))] = 15
-
-













Else - Actions
-














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















If - Conditions
-
















largelvl[(Player number of (Owner of (Casting unit)))] Less than or equal to 11
-
-















Then - Actions
-
















Set largelvl[(Player number of (Owner of (Casting unit)))] = 16
-
-















Else - Actions
-
















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

















If - Conditions
-


















largelvl[(Player number of (Owner of (Casting unit)))] Equal to 12
-
-

















Then - Actions
-


















Set largelvl[(Player number of (Owner of (Casting unit)))] = 17
-
-

















Else - Actions
-


















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



















If - Conditions
-




















largelvl[(Player number of (Owner of (Casting unit)))] Equal to 13
-
-



















Then - Actions
-




















Set largelvl[(Player number of (Owner of (Casting unit)))] = 18
-
-



















Else - Actions
-




















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





















If - Conditions
-






















largelvl[(Player number of (Owner of (Casting unit)))] Equal to 14
-
-





















Then - Actions
-






















Set largelvl[(Player number of (Owner of (Casting unit)))] = 19
-
-





















Else - Actions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-


Wait (Real(largelvl[(Player number of (Owner of (Casting unit)))])) seconds
-


Trigger - Turn off (This trigger)
-
-
largelvl is a integer for the 3d move for each character.







