API GetRuneCount

Returns the Death Knight's number of runes for a slot.
 count = GetRuneCount(slot)
==Arguments==
:;slot: - Ranging from 1 to 6 which correspond to the available rune slots from left to right.
==Returns==
:;count: - 1 if the rune is available and not on cooldown or 0 if the rune is on cooldown.
==Details==
To find out how many runes the player has available to spend:
 total = 0
 for i=1,6 do
 total = total + GetRuneCount(i)
 end
 print(total)
==Patch changes==
==See also==
*