mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 16:37:04 +00:00
[10416] fix 71611 proc and remove check for family name if no spell_proc_event is defined
This commit is contained in:
parent
5a421a91b4
commit
821444445b
6 changed files with 10 additions and 7 deletions
|
|
@ -940,10 +940,6 @@ bool Aura::CanProcFrom(SpellEntry const *spell, uint32 EventProcEx, uint32 procE
|
|||
}
|
||||
else
|
||||
{
|
||||
// Check family name
|
||||
if (spell->SpellFamilyName != GetSpellProto()->SpellFamilyName)
|
||||
return false;
|
||||
|
||||
if (((uint64*)ptr)[0] & spell->SpellFamilyFlags)
|
||||
return true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue