Skip to content

Commit

Permalink
Realign Assassin's MA with SimC.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Nov 23, 2023
1 parent f384b45 commit 0f2a612
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Dragonflight/RogueAssassination.lua
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,11 @@ spec:RegisterHook( "reset_precast", function ()
rawset( debuff, "kingsbane", debuff.kingsbane_dot )
kingsbaneReady = true
end

if buff.master_assassin.up and buff.master_assassin.remains > 3 then
removeBuff( "master_assassin" )
applyBuff( "master_assassin_aura" )
end
end )

-- We need to break stealth when we start combat from an ability.
Expand All @@ -763,6 +768,7 @@ spec:RegisterHook( "runHandler", function( ability )

if stealthed.mantle and ( not a or a.startsCombat ) then
if talent.master_assassin.enabled then
removeBuff( "master_assassin_aura" )
applyBuff( "master_assassin" )
end

Expand Down Expand Up @@ -1205,9 +1211,12 @@ spec:RegisterAuras( {
-- https://wowhead.com/beta/spell=256735
master_assassin = {
id = 256735,
duration = 3600,
duration = 3,
max_stack = 1,
copy = "master_assassin_aura"
},
master_assassin_aura = {
duration = 3600,
max_stack = 1
},
-- Damage dealt increased by $w1%.
-- https://wowhead.com/beta/spell=31665
Expand Down

0 comments on commit 0f2a612

Please sign in to comment.