From 0e28e39c2ec7964fb5e72a7599ef158e5d8f52f4 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Mon, 18 Nov 2024 00:19:32 +0100 Subject: [PATCH] Move shit --- FreshShit/__Ascension/Cooldowner/init.lua | 10 +++++----- FreshShit/__Ascension/{Cooldowner => }/__Other/buffs | 0 .../__Ascension/{Cooldowner => }/__Other/cooldowns | 0 .../__Ascension/{Cooldowner => }/__Other/cursoricons | 0 FreshShit/__Ascension/{Cooldowner => }/__Other/procs | 0 5 files changed, 5 insertions(+), 5 deletions(-) rename FreshShit/__Ascension/{Cooldowner => }/__Other/buffs (100%) rename FreshShit/__Ascension/{Cooldowner => }/__Other/cooldowns (100%) rename FreshShit/__Ascension/{Cooldowner => }/__Other/cursoricons (100%) rename FreshShit/__Ascension/{Cooldowner => }/__Other/procs (100%) diff --git a/FreshShit/__Ascension/Cooldowner/init.lua b/FreshShit/__Ascension/Cooldowner/init.lua index 4b844e6..d7594e4 100644 --- a/FreshShit/__Ascension/Cooldowner/init.lua +++ b/FreshShit/__Ascension/Cooldowner/init.lua @@ -11,13 +11,13 @@ aura_env.lookup = function() print("No states") return end - if not aura_env.states[2] then - print("No states[2]") - return - end 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 spellid == 0 then return end for _, bar in pairs(aura_env.bars) do for i = 1, 12 do @@ -26,7 +26,6 @@ aura_env.lookup = function() if slot then local type, _, _, id = GetActionInfo(slot) if type == "spell" then - print(id, spellid) if id == spellid then local bindid = button.keyBoundTarget 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, "CTRL%-", "C") aura_env.keybind = string.gsub(aura_env.keybind, "ALT%-", "A") + aura_env.keybind = string.gsub(aura_env.keybind, "SPACE", "Spb") aura_env.scanned = true end diff --git a/FreshShit/__Ascension/Cooldowner/__Other/buffs b/FreshShit/__Ascension/__Other/buffs similarity index 100% rename from FreshShit/__Ascension/Cooldowner/__Other/buffs rename to FreshShit/__Ascension/__Other/buffs diff --git a/FreshShit/__Ascension/Cooldowner/__Other/cooldowns b/FreshShit/__Ascension/__Other/cooldowns similarity index 100% rename from FreshShit/__Ascension/Cooldowner/__Other/cooldowns rename to FreshShit/__Ascension/__Other/cooldowns diff --git a/FreshShit/__Ascension/Cooldowner/__Other/cursoricons b/FreshShit/__Ascension/__Other/cursoricons similarity index 100% rename from FreshShit/__Ascension/Cooldowner/__Other/cursoricons rename to FreshShit/__Ascension/__Other/cursoricons diff --git a/FreshShit/__Ascension/Cooldowner/__Other/procs b/FreshShit/__Ascension/__Other/procs similarity index 100% rename from FreshShit/__Ascension/Cooldowner/__Other/procs rename to FreshShit/__Ascension/__Other/procs