WoW API: GetAttackPowerForStat

WoW API < GetAttackPowerForStat

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

ap = GetAttackPowerForStat(statId, amount)

ArgumentsEdit

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.

ReturnsEdit

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