Wikia

WoWWiki

API GetAttackPowerForStat

Talk0
102,215pages on
this wiki
Revision as of 18:50, June 21, 2010 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Around Wikia's network

Random Wiki