From be3aecae94ddd820662bf8b6b86043e0fae162cb Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sat, 13 Oct 2012 00:07:35 +0000 Subject: [PATCH] Training dummies can have up to 2 health points. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@594 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCondition.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvaleCondition.lua b/OvaleCondition.lua index 83c84d2..4ef983c 100644 --- a/OvaleCondition.lua +++ b/OvaleCondition.lua @@ -374,8 +374,8 @@ local function getTargetDead(target) if newHealth then Ovale:Log("newHealth = " .. newHealth) end - if UnitHealthMax(target)==1 then - Ovale:Log("Dummy, return in the future") + if UnitHealthMax(target) <= 2 then + Ovale:Log("Training Dummy, return in the future") return OvaleState.currentTime + 3600 end if second~=lastSaved[target] and targetGUID[target] then -- 1.7.9.5