Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Damage Value
Damage Value
08-31-2003, 12:34 PM
#1
Fmacgt
How can I determine a unit's damage in the Unit Editor?
08-31-2003, 12:56 PM
#2
BlackLotus
2 varrs - old hp / new hp
Set Old HP...damgaged...set new HP
Old HP - New HP = Value
Math owns me... ;)
08-31-2003, 01:55 PM
#3
cideh
Or use the "Event Response - Damage taken" if you are using the "Unit is attacked" event.
08-31-2003, 02:52 PM
#4
Shvegait
Wouldn't that be in the trigger editor? I think he said unit editor... anyway:
Minimum Damage: Number of Dice + Damage Base
Maximum Damage: (Number of Dice * Sides per Die) + Damage Base
08-31-2003, 03:17 PM
#5
cideh
Oh. Sorry :(
08-31-2003, 03:39 PM
#6
BlackLotus
OOOooops...hadn't read carfully enough...
*gg* ;)
09-01-2003, 04:33 AM
#7
Fmacgt
Thanks