***v3.4.1
Taracque [03-10-15 - 15:49]
***v3.4.1
* Fixed: Liquid Magma
* Fixed: Cooldown animations removed correctly once finished
diff --git a/Change_log.txt b/Change_log.txt
index 0322ffb..7b5c71a 100755
--- a/Change_log.txt
+++ b/Change_log.txt
@@ -1,3 +1,7 @@
+***v3.4.1
+* Fixed: Liquid Magma
+* Fixed: Cooldown animations removed correctly once finished
+
***v3.4.0
* Change: 6.1 compatibility
* Added: Liquid Magma
diff --git a/Elementarist.lua b/Elementarist.lua
index 0c6439d..fc53564 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -1,5 +1,5 @@
-------------------------------------------------------------------------------
--- Elementarist 3.4.0
+-- Elementarist 3.4.1
--
-- Shows the advised spell for an elemental shaman for optimal DPS output.
-------------------------------------------------------------------------------
@@ -8,7 +8,7 @@ Elementarist = {Locals = {}}
local L = Elementarist.Locals
-Elementarist.versionNumber = '3.4.0';
+Elementarist.versionNumber = '3.4.1';
Elementarist.enabled = true;
Elementarist.playerName = UnitName("player")
Elementarist.playerGUID = UnitGUID("player")
@@ -637,6 +637,7 @@ function Elementarist:UpdateShieldTracker()
Elementarist:SetTexture(Elementarist.textureList["shield"],"")
Elementarist.textList["shield"]:SetText("")
Elementarist.shieldCooldownFrame:SetCooldown(0, 0)
+ Elementarist.shieldCooldownFrame:SetDrawBling(false)
end
end
@@ -684,6 +685,7 @@ function Elementarist:UpdateAuraTracker()
for i=m,10,1 do
Elementarist:SetTexture(Elementarist.textureList["debuff_" .. tostring(m)],"")
Elementarist.auraCooldownFrame["mini_" .. tostring(m)]:SetCooldown( 0, 0)
+ Elementarist.auraCooldownFrame["mini_" .. tostring(m)]:SetDrawBling(false)
end
-- update main frame
@@ -698,6 +700,7 @@ function Elementarist:UpdateAuraTracker()
Elementarist:SetTexture(Elementarist.textureList["debuff"],"")
Elementarist.textList["debuff"]:SetText("")
Elementarist.auraCooldownFrame["main"]:SetCooldown(0, 0)
+ Elementarist.auraCooldownFrame["main"]:SetDrawBling(false)
m = m - 1
end
end;
diff --git a/Elementarist.toc b/Elementarist.toc
index b9ed95e..1fc585b 100755
--- a/Elementarist.toc
+++ b/Elementarist.toc
@@ -2,7 +2,7 @@
## Title: Elementarist
## Notes: Elemental shaman spell rotation helper
## Author: Taracque, Felmosórongy of Arathor
-## Version: 3.4.0
+## Version: 3.4.1
## SavedVariables: ElementaristDB
## OptionalDeps: OmniCC, SpellFlash
## Dependencies:
diff --git a/modules/elemental.lua b/modules/elemental.lua
index 0153e19..17bd44a 100755
--- a/modules/elemental.lua
+++ b/modules/elemental.lua
@@ -110,9 +110,14 @@ Elementarist.elemental = {
-- if Tier7 talent is Liquid Magma and fire totem has 10 sec or more, use it
if (Elementarist.tier7Talent == 21200) then
- local haveFireTotem,fireTotemName,d,_ = GetTotemInfo(1);
- if (fireTotemName ~= "") and (d-timeshift > 10) then
- return Elementarist.SpellList["Liquid Magma"]
+ if (exspell1 ~= Elementarist.SpellList["Liquid Magma"]) and (exspell2 ~= Elementarist.SpellList["Liquid Magma"]) and ((Elementarist.SpellList["Liquid Magma"]) ~= spellInCast) then
+ local haveFireTotem,fireTotemName,d,_ = GetTotemInfo(1);
+ if (fireTotemName ~= "") and (d-timeshift > 10) then
+ d = Elementarist:GetSpellCooldownRemaining(Elementarist.SpellList["Liquid Magma"])
+ if (d-timeshift <= 0) then
+ return Elementarist.SpellList["Liquid Magma"]
+ end
+ end
end
end