- Joined
- Sep 30, 2008
- Messages
- 1,460
on my D3W map, the barbarian is set to gain 1 mana each time he attacks in order to make a rage style system.
I have used the trigger as shown below:
In order to stop this, I need to find a way of detecting whether or not the barbarian does damage to the attacked unit.
For example, if attacked unit is damaged, receive 1 mana
if not, do nothing.
Any ideas??
I have used the trigger as shown below:
-
Barbarian Rage Gain
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Unit-type of (Attacking unit)) Equal to |cffe48b05Barbarian|r
-
Actions
- Unit - Set mana of (Attacking unit) to ((Mana of (Attacking unit)) + 1.00)
-
Events
In order to stop this, I need to find a way of detecting whether or not the barbarian does damage to the attacked unit.
For example, if attacked unit is damaged, receive 1 mana
if not, do nothing.
Any ideas??