Skip to content

Commit

Permalink
Spell: Revert usage of SPELL_ATTR_EX3_TREAT_AS_PERIODIC as proc indic…
Browse files Browse the repository at this point in the history
…ator

Blizzard and some other spells break for procs based on templates
  • Loading branch information
killerwife committed Sep 12, 2024
1 parent 3092e1d commit b773dbf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/game/Spells/Spell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,12 +871,6 @@ void Spell::PrepareMasksForProcSystem(uint8 effectMask, uint32& procAttacker, ui
procVictim |= PROC_FLAG_TAKE_MELEE_SWING;
}

if (m_spellInfo->HasAttribute(SPELL_ATTR_EX3_TREAT_AS_PERIODIC))
{
procAttacker = PROC_FLAG_DEAL_HARMFUL_PERIODIC;
procVictim = PROC_FLAG_TAKE_HARMFUL_PERIODIC;
}

if (m_spellInfo->HasAttribute(SPELL_ATTR_EX3_SUPPRESS_CASTER_PROCS))
procAttacker = 0;

Expand Down

0 comments on commit b773dbf

Please sign in to comment.