Skip to content

Commit

Permalink
[RG] Added EVENT_EFFECT_CHANGED dummy handler
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryDragon committed Nov 8, 2021
1 parent 8b752a4 commit c6836db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RaidNotifier.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 7 additions & 0 deletions TrialRockgrove.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6836db

Please sign in to comment.