[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))

View file

@ -4891,7 +4891,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
break;
}
//Arcane Potency
// Arcane Potency
if (dummySpell->SpellIconID == 2120)
{
if(!procSpell)
@ -10920,6 +10920,10 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
if (triggeredByAura->GetCasterGUID() != pTarget->GetGUID())
continue;
break;
case SPELL_AURA_MOD_SPELL_CRIT_CHANCE:
if (!procSpell)
continue;
break;
default:
// nothing do, just charges counter
break;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8027"
#define REVISION_NR "8028"
#endif // __REVISION_NR_H__