From 7f5ade83544f1561cd089c3a3d275c255b1caf4e Mon Sep 17 00:00:00 2001 From: Taracque Date: Tue, 10 Mar 2015 12:52:51 +0100 Subject: [PATCH] v1.1, 6.1 compatible, fixed the remaining stars on cooldown frames. --- DKCrutch.lua | 12 ++++++++++-- DKCrutch.toc | 4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/DKCrutch.lua b/DKCrutch.lua index 9edc91b..76d0835 100755 --- a/DKCrutch.lua +++ b/DKCrutch.lua @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------- --- DKCrutch 1.0.6 +-- DKCrutch 1.1.0 -- -- Death Knight rune tracker and ability advisor ------------------------------------------------------------------------------- @@ -8,7 +8,7 @@ DKCrutch = {Locals = {}} local L = DKCrutch.Locals -DKCrutch.versionNumber = '1.0.6' +DKCrutch.versionNumber = '1.1.0' DKCrutch.talent = "" DKCrutch.talentUnsure = true DKCrutch.DebugMode = false @@ -590,6 +590,7 @@ function DKCrutch:ProcIcon(name,icon,d,e,value) DKCrutch.procFrame:SetBackdropColor(0, 0, 0, .3) end DKCrutch.procFrame:SetCooldown( 0,0 ) + DKCrutch.procFrame:SetDrawBling(false) DKCrutch.procText:SetText( "" ) DKCrutch.lastProc="" end @@ -1455,11 +1456,13 @@ function DKCrutch:Update() if (DKCrutch.lastD2 ~= "") then DKCrutch.debuff2Frame.texture:SetTexture( "" ) DKCrutch.debuff2Frame:SetCooldown( 0, 0) + DKCrutch.debuff2Frame:SetDrawBling(false) DKCrutch.lastD2 = "" end if (DKCrutch.lastD1 ~= "") then DKCrutch.debuff1Frame.texture:SetTexture( "" ) DKCrutch.debuff1Frame:SetCooldown( 0, 0) + DKCrutch.debuff1Frame:SetDrawBling(false) DKCrutch.lastD1 = "" end return @@ -1485,6 +1488,7 @@ function DKCrutch:Update() if (DKCrutch.lastSpell ~= "") then DKCrutch.advisorFrame.texture:SetTexture( "" ) DKCrutch.cooldownFrame:SetCooldown(0, 0) + DKCrutch.cooldownFrame:SetDrawBling(false) DKCrutch.lastSpell = spell end end @@ -1548,12 +1552,14 @@ function DKCrutch:Update() if (DKCrutch.lastD1 ~= "") then DKCrutch.debuff1Frame.texture:SetTexture( "" ) DKCrutch.debuff1Frame:SetCooldown( 0, 0) + DKCrutch.debuff1Frame:SetDrawBling(false) DKCrutch.lastD1 = "" end end if (DKCrutch.lastD2 ~= "") then DKCrutch.debuff2Frame.texture:SetTexture( "" ) DKCrutch.debuff2Frame:SetCooldown( 0, 0) + DKCrutch.debuff2Frame:SetDrawBling(false) DKCrutch.lastD2 = "" end else @@ -1568,6 +1574,7 @@ function DKCrutch:Update() if (DKCrutch.lastD1 ~= "") then DKCrutch.debuff1Frame.texture:SetTexture( "" ) DKCrutch.debuff1Frame:SetCooldown( 0, 0) + DKCrutch.debuff1Frame:SetDrawBling(false) DKCrutch.lastD1 = "" end end @@ -1582,6 +1589,7 @@ function DKCrutch:Update() if (DKCrutch.lastD2 ~= "") then DKCrutch.debuff2Frame.texture:SetTexture( "" ) DKCrutch.debuff2Frame:SetCooldown( 0, 0) + DKCrutch.debuff2Frame:SetDrawBling(false) DKCrutch.lastD2 = "" end end diff --git a/DKCrutch.toc b/DKCrutch.toc index de8418a..b69db41 100755 --- a/DKCrutch.toc +++ b/DKCrutch.toc @@ -1,8 +1,8 @@ -## Interface: 60000 +## Interface: 60100 ## Title: DKCrutch ## Notes: Death Knight rune tracker and rotation helper ## Author: Taracque, Dšgrov‡s of Arathor -## Version: 1.0.6 +## Version: 1.1.0 ## SavedVariables: DKCrutchDB ## OptionalDeps: ## Dependencies: -- 1.7.9.5