Insanewarlock
Active Member
- Reaction score
- 2
I'm making a self-cast spell "Electric Shield" for Goblin Shredder. When the spell is active and Goblin is being attacked it automatically deals some percentage of the damage back to attacker, just like Thorns Aura does, but unlike Thorns Aura it drains mana when it's active and can be deactivated of course. Trigger looks like this (eShield is a boolean toggled by other trigger)
So "???" should be say 10% of damage dealt by the attacker. Is there a way to get how much damage was dealt?
Trigger:
- TRIGGER
- Events
- Unit - A unit is attacked
- Conditions
- (Unit-type of (Attacked unit)) Equal to Goblin Shredder
- eShield Equal to True
- Actions
- Unit - Cause (Attacked unit) to damage (Attacking unit), dealing ??? damage of attack type Magic and damage type Lightning
- Events
So "???" should be say 10% of damage dealt by the attacker. Is there a way to get how much damage was dealt?