Core/Spells: Implemented handler for spell Create Lance, patch by 0xFuture
Closes issue #2890. --HG-- branch : trunk
This commit is contained in:
@@ -4823,6 +4823,17 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
|
|||||||
}
|
}
|
||||||
return;
|
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
|
case 71342: // Big Love Rocket
|
||||||
{
|
{
|
||||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
|||||||
Reference in New Issue
Block a user