- Joined
- May 20, 2009
- Messages
- 821
I'm working on recreating Protoss Shields from StarCraft. I think I have the basic idea but I'm not really experienced with WC3 triggers so I'm not sure how I would calculate the damage then remove that damage from a custom value.
This is what I have so far:
This is what I have so far:
-
Footman
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


And - All (Conditions) are true
-



Conditions
-




(Custom value of (Attacked unit)) Less than or equal to 100
-




(Custom value of (Attacked unit)) Greater than 0
-
-
-
-

Actions
-


Unit - Cause (Attacking unit) to damage (Attacked unit), dealing 0.00 damage of attack type Normal and damage type Normal
-
-