git
/
wowui.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3a03236 - Remove unused OmaGtfo features
[wowui.git]
/
OmaAB
/
ActionBars.lua
diff --git
a/OmaAB/ActionBars.lua
b/OmaAB/ActionBars.lua
index
02bdcb9
..
82680c6
100644
(file)
--- a/
OmaAB/ActionBars.lua
+++ b/
OmaAB/ActionBars.lua
@@
-67,7
+67,6
@@
local settings = {
bar = 5,
start = 49,
length = 12,
bar = 5,
start = 49,
length = 12,
- columns = 3,
x = 1000,
y = 840,
},
x = 1000,
y = 840,
},
@@
-118,6
+117,9
@@
local usingBonusbars = {
};
local chars = {
};
local chars = {
+ ["Sylvanas"] = {
+ ["Vildana"] = {1, 2, 3, 4,},
+ },
["Stormreaver"] = {
["Vildan"] = {1, 2, 3, 4,},
["Gedren"] = {1, 2, 3, 4,},
["Stormreaver"] = {
["Vildan"] = {1, 2, 3, 4,},
["Gedren"] = {1, 2, 3, 4,},
@@
-258,11
+260,11
@@
local function updateState(button, slot)
end
local function updateGlow(button, slot)
end
local function updateGlow(button, slot)
- local stype, id
, _
= GetActionInfo(slot);
+ local stype, id = GetActionInfo(slot);
if stype == "spell" and IsSpellOverlayed(id) then
button.glow:Show();
elseif stype == "macro" then
if stype == "spell" and IsSpellOverlayed(id) then
button.glow:Show();
elseif stype == "macro" then
- local
_, _,
macroid = GetMacroSpell(id);
+ local macroid = GetMacroSpell(id);
if macroid and IsSpellOverlayed(macroid) then
button.glow:Show();
else
if macroid and IsSpellOverlayed(macroid) then
button.glow:Show();
else
@@
-274,11
+276,11
@@
local function updateGlow(button, slot)
end
local function startGlow(button, slot, spell)
end
local function startGlow(button, slot, spell)
- local stype, id
, _
= GetActionInfo(slot);
+ local stype, id = GetActionInfo(slot);
if stype == "spell" and id == spell then
button.glow:Show();
elseif stype == "macro" then
if stype == "spell" and id == spell then
button.glow:Show();
elseif stype == "macro" then
- local
_, _,
macroid = GetMacroSpell(id);
+ local macroid = GetMacroSpell(id);
if macroid and macroid == spell then
button.glow:Show();
end
if macroid and macroid == spell then
button.glow:Show();
end
@@
-287,11
+289,11
@@
local function startGlow(button, slot, spell)
end
local function stopGlow(button, slot, spell)
end
local function stopGlow(button, slot, spell)
- local stype, id
, _
= GetActionInfo(slot);
+ local stype, id = GetActionInfo(slot);
if stype == "spell" and id == spell then
button.glow:Hide();
elseif stype == "macro" then
if stype == "spell" and id == spell then
button.glow:Hide();
elseif stype == "macro" then
- local
_, _,
macroid = GetMacroSpell(id);
+ local macroid = GetMacroSpell(id);
if macroid and macroid == spell then
button.glow:Hide();
end
if macroid and macroid == spell then
button.glow:Hide();
end
@@
-673,7
+675,7
@@
local events = {
end,
};
events["LOSS_OF_CONTROL_ADDED"] = events["ACTIONBAR_UPDATE_COOLDOWN"];
end,
};
events["LOSS_OF_CONTROL_ADDED"] = events["ACTIONBAR_UPDATE_COOLDOWN"];
-events["LOSS_OF_CONTROL_UPDATE"] = events["ACTIONBAR_UPDATE_COOLDOWN"];
-- TODO might change once tooltips are in
+events["LOSS_OF_CONTROL_UPDATE"] = events["ACTIONBAR_UPDATE_COOLDOWN"];
events["PLAYER_MOUNT_DISPLAY_CHANGED"] = events["ACTIONBAR_UPDATE_USABLE"];
events["TRADE_SKILL_SHOW"] = events["ACTIONBAR_UPDATE_STATE"];
events["TRADE_SKILL_CLOSE"] = events["ACTIONBAR_UPDATE_STATE"];
events["PLAYER_MOUNT_DISPLAY_CHANGED"] = events["ACTIONBAR_UPDATE_USABLE"];
events["TRADE_SKILL_SHOW"] = events["ACTIONBAR_UPDATE_STATE"];
events["TRADE_SKILL_CLOSE"] = events["ACTIONBAR_UPDATE_STATE"];