WoW API: GetRuneType

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetRuneType to API GetRuneType without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetRuneType

Gets the type of rune for a given rune ID.

runeType = GetRuneType(id)

Parameters[edit]

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)