Remove Frost Nova autoremoval hack. (#128)

-This may affect other spells too.
This commit is contained in:
H0zen 2016-05-28 13:15:52 +03:00 committed by Antz
parent 902fa5530a
commit cbf5d84b94
2 changed files with 4 additions and 5 deletions

View File

@ -628,6 +628,10 @@ bool Aura::isAffectedOnSpell(SpellEntry const* spell) const
bool Aura::CanProcFrom(SpellEntry const* spell, uint32 EventProcEx, uint32 procEx, bool active, bool useClassMask) const
{
// Aura cannot proc from itself unless it's periodic
if (GetId() == spell->Id && !IsPeriodic())
{ return false; }
// Check EffectClassMask (in pre-3.x stored in spell_affect in fact)
ClassFamilyMask mask = sSpellMgr.GetSpellAffectMask(GetId(), GetEffIndex());

View File

@ -237,11 +237,6 @@ bool Unit::IsTriggeredAtSpellProcEvent(Unit* pVictim, SpellAuraHolder* holder, S
{
SpellEntry const* spellProto = holder->GetSpellProto();
// early check to prevent FrostNova damage to remove Aura 26
if (procSpell && (procSpell->Id == spellProto->Id) && (spellProto->SpellIconID == 193) &&
(spellProto->SpellVisual == 17) && (spellProto->SpellFamilyName == SPELLFAMILY_MAGE))
return false;
// Get proc Event Entry
spellProcEvent = sSpellMgr.GetSpellProcEvent(spellProto->Id);