from retail
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user