GetRuneType

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 3.0.2 / 1.15.0

Gets the type of rune for a given rune ID.

runeType = GetRuneType(id)

Parameters

Arguments

id
The rune's id. A number between 1 and 6 denoting which rune to be queried.

Returns

runeType - The type of rune that it is.
  • 1 : RUNETYPE_BLOOD
  • 2 : RUNETYPE_CHROMATIC
  • 3 : RUNETYPE_FROST
  • 4 : RUNETYPE_DEATH

("CHROMATIC" refers to Unholy runes)