Now you can select the event A unit takes damage. I first realize this now.
However, as I am new to this feature, how do I prevent it from crashing?
Untitled Trigger 001
Events
Unit - A unit Takes damage
Conditions
Actions
Set VariableSet Unit = (Damage Target)
Set VariableSet Unit1 = (Damage source)
Unit - Cause Unit to damage Unit1, dealing 50.00 damage of attack type Spells and damage type Normal
The attacker takes 50 damage when the attacker deals damage to the target. However this will make it crash as it loops. How do I prevent this from triggering itself endlessly?
ALSO, this only affects damage taken. Can i make it affect healing somehow? Or do i just make an ability deal 1 damage and cause it to go through damage trigger and then heal?
However, as I am new to this feature, how do I prevent it from crashing?
Untitled Trigger 001
Events
Unit - A unit Takes damage
Conditions
Actions
Set VariableSet Unit = (Damage Target)
Set VariableSet Unit1 = (Damage source)
Unit - Cause Unit to damage Unit1, dealing 50.00 damage of attack type Spells and damage type Normal
The attacker takes 50 damage when the attacker deals damage to the target. However this will make it crash as it loops. How do I prevent this from triggering itself endlessly?
ALSO, this only affects damage taken. Can i make it affect healing somehow? Or do i just make an ability deal 1 damage and cause it to go through damage trigger and then heal?