fix(Interrupt): revert to WotLK 8-arg CLEU (CoA has no hideCaster/RaidFlags)

This commit is contained in:
2026-05-29 19:36:04 +02:00
parent 68df17cb10
commit c8a976bcf5
+3 -9
View File
@@ -53,15 +53,9 @@ function Interrupt:ApplySettings()
db = self.db.profile
end
-- 3.3.5 CLEU signature:
-- (event, timestamp, subevent, hideCaster,
-- srcGUID, srcName, srcFlags, srcRaidFlags,
-- destGUID, destName, destFlags, destRaidFlags,
-- spellId, spellName, spellSchool, extraSpellId, extraSpellName, extraSpellSchool)
function Interrupt:COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, combatEvent, hideCaster,
srcGUID, sourceName, srcFlags, srcRaidFlags,
destGUID, destName, destFlags, destRaidFlags,
spellId, spellName, spellSchool)
-- CoA 3.3.5 uses the standard WotLK 8-arg CLEU layout (no hideCaster/RaidFlags):
-- (event, timestamp, subevent, srcGUID, srcName, srcFlags, destGUID, destName, destFlags, ...)
function Interrupt:COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, combatEvent, _, sourceName, _, _, _, destFlags)
if combatEvent == "SPELL_INTERRUPT" and destFlags == 0x511 then
Player.Bar.Text:SetFormattedText(L["INTERRUPTED (%s)"], (sourceName or UNKNOWN):upper())
Player.Bar.Bar:SetStatusBarColor(unpack(db.interruptcolor))