WoW:API GetShapeshiftForm: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Updated with new information for Death Knight) |
||
Line 7: | Line 7: | ||
:(arg1) | :(arg1) | ||
:; arg1 : Boolean - False will return values for the Paladin auras, True will return the ohter shapeshift forms. | :; arg1 : Boolean - False will return values for the Paladin auras and Death Knight Presences, True will return the ohter shapeshift forms. | ||
<big>'''Returns'''</big> | <big>'''Returns'''</big> | ||
Line 16: | Line 16: | ||
::;Any class | ::;Any class | ||
:::*0 = humanoid form | :::*0 = humanoid form | ||
::;Death Knight | |||
:::*1 = Blood Presence | |||
:::*2 = Frost Presence | |||
:::*3 = Unholy Presence | |||
::;Druid | ::;Druid |
Revision as of 22:05, 13 October 2008
stance = GetShapeshiftForm(arg1);
Parameters
Arguments
- (arg1)
- arg1
- Boolean - False will return values for the Paladin auras and Death Knight Presences, True will return the ohter shapeshift forms.
Returns
- stance
- stance
- Number - one of following:
- Any class
-
- 0 = humanoid form
- Death Knight
-
- 1 = Blood Presence
- 2 = Frost Presence
- 3 = Unholy Presence
- Druid
-
- 1 = Bear/Dire Bear Form
- 2 = Aquatic Form
- 3 = Cat Form
- 4 = Travel Form
- 5 = Moonkin/Tree Form (Unless feral. If no moonkin/tree form present, (swift) flight form is form 5)
- 6 = Flight Form
- Paladin (only when arg1 is false)
-
- 1 = Devotion Aura
- 2 = Retribution Aura
- 3 = Concentration Aura
- 4 = Shadow Resistance Aura
- 5 = Frost Resistance Aura
- 6 = Fire Resistance Aura
- 7 = Crusader Aura
- ? = Sanctity Aura (Retribution Talent, unknown where it fits.)
- Rogue
-
- 1 = Stealth
- Shaman
-
- 1 = Ghost Wolf
- Warrior
-
- 1 = Battle Stance
- 2 = Defensive Stance
- 3 = Beserker Stance
Example
local nStance = GetShapeshiftForm(true);