Difference between revisions of "API GetMultiCastTotemSpells"

From Wowpedia
Jump to: navigation, search
(Created page with '{{wowapi}} __NOTOC__ Returns a list of valid totem spells for the specified totem bar slot. totem1, totem2, totem3, totem4, totem5, totem6, totem7 = GetMultiCastTotemSpells(slot…')
 
Line 5: Line 5:
 
==Parameters==
 
==Parameters==
 
=== Arguments ===
 
=== Arguments ===
:;slot : Number - The totem bar slot number
+
:;slot : Number - The totem bar slot number:
  +
::* Call of the Elements
  +
:::* 134 - Earth
  +
:::* 133 - Fire
  +
:::* 135 - Water
  +
:::* 136 - Air
  +
::* Call of the Ancestors
  +
:::* 138 - Earth
  +
:::* 137 - Fire
  +
:::* 139 - Water
  +
:::* 140 - Air
  +
::* Call of the Spirits
  +
:::* 142 - Earth
  +
:::* 141 - Fire
  +
:::* 143 - Water
  +
:::* 144 - Air
  +
 
=== Returns ===
 
=== Returns ===
 
:;totem1 : Number - The spell Id of the first valid spell for the slot
 
:;totem1 : Number - The spell Id of the first valid spell for the slot

Revision as of 17:05, 23 February 2010

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

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

Parameters

Arguments

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

Returns

totem1 
Number - The spell Id of the first valid spell for the slot
totem2 
Number - The spell Id of the first valid spell for the slot
totem3 
Number - The spell Id of the first valid spell for the slot
totem4 
Number - The spell Id of the first valid spell for the slot
totem5 
Number - The spell Id of the first valid spell for the slot
totem6 
Number - The spell Id of the first valid spell for the slot
totem7 
Number - The spell Id of the first valid spell for the slot

Example

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

Result

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.