Core/Spells: Properly fix talent Heart of the Crusader
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user