From c8c591f60b64a47ca74fd1b3507b448fbc0cae76 Mon Sep 17 00:00:00 2001 From: Xruptor Date: Tue, 24 Jul 2018 18:54:50 -0400 Subject: [PATCH] Updated for 8.0 BFA --- XanBuffTimers.lua | 9 +++++++-- XanBuffTimers.toc | 5 +++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/XanBuffTimers.lua b/XanBuffTimers.lua index 8ef31ec..6a338a2 100644 --- a/XanBuffTimers.lua +++ b/XanBuffTimers.lua @@ -282,7 +282,12 @@ local eventSwitch = { ["DAMAGE_SPLIT"] = true, } -function f:COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, eventType, hideCaster, sourceGUID, sourceName, srcFlags, sourceRaidFlags, dstGUID, destName, destFlags, destRaidFlags, spellID, spellName, spellSchool, auraType, amount) +local CombatLogGetCurrentEventInfo = CombatLogGetCurrentEventInfo + +function f:COMBAT_LOG_EVENT_UNFILTERED() + + --local timestamp, eventType, hideCaster, sourceGUID, sourceName, srcFlags, sourceRaidFlags, dstGUID, destName, destFlags, destRaidFlags, spellID, spellName, spellSchool, auraType, amount + local timestamp, eventType, _, sourceGUID, _, srcFlags, _, dstGUID = CombatLogGetCurrentEventInfo() if eventType == "UNIT_DIED" or eventType == "UNIT_DESTROYED" then --clear the buffs if the unit died @@ -572,7 +577,7 @@ function f:ProcessBuffs(id) local sdTimer = timerList[id] --makes things easier to read for i=1, MAX_TIMERS do - local name, _, icon, count, _, duration, expTime, unitCaster, _, _, spellId = UnitAura(id, i, 'PLAYER|HELPFUL') + local name, icon, count, debuffType, duration, expTime, unitCaster, canStealOrPurge, nameplateShowPersonal, spellId = UnitAura(id, i, 'PLAYER|HELPFUL') local passChk = false local isInfinite = false diff --git a/XanBuffTimers.toc b/XanBuffTimers.toc index 5e14637..5c201df 100644 --- a/XanBuffTimers.toc +++ b/XanBuffTimers.toc @@ -1,8 +1,9 @@ -## Interface: 70100 +## Interface: 80000 ## Title: xanBuffTimers ## Notes: A small text based progress bar system for target/focus/player buffs. ## Author: Xruptor -## Version: 3.7 +## Version: 4.1 +## OptionalDeps: tekDebug ## SavedVariablesPerCharacter: XBT_DB xanBuffTimers.lua -- 1.7.9.5