API UnitDamage

Returns the damage stats for the unit.
 lowDmg, hiDmg, offlowDmg, offhiDmg, posBuff, negBuff, percentmod = UnitDamage(unit)
==Arguments==
:;unit: : UnitId - Likely only works for "player" and "pet". Possibly for Beast Lore "target".
==Returns==
:;lowDmg: - The unit's minimum melee damage.
:;hiDmg: - The unit's maximum melee damage.
:;offlowDmg: - The unit's minimum offhand melee damage.
:;offhiDmg: - The unit's maximum offhand melee damage. (same as above)
:;posBuff: - positive physical Bonus (should be >= 0)
:;negBuff: - negative physical Bonus (should be <= 0)
:;percentmod: - percentage modifier (usually 1; 0.9 for warriors in defensive stance)
==Details==
* Doesn't seem to return usable values for mobs, NPCs. The method returns 7 values, only some of which appear to be useful.