WoW API: GetShapeshiftForm
Retrieves 0-based index of current Shapeshiftform or Stance.
stance = GetShapeshiftForm(unknown);
- Arguments
- (Boolean unknown)
- type
- One of the following:
- unknown
- the only argument Blizzard sends to this function is boolean 'true'.
- Returns
- stance
- One of the following:
-
- Any class
- 0 = human form
- Druid
- 1 = Bear/Dire Bear Form
- 2 = Aquatic Form
- 3 = Cat Form
- 4 = Travel Form
- 5 = Moonkin Form (and maybe tree form, need to be checked by resto druid).
-
- Rogue
- 1 = Stealth
-
- Warrior
- 1 = Battle Stance
- 2 = Defensive Stance
- 3 = Beserker Stance
- Example
nStance = GetShapeshiftForm(true);