Lore archive · Warcraft Wiki, 2023 dump
API UnitDamage
Last wiki revision 2022-07-26
Returns the damage stats for the unit. lowDmg, hiDmg, offlowDmg, offhiDmg, posBuff, negBuff, percentmod = UnitDamage(unit)
- unit: : UnitId - Likely only works for and . Possibly for Beast Lore.
- 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)
- Doesn't seem to return usable values for mobs, NPCs. The method returns 7 values, only some of which appear to be useful.
Source
https://warcraft.wiki.gg/wiki/API_UnitDamage · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.