fix(Core/MC): adds should aggro with Golemagg (#9370)

This commit is contained in:
Nefertumm 2021-11-26 10:08:00 -08:00 committed by GitHub
parent 8fd713ac52
commit 06a8175805
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -263,6 +263,20 @@ public:
}
break;
}
case IN_PROGRESS:
{
if (!_golemaggMinionsGUIDS.empty())
{
for (ObjectGuid const& minionGuid : _golemaggMinionsGUIDS)
{
if (Creature* minion = instance->GetCreature(minionGuid))
{
minion->AI()->DoZoneInCombat(nullptr, 150.0f);
}
}
}
break;
}
case DONE:
{
if (!_golemaggMinionsGUIDS.empty())
@ -278,7 +292,6 @@ public:
}
break;
}
case IN_PROGRESS:
default:
break;
}