[11844] Implement spells 45976, 46177, 45989 for M'uru encounter

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
Xfurry 2011-11-09 16:57:21 +01:00 committed by Schmoozerd
parent 2166621df0
commit d034710e38
3 changed files with 21 additions and 1 deletions

View file

@ -1605,6 +1605,25 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
m_caster->RemoveAurasDueToSpell(45683);
return;
}
case 45976: // Open Portal
case 46177: // Open All Portals
{
if (!unitTarget)
return;
// portal visual
unitTarget->CastSpell(unitTarget, 45977, true);
// break in case additional procressing in scripting library required
break;
}
case 45989: // Summon Void Sentinel Summoner Visual
{
// summon void sentinel
unitTarget->CastSpell(unitTarget, 45988, true);
return;
}
case 45990: // Collect Oil
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)