WoW:API GetSpellCritChance: Difference between revisions

m (Robot: converting/fixing HTML)
Line 5: Line 5:


=== Parameters ===
=== Parameters ===
''school'' - the spell school to retrieve the crit chance for
''school'' - 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