Move shit
This commit is contained in:
@@ -11,13 +11,13 @@ aura_env.lookup = function()
|
|||||||
print("No states")
|
print("No states")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if not aura_env.states[2] then
|
|
||||||
print("No states[2]")
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
local triggerInfo = aura_env.states[2]
|
local triggerInfo = aura_env.states[2]
|
||||||
|
if not triggerInfo then
|
||||||
|
triggerInfo = aura_env.states[1]
|
||||||
|
end
|
||||||
if triggerInfo then spellid = triggerInfo.trigger.spellName end
|
if triggerInfo then spellid = triggerInfo.trigger.spellName end
|
||||||
|
if spellid == 0 then return end
|
||||||
|
|
||||||
for _, bar in pairs(aura_env.bars) do
|
for _, bar in pairs(aura_env.bars) do
|
||||||
for i = 1, 12 do
|
for i = 1, 12 do
|
||||||
@@ -26,7 +26,6 @@ aura_env.lookup = function()
|
|||||||
if slot then
|
if slot then
|
||||||
local type, _, _, id = GetActionInfo(slot)
|
local type, _, _, id = GetActionInfo(slot)
|
||||||
if type == "spell" then
|
if type == "spell" then
|
||||||
print(id, spellid)
|
|
||||||
if id == spellid then
|
if id == spellid then
|
||||||
local bindid = button.keyBoundTarget
|
local bindid = button.keyBoundTarget
|
||||||
local keybind = GetBindingKey(bindid)
|
local keybind = GetBindingKey(bindid)
|
||||||
@@ -42,6 +41,7 @@ aura_env.lookup = function()
|
|||||||
aura_env.keybind = string.gsub(aura_env.keybind, "SHIFT%-", "S")
|
aura_env.keybind = string.gsub(aura_env.keybind, "SHIFT%-", "S")
|
||||||
aura_env.keybind = string.gsub(aura_env.keybind, "CTRL%-", "C")
|
aura_env.keybind = string.gsub(aura_env.keybind, "CTRL%-", "C")
|
||||||
aura_env.keybind = string.gsub(aura_env.keybind, "ALT%-", "A")
|
aura_env.keybind = string.gsub(aura_env.keybind, "ALT%-", "A")
|
||||||
|
aura_env.keybind = string.gsub(aura_env.keybind, "SPACE", "Spb")
|
||||||
|
|
||||||
aura_env.scanned = true
|
aura_env.scanned = true
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user