From 5e674712e8fd81dd1720cccced3792ff646f66dc Mon Sep 17 00:00:00 2001 From: Xruptor Date: Sun, 24 Jul 2016 17:25:05 -0400 Subject: [PATCH] Updated for Legion -Updated TOC for Legion -Added support for tekDebug --- XanEXP.lua | 5 +++++ XanEXP.toc | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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 -- 1.7.9.5