From 1b8006a7f322e5480661275a2689997defbd8ede Mon Sep 17 00:00:00 2001 From: Taracque Date: Sat, 18 Feb 2012 22:35:05 +0100 Subject: [PATCH] Fixed a typo. Timing shoule be more accurate now. --- Change_log.txt | 3 +++ Elementarist.lua | 6 +++--- Elementarist.toc | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) 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: -- 1.7.9.5