Clean up cooldowner

This commit is contained in:
2024-11-20 12:04:01 +01:00
parent 897b0f00aa
commit efeb41b18e
2 changed files with 7 additions and 46 deletions

View File

@@ -37,11 +37,13 @@ aura_env.lookup = function()
end
end
aura_env.keybind = string.gsub(aura_env.keybind, "BUTTON", "B")
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")
if aura_env.keybind then
aura_env.keybind = string.gsub(aura_env.keybind, "BUTTON", "B")
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")
end
aura_env.scanned = true
end

View File

@@ -1,41 +0,0 @@
ElvUI_BarNButtonM
ACTIONBUTTON12
GetBindingKey
ActionButton_GetPagedID("ActionButton12")
ActionButton_CalculateAction("ElvUI_Bar1Button1")
ActionButton_GetPagedID("ElvUI_Bar1Button1")
ElvUI_Bar1Button1:GetAttribute("action")
GetActionInfo(1)
DevTools_Dump(aura_env.state[2])
[2]={
triggernum=2,
spellname="Shadow Word: Pain",
duration=7,
id="Test123",
expirationTime=20758.936,
show=false,
trigger={
type="spell",
subeventSuffix="_CAST_START",
spellName=25368, -- !!!!
use_genericShowOn=true,
genericShowOn="showAlways",
unit="player",
realSpellName="Shadow Word: Pain",
use_spellName=true,
spellIds={
},
subeventPrefix="SPELL",
event="Cooldown Progress (Spell)",
names={
},
use_track=true,
debuffType="HELPFUL"
},
name="Shadow Word: Pain",
autoHide=false,
changed=false,
icon="Interface\\Icons\\Spell_Shadow_ShadowWordPain",
progressType="timed"
},