WoW:API GetShapeshiftForm: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (human form -> humanoid form (not everyone plays human after all))
Line 37: Line 37:
::;Rogue
::;Rogue
:::*1 = Stealth
:::*1 = Stealth
::;Shaman
:::*1 = Ghost Wolf


::;Warrior
::;Warrior

Revision as of 00:54, 29 August 2007

WoW API < GetShapeshiftForm

stance = GetShapeshiftForm(arg1);

Parameters

Arguments

(arg1)
arg1
Boolean - Unknown purpose. the only argument Blizzard sends to this function is true

Returns

stance
stance
Number - one of following:
Any class
  • 0 = humanoid form
Druid
  • 1 = Bear/Dire Bear Form
  • 2 = Aquatic Form
  • 3 = Cat Form
  • 4 = Travel Form
  • 5 = Moonkin/Tree Form
  • 6 = Flight Form
Paladin
  • 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);