mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[10218] Restore trinket procs when no specific spell is defined for proc
This commit is contained in:
parent
7bb8b2bedb
commit
c384650af8
4 changed files with 27 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue