Quantcast

Fixed a typo.

Taracque [02-18-12 - 21:35]
Fixed a typo.

Timing shoule be more accurate now.
Filename
Change_log.txt
Elementarist.lua
Elementarist.toc
diff --git a/Change_log.txt b/Change_log.txt
index ba9dd26..5e7f71a 100755
--- a/Change_log.txt
+++ b/Change_log.txt
@@ -1,3 +1,6 @@
+**v2.1.2**
+* Bugfix: Fixed a typo in timing routines. Timing should be more accurate now.
+
 **v2.1.1**
 * Bugfix: Earthshock not displayed if FS debuff has 6 or less secs remaining

diff --git a/Elementarist.lua b/Elementarist.lua
index 6539bc5..29ed279 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Elementarist 2.1.1
+-- Elementarist 2.1.2
 --
 -- Shows the advised spell for an elemental shaman for optimal DPS output.
 -------------------------------------------------------------------------------
@@ -8,7 +8,7 @@ Elementarist = {Locals = {}}

 local L = Elementarist.Locals

-Elementarist.versionNumber = '2.1.1'
+Elementarist.versionNumber = '2.1.2'
 Elementarist.playerName = UnitName("player")
 Elementarist.playerGUID = UnitGUID("player")
 Elementarist.targetGUID = nil
@@ -692,7 +692,7 @@ function Elementarist:NextSpell(timeshift,exspell1,exspell2)

 	-- check current spell
 	local spellInCast, _, _, _, sICstartTime, sICendTime = UnitCastingInfo("player")
-	if (sepllInCast) then
+	if (spellInCast) then
 		if ( (sICendTime - sICstartTime) / 1000 ) < Elementarist.lastBaseGCD then
 			sICendTime = sICstartTime + (Elementarist.lastBaseGCD * 1000)
 		end
diff --git a/Elementarist.toc b/Elementarist.toc
index 78fb005..7271c9a 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: 2.1.1
+## Version: 2.1.2
 ## SavedVariables: ElementaristDB
 ## OptionalDeps: OmniCC, SpellFlash
 ## Dependencies: