cleanup
This commit is contained in:
@@ -881,10 +881,6 @@ local function TriggerInfoApplies(triggerInfo, unit)
|
||||
return false
|
||||
end
|
||||
|
||||
if triggerInfo.groupRole and triggerInfo.groupRole ~= UnitGroupRolesAssigned(unit) then
|
||||
return false
|
||||
end
|
||||
|
||||
if triggerInfo.unit == "group" and triggerInfo.groupSubType == "party" then
|
||||
if IsInRaid() then
|
||||
-- Filter our player/party# while in raid and keep only raid units that are correct
|
||||
@@ -2121,7 +2117,6 @@ function BuffTrigger.Add(data)
|
||||
|
||||
local groupTrigger = trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party"
|
||||
local effectiveIgnoreSelf = groupTrigger and trigger.ignoreSelf
|
||||
local effectiveGroupRole = groupTrigger and trigger.useGroupRole and trigger.group_role
|
||||
local effectiveClass = groupTrigger and trigger.useClass and trigger.class
|
||||
|
||||
if trigger.unit == "multi" then
|
||||
@@ -2173,7 +2168,6 @@ function BuffTrigger.Add(data)
|
||||
fetchTooltip = not IsSingleMissing(trigger) and trigger.unit ~= "multi" and trigger.fetchTooltip,
|
||||
groupTrigger = IsGroupTrigger(trigger),
|
||||
ignoreSelf = effectiveIgnoreSelf,
|
||||
groupRole = effectiveGroupRole,
|
||||
groupSubType = groupSubType,
|
||||
groupCountFunc = groupCountFunc,
|
||||
class = effectiveClass,
|
||||
|
||||
Reference in New Issue
Block a user