Returns the value of a combat rating for the player
See also Stat information functions.
Signature:
rating
=
GetCombatRating(ratingIndex)
Arguments:
ratingIndex
- Index of a rating; the following global constants are provided for convenience (number
)CR_BLOCK
- Block skillCR_CRIT_MELEE
- Melee critical strike chanceCR_CRIT_RANGED
- Ranged critical strike chanceCR_CRIT_SPELL
- Spell critical strike chanceCR_CRIT_TAKEN_MELEE
- Melee ResilienceCR_CRIT_TAKEN_RANGED
- Ranged ResilienceCR_CRIT_TAKEN_SPELL
- Spell ResilienceCR_DEFENSE_SKILL
- Defense skillCR_DODGE
- Dodge skillCR_HASTE_MELEE
- Melee hasteCR_HASTE_RANGED
- Ranged hasteCR_HASTE_SPELL
- Spell hasteCR_HIT_MELEE
- Melee chance to hitCR_HIT_RANGED
- Ranged chance to hitCR_HIT_SPELL
- Spell chance to hitCR_HIT_TAKEN_MELEE
- UnusedCR_HIT_TAKEN_RANGED
- UnusedCR_HIT_TAKEN_SPELL
- UnusedCR_PARRY
- Parry skillCR_WEAPON_SKILL
- Weapon skillCR_WEAPON_SKILL_MAINHAND
- Main-hand weapon skillCR_WEAPON_SKILL_OFFHAND
- Offhand weapon skillCR_WEAPON_SKILL_RANGED
- Ranged weapon skill
Returns:
rating
- Value of the rating for the player (number
)