---@diagnostic disable: missing-return, lowercase-global
---@meta

---@param ratingIndex CR_WEAPON_SKILL_RANGED
---@param CR_BLOCK
---@param CR_CRIT_MELEE
---@param CR_CRIT_RANGED
---@param CR_CRIT_SPELL
---@param CR_CRIT_TAKEN_MELEE
---@param CR_CRIT_TAKEN_RANGED
---@param CR_CRIT_TAKEN_SPELL
---@param CR_DEFENSE_SKILL
---@param CR_DODGE
---@param CR_HASTE_MELEE
---@param CR_HASTE_RANGED
---@param CR_HASTE_SPELL
---@param CR_HIT_MELEE
---@param CR_HIT_RANGED
---@param CR_HIT_SPELL
---@param CR_HIT_TAKEN_MELEE
---@param CR_HIT_TAKEN_RANGED
---@param CR_HIT_TAKEN_SPELL
---@param CR_PARRY
---@param CR_WEAPON_SKILL
---@param CR_WEAPON_SKILL_MAINHAND
---@param CR_WEAPON_SKILL_OFFHAND
---@param CR_WEAPON_SKILL_RANGED
---@return number ratingBonus
---Returns the percentage effect for the player's current value of a given combat rating. Used in the default UI to show tooltips with actual percentage effects (such as increased parry chance or reduced critical strike damage taken) when mousing over rating information in the Character window.
function GetCombatRatingBonus(
	ratingIndex,
	CR_BLOCK,
	CR_CRIT_MELEE,
	CR_CRIT_RANGED,
	CR_CRIT_SPELL,
	CR_CRIT_TAKEN_MELEE,
	CR_CRIT_TAKEN_RANGED,
	CR_CRIT_TAKEN_SPELL,
	CR_DEFENSE_SKILL,
	CR_DODGE,
	CR_HASTE_MELEE,
	CR_HASTE_RANGED,
	CR_HASTE_SPELL,
	CR_HIT_MELEE,
	CR_HIT_RANGED,
	CR_HIT_SPELL,
	CR_HIT_TAKEN_MELEE,
	CR_HIT_TAKEN_RANGED,
	CR_HIT_TAKEN_SPELL,
	CR_PARRY,
	CR_WEAPON_SKILL,
	CR_WEAPON_SKILL_MAINHAND,
	CR_WEAPON_SKILL_OFFHAND,
	CR_WEAPON_SKILL_RANGED
)
end
