WoW API: GetRuneType

From AddOn Studio
Revision as of 14:02, 8 August 2008 by WoWWiki>ReAn (New page: {{NYI}} {{wowapi}} __NOTOC__ Gets the type of rune for a given rune ID. runeType = GetRuneType(id) == Parameters == <big>'''Arguments'''</big> :;id : The rune's id. A number between 1 ...)
(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

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_DEATH
  • 3 : RUNETYPE_FROST
  • 4 : RUNETYPE_CHROMATIC