Stormlash totem added.
Taracque [12-13-12 - 20:14]
diff --git a/Elementarist.lua b/Elementarist.lua
index 21cf369..9c8c71c 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -68,7 +68,8 @@ Elementarist.SpellList = {
["Earthquake"] = GetSpellInfo(61882),
["Elemental Blast"] = GetSpellInfo(117014),
["Ascendance"] = GetSpellInfo(114049),
-
+ ["Stormlash Totem"] = GetSpellInfo(120668),
+
-- racials
["Berserking"] = GetSpellInfo(26297), -- Troll racial
["Blood Fury"] = GetSpellInfo(33697), -- Orc racial
diff --git a/modules/elemental.lua b/modules/elemental.lua
index 5b0f4ce..8e8012d 100755
--- a/modules/elemental.lua
+++ b/modules/elemental.lua
@@ -277,6 +277,14 @@ Elementarist.elemental = {
end
end
end
+
+ -- Stormlash Totem
+ if Elementarist:SpellAvailable(Elementarist.SpellList["Stormlash Totem"]) then
+ d = Elementarist:GetSpellCooldownRemaining(Elementarist.SpellList["Stormlash Totem"])
+ if d <= 0.5 then
+ return Elementarist.SpellList["Stormlash Totem"]
+ end
+ end
-- Berserking
if Elementarist:SpellAvailable(Elementarist.SpellList["Berserking"]) then
diff --git a/modules/restoration.lua b/modules/restoration.lua
index d0db3cc..81b6e39 100755
--- a/modules/restoration.lua
+++ b/modules/restoration.lua
@@ -229,6 +229,14 @@ Elementarist.restoration = {
end
end
+ -- Stormlash Totem
+ if Elementarist:SpellAvailable(Elementarist.SpellList["Stormlash Totem"]) then
+ d = Elementarist:GetSpellCooldownRemaining(Elementarist.SpellList["Stormlash Totem"])
+ if d <= 0.5 then
+ return Elementarist.SpellList["Stormlash Totem"]
+ end
+ end
+
return ""
end;
IntSpell = function(self)