mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user