Updated for Legion
Xruptor [07-24-16 - 21:25]
Updated for Legion
-Updated TOC for Legion
-Added support for tekDebug
diff --git a/XanEXP.lua b/XanEXP.lua
index 63c9bfc..9606f9b 100644
--- a/XanEXP.lua
+++ b/XanEXP.lua
@@ -5,6 +5,11 @@ local start, max, starttime, startlevel
local f = CreateFrame("frame","xanEXP",UIParent)
f:SetScript("OnEvent", function(self, event, ...) if self[event] then return self[event](self, event, ...) end end)
+local debugf = tekDebug and tekDebug:GetFrame("xanEXP")
+local function Debug(...)
+ if debugf then debugf:AddMessage(string.join(", ", tostringall(...))) end
+end
+
----------------------
-- Enable --
----------------------
diff --git a/XanEXP.toc b/XanEXP.toc
index 368d07c..be6be15 100644
--- a/XanEXP.toc
+++ b/XanEXP.toc
@@ -1,8 +1,9 @@
-## Interface: 60000
+## Interface: 70000
## Title: xanEXP
## Notes: A small window display current xp and other xp information
## Author: Xruptor
-## Version: 2.9
+## Version: 3.0
+## OptionalDeps: tekDebug
## SavedVariablesPerCharacter: XanEXP_DB
xanEXP.lua