WoW API: GetMultiCastTotemSpells

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetMultiCastTotemSpells

Returns a list of valid totem spells for the specified totem bar slot.

totem1, totem2, totem3, totem4, totem5, totem6, totem7 = GetMultiCastTotemSpells(slot)

Parameters[edit]

Arguments[edit]

slot
Number - The totem bar slot number:
  • Call of the Elements
  • 133 - Fire
  • 134 - Earth
  • 135 - Water
  • 136 - Air
  • Call of the Ancestors
  • 137 - Fire
  • 138 - Earth
  • 139 - Water
  • 140 - Air
  • Call of the Spirits
  • 141 - Fire
  • 142 - Earth
  • 143 - Water
  • 144 - Air

Returns[edit]

totem1
Number - The spell Id of the first valid spell for the slot
totem2
Number - The spell Id of the second valid spell for the slot
totem3
Number - The spell Id of the third valid spell for the slot
totem4
Number - The spell Id of the fourth valid spell for the slot
totem5
Number - The spell Id of the fifth valid spell for the slot
totem6
Number - The spell Id of the sixth valid spell for the slot
totem7
Number - The spell Id of the seventh valid spell for the slot

Example[edit]

totem1, totem2, totem3, totem4, totem5, totem6, totem7 = GetMultiCastTotemSpells(134)

Result[edit]

A list of spell ids that can go in totem bar slot number 134. Slot 134 is the Earth slot for the Call of the Elements spell.