Quantcast

Fixed: Augmentation Rune detection in Enhancement module

Taracque [10-16-15 - 11:42]
Fixed: Augmentation Rune detection 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 a1c050d..e07b3e1 100755
--- a/Change_log.txt
+++ b/Change_log.txt
@@ -1,3 +1,6 @@
+***v3.5.0
+* Fixed: Augmentation Rune detection in Enhancement module
+
 ***v3.4.9
 * Fixed: Typo in enhancement module

diff --git a/Elementarist.lua b/Elementarist.lua
index 8275b04..dda4fee 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Elementarist 3.4.9
+-- Elementarist 3.5.0
 --
 -- Shows the advised spell for an elemental shaman for optimal DPS output.
 -------------------------------------------------------------------------------
@@ -65,6 +65,7 @@ Elementarist.CustomIDs = {
 	["Empowered Augment Rune Alliance"] = 128482,
 	["Empowered Augment Rune Horde"] = 128475,
 	["Focus Augment Rune"] = 118632,
+	["Hyper Augment Rune"] = 118630
 }
 Elementarist.SpellList = {
 	["Ghost Wolf"] = GetSpellInfo(2645),
@@ -95,6 +96,7 @@ Elementarist.SpellList = {
 	["Crystal of Insanity"] = GetSpellInfo(Elementarist.CustomIDs["Crystal of Insanity Spell"]),
 	["Whispers of Insanity"] = GetSpellInfo(Elementarist.CustomIDs["Whispers of Insanity Spell"]),
 	["Focus Augmentation"] = GetSpellInfo(175457),
+	["Hyper Augmentation"] = GetSpellInfo(175456),
 	["Flask of the Draconic Mind"] = GetSpellInfo(79470),
 	["Flask of the Warm Sun"] = GetSpellInfo(105691),
 	["Draenic Intellect Flask"] =GetSpellInfo(156070),
diff --git a/Elementarist.toc b/Elementarist.toc
index dfc2b08..571eda6 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.9
+## Version: 3.5.0
 ## SavedVariables: ElementaristDB
 ## OptionalDeps: OmniCC, SpellFlash
 ## Dependencies:
diff --git a/modules/enhancement.lua b/modules/enhancement.lua
index 7c89b21..15d9358 100755
--- a/modules/enhancement.lua
+++ b/modules/enhancement.lua
@@ -373,7 +373,7 @@ Elementarist.enhancement = {
 			(
 				((Elementarist.faction == "Horde") and (GetItemCount(Elementarist.CustomIDs["Empowered Augment Rune Horde"]) ~= 0)) or
 				((Elementarist.faction == "Alliance") and (GetItemCount(Elementarist.CustomIDs["Empowered Augment Rune Alliance"]) ~= 0))
-			) and ( not  Elementarist:hasBuff("player", Elementarist.SpellList["Focus Augmentation"]))
+			) and ( not  Elementarist:hasBuff("player", Elementarist.SpellList["Hyper Augmentation"]))
 		) then
         	if (
         		((Elementarist.faction == "Horde") and (Elementarist:GetItemCooldownRemaining(Elementarist.CustomIDs["Empowered Augment Rune Horde"]) < 2)) or