Warcraft III resources & community, 2003–2006 · archived

return damage taken... problem

3 posts
#1

return damage taken... problem

how does the dagame taken trigger works?
like
EVENTS
unit is attacked
CONDITIONS
ACTIONS
Floating Text- create a floating text that reads (string (DAMAGE TAKEN)) blah blah blah

by doing this i want to show the damage taken. BUT it is always shouing "0.000"... how does it works?
#2
The "Damage Taken" variable is only useful as a response to a "Unit takes damage" event.
#3
It doenst recognize the variable. If you are having problem here the simple way to solve it:
*Create a custom ability for critical strike.
*Make the damage multiplication to 1, so it doesnt get any bonus
*Make the percent of the ability to strike to 100%

This will make your hero hit critical strike everytime he attacks, but instead of getting the damage bonus, it will just be the regular damage. Good luck
-Blue