Fixed Stormstrike range checking bug
Taracque [11-27-15 - 10:39]
Fixed Stormstrike range checking bug
diff --git a/Change_log.txt b/Change_log.txt
index 053e8fe..f4040c0 100755
--- a/Change_log.txt
+++ b/Change_log.txt
@@ -1,3 +1,6 @@
+***v3.5.3
+* Fixed: Fixed Stormstrike range checking bug
+
***v3.5.2
* Fixed: Fixes in Enchancement module
diff --git a/Elementarist.lua b/Elementarist.lua
index e9fa615..545d44f 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -1,5 +1,5 @@
-------------------------------------------------------------------------------
--- Elementarist 3.5.2
+-- Elementarist 3.5.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 = '3.5.2';
+Elementarist.versionNumber = '3.5.3';
Elementarist.enabled = true;
Elementarist.playerName = UnitName("player")
Elementarist.playerGUID = UnitGUID("player")
diff --git a/Elementarist.toc b/Elementarist.toc
index b5d1393..a9e3de4 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.5.2
+## Version: 3.5.3
## SavedVariables: ElementaristDB
## OptionalDeps: OmniCC, SpellFlash
## Dependencies:
diff --git a/modules/enhancement.lua b/modules/enhancement.lua
index 2c2aadc..3a00aa5 100755
--- a/modules/enhancement.lua
+++ b/modules/enhancement.lua
@@ -158,7 +158,7 @@ Elementarist.enhancement = {
( (Elementarist.hasT18_4pcs) and (MWcount >= 8))
) then
if (
- (Elementaris:Count(Elementarist.SpellList["Elemental Blast"],spellInCast,exspell1,exspell2) == 0) and
+ (Elementarist:Count(Elementarist.SpellList["Elemental Blast"],spellInCast,exspell1,exspell2) == 0) and
(IsSpellInRange(Elementarist.SpellList["Elemental Blast"], "target") == 1)
) then
d = Elementarist:GetSpellCooldownRemaining(Elementarist.SpellList["Elemental Blast"])
@@ -192,8 +192,8 @@ Elementarist.enhancement = {
----Priority 5 -- Cast Lightning Bolt with 5 Maelstrom Weapon stacks (8 with 4 set)
if (
- ( (MWcount >= 5) and ( not ( Elementarist.hasT18_4pcs)) ) or
- ( (MWcount >= 8) )
+ ( (MWcount >= 5) and ( not Elementarist.hasT18_4pcs) ) or
+ ( (MWcount >= 8) )
) then
if (
(IsSpellInRange(Elementarist.SpellList["Lightning Bolt"], "target") == 1) and
@@ -204,7 +204,7 @@ Elementarist.enhancement = {
end
----Priority 6 -- stormstrike at max charges of SS/WS
- if (not ascendance) and (SSCharges) and (IsSpellInRange(Elementarist.SpellList["Stormstrike"], "target") == 1) then
+ if (not ascendance) and (SSCharges) and (IsSpellInRange(Elementarist.SpellList["Lava Lash"], "target") == 1) then
if (
( ( SSCharges >= 1) and (not EETalent) ) or
( SSCharges >= 2 )