bug with "refresh" keyword
Sidoine De Wispelaere [04-20-11 - 17:09]
bug with "refresh" keyword
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@403 d5049fe3-3747-40f7-a4b5-f36d6801af5f
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