[10425] Add comment in Aura::CanProcFrom

This commit is contained in:
Laise 2010-08-30 10:07:10 +03:00
parent 99214e9d8c
commit 694bdd43e3
3 changed files with 5 additions and 1 deletions

View file

@ -940,6 +940,9 @@ bool Aura::CanProcFrom(SpellEntry const *spell, uint32 EventProcEx, uint32 procE
}
else
{
// SpellFamilyName check is performed in SpellMgr::IsSpellProcEventCanTriggeredBy and it is done once for whole holder
// note: SpellFamilyName is not checked if no spell_proc_event is defined
if (((uint64*)ptr)[0] & spell->SpellFamilyFlags)
return true;

View file

@ -1525,6 +1525,7 @@ bool SpellMgr::IsSpellProcEventCanTriggeredBy(SpellProcEventEntry const * spellP
return false;
}
}
// Check for extra req (if none) and hit/crit
if (procEvent_procEx == PROC_EX_NONE)
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10424"
#define REVISION_NR "10425"
#endif // __REVISION_NR_H__