Quantcast

Updated for 8.0 BFA

Xruptor [07-24-18 - 22:54]
Updated for 8.0 BFA
Filename
XanBuffTimers.lua
XanBuffTimers.toc
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