Refined disabled parser outside combat
This commit is contained in:
@@ -5951,6 +5951,18 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
|
||||
end
|
||||
end
|
||||
|
||||
local out_of_combat_interresting_events = {
|
||||
["SPELL_SUMMON"] = parser.summon,
|
||||
}
|
||||
|
||||
function Details222.Parser.OnParserEventOutOfCombat()
|
||||
local time, token, hidding, who_serial, who_name, who_flags, who_flags2, target_serial, target_name, target_flags, target_flags2, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12 = CombatLogGetCurrentEventInfo()
|
||||
local func = out_of_combat_interresting_events[token]
|
||||
if (func) then
|
||||
return func(nil, token, time, who_serial, who_name, who_flags, target_serial, target_name, target_flags, target_flags2, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)
|
||||
end
|
||||
end
|
||||
|
||||
local parserDebug = {}
|
||||
function Details.OnParserEventDebug(self, event, ...) --buffs: spellschool, auraType, amount, arg1, arg2, arg3
|
||||
local time, token, hidding, sourceSerial, sourceName, sourceFlags, who_flags2, targetSerial, targetName, targetFlags, target_flags2, spellId, spellName, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, unknown1, unknown2, unknown3, unknown4, unknown5 = CombatLogGetCurrentEventInfo(...)
|
||||
|
||||
Reference in New Issue
Block a user