From cd7ce4da89d9e5eab39fb452964ff1cc89954c05 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sat, 19 Oct 2013 07:53:35 +0000 Subject: [PATCH] Remove broken and unused EffectiveMana() script condition. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1073 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCondition.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/OvaleCondition.lua b/OvaleCondition.lua index 0fe1b24..a6d856c 100644 --- a/OvaleCondition.lua +++ b/OvaleCondition.lua @@ -1607,15 +1607,6 @@ OvaleCondition.conditions.eclipsedir = function(condition) return Compare(OvaleState:GetEclipseDir(), comparator, limit) end - -- Get the effective mana (e.g. if spell cost is divided by two, will returns the mana multiplied by two) - -- TODO: not working - -- returns: bool or number -OvaleCondition.conditions.effectivemana = function(condition) - local comparator, limit = condition[1], condition[2] - local value, origin, rate = OvaleState.state.mana, OvaleState.currentTime, OvaleState.powerRate.mana - return TestValue(comparator, limit, value, origin, rate) -end - --- Get the number of hostile enemies on the battlefield. -- @name Enemies -- @paramsig number or boolean -- 1.7.9.5