From 625df9b7c50b756ba66ab8887857401d0a4eb9e5 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Tue, 15 Oct 2013 01:24:58 +0000 Subject: [PATCH] Fix return value of Chi(). Chi is a resource like holy power or combo points that doesn't have a rate of regeneration; instead, it is gained on lost strictly through abilities (while in combat). git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1047 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCondition.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvaleCondition.lua b/OvaleCondition.lua index be89554..d8bf21a 100644 --- a/OvaleCondition.lua +++ b/OvaleCondition.lua @@ -1174,7 +1174,7 @@ end -- if Chi(more 3) Spell(chi_burst) OvaleCondition.conditions.chi = function(condition) - return TestValue(condition[1], condition[2], OvaleState.state.chi, OvaleState.currentTime, OvaleState.powerRate.chi) + return Compare(OvaleState.state.chi, condition[1], condition[2]) end --- Test whether the target's class matches the given class. -- 1.7.9.5