I'm trying to make an ability that is castable on a target enemy unit, and will make that enemy receive a percent damage from on the attacks he makes, sort of like Thorns Aura. I made an ability based on Frost Armor, and it is targetable on enemies. Armor given is 0, the buff is the frost armor buff with different text. I made a trigger that detects when a unit is attacked, and if the attacker has the buff, deal damage to it depending on how much he attacked for.
My question is, can I detect the amount of damage an Attacking Unit inflicts? Or is there some other way to do this spell?
My question is, can I detect the amount of damage an Attacking Unit inflicts? Or is there some other way to do this spell?