From 15014715b281ad552797795e31f6405bcd00ce16 Mon Sep 17 00:00:00 2001 From: Taracque Date: Wed, 22 May 2013 19:58:45 +0200 Subject: [PATCH] 5.3 compatible, fixed minor Soul Reaper things (4pc set bonus still not detected) --- DKCrutch.lua | 8 ++++---- DKCrutch.toc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DKCrutch.lua b/DKCrutch.lua index 55c92af..7fef5fb 100755 --- a/DKCrutch.lua +++ b/DKCrutch.lua @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------- --- DKCrutch 0.9.0 +-- DKCrutch 0.9.1 -- -- Death Knight rune tracker and ability advisor ------------------------------------------------------------------------------- @@ -8,7 +8,7 @@ DKCrutch = {Locals = {}} local L = DKCrutch.Locals -DKCrutch.versionNumber = '0.9.0' +DKCrutch.versionNumber = '0.9.1' DKCrutch.talent = "" DKCrutch.talentUnsure = true DKCrutch.DebugMode = false @@ -665,7 +665,7 @@ function DKCrutch:AdviseFrostAbility() -- Soul Reaper, if target health < 35% if (DKCrutch.SpellList["Soul Reaper"]) then - cd, enabled = DKCrutch:GetSpellCooldownRemaining(DKCrutch.SpellList["Dark Transformation"]) + cd, enabled = DKCrutch:GetSpellCooldownRemaining(DKCrutch.SpellList["Soul Reaper"]) if (cd) and (cd<=0) and (UnitHealthMax("target")>0) and (UnitHealth("target")/UnitHealthMax("target")<0.35) then return "Soul Reaper" end @@ -791,7 +791,7 @@ function DKCrutch:AdviseUnholyAbility() -- Soul Reaper, if target health < 35% if (DKCrutch.SpellList["Soul Reaper"]) then - cd, enabled = DKCrutch:GetSpellCooldownRemaining(DKCrutch.SpellList["Dark Transformation"]) + cd, enabled = DKCrutch:GetSpellCooldownRemaining(DKCrutch.SpellList["Soul Reaper"]) if (cd) and (cd<=0) and (UnitHealthMax("target")>0) and (UnitHealth("target")/UnitHealthMax("target")<0.35) then return "Soul Reaper" end diff --git a/DKCrutch.toc b/DKCrutch.toc index 0ccc8b9..c521d2a 100755 --- a/DKCrutch.toc +++ b/DKCrutch.toc @@ -1,8 +1,8 @@ -## Interface: 50200 +## Interface: 50300 ## Title: DKCrutch ## Notes: Death Knight rune tracker and rotation helper ## Author: Taracque, Dšgrov‡s of Arathor -## Version: 0.9.0 +## Version: 0.9.1 ## SavedVariables: DKCrutchDB ## OptionalDeps: ## Dependencies: -- 1.7.9.5