mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[10268] If schoolMask present for proc, ignore SpellFamilyFlags check
This commit is contained in:
parent
51297e87ae
commit
0faa1185ae
2 changed files with 3 additions and 2 deletions
|
|
@ -9521,7 +9521,8 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
|
|||
(spellProcEvent->spellFamilyMask2[i] & procSpell->SpellFamilyFlags2) == 0)
|
||||
continue;
|
||||
}
|
||||
else if (!triggeredByAura->CanProcFrom(procSpell, spellProcEvent->procEx, procExtra, damage != 0))
|
||||
// don't check FamilyFlags if schoolMask exists
|
||||
else if (!spellProcEvent->schoolMask && !triggeredByAura->CanProcFrom(procSpell, spellProcEvent->procEx, procExtra, damage != 0))
|
||||
continue;
|
||||
}
|
||||
else if (!triggeredByAura->CanProcFrom(procSpell, PROC_EX_NONE, procExtra, damage != 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue