Core/Spells: require phaseMask set for trap activation procs

This commit is contained in:
ariel-
2016-10-28 03:14:09 -03:00
parent a561211675
commit 1df8ca7fe3
2 changed files with 5 additions and 5 deletions

View File

@@ -535,7 +535,7 @@ bool SpellMgr::CanSpellTriggerProcOnEvent(SpellProcEntry const& procEntry, ProcE
return false;
// check spell family name/flags (if set) for spells
if (eventInfo.GetTypeMask() & (PERIODIC_PROC_FLAG_MASK | SPELL_PROC_FLAG_MASK | PROC_FLAG_DONE_TRAP_ACTIVATION))
if (eventInfo.GetTypeMask() & (PERIODIC_PROC_FLAG_MASK | SPELL_PROC_FLAG_MASK))
{
SpellInfo const* eventSpellInfo = eventInfo.GetSpellInfo();