Hi, I'm trying to make a spell that you use in a unit and mark that unit. Every time you attack that unit you receive a bonus damage.
Those are my triggers.
If someone knows how to fix it please help me.
sorry my English is not very good.
Those are my triggers.
-
Mark of Death
-
Events
-
Unit - A unit begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Mark of Death
-
-
Actions
-
Set MarkofDeath_caster = (Triggering unit)
-
Set MarkofDeath_unit = (Target unit of ability being cast)
-
Trigger - Add to Mark of Death attack <gen> the event (Unit - MarkofDeath_unit Takes damage)
-
Wait 6.00 seconds
-
Set MarkofDeath_caster = No unit
-
Set MarkofDeath_unit = No unit
-
-
Mark of Death attack
-
Events
-
Conditions
-
(Damage source) Equal to MarkofDeath_caster
-
-
Actions
-
Unit - Create 1 Dummie for (Owner of MarkofDeath_caster) at (Position of MarkofDeath_unit) facing Default building facing degrees
-
Unit - Add 1 second Generic expiration timer to (Last created unit)
-
Unit - Cause (Last created unit) to damage MarkofDeath_unit dealing 70.00 damage of attack type Hero and damage type Normal
-
If someone knows how to fix it please help me.
sorry my English is not very good.