From 46d73fd7801893a2f894d6f99d4257eda3a78a2a Mon Sep 17 00:00:00 2001 From: Taracque Date: Thu, 6 Sep 2012 11:16:12 +0200 Subject: [PATCH] Added Draconic Mind Flask, as it better than Alchemist's Flask --- Elementarist.lua | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 1.7.9.5