m
Move page script moved page API GetShapeshiftForm to WoW:API GetShapeshiftForm without leaving a redirect
No edit summary |
m (Move page script moved page API GetShapeshiftForm to WoW:API GetShapeshiftForm without leaving a redirect) |
||
| (7 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
index = GetShapeshiftForm(flag); | |||
== Parameters == | == Parameters == | ||
| Line 6: | Line 6: | ||
<big>'''Arguments'''</big> | <big>'''Arguments'''</big> | ||
:; | :; flag: Boolean (Optional) - True if return value is to be compared to a macro's conditional statement. This makes it always return zero for Presences and Auras. False or nil returns an index based on which button to highlight on the shapeshift/stance bar left to right starting at 1. | ||
<big>'''Returns'''</big> | <big>'''Returns'''</big> | ||
:; | :;index : Number - one of following: | ||
::;Any class | ::;Any class | ||
| Line 24: | Line 24: | ||
:::*3 = Cat Form | :::*3 = Cat Form | ||
:::*4 = Travel Form | :::*4 = Travel Form | ||
:::*5 = Moonkin/ | :::*5 = Moonkin Form (balance) / Flight Form (resto/feral/guardian) | ||
:::*6 = Flight Form | :::*6 = Flight Form (balance) / Tree Form (resto) | ||
::;Paladin (only when arg1 is nil) | ::;Paladin (only when arg1 is nil) | ||
:::*1 = | :::*1 = Seal of Truth | ||
:::*2 = | :::*2 = Seal of Righteousness | ||
:::*3 = | :::*3 = Seal of Insight - Seal of Justice if retribution | ||
:::*4 = | :::*4 = Seal of Insight if retribution | ||
:::* | ::: In 3.3.5a it appears the function returns the currently active Paladin Aura: | ||
:::* | :::* 0 - No paladin aura active | ||
:::* | :::* 1 - Devotion Aura | ||
:::* | :::* 2 - Retribution Aura | ||
:::* 3 - Concentration Aura | |||
:::* .... | |||
::;Priest | ::;Priest | ||
:::*1 = Shadowform | :::* 1 = Chakra: Chastise or Shadowform | ||
:::* 2 = Chakra: Sanctuary | |||
:::* 3 = Chakra: Serenity | |||
:::* 4 = Spirit of Redemption | |||
::;Rogue | ::; Rogue | ||
:::*1 = Stealth | :::*1 = Stealth (3.1 - If the player has ''not'' learned the Shadow Dance talent, 1 is returned while in Stealth) | ||
:::*2 = Stealth (3.1 - If the player has learned the Shadow Dance talent, 2 is returned while in Stealth instead of 1) | |||
:::*3 = Shadow Dance (3.1 - This is used while Shadow Dance is active) | |||
:::Note: This seems to have changed again in 3.2. It seems now that 1 is always stealth, and 3 is Shadow Dance. I have not done thorough testing to prove this though, so I'm leaving the 3.1 info. | |||
::;Shaman | ::;Shaman | ||