HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is there any way to get a unit's damage?

07-26-2007, 12:46 PM#1
Slin
I'm looking for a way to get a units max, min or average damage. Something like GetUnitMaxDamage(unit u) or similar. Kind of small question for a forum thread but I couldn't connect to the IRC channel. I know you can get the damage dealt when the unit attacks but I want to know its attack damage without it attacking.

Thanks for reading
07-26-2007, 12:59 PM#2
Earth-Fury
Static compilation of data in an array for each unit type. Atleast, last i remember there was no other way. also, IRC is down.
07-27-2007, 02:57 AM#3
Pyrogasm
Not possible unless you kept a running total of its damage and detected anything that might make it change.
07-27-2007, 10:48 AM#4
Troll-Brain
like auras, item ability, buffs (normal and cutoms)