Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the Death Knight's number of runes for a slot.
count = GetRuneCount(slot)
Arguments[]
- slot
- number - Ranging from 1 to 6 which correspond to the available rune slots from left to right.
Returns[]
- count
- number - 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[]
Patch 3.0.2 (2008-10-14): Added.