Skip to content

Commit

Permalink
Don't trigger Sweeping Strikes from Rend.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed Oct 14, 2024
1 parent 37810a4 commit cb26ffb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/game/UnitAuraProcHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,11 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit* pVictim, uint32 amount, uint
if (!pVictim)
return SPELL_AURA_PROC_FAILED;

// dont trigger from non damaging spells, amount is 1 for non damaging spells if they hit
// tested on classic that rend does not trigger sweeping strikes
if (amount <= 1)
return SPELL_AURA_PROC_FAILED;

// Prevent chain of triggered spell from same triggered spell
if (procSpell && (procSpell->Id == 26654 || procSpell->Id == 12723))
return SPELL_AURA_PROC_FAILED;
Expand Down

0 comments on commit cb26ffb

Please sign in to comment.