首页 > 白马西风 > GetShapeshiftFormID
2022
07-27

GetShapeshiftFormID

Returns the ID of the form or stance the player is currently in.
index = GetShapeshiftFormID()

Returns

index
number - one of following:

All
  • nil = humanoid form
Druid
  • Aquatic Form - 4
  • Bear Form - 5 (BEAR_FORM constant)
  • Cat Form - 1 (CAT_FORM constant)
  • Flight Form - 29
  • Moonkin Form - 31 (MOONKIN_FORM constant)
  • Swift Flight Form - 27
  • Travel Form - 3
  • Tree of Life - 2
Monk
  • Stance of the Fierce Tiger - 24
  • Stance of the Sturdy Ox - 23
  • Stance of the Wise Serpent - 20
Rogue
  • Stealth - 30
Shaman
  • Ghost Wolf - 16
Warlock
  • Metamorphosis - 22
Warrior
  • Battle Stance - 17
  • Berserker Stance - 19
  • Defensive Stance - 18

https://wowpedia.fandom.com/wiki/API_GetShapeshiftFormID

 

觉得文章有用,微信打赏一元。



留下一个回复

你的email不会被公开。