Core/Spells: fix self-damage caused by Glyph of Chains of Ice. oMadMano

Closes #7270
Closes #644

Signed-off-by: Nay <dnpd.dd@gmail.com>
This commit is contained in:
Faq
2012-12-28 02:24:01 +00:00
committed by Nay
parent 95152d5753
commit e04275984e
2 changed files with 5 additions and 2 deletions

View File

@@ -457,8 +457,8 @@ int32 AuraEffect::CalculateAmount(Unit* caster)
// Control vehicle auras should not get m_amount sum out of basepoints and DieSide calculated together,
// but only from basepoints. Only such aura case fow now so handle it here.
case SPELL_AURA_CONTROL_VEHICLE:
m_amount = m_baseAmount;
break;
m_amount = m_baseAmount;
break;
// crowd control auras
case SPELL_AURA_MOD_CONFUSE:
case SPELL_AURA_MOD_FEAR:

View File

@@ -3619,6 +3619,9 @@ void SpellMgr::LoadDbcDataCorrections()
case 40167: // Introspection
spellInfo->Attributes |= SPELL_ATTR0_NEGATIVE_1;
break;
case 45524: // Chains of Ice
spellInfo->EffectImplicitTargetA[EFFECT_2] = 0;
break;
case 2378: // Minor Fortitude
spellInfo->manaCost = 0;
spellInfo->manaPerSecond = 0;