v0.13.8

GetAttackPowerForStat

functionimplementedavailable in: camelot

Returns the amount of attack power contributed by a specific amount of a stat.

signaturewowlua
function GetAttackPowerForStat(    stat: number,    value: number): number

Parameters

nametypedescription
statnumberIndex of the stat (Strength, Agility, ...) to check the bonus AP of.
valuenumberAmount of the stat to check the AP value of.

Returns

result · number

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PlayerScript system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.