diff classes/MultiCastButton.lua @ 166:8241be11dcc0

TOTEM_PRIORITIES -> SHAMAN_TOTEM_PRIORITIES TOC update 40000
author Flick <flickerstreak@gmail.com>
date Sat, 16 Oct 2010 21:53:57 +0000
parents ab5c37989986
children eab7e7642dd6
line wrap: on
line diff
--- a/classes/MultiCastButton.lua	Sat Dec 12 21:56:32 2009 +0000
+++ b/classes/MultiCastButton.lua	Sat Oct 16 21:53:57 2010 +0000
@@ -27,7 +27,7 @@
   Blizzard Constants:
     - NUM_MULTI_CAST_BUTTONS_PER_PAGE = 4
     - NUM_MULTI_CAST_PAGES = 3
-    - TOTEM_PRIORITIES = { } -- sets the order of the totems
+    - SHAMAN_TOTEM_PRIORITIES = { } -- sets the order of the totems
     - TOTEM_MULTI_CAST_SUMMON_SPELLS = { } -- list of summon spellIDs
     - TOTEM_MULTI_CAST_RECALL_SPELLS = { } -- list of recall spellIDs
 
@@ -285,7 +285,7 @@
       end
     end
   else
-    local baseAction = barFrame:GetAttribute("baseActionID") + TOTEM_PRIORITIES[idx-1]
+    local baseAction = barFrame:GetAttribute("baseActionID") + SHAMAN_TOTEM_PRIORITIES[idx-1]
     f:SetAttribute("type","action")
     f:SetAttribute("action", baseAction + (page - 1) * NUM_MULTI_CAST_BUTTONS_PER_PAGE)
     for i = 1, NUM_MULTI_CAST_PAGES do
@@ -549,7 +549,7 @@
   tinsert(slots, summon)
 
   for i = 1, NUM_MULTI_CAST_BUTTONS_PER_PAGE do
-    local slotSpells = { 0, GetMultiCastTotemSpells(TOTEM_PRIORITIES[i]) }
+    local slotSpells = { 0, GetMultiCastTotemSpells(SHAMAN_TOTEM_PRIORITIES[i]) }
     maxIdx = max(maxIdx, #slotSpells)
     tinsert(slots,slotSpells)
   end
@@ -569,7 +569,7 @@
     bar:GetConfig().lastSummon = value
   end
 
-  for i, p in ipairs(TOTEM_PRIORITIES) do
+  for i, p in ipairs(SHAMAN_TOTEM_PRIORITIES) do
     barFrame:SetAttribute("TOTEM_PRIORITY_"..i,p)
   end