From aedd2aa0b869ff7d580906a21d4bf89da40c8faa Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Sun, 28 Feb 2010 19:51:40 +0000 Subject: [PATCH] bug fix: aura should not remove a spell git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@234 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- Ovale.lua | 4 ++-- Ovale.toc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Ovale.lua b/Ovale.lua index 4d2bdf8..41d170f 100644 --- a/Ovale.lua +++ b/Ovale.lua @@ -380,8 +380,8 @@ function Ovale:COMBAT_LOG_EVENT_UNFILTERED(event, ...) local time, event, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags = select(1, ...) --self:Print("event="..event.." source="..nilstring(sourceName).." destName="..nilstring(destName).." " ..GetTime()) if sourceName == UnitName("player") then - if string.find(event, "SPELL_AURA_APPLIED") == 1 or string.find(event, "SPELL_DAMAGE")==1 or - string.find(event, "SPELL_MISSED") == 1 or string.find(event, "SPELL_AURA_REFRESH") == 1 + if string.find(event, "SPELL_CAST_SUCCESS") == 1 or string.find(event, "SPELL_DAMAGE")==1 + or string.find(event, "SPELL_MISSED") == 1 or string.find(event, "SPELL_CAST_FAILED") == 1 then local spellId, spellName = select(9, ...) for i,v in ipairs(self.lastSpell) do diff --git a/Ovale.toc b/Ovale.toc index d21275c..010a079 100644 --- a/Ovale.toc +++ b/Ovale.toc @@ -3,7 +3,7 @@ ## Notes: Show the icon of the next spell to cast ## Notes-frFR: Affiche l'icône du prochain sort à lancer ## Author: Sidoine -## Version: 3.3.26 +## Version: 3.3.27 ## OptionalDeps: Ace3, ButtonFacade, Recount, LibBabble-CreatureType-3.0 ## SavedVariables: OvaleDB ## SavedVariablesPerCharacter: OvaleDBPC -- 1.7.9.5