Mercurial > wow > reaction
changeset 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 | 5257073138e8 |
children | eab7e7642dd6 |
files | ReAction.toc classes/MultiCastButton.lua |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ReAction.toc Sat Dec 12 21:56:32 2009 +0000 +++ b/ReAction.toc Sat Oct 16 21:53:57 2010 +0000 @@ -1,10 +1,10 @@ -## Interface: 30300 +## Interface: 40000 ## Title: ReAction ## Notes: Action button layout and configuration ## DefaultState: enabled ## LoadOnDemand: 0 ## Author: Flick -## Version: 1.0 +## Version: 1.1 ## SavedVariables: ReAction_DB ## OptionalDeps: ButtonFacade ## X-Category: Action Bars
--- 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