Core/Spells: Implemented handler for spell Create Lance, patch by 0xFuture

Closes issue #2890.

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-09-06 12:22:19 +02:00
parent 57c18d8120
commit 1b10bd5d05
+11
View File
@@ -4823,6 +4823,17 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
}
return;
}
case 63845: // Create Lance
{
if (m_caster->GetTypeId() != TYPEID_PLAYER)
return;
if (m_caster->ToPlayer()->GetTeam() == ALLIANCE)
m_caster->CastSpell(m_caster, 63914, true);
else
m_caster->CastSpell(m_caster, 63919, true);
return;
}
case 71342: // Big Love Rocket
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)