From 5100cd38ded7df0e3d46e8f09c85810f254fe145 Mon Sep 17 00:00:00 2001 From: Taracque Date: Tue, 17 May 2011 15:53:08 +0200 Subject: [PATCH] Lifeblood support added --- Elementarist.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 -- 1.7.9.5