mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Core/MC): adds should aggro with Golemagg (#9370)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user