Navigation menu

WoW:API GetSpellCritChance: Difference between revisions

Jump to navigation Jump to search
m
Move page script moved page API GetSpellCritChance to WoW:API GetSpellCritChance without leaving a redirect
mNo edit summary
m (Move page script moved page API GetSpellCritChance to WoW:API GetSpellCritChance without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:


=== Parameters ===
=== Parameters ===
 
''school'' - the spell school to retrieve the crit chance for
<i>school</i> - the spell school to retrieve the crit chance for
* 1 for Physical
* 2 for Holy
* 3 for Fire
* 4 for Nature
* 5 for Frost
* 6 for Shadow
* 7 for Arcane


=== Returns ===
=== Returns ===
 
An unformatted floating point figure representing the critical hit chance for the specified school.
An unformatted floating point figure representing the critical hit chance for the specified school
 
=== Notes ===
 
The spell schools are named using numbers 1 through 7.  As of this update I don't know which school is which, but I believe that school 2 is Holy based on information from the Paper Doll LUA file.


=== Example ===
=== Example ===
Anonymous user