[8028] Missing part of [7879] commit.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
Tanatos 2009-06-16 14:10:10 +02:00 committed by ApoC
parent 21a650889c
commit 57ac3bdfef
3 changed files with 11 additions and 3 deletions

View file

@ -767,9 +767,13 @@ void Spell::prepareDataForTriggerSystem()
{
switch (m_spellInfo->SpellFamilyName)
{
case SPELLFAMILY_MAGE: // Arcane Missles / Blizzard triggers need do it
case SPELLFAMILY_MAGE:
// Arcane Missles / Blizzard triggers need do it
if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000200080))
m_canTrigger = true;
// Clearcasting trigger need do it
else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000200000000) && m_spellInfo->SpellFamilyFlags2 & 0x8)
m_canTrigger = true;
break;
case SPELLFAMILY_WARLOCK: // For Hellfire Effect / Rain of Fire / Seed of Corruption triggers need do it
if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000800000000060))