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
- Leftmost2
- Second from left3
- Fifth from left (second from right)4
- Sixth from left (rightmost)5
- Third from left6
- Fourth from left
Returns:
runeType
- Type of the rune (number
)1
- Blood rune2
- Unholy rune3
- Frost rune4
- Death rune