Quantcast

***v3.4.9

Taracque [09-23-15 - 18:04]
***v3.4.9
* Fixed: Typo in enhancement module
Filename
Change_log.txt
Elementarist.lua
Elementarist.toc
modules/enhancement.lua
diff --git a/Change_log.txt b/Change_log.txt
index 0d5814a..a1c050d 100755
--- a/Change_log.txt
+++ b/Change_log.txt
@@ -1,3 +1,6 @@
+***v3.4.9
+* Fixed: Typo in enhancement module
+
 ***v3.4.8
 * Fixed: Storm Elemental totem
 * Fixed: Completely new Enchancement rotation (thanks billlive)
diff --git a/Elementarist.lua b/Elementarist.lua
index e19751a..8275b04 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Elementarist 3.4.8
+-- Elementarist 3.4.9
 --
 -- 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.8';
+Elementarist.versionNumber = '3.4.9';
 Elementarist.enabled = true;
 Elementarist.playerName = UnitName("player")
 Elementarist.playerGUID = UnitGUID("player")
diff --git a/Elementarist.toc b/Elementarist.toc
index d4274e4..dfc2b08 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.7
+## Version: 3.4.9
 ## SavedVariables: ElementaristDB
 ## OptionalDeps: OmniCC, SpellFlash
 ## Dependencies:
diff --git a/modules/enhancement.lua b/modules/enhancement.lua
index b3f2338..7c89b21 100755
--- a/modules/enhancement.lua
+++ b/modules/enhancement.lua
@@ -142,7 +142,7 @@ Elementarist.enhancement = {

 		----Priority 2 ---  -- if Tier6 talent is Unleashed Fury then use Unleash Elements
 		if (EFTalent) then
-			if (Elementaris:Count(Elementarist.SpellList["Unleash Elements"]),spellInCast,exspell1,exspell2) == 0) then
+			if (Elementaris:Count(Elementarist.SpellList["Unleash Elements"],spellInCast,exspell1,exspell2) == 0) then
 				d = Elementarist:GetSpellCooldownRemaining(Elementarist.SpellList["Unleash Elements"])
 				if (d-timeshift <= 0) then
 					Elementarist:Debug(functionname, "Priority2",1)
@@ -158,7 +158,7 @@ Elementarist.enhancement = {
 					(  (Elementarist.hasT18_4pcs) and (MWcount >= 8))
 			)  then
 				if (
-					(Elementaris:Count(Elementarist.SpellList["Elemental Blast"]),spellInCast,exspell1,exspell2) == 0) and
+					(Elementaris:Count(Elementarist.SpellList["Elemental Blast"],spellInCast,exspell1,exspell2) == 0) and
 					(IsSpellInRange(Elementarist.SpellList["Elemental Blast"], "target") == 1)
 				) then
 					d = Elementarist:GetSpellCooldownRemaining(Elementarist.SpellList["Elemental Blast"])