Quantcast

Lifeblood support added

Taracque [05-17-11 - 13:53]
Lifeblood support added
Filename
Elementarist.lua
diff --git a/Elementarist.lua b/Elementarist.lua
index bbb75d6..666db7b 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -79,6 +79,7 @@ Elementarist.SpellList = {
 	["Demonic Pact"] = GetSpellInfo(48090),
 	["Flask of Enhancement"] = GetSpellInfo(Elementarist.CustomIDs["Flask of Enhancement Spell"]),
 	["Flask of the Draconic Mind"] = GetSpellInfo(79470),
+	["Lifeblood"] = GetSpellInfo(55503)
 }
 Elementarist.textureList = {
 	["next"] = nil,
@@ -769,6 +770,8 @@ function Elementarist:MiscSpell()
 	-- Wrath of Air totem
 	-- Elemental Mastery
 	-- Berserking troll racial (if available)
+	-- Blood Fury orc racial
+	-- Lifeblood Herbalism spell

 	local d, e
 	local name, expirationTime
@@ -847,7 +850,15 @@ function Elementarist:MiscSpell()
 			return Elementarist.SpellList["Blood Fury"]
 		end
 	end
-
+
+	-- Lifeblood
+	if Elementarist:SpellAvailable(Elementarist.SpellList["Lifeblood"]) then
+		d = Elementarist:GetSpellCooldownRemaining(Elementarist.SpellList["Lifeblood"])
+		if d <= 0.5 then
+			return Elementarist.SpellList["Lifeblood"]
+		end
+	end
+
 	return ""

 end