mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[8028] Missing part of [7879] commit.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
21a650889c
commit
57ac3bdfef
3 changed files with 11 additions and 3 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8027"
|
||||
#define REVISION_NR "8028"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue