Added Draconic Mind Flask, as it better than Alchemist's Flask
Taracque [09-06-12 - 09:16]
Added Draconic Mind Flask, as it better than Alchemist's Flask
diff --git a/Elementarist.lua b/Elementarist.lua
index a4f5406..5716934 100644
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -76,6 +76,7 @@ Elementarist.SpellList = {
-- other buffs
["Demonic Pact"] = GetSpellInfo(48090),
["Alchemist's Flask"] = GetSpellInfo(Elementarist.CustomIDs["Alchemist's Flask Spell"]),
+ ["Flask of the Draconic Mind"] = GetSpellInfo(79470),
["Flask of the Warm Sun"] = GetSpellInfo(105691),
["Lifeblood"] = GetSpellInfo(55503),
@@ -882,6 +883,9 @@ function Elementarist:MiscSpellResto()
if GetItemCount(Elementarist.CustomIDs["Alchemist's Flask Item"]) ~= 0 then
name = Elementarist:hasBuff("player", Elementarist.SpellList["Flask of the Warm Sun"]);
if (name == nil) then
+ name = Elementarist:hasBuff("player", Elementarist.SpellList["Flask of the Draconic Mind"]);
+ end
+ if (name == nil) then
name, _, _, _, _, _, expirationTime = Elementarist:hasBuff("player", Elementarist.SpellList["Alchemist's Flask"], false, Elementarist.CustomIDs["Alchemist's Flask Spell"]);
if (name == nil) or (expirationTime < 2) then
if (icon == nil) then
@@ -926,6 +930,9 @@ function Elementarist:MiscSpellElem()
if GetItemCount(Elementarist.CustomIDs["Alchemist's Flask Item"]) ~= 0 then
name = Elementarist:hasBuff("player", Elementarist.SpellList["Flask of the Warm Sun"]);
if (name == nil) then
+ name = Elementarist:hasBuff("player", Elementarist.SpellList["Flask of the Draconic Mind"]);
+ end
+ if (name == nil) then
name, _, _, _, _, _, expirationTime = Elementarist:hasBuff("player", Elementarist.SpellList["Alchemist's Flask"], false, Elementarist.CustomIDs["Alchemist's Flask Spell"]);
if (name == nil) or (expirationTime < 2) then
if (icon == nil) then