mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-19 08:30:34 +01:00
Scripts/Ulduar: added more cleanup mechanics to Runemaster Molgeim
This commit is contained in:
@@ -370,6 +370,8 @@ struct boss_runemaster_molgeim : public ScriptedAI
|
||||
if (_events.IsInPhase(PHASE_THREE))
|
||||
{
|
||||
EncounterHelper::CleanupAuras(this, _instance);
|
||||
_summons.DespawnAll();
|
||||
me->RemoveAllDynObjects();
|
||||
_instance->SetBossState(DATA_ASSEMBLY_OF_IRON, DONE);
|
||||
DoCastAOE(SPELL_KILL_CREDIT, true);
|
||||
Talk(SAY_MOLGEIM_ENCOUNTER_DEFEATED);
|
||||
|
||||
@@ -400,7 +400,11 @@ class instance_ulduar : public InstanceMapScript
|
||||
case NPC_SANITY_WELL:
|
||||
creature->SetReactState(REACT_PASSIVE);
|
||||
break;
|
||||
|
||||
case NPC_RUNE_OF_POWER:
|
||||
if (Creature* molgeim = GetCreature(DATA_RUNEMASTER_MOLGEIM))
|
||||
if (molgeim->IsAIEnabled)
|
||||
molgeim->AI()->JustSummoned(creature);
|
||||
break;
|
||||
// Algalon
|
||||
//! These creatures are summoned by something else than Algalon
|
||||
//! but need to be controlled/despawned by him - so they need to be
|
||||
|
||||
@@ -80,9 +80,10 @@ enum UlduarNPCs
|
||||
NPC_ALGALON = 32871,
|
||||
|
||||
// Assembly of Iron
|
||||
BOSS_STEELBREAKER = 32867,
|
||||
BOSS_RUNEMASTER_MOLGEIM = 32927,
|
||||
BOSS_STORMCALLER_BRUNDIR = 32857,
|
||||
BOSS_STEELBREAKER = 32867,
|
||||
BOSS_RUNEMASTER_MOLGEIM = 32927,
|
||||
BOSS_STORMCALLER_BRUNDIR = 32857,
|
||||
NPC_RUNE_OF_POWER = 33705,
|
||||
|
||||
//XT002
|
||||
NPC_XS013_SCRAPBOT = 33343,
|
||||
|
||||
Reference in New Issue
Block a user