Core/Spells: Properly fix talent Heart of the Crusader

This commit is contained in:
tobmaps
2011-05-12 04:04:31 +07:00
parent d44a842fc8
commit 922a174683
2 changed files with 5 additions and 16 deletions
-16
View File
@@ -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;
}
}