From 20165e9221efa6aa00d8fa6e8407c984753cd0c1 Mon Sep 17 00:00:00 2001 From: Pawel Date: Thu, 24 Nov 2016 05:14:58 +0100 Subject: [PATCH] v2.0 - fluid action bar support --- TDButtons.lua | 2 +- TDDps.lua | 6 ++---- TDDps.toc | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/TDButtons.lua b/TDButtons.lua index 3b6775b..24f9aa5 100644 --- a/TDButtons.lua +++ b/TDButtons.lua @@ -147,7 +147,7 @@ function TDButton.Fetch() end TDDps.rotationEnabled = origEna; - TDDps:Print(_tdInfo, 'Fetched action bars!'); + --TDDps:Print(_tdInfo, 'Fetched action bars!'); -- after fetching invoke spell check if TDDps.rotationEnabled then TDDps:InvokeNextSpell(); diff --git a/TDDps.lua b/TDDps.lua index dda2cef..58d7c77 100644 --- a/TDDps.lua +++ b/TDDps.lua @@ -37,11 +37,9 @@ TDDps_TargetGuid = nil; TD_Hp0, TD_T0, TD_Hpm, TD_Tm = nil, nil, nil, nil; function TDDps:Print(color, message, force) - if (TDDps_Options.disabledInfo and not TDDps_Options.debugMode) or force then - return; + if force or TDDps_Options.debugMode or (not TDDps_Options.disabledInfo and color == _tdError) then + print(color .. TDDpsName .. ': ' .. message); end - - print(color .. TDDpsName .. ': ' .. message); end ---------------------------------------------- diff --git a/TDDps.toc b/TDDps.toc index 0ead109..532179c 100644 --- a/TDDps.toc +++ b/TDDps.toc @@ -1,6 +1,6 @@ ## Title: TDDps ## Notes: Rotation helper framework. -## Version: 1.18 +## Version: 2.0 ## Author: Kaminaris ## Interface: 70100 ## SavedVariables: TDDps_Options -- 1.7.9.5