2 Commits

Author SHA1 Message Date
florian.berthold 4b284d9521 fix(Interrupt): correct destFlags arg position; guard InterfaceOptionsFrame_OpenToCategory
modules/Interrupt.lua: the COMBAT_LOG_EVENT_UNFILTERED handler had destFlags at

arg position 9 (pre-RaidFlags layout); on 3.3.5 the signature is

(event, ts, subevent, hideCaster, srcGUID, srcName, srcFlags, srcRaidFlags,

 destGUID, destName, destFlags, destRaidFlags, spellId, spellName, spellSchool, ...).

destFlags is the 11th function parameter. Rewrite the parameter list with

all named args through spellSchool so the 0x511 (player + raid + me) bitmask

check on destFlags fires correctly and the SPELL_INTERRUPT path actually

recolors Player.Bar on the local player.

Config.lua: ChatCommand() called InterfaceOptionsFrame_OpenToCategory()

unconditionally. That global is nil on CoA's 3.3.5 client, so /quartz and /q3

with no arg threw 'attempt to call global ... (a nil value)'. Wrap with a

presence check and fall back to AceConfigDialog-3.0:Open("Quartz3").

luac -p clean on both files. libs/ untouched (coa-ace3-managed).
2026-05-24 17:39:28 +02:00
Andrew6810 3b75efe038 init 2022-10-21 07:30:59 -07:00