Fixed a missing (
Taracque [11-13-14 - 13:12]
diff --git a/DKCrutch.lua b/DKCrutch.lua
index 1c17216..f80a8fe 100755
--- a/DKCrutch.lua
+++ b/DKCrutch.lua
@@ -1004,7 +1004,16 @@ function DKCrutch:AdviseUnholyAbility()
-- Soul Reaper, if target health < 35%
if (DKCrutch.SpellList["Soul Reaper"]) then
cd, _, enabled = DKCrutch:GetSpellCooldownRemaining(DKCrutch.SpellList["Soul Reaper"])
- if (enabled ~= nil) and (cd) and (cd<=0) and (UnitHealthMax("target")>0) and ((UnitHealth("target")/UnitHealthMax("target")<0.35) or ((UnitHealth("target")/UnitHealthMax("target")<0.45) and ((DKCrutch.hasT15_4pcs) or (DKCrutch.SpellList["Improved Soul Reaper"] ~= nil))) then
+ if (enabled ~= nil) and (cd) and (cd<=0) and (UnitHealthMax("target")>0) and (
+ (UnitHealth("target")/UnitHealthMax("target")<0.35) or
+ (
+ (UnitHealth("target")/UnitHealthMax("target")<0.45) and
+ (
+ (DKCrutch.hasT15_4pcs) or
+ (DKCrutch.SpellList["Improved Soul Reaper"] ~= nil)
+ )
+ )
+ ) then
return "Soul Reaper"
end
end