Skip to content

Commit

Permalink
Ele: Don't cast Flametongue while it's up (fix #1834)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Nov 1, 2022
1 parent fb49e36 commit d2a93eb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dragonflight/ShamanElemental.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,6 @@ spec:RegisterHook( "reset_precast", function ()
local mh, _, _, mh_enchant, oh, _, _, oh_enchant = GetWeaponEnchantInfo()

if mh and mh_enchant == 5400 then applyBuff( "flametongue_weapon" ) end

if buff.flametongue_weapon.down and ( now - action.flametongue_weapon.lastCast < 1 ) then applyBuff( "flametongue_weapon" ) end

if talent.master_of_the_elements.enabled and action.lava_burst.in_flight and buff.master_of_the_elements.down then
Expand Down Expand Up @@ -1687,17 +1686,11 @@ spec:RegisterAbilities( {
school = "fire",

startsCombat = false,
nobuff = "flametongue_weapon",

handler = function ()
applyBuff( "flametongue_weapon" )
end,

auras = {
flametongue_weapon = {
duration = 3600,
max_stack = 1,
}
}
},

-- Talent: Chills the target with frost, causing $s1 Frost damage and reducing the target's movement speed by $s2% for $d.
Expand Down

0 comments on commit d2a93eb

Please sign in to comment.