Quantcast

Flask of the Warm Sun added to Restoration flask check.

Taracque [02-04-13 - 22:05]
Flask of the Warm Sun added to Restoration flask check.
Filename
modules/restoration.lua
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