From 9d1dd6fb3700540c75defda9068cf575154a125a Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Wed, 20 Apr 2011 17:09:41 +0000 Subject: [PATCH] bug with "refresh" keyword git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@403 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- Ovale.lua | 2 +- Ovale.toc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Ovale.lua b/Ovale.lua index f11184c..35c2bf1 100644 --- a/Ovale.lua +++ b/Ovale.lua @@ -1067,7 +1067,7 @@ function Ovale:AddSpellToList(spellId, lineId, startTime, endTime, channeled, al for target, targetInfo in pairs(si.aura) do for filter, filterInfo in pairs(targetInfo) do for auraSpellId, spellData in pairs(filterInfo) do - if spellData and spellData > 0 then + if spellData and spellData ~= "refresh" and spellData > 0 then newSpell.auraSpellId = auraSpellId if target == "player" then newSpell.removeOnSuccess = true diff --git a/Ovale.toc b/Ovale.toc index b4f6137..571bd63 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: 4.0.38 +## Version: 4.0.39 ## OptionalDeps: Ace3, ButtonFacade, Recount, Skada, LibBabble-CreatureType-3.0, LibRangeCheck-2.0 ## SavedVariables: OvaleDB ## SavedVariablesPerCharacter: OvaleDBPC -- 1.7.9.5