Event - Unit is Attacked
Condition - Attacking Unit is Hero
Actions - Set Target to Attacked Unit
Event - Target takes damage
Actions - Set damagedealt to Interger(Damage Dealt)
AttackTrigger
Events
Unit is attacked
Conditions
Actions
--- Here "Damage taken" has no meaning ---
Add to (DamageTrigger) the event (Attacked unit takes damage)
DamageTrigger
Events
Conditions
Actions
--- Here "Damage taken" has meaning ---