Fixed Flask of Enhancement detection
Taracque [05-23-11 - 08:55]
Fixed Flask of Enhancement detection
diff --git a/Elementarist.lua b/Elementarist.lua
index 98341ff..07cc7de 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -45,7 +45,7 @@ Elementarist.talentUnsure = true
Elementarist.lastSpell = nil
Elementarist.CustomIDs = {
["Flask of Enhancement Item"] = 58149,
- ["Flask of Enhancement Spell"] = 79637,
+ ["Flask of Enhancement Spell"] = 79640,
["Moonkin Aura"] = 24907,
["Mind Quickening"] = 49868
}
@@ -862,7 +862,7 @@ function Elementarist:MiscSpell()
name, _, _, _, _, _, expirationTime = Elementarist:hasBuff("player", Elementarist.SpellList["Flask of Enhancement"], false, Elementarist.CustomIDs["Flask of Enhancement Spell"]);
if (name == nil) or (expirationTime < 2) then
if (icon == nil) then
- icon = GetItemIcon(Elementarist.CustomIDs["Flask of Enhancement Item"])
+ icon = GetItemIcon(Elementarist.CustomIDs["Flask of Enhancement Item"])
end
return nil,icon
end