From 7820f5fc952a6089ec93bc0d3166325793216c97 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Fri, 15 Nov 2013 19:55:19 +0000 Subject: [PATCH] Document legacy parameter "mine" for aura scripts conditions. Scripts should be using the "any" parameter instead since aura conditions already assume the aura to check belongs to the player by default. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1161 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCondition.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/OvaleCondition.lua b/OvaleCondition.lua index c9d71cb..c5b12ed 100644 --- a/OvaleCondition.lua +++ b/OvaleCondition.lua @@ -124,8 +124,11 @@ OvaleCondition.ParseCondition = function(condition, defaultTarget) local mine = true if condition.any and condition.any == 1 then mine = false - elseif condition.mine and condition.mine ~= 1 then - mine = false + else + -- Legacy parameter "mine"; no longer documented. + if not condition.any and condition.mine and condition.mine ~= 1 then + mine = false + end end return target, filter, mine -- 1.7.9.5