From ed0f99cf0dd8aee07c64655714879c88c4f7c9ea Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Sun, 29 Nov 2009 01:29:56 +0000 Subject: [PATCH] - some bug fixes - added spell description for paladin git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@142 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- Condition.lua | 5 +++-- Ovale.lua | 48 +++++++++++++++++++++++++++++++++++------------- defaut/Druide.lua | 9 +++++++++ defaut/Guerrier.lua | 12 +++++++----- defaut/Paladin.lua | 21 +++++++++++++++++++++ 5 files changed, 75 insertions(+), 20 deletions(-) diff --git a/Condition.lua b/Condition.lua index 3c5265a..e7851cc 100644 --- a/Condition.lua +++ b/Condition.lua @@ -211,7 +211,7 @@ local function GetTargetAura(condition, filter, target) if (not condition.mine or aura.mine) and aura.stacks>=stacks then return aura.start, aura.ending else - return nil, 0 + return 0,0 end end @@ -508,7 +508,7 @@ Ovale.conditions= local minTime for k,v in pairs(otherDebuff) do local diff = v - if diff<-maxTime then + if Ovale.maintenant-maxTime>diff then -- Ovale:Print("enlève obsolète sur "..k) otherDebuff[k] = nil elseif k~=UnitGUID("target") and (not minTime or difftempsB and tempsA-tempsBtempsA and tempsB-tempsA