Added spellid to returns section.
(Added paladin auras) |
(Added spellid to returns section.) |
||
| Line 3: | Line 3: | ||
Retrieves information about an available Shapeshiftform or Stance. | Retrieves information about an available Shapeshiftform or Stance. | ||
icon, name, active, castable = GetShapeshiftFormInfo(index); | icon, name, active, castable, spellId = GetShapeshiftFormInfo(index); | ||
---- | ---- | ||
| Line 12: | Line 12: | ||
:::; index : Index of ShapeshiftForm, counted from left to right from Iconpositions in the Shapeshift/Stance bar. May not be greater then GetNumShapeshiftForms(); | :::; index : Index of ShapeshiftForm, counted from left to right from Iconpositions in the Shapeshift/Stance bar. May not be greater then GetNumShapeshiftForms(); | ||
;Druid | |||
:*1 = Bear/Dire Bear Form | :*1 = Bear/Dire Bear Form | ||
:*2 = Aquatic Form | :*2 = Aquatic Form | ||
| Line 19: | Line 19: | ||
:*5 = Moonkin Form | :*5 = Moonkin Form | ||
:*6 = Tree of Life Form | :*6 = Tree of Life Form | ||
: | :;Holy Priest | ||
:;Rogue | :* 1 = Chakra: Chastise (red) | ||
:* 2 = Chakra: Sanctuary (blue) | |||
:* 3 = Chakra: Serenity (yellow) | |||
:; Rogue | |||
:*1 = Stealth | :*1 = Stealth | ||
:;Warrior | :;Warrior | ||
:*1 = Battle Stance | :*1 = Battle Stance | ||
:*2 = Defensive Stance | :*2 = Defensive Stance | ||
:*3 = Beserker Stance | :*3 = Beserker Stance | ||
:;Paladin | :;Paladin | ||
:*1 = Devotion Aura | :*1 = Devotion Aura | ||
| Line 41: | Line 42: | ||
;''Returns'' | ;''Returns'' | ||
; icon: Position and name of the icon used for the button | |||
:; name: Name of the ShapeshiftForm or Stance (optional) | :; name: Name of the ShapeshiftForm or Stance (optional) | ||
:; active: Returns 1 if this ShapeshiftForm/Stance is currently active, else 0 (optional) | :; active: Returns 1 if this ShapeshiftForm/Stance is currently active, else 0 (optional) | ||
:; castable: identifies if its castable. | :; castable: identifies if its castable. | ||
:; spellid: Id of spell/aura | |||
:: | |||
---- | ---- | ||
;''Example'' | ;''Example'' | ||
| Line 52: | Line 54: | ||
icon, name, active = GetShapeshiftFormInfo(1); | icon, name, active = GetShapeshiftFormInfo(1); | ||
icon, name, active, castable = GetShapeshiftFormInfo(1); | icon, name, active, castable = GetShapeshiftFormInfo(1); | ||
icon, name, active, castable, spellId = GetShapeshiftFormInfo(1); | |||