from retail

This commit is contained in:
NoM0Re
2025-01-17 18:59:10 +01:00
parent 89a247addb
commit efdbb3c46d
10 changed files with 107 additions and 28 deletions
+13 -2
View File
@@ -1040,6 +1040,17 @@ Private.load_prototype = {
events = {"PARTY_MEMBERS_CHANGED", "RAID_ROSTER_UPDATE"},
optional = true,
},
{
name = "groupSize",
display = L["Group Size"],
type = "number",
init = "arg",
events = {"PARTY_MEMBERS_CHANGED", "RAID_ROSTER_UPDATE"},
multiEntry = {
operator = "and",
limit = 2
},
},
{
name = "group_leader",
display = WeakAuras.newFeatureString .. L["Group Leader/Assist"],
@@ -3098,7 +3109,7 @@ Private.event_prototypes = {
force_events = "SPELL_COOLDOWN_FORCE",
name = L["Cooldown/Charges/Count"],
loadFunc = function(trigger)
trigger.spellName = trigger.spellName or 0;
trigger.spellName = type(trigger.spellName) ~= "table" and trigger.spellName or 0;
local spellName;
if (trigger.use_exact_spellName) then
spellName = trigger.spellName;
@@ -3111,7 +3122,7 @@ Private.event_prototypes = {
end
end,
init = function(trigger)
trigger.spellName = trigger.spellName or 0;
trigger.spellName = type(trigger.spellName) ~= "table" and trigger.spellName or 0;
local spellName;
if (trigger.use_exact_spellName) then
spellName = trigger.spellName;