mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +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
|
|
@ -1570,6 +1570,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
||||||
case 31347: // Doom TODO: exclude top threat target from target selection
|
case 31347: // Doom TODO: exclude top threat target from target selection
|
||||||
case 33711: // Murmur's Touch
|
case 33711: // Murmur's Touch
|
||||||
case 38794: // Murmur's Touch (h)
|
case 38794: // Murmur's Touch (h)
|
||||||
|
case 45976: // Open Portal
|
||||||
case 50988: // Glare of the Tribunal (Halls of Stone)
|
case 50988: // Glare of the Tribunal (Halls of Stone)
|
||||||
case 59870: // Glare of the Tribunal (h) (Halls of Stone)
|
case 59870: // Glare of the Tribunal (h) (Halls of Stone)
|
||||||
case 64218: // Overcharge
|
case 64218: // Overcharge
|
||||||
|
|
|
||||||
|
|
@ -1605,6 +1605,25 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
m_caster->RemoveAurasDueToSpell(45683);
|
m_caster->RemoveAurasDueToSpell(45683);
|
||||||
return;
|
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
|
case 45990: // Collect Oil
|
||||||
{
|
{
|
||||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11843"
|
#define REVISION_NR "11844"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue