From 7063c5b71dff8e475cf66d8fd75474f852af6adc Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Sat, 17 Dec 2011 12:36:11 +0000 Subject: [PATCH] maxMana and maxLife were bugged #112 git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@448 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- Condition.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Condition.lua b/Condition.lua index bb64213..572abd0 100644 --- a/Condition.lua +++ b/Condition.lua @@ -865,10 +865,10 @@ Ovale.conditions= return compare(UnitMaxHealth(target), condition[1], condition[2]) end, maxHealth = function(condition) - return UnitMaxHealth(getTarget(condition.target)) + return UnitMaxHealth(getTarget(condition.target)), 0, 0 end, maxMana = function(condition) - return UnitPowerMax(getTarget(condition.target)) + return UnitPowerMax(getTarget(condition.target)), 0, 0 end, NextSwing = function(condition) local ret = OvaleSwing:GetNext(condition[1]) -- 1.7.9.5