From 97d31ebcfe0c1c1ce1fda5f4573ed913ab1f36a8 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Wed, 23 Oct 2013 07:20:00 +0000 Subject: [PATCH] Spell cooldowns are triggered when a spell has finished casting. This change has no run-time effect, but is a documentation issue. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1102 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleState.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OvaleState.lua b/OvaleState.lua index d8bcf1b..5957ec0 100644 --- a/OvaleState.lua +++ b/OvaleState.lua @@ -227,8 +227,6 @@ function OvaleState:ApplySpell(spellId, startCast, endCast, nextCast, nocd, targ if endCast > self.maintenant then self:ApplySpellCost(spellId, startCast, endCast) end - - -- Effets du sort au moment où il atteint sa cible if si then -- Cooldown du sort local cd = self:GetCD(spellId) @@ -268,7 +266,10 @@ function OvaleState:ApplySpell(spellId, startCast, endCast, nextCast, nocd, targ end Ovale:Logf("%d cd.start=%f, cd.duration=%f", spellId, cd.start, cd.duration) end + end + -- Effets du sort au moment où il atteint sa cible + if si then --Auras causés par le sort if si.aura then for target, targetInfo in pairs(si.aura) do -- 1.7.9.5