Core/Auras: fix stacking for auras that change phase. (thx to manuel)
This commit is contained in:
@@ -1192,7 +1192,6 @@ bool SpellInfo::IsAuraExclusiveBySpecificWith(SpellInfo const* spellInfo) const
|
|||||||
SpellSpecificType spellSpec2 = spellInfo->GetSpellSpecific();
|
SpellSpecificType spellSpec2 = spellInfo->GetSpellSpecific();
|
||||||
switch (spellSpec1)
|
switch (spellSpec1)
|
||||||
{
|
{
|
||||||
case SPELL_SPECIFIC_PHASE:
|
|
||||||
case SPELL_SPECIFIC_TRACKER:
|
case SPELL_SPECIFIC_TRACKER:
|
||||||
case SPELL_SPECIFIC_WARLOCK_ARMOR:
|
case SPELL_SPECIFIC_WARLOCK_ARMOR:
|
||||||
case SPELL_SPECIFIC_MAGE_ARMOR:
|
case SPELL_SPECIFIC_MAGE_ARMOR:
|
||||||
@@ -1911,8 +1910,6 @@ SpellSpecificType SpellInfo::GetSpellSpecific() const
|
|||||||
case SPELL_AURA_TRACK_RESOURCES:
|
case SPELL_AURA_TRACK_RESOURCES:
|
||||||
case SPELL_AURA_TRACK_STEALTHED:
|
case SPELL_AURA_TRACK_STEALTHED:
|
||||||
return SPELL_SPECIFIC_TRACKER;
|
return SPELL_SPECIFIC_TRACKER;
|
||||||
case SPELL_AURA_PHASE:
|
|
||||||
return SPELL_SPECIFIC_PHASE;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -166,7 +166,6 @@ enum SpellSpecificType
|
|||||||
SPELL_SPECIFIC_WARRIOR_ENRAGE = 26,
|
SPELL_SPECIFIC_WARRIOR_ENRAGE = 26,
|
||||||
SPELL_SPECIFIC_PRIEST_DIVINE_SPIRIT = 27,
|
SPELL_SPECIFIC_PRIEST_DIVINE_SPIRIT = 27,
|
||||||
SPELL_SPECIFIC_HAND = 28,
|
SPELL_SPECIFIC_HAND = 28,
|
||||||
SPELL_SPECIFIC_PHASE = 29,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum SpellCustomAttributes
|
enum SpellCustomAttributes
|
||||||
|
|||||||
Reference in New Issue
Block a user