from retail

This commit is contained in:
NoM0Re
2025-01-25 19:03:51 +01:00
parent e8451987a3
commit c066688fef
5 changed files with 59 additions and 35 deletions
+19 -15
View File
@@ -3114,6 +3114,7 @@ Private.event_prototypes = {
else
spellName = type(trigger.spellName) == "number" and GetSpellInfo(trigger.spellName) or trigger.spellName;
end
if spellName == nil then return {} end
local events = {
"SPELL_COOLDOWN_CHANGED:" .. spellName,
"COOLDOWN_REMAINING_CHECK:" .. spellName,
@@ -3412,7 +3413,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -3431,6 +3432,7 @@ Private.event_prototypes = {
else
spellName = type(trigger.spellName) == "number" and GetSpellInfo(trigger.spellName) or trigger.spellName;
end
if spellName == nil then return {} end
return { "SPELL_COOLDOWN_READY:" .. spellName }
end,
name = L["Cooldown Ready Event"],
@@ -3498,7 +3500,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -3518,6 +3520,7 @@ Private.event_prototypes = {
else
spellName = type(trigger.spellName) == "number" and GetSpellInfo(trigger.spellName) or trigger.spellName;
end
if spellName == nil then return {} end
return { "SPELL_CHARGES_CHANGED:" .. spellName }
end,
name = L["Charges Changed Event"],
@@ -3606,7 +3609,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -3770,7 +3773,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -3973,7 +3976,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -4055,7 +4058,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -4116,7 +4119,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -4189,7 +4192,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -4297,7 +4300,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -4350,6 +4353,7 @@ Private.event_prototypes = {
else
spellName = type(trigger.spellName) == "number" and GetSpellInfo(trigger.spellName) or trigger.spellName;
end
if spellName == nil then return {} end
return { "SPELL_COOLDOWN_CHANGED:" .. spellName }
end,
force_events = "SPELL_UPDATE_USABLE",
@@ -4500,7 +4504,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -5137,7 +5141,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -5656,7 +5660,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -5735,7 +5739,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -6153,7 +6157,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},
@@ -7210,7 +7214,7 @@ Private.event_prototypes = {
{
name = "icon",
hidden = true,
init = "icon or 'Interface\\AddOns\\WeakAuras\\Media\\Textures\\icon'",
init = "icon",
test = "true",
store = true
},