Skip to content

Commit

Permalink
Enh natures swiftness
Browse files Browse the repository at this point in the history
  • Loading branch information
syrifgit committed Sep 27, 2024
1 parent 258f45d commit c24bce3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions TheWarWithin/ShamanEnhancement.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,8 @@ spec:RegisterAbilities( {

removeStack( "arc_discharge" )
removeBuff( "chains_of_devastation_cl" )
removeBuff( "natures_swiftness" ) -- TODO: Determine order of instant cast effect consumption.

if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end -- TODO: Determine order of instant cast effect consumption.
removeBuff( "master_of_the_elements" )

if legendary.chains_of_devastation.enabled then
Expand Down Expand Up @@ -1556,7 +1557,7 @@ spec:RegisterAbilities( {
handler = function ()
consume_maelstrom()

removeBuff( "natures_swiftness" )
if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end
applyBuff( "elemental_blast" )

if talent.lightning_rod.enabled then applyDebuff( "target", "lightning_rod" ) end
Expand Down Expand Up @@ -1987,7 +1988,7 @@ spec:RegisterAbilities( {
handler = function ()
consume_maelstrom()

removeBuff( "natures_swiftness" )
if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end

if buff.primordial_wave.up and state.spec.enhancement and ( talent.splintered_elements.enabled or legendary.splintered_elements.enabled ) then
if buff.splintered_elements.down then stat.haste = stat.haste + 0.1 * active_dot.flame_shock end
Expand Down Expand Up @@ -2026,7 +2027,7 @@ spec:RegisterAbilities( {
handler = function ()
consume_maelstrom()

removeBuff( "natures_swiftness" )
if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end
removeStack( "tempest" )

if buff.primordial_wave.up and state.spec.enhancement and ( talent.splintered_elements.enabled or legendary.splintered_elements.enabled ) then
Expand Down

0 comments on commit c24bce3

Please sign in to comment.