*Fix a typo in latest rev

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-04-18 22:43:35 +02:00
1 parent a731f9a3c0
commit 08976f5c6e
2 files changed
+7 -7

No files matched your search

+7
View File
@@ -12350,6 +12350,13 @@ bool Unit::IsTriggeredAtSpellProcEvent(Unit *pVictim, Aura * aura, SpellEntry co
if (!EventProcFlag)
return false;
// Additional checks for triggered spells
if (procExtra & PROC_EX_INTERNAL_TRIGGERED)
{
if (!(spellProto->AttributesEx3 & SPELL_ATTR_EX3_CAN_PROC_TRIGGERED))
return false;
}
// Check spellProcEvent data requirements
if(!spellmgr.IsSpellProcEventCanTriggeredBy(spellProcEvent, EventProcFlag, procSpell, procFlag, procExtra, active))
return false;