fix(Scripts/MoltenCore): Majordomus improvements: (#9232)
Magic Reflection/Damage Shield should be usable on adds. Adds should not despawn on boss defeat. Fixes #9120
This commit is contained in:
parent
65ae9dbb0e
commit
7c19c96429
2 changed files with 11 additions and 12 deletions
|
|
@ -256,18 +256,7 @@ public:
|
|||
}
|
||||
else if (!remainingAdds)
|
||||
{
|
||||
if (!static_minionsGUIDS.empty())
|
||||
{
|
||||
for (ObjectGuid const& guid : static_minionsGUIDS)
|
||||
{
|
||||
if (Creature* minion = ObjectAccessor::GetCreature(*me, guid))
|
||||
{
|
||||
minion->DespawnOrUnsummon();
|
||||
}
|
||||
}
|
||||
|
||||
static_minionsGUIDS.clear();
|
||||
}
|
||||
static_minionsGUIDS.clear();
|
||||
|
||||
instance->SetBossState(DATA_MAJORDOMO_EXECUTUS, DONE);
|
||||
events.CancelEventGroup(PHASE_COMBAT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue