mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[11792] Implement spells 68912, 68871, 68875 and 68876
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
0bb3a4c84d
commit
6baf677a63
4 changed files with 31 additions and 1 deletions
|
|
@ -7309,6 +7309,12 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
|||
if (unitTarget)
|
||||
unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
|
||||
return;
|
||||
case 68871: // Wailing Souls
|
||||
// Left or Right direction?
|
||||
m_caster->CastSpell(m_caster, urand(0, 1) ? 68875 : 68876, false);
|
||||
// Clear TargetGuid for sweeping
|
||||
m_caster->SetTargetGuid(ObjectGuid());
|
||||
return;
|
||||
case 69048: // Mirrored Soul
|
||||
{
|
||||
if (!unitTarget)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue