Skip to content

Commit

Permalink
Merge pull request #3873 from syrifgit/thewarwithin
Browse files Browse the repository at this point in the history
Enhance Pack String, all 3 shaman specs swiftness fixes
  • Loading branch information
Hekili authored Sep 28, 2024
2 parents 734de08 + c24bce3 commit 8947be7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 22 deletions.
28 changes: 14 additions & 14 deletions TheWarWithin/ShamanElemental.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1541,8 +1541,8 @@ spec:RegisterAbilities( {

handler = function ()
removeBuff( "chains_of_devastation_ch" )
removeBuff( "ancestral_swiftness" )
removeBuff( "natures_swiftness" ) -- TODO: Determine order of instant cast effect consumption.
if buff.ancestral_swiftness.up then removeBuff( "ancestral_swiftness" ) end
if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end -- TODO: Determine order of instant cast effect consumption.
removeBuff( "echoing_shock" )

if legendary.chains_of_devastation.enabled then
Expand Down Expand Up @@ -1582,8 +1582,8 @@ spec:RegisterAbilities( {

handler = function ()
removeBuff( "chains_of_devastation_cl" )
removeBuff( "ancestral_swiftness" )
removeBuff( "natures_swiftness" )
if buff.ancestral_swiftness.up then removeBuff( "ancestral_swiftness" ) end
if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end
removeBuff( "master_of_the_elements" )
removeBuff( "echoing_shock" )
removeStack( "storm_frenzy" )
Expand Down Expand Up @@ -1928,8 +1928,8 @@ spec:RegisterAbilities( {

handler = function ()
removeBuff( "master_of_the_elements" )
removeBuff( "ancestral_swiftness" )
removeBuff( "natures_swiftness" )
if buff.ancestral_swiftness.up then removeBuff( "ancestral_swiftness" ) end
if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end
removeBuff( "magma_chamber" )
removeBuff( "echoing_shock" )

Expand Down Expand Up @@ -2326,8 +2326,8 @@ spec:RegisterAbilities( {
handler = function ()
gain( ( buff.stormkeeper.up and 3 or 2 ) * min( ( level > 42 and 5 or 3 ) + ( buff.surge_of_power.up and 1 or 0 ), true_active_enemies ), "maelstrom" )

removeBuff( "ancestral_swiftness" )
removeBuff( "natures_swiftness" )
if buff.ancestral_swiftness.up then removeBuff( "ancestral_swiftness" ) end
if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end
removeStack( "stormkeeper" )
removeStack( "arc_discharge" )
removeBuff( "surge_of_power" )
Expand Down Expand Up @@ -2371,8 +2371,8 @@ spec:RegisterAbilities( {
handler = function ()
removeBuff( "windspeakers_lava_resurgence" )
removeBuff( "lava_surge" )
removeBuff( "ancestral_swiftness" )
removeBuff( "natures_swiftness" )
if buff.ancestral_swiftness.up then removeBuff( "ancestral_swiftness" ) end
if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end
removeBuff( "flux_melting" )
removeStack( "molten_charge" )
removeBuff( "echoing_shock" )
Expand Down Expand Up @@ -2457,8 +2457,8 @@ spec:RegisterAbilities( {

gain( ms, "maelstrom" )

removeBuff( "ancestral_swiftness" )
removeBuff( "natures_swiftness" )
if buff.ancestral_swiftness.up then removeBuff( "ancestral_swiftness" ) end
if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end
removeBuff( "master_of_the_elements" )
removeBuff( "surge_of_power" )
removeStack( "power_of_the_maelstrom" )
Expand Down Expand Up @@ -2529,8 +2529,8 @@ spec:RegisterAbilities( {

gain( ms, "maelstrom" )

removeBuff( "ancestral_swiftness" )
removeBuff( "natures_swiftness" )
if buff.ancestral_swiftness.up then removeBuff( "ancestral_swiftness" ) end
if buff.natures_swiftness.up then removeBuff( "natures_swiftness" ) end
removeBuff( "master_of_the_elements" )
removeBuff( "surge_of_power" )
removeStack( "power_of_the_maelstrom" )
Expand Down
Loading

0 comments on commit 8947be7

Please sign in to comment.