WoW:API UnitDamage: Difference between revisions

No edit summary
 
Line 3: Line 3:


=== Return Values ===
=== Return Values ===
# Low damage melee (tested appears correct)
# Main hand low damage
# High damage melee (tested appears correct)
# Main hand high damage
# Low damage unarmed (untested, 0 on a Paladin, actual number on a Priest)
# Off hand low damage (always returned 0 for me for characters without dual wield ability)
# High damage unarmed (untested, 0 on a Paladin, actual number on a Priest)
# Off hand high damage (same as above)
# Unknown (perhaps ranged)
# Unknown, but certainly not ranged, as that is given by UnitRangedDamage("unit"). Perhaps this is a buff number? (Always returned 0 for me)
# Unknown (perhaps ranged)
# Again, Unknown, but not ranged. (Always returned 0)
# Unknown (often times holds the value 1)
# Unknown (often times holds the value 1)
Anonymous user