Updated for Legion
Xruptor [07-24-16 - 21:26]
Updated for Legion
-Updated TOC for Legion
-Added support for tekDebug
diff --git a/XanDurability.lua b/XanDurability.lua
index 3c09708..9dfcd76 100644
--- a/XanDurability.lua
+++ b/XanDurability.lua
@@ -8,6 +8,11 @@
local f = CreateFrame("frame","xanDurability",UIParent)
f:SetScript("OnEvent", function(self, event, ...) if self[event] then return self[event](self, event, ...) end end)
+local debugf = tekDebug and tekDebug:GetFrame("xanDurability")
+local function Debug(...)
+ if debugf then debugf:AddMessage(string.join(", ", tostringall(...))) end
+end
+
--repair variables
local equipCost = 0;
local bagCost = 0;
diff --git a/XanDurability.toc b/XanDurability.toc
index 8fd8d18..6965274 100644
--- a/XanDurability.toc
+++ b/XanDurability.toc
@@ -1,8 +1,9 @@
-## Interface: 60000
+## Interface: 70000
## Title: xanDurability
## Notes: A small window that displays the total current armour durability.
## Author: Xruptor
-## Version: 2.8
+## Version: 3.0
+## OptionalDeps: tekDebug
## SavedVariablesPerCharacter: XanDUR_DB
xanDurability.lua