Returns the type of one of the player's rune resources. Note the placement of runes 3-4 (normally Unholy) and 5-6 (normally Frost) are reversed in the default UI.


See also Player information functions, Class resource functions.

Signature:

runeType = GetRuneType(slot)

Arguments:

  • slot - Index of a rune slot, as positioned in the default UI: (number)
    • 1 - Leftmost
    • 2 - Second from left
    • 3 - Fifth from left (second from right)
    • 4 - Sixth from left (rightmost)
    • 5 - Third from left
    • 6 - Fourth from left

Returns:

  • runeType - Type of the rune (number)
    • 1 - Blood rune
    • 2 - Unholy rune
    • 3 - Frost rune
    • 4 - Death rune