Halofan
New Member
- Reaction score
- 7
Hi - I have a trigger that is supposed to work for an ability called "Holy Strike," an ability for a good hero. It does multiplier and bonus damage, but I want it to give back life to the hero casting it.
Events
Unit - A unit Is attacked
Conditions
(Attacking unit) Equal to (Casting unit)
Actions
If ((Ability being cast) Equal to Holy Strike ) then do (Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + ((Life of (Attacked unit)) - (Percentage life of (Attacked unit))))) else do (Do nothing)
Is this correct and the computer just does not recognize it because of the general unit and condition :banghead: , or am I messing up and can easily fix it.
BTW, if it includes using dummy units, please walk me throughn it step by step, because I don't know how to use dummy units
.
Events
Unit - A unit Is attacked
Conditions
(Attacking unit) Equal to (Casting unit)
Actions
If ((Ability being cast) Equal to Holy Strike ) then do (Unit - Set life of (Attacking unit) to ((Life of (Attacking unit)) + ((Life of (Attacked unit)) - (Percentage life of (Attacked unit))))) else do (Do nothing)
Is this correct and the computer just does not recognize it because of the general unit and condition :banghead: , or am I messing up and can easily fix it.
BTW, if it includes using dummy units, please walk me throughn it step by step, because I don't know how to use dummy units


