Quantcast

Fixed some Spell IDs

Taracque [04-26-12 - 13:08]
Fixed some Spell IDs
Filename
Change_log.txt
Ele_GUI.lua
Elementarist.lua
Elementarist.toc
diff --git a/Change_log.txt b/Change_log.txt
old mode 100755
new mode 100644
index c87e0fa..f74e5bd
--- a/Change_log.txt
+++ b/Change_log.txt
@@ -1,5 +1,8 @@
+**v2.1.3**
+* Bugfix: Fixed some spell IDs.
+
 **v2.1.2**
-* Bugfix: Fixed some spell ID-s
+* 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/Ele_GUI.lua b/Ele_GUI.lua
old mode 100755
new mode 100644
diff --git a/Elementarist.lua b/Elementarist.lua
old mode 100755
new mode 100644
index 41cbcd1..bf6880f
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Elementarist 2.1.2
+-- Elementarist 2.1.3
 --
 -- 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.2'
+Elementarist.versionNumber = '2.1.3'
 Elementarist.playerName = UnitName("player")
 Elementarist.playerGUID = UnitGUID("player")
 Elementarist.targetGUID = nil
@@ -80,7 +80,7 @@ Elementarist.SpellList = {
 	["Heart of the Crusader"] = GetSpellInfo(54499),

 	-- other buffs
-	["Demonic Pact"] = GetSpellInfo(54499),
+	["Demonic Pact"] = GetSpellInfo(48090),
 	["Flask of Enhancement"] = GetSpellInfo(Elementarist.CustomIDs["Flask of Enhancement Spell"]),
 	["Flask of the Draconic Mind"] = GetSpellInfo(79470),
 	["Lifeblood"] = GetSpellInfo(55503)
@@ -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 7271c9a..4233aac 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.2
+## Version: 2.1.3
 ## SavedVariables: ElementaristDB
 ## OptionalDeps: OmniCC, SpellFlash
 ## Dependencies: