From c6836db850f4413818556aa1a4699e34b00f96df Mon Sep 17 00:00:00 2001 From: Arrvis the Lion Date: Mon, 13 Sep 2021 16:35:52 +0300 Subject: [PATCH] [RG] Added EVENT_EFFECT_CHANGED dummy handler --- RaidNotifier.lua | 3 +++ TrialRockgrove.lua | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/RaidNotifier.lua b/RaidNotifier.lua index faab1f3..234516a 100644 --- a/RaidNotifier.lua +++ b/RaidNotifier.lua @@ -684,6 +684,9 @@ do ---------------------- if (self.raidId == RAID_MAW_OF_LORKHAJ) then EVENT_MANAGER:AddFilterForEvent(self.Name, EVENT_EFFECT_CHANGED, REGISTER_FILTER_ABILITY_ID, self.BuffsDebuffs[RAID_MAW_OF_LORKHAJ].rakkhat_hulk_armorweakened) end + if (self.raidId == RAID_ROCKGROVE) then + EVENT_MANAGER:AddFilterForEvent(self.Name, EVENT_EFFECT_CHANGED, REGISTER_FILTER_UNIT_TAG_PREFIX, "group") + end end if (bossesChangedCallback) then EVENT_MANAGER:RegisterForEvent(self.Name, EVENT_BOSSES_CHANGED, bossesChangedCallback) diff --git a/TrialRockgrove.lua b/TrialRockgrove.lua index a9fcd27..9f133fb 100644 --- a/TrialRockgrove.lua +++ b/TrialRockgrove.lua @@ -15,6 +15,13 @@ function RaidNotifier.RG.Initialize() data = {} end +function RaidNotifier.RG.OnEffectChanged(eventCode, changeType, eSlot, eName, uTag, beginTime, endTime, stackCount, iconName, buffType, eType, aType, statusEffectType, uName, uId, abilityId, uType) + local raidId = RaidNotifier.raidId + local self = RaidNotifier + + local buffsDebuffs, settings = self.BuffsDebuffs[raidId], self.Vars.rockgrove +end + function RaidNotifier.RG.OnCombatEvent(_, result, isError, aName, aGraphic, aActionSlotType, sName, sType, tName, tType, hitValue, pType, dType, log, sUnitId, tUnitId, abilityId) local raidId = RaidNotifier.raidId local self = RaidNotifier