mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[11844] Implement spells 45976, 46177, 45989 for M'uru encounter
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
2166621df0
commit
d034710e38
3 changed files with 21 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue