• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Defend Ability

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
Is it possible to make the footman defend ability, reduce all incoming damage by 50% instead of only piercing. I have played about with all the fields but the unit still takes full damage. Or could anyone suggest an alternative defensive ability to look at. Thanks
 
Level 12
Joined
Aug 22, 2008
Messages
911
Err, stop with all those dummy units.

Once a unit attacks the defended unit, copy the damage that was supposed to be dealt to the unit into a variable, and then remove the damage. Then, through trigger, make the attacking unit damage the defended unit- damage amount is the variable value- and attack type is piercing. Really complicated, also might be really stupid, but maybe- just maybe- useful.
 
Status
Not open for further replies.
Top