[10218] Restore trinket procs when no specific spell is defined for proc

This commit is contained in:
Laise 2010-07-18 18:53:09 +03:00
parent 7bb8b2bedb
commit c384650af8
4 changed files with 27 additions and 3 deletions

View file

@ -9519,10 +9519,10 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
(spellProcEvent->spellFamilyMask2[i] & procSpell->SpellFamilyFlags2) == 0)
continue;
}
else if (!spellProcEvent->schoolMask && !triggeredByAura->isAffectedOnSpell(procSpell))
else if (!spellProcEvent->schoolMask && !triggeredByAura->CanProcFrom(procSpell))
continue;
}
else if (!triggeredByAura->isAffectedOnSpell(procSpell))
else if (!triggeredByAura->CanProcFrom(procSpell))
continue;
}