WoW API: GetAttackPowerForStat

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetAttackPowerForStat to API GetAttackPowerForStat without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetAttackPowerForStat

Returns attack power granted by particular amount of a particular stat.

ap = GetAttackPowerForStat(statId, amount)

Arguments[edit]

statId
Number - Index of the stat (Strength, Agility, ...) to check the bonus AP of.
amount
Number - Amount of the stat to check the AP value of.

Returns[edit]

ap
Number - Amount of attack power granted by the specified amount of the specified stat.