diff options
author | tobmaps <spambot42@yandex.ru> | 2011-05-12 04:04:31 +0700 |
---|---|---|
committer | tobmaps <spambot42@yandex.ru> | 2011-05-12 04:04:31 +0700 |
commit | 922a174683b93e46510c12836d37f3a85e994781 (patch) | |
tree | 931a351ba57848e7578300d1808b529a082e0999 /src | |
parent | d44a842fc8f77783b66afe35ad8393dae2ecacaf (diff) |
Core/Spells: Properly fix talent Heart of the Crusader
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/Spells/SpellEffects.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 237b347c62a..a39f80be1bb 100755 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -5250,7 +5250,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex) return; uint32 spellId1 = 0; uint32 spellId2 = 0; - uint32 spellId3 = 0; // Judgement self add switch switch (m_spellInfo->Id) @@ -5267,19 +5266,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex) Unit::AuraApplicationMap & sealAuras = m_caster->GetAppliedAuras(); for (Unit::AuraApplicationMap::iterator iter = sealAuras.begin(); iter != sealAuras.end();) { - switch (iter->first) - { - // Heart of the Crusader - case 20335: // Rank 1 - spellId3 = 21183; - break; - case 20336: // Rank 2 - spellId3 = 54498; - break; - case 20337: // Rank 3 - spellId3 = 54499; - break; - } Aura * aura = iter->second->GetBase(); if (IsSealSpell(aura->GetSpellProto())) { @@ -5310,8 +5296,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex) m_caster->CastSpell(unitTarget, spellId1, true); if (spellId2) m_caster->CastSpell(unitTarget, spellId2, true); - if (spellId3) - m_caster->CastSpell(unitTarget, spellId3, true); return; } } |