3.4.7 fixed a typo in elemental rotation
Taracque [07-09-15 - 10:48]
3.4.7 fixed a typo in elemental rotation
diff --git a/Change_log.txt b/Change_log.txt
index b47ceeb..4c3213d 100755
--- a/Change_log.txt
+++ b/Change_log.txt
@@ -1,3 +1,6 @@
+***v3.4.7
+* Fixed: a typo in elemental rotation
+
***v3.4.6
* Fixed: 6.2 compatibility
diff --git a/Elementarist.lua b/Elementarist.lua
index 0d2a12d..8704fba 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -1,5 +1,5 @@
-------------------------------------------------------------------------------
--- Elementarist 3.4.6
+-- Elementarist 3.4.7
--
-- 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.6';
+Elementarist.versionNumber = '3.4.7';
Elementarist.enabled = true;
Elementarist.playerName = UnitName("player")
Elementarist.playerGUID = UnitGUID("player")
diff --git a/Elementarist.toc b/Elementarist.toc
index 466cd35..d4274e4 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.6
+## Version: 3.4.7
## SavedVariables: ElementaristDB
## OptionalDeps: OmniCC, SpellFlash
## Dependencies:
diff --git a/modules/elemental.lua b/modules/elemental.lua
index 0f0a697..9525796 100755
--- a/modules/elemental.lua
+++ b/modules/elemental.lua
@@ -72,7 +72,7 @@ Elementarist.elemental = {
if (d) and (d>0) and (s == 0) then
Elementarist.lastShockCD = d
end
- lscount = Elementarist:hasBuff("player",Elementarist.SpellList["Lightning Shield"])
+ _, _, _, lscount = Elementarist:hasBuff("player",Elementarist.SpellList["Lightning Shield"])
-- if target is dead, return ""
if (UnitHealth("target")<=0) then