mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[11791] Implement spells 69048, 69051 and 69023
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
8d58bfe7ed
commit
0bb3a4c84d
5 changed files with 36 additions and 1 deletions
|
|
@ -7309,6 +7309,26 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
|||
if (unitTarget)
|
||||
unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
|
||||
return;
|
||||
case 69048: // Mirrored Soul
|
||||
{
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
// This is extremely strange!
|
||||
// The spell should send MSG_CHANNEL_START, SMSG_SPELL_START
|
||||
// However it has cast time 2s, but should send SMSG_SPELL_GO instantly.
|
||||
m_caster->CastSpell(unitTarget, 69051, true);
|
||||
return;
|
||||
}
|
||||
case 69051: // Mirrored Soul
|
||||
{
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
// Actually this spell should be sent with SMSG_SPELL_START
|
||||
unitTarget->CastSpell(m_caster, 69023, true);
|
||||
return;
|
||||
}
|
||||
case 69377: // Fortitude
|
||||
{
|
||||
if (!unitTarget)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue