Skip to content

Commit

Permalink
v9.0.3.3 - Enh fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaminariss committed Jan 9, 2021
1 parent 5048985 commit dd1f54a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
2 changes: 1 addition & 1 deletion MaxDps_Shaman.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Title: MaxDps_Shaman
## Version: 9.0.3.2
## Version: 9.0.3.3
## Author: Kaminaris
## Interface: 90002
## Dependencies: MaxDps
Expand Down
31 changes: 26 additions & 5 deletions Specialization/Enhancement.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ function Shaman:EnhancementAoe()
local covenantId = covenant.covenantId;
local totems = fd.totems;
local activeFlameShock = fd.activeFlameShock;
-- 2021-01-06 Laag - Added targets variable
local targets = MaxDps:SmartAoe();

-- windstrike,if=buff.crash_lightning.up;
local Windstrike = MaxDps:FindSpell(EH.Windstrike) and EH.Windstrike or EH.Stormstrike;
Expand All @@ -130,11 +132,23 @@ function Shaman:EnhancementAoe()
return EH.FaeTransfusion;
end

-- 2021-01-06 Laag - Added Crash Lightning when DoomWinds buff is up
-- Crash Lightning,if=runeforge.doom_winds.equipped&buff.doom_winds.up);
if cooldown[EH.CrashLightning].ready and runeforge[EH.DoomWindsBonusId] and buff[EH.DoomWinds].up then
return EH.CrashLightning;
end

-- frost_shock,if=buff.hailstorm.up;
if cooldown[EH.FrostShock].ready and buff[EH.Hailstorm].up then
return EH.FrostShock;
end

-- 2021-01-06 Laag - Moved Sundering to earlier in rotation
-- sundering;
if talents[EH.Sundering] and cooldown[EH.Sundering].ready then
return EH.Sundering;
end

-- flame_shock,target_if=refreshable,cycle_targets=1,if=talent.fire_nova.enabled|talent.lashing_flames.enabled|covenant.necrolord;
if cooldown[EH.FlameShock].ready and debuff[EH.FlameShock].refreshable and
(talents[EH.FireNova] or talents[EH.LashingFlames] or covenantId == Necrolord)
Expand Down Expand Up @@ -225,11 +239,6 @@ function Shaman:EnhancementAoe()
return EH.FlameShock;
end

-- sundering;
if talents[EH.Sundering] and cooldown[EH.Sundering].ready then
return EH.Sundering;
end

-- lava_lash,target_if=min:debuff.lashing_flames.remains,cycle_targets=1,if=runeforge.primal_lava_actuators.equipped&buff.primal_lava_actuators.stack>6;
if cooldown[EH.LavaLash].ready and
runeforge[EH.PrimalLavaActuatorsBonusId] and
Expand All @@ -238,6 +247,12 @@ function Shaman:EnhancementAoe()
return EH.LavaLash;
end

-- 2021-01-06 Laag - Chain Lightning if targets >= 3
-- chain_lightning,if=buff.maelstrom_weapon.stack>=5&active_enemies>=3;
if currentSpell ~= EH.ChainLightning and buff[EH.MaelstromWeapon].count >= 5 and targets >= 3 then
return EH.ChainLightning;
end

-- windstrike;
if buff[EH.Ascendance].up and cooldown[EH.Windstrike].ready then
return Windstrike;
Expand Down Expand Up @@ -336,6 +351,12 @@ function Shaman:EnhancementSingle()
return EH.IceStrike;
end

-- 2021-01-06 Laag - Added Sundering when DoomWinds buff is up
-- Sundering,if=runeforge.doom_winds.equipped&buff.doom_winds.up);
if talents[EH.Sundering] and cooldown[EH.Sundering].ready and runeforge[EH.DoomWindsBonusId] and buff[EH.DoomWinds].up then
return EH.Sundering;
end

-- flame_shock,if=!ticking;
if cooldown[EH.FlameShock].ready and not debuff[EH.FlameShock].up then
return EH.FlameShock;
Expand Down

0 comments on commit dd1f54a

Please sign in to comment.