Returns the attack power bonus provided by one of the player's basic statistics
See also Stat information functions.
Signature:
attackPower
=
GetAttackPowerForStat(statIndex,
effectiveStat)
Arguments:
statIndex
- Index of a basic statistic (number
)1
- Strength2
- Agility3
- Stamina4
- Intellect5
- Spirit
effectiveStat
- Value of the statistic to use in attack power calculation (number
)
Returns:
attackPower
- Attack power bonus provided to the player by the basic statistic value (number
)