• 🏆 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!

return damage taken... problem

Status
Not open for further replies.
Level 4
Joined
Nov 22, 2004
Messages
62
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?
 
Level 6
Joined
Mar 25, 2005
Messages
304
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
 
Status
Not open for further replies.
Top