From c6eba27053e62179d25b934b950dfe9e7fbbc4a9 Mon Sep 17 00:00:00 2001 From: Taracque Date: Fri, 16 Oct 2015 13:42:31 +0200 Subject: [PATCH] Fixed: Augmentation Rune detection in Enhancement module --- Change_log.txt | 3 +++ Elementarist.lua | 4 +++- Elementarist.toc | 2 +- modules/enhancement.lua | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) 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 -- 1.7.9.5