From c6d8182c92ebaad21845c70759f1a4357a0ea3cf Mon Sep 17 00:00:00 2001 From: Taracque Date: Mon, 4 Feb 2013 23:05:41 +0100 Subject: [PATCH] Flask of the Warm Sun added to Restoration flask check. --- modules/restoration.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/restoration.lua b/modules/restoration.lua index 000a912..a9e0410 100755 --- a/modules/restoration.lua +++ b/modules/restoration.lua @@ -19,6 +19,7 @@ Elementarist.restoration = { ["Water Shield"] = GetSpellInfo(52127), ["Tidal Waves"] = GetSpellInfo(53390), + ["Flask of the Warm Sun"] = GetSpellInfo(105691), ["Flask of Falling Leaves"] = GetSpellInfo(105693), ["Healing Stream Totem"] = GetSpellInfo(5394), ["Earth Shield"] = GetSpellInfo(974), @@ -222,7 +223,8 @@ Elementarist.restoration = { -- Alchemy Flask of Enhancement if GetItemCount(Elementarist.CustomIDs["Alchemist's Flask Item"]) ~= 0 then name = Elementarist:hasBuff("player", Elementarist.SpellList["Flask of Falling Leaves"]); - if (name == nil) then + local name2 = Elementarist:hasBuff("player", Elementarist.SpellList["Flask of the Warm Sun"]); + if (name == nil) and (name2 == 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