I want that Impale does damage dependent of the Strenght of Crypt Lord. I tryed too do that whith the buff the Unit get but it wont work, can somebody help me with that. Why is it not working and how will it may work?
-
Impale
-
Events
-
Unit - A unit Finishes casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Impale (Crypt Lord)
-
-
Actions
-
Wait 0.50 seconds
-
Set VariableSet Temp_Real = (Real(((Level of Impale (Crypt Lord) for HeroCryptLord) x (Strength of HeroCryptLord (Include bonuses)))))
-
Unit Group - Pick every unit in (Units in (Entire map)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) has buff Aufspießen) Equal to Wahr
-
-
Then - Actions
-
Unit - Cause HeroCryptLord to damage (Picked unit), dealing Temp_Real damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
-
-
-
-