WoW:API GetCritChance: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API GetCritChance to API GetCritChance without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
Gets the player's critical hit chance percentage.
critChance = GetCritChance()
== Arguments ==
:none
=== Returns ===
=== Returns ===
:The player's melee critical hit chance in an unformatted, floating-point figure.
:; critChance : Number - The player's melee critical hit chance in an unformatted, floating-point figure.
 
----
{{WoW API}}

Latest revision as of 04:45, 15 August 2023

WoW API < GetCritChance


Gets the player's critical hit chance percentage.

critChance = GetCritChance()


Arguments[edit]

none


Returns[edit]

critChance
Number - The player's melee critical hit chance in an unformatted, floating-point figure.