fix(Core/MC): adds should aggro with Golemagg (#9370)
This commit is contained in:
+14
-1
@@ -263,6 +263,20 @@ public:
|
|||||||
}
|
}
|
||||||
break;
|
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:
|
case DONE:
|
||||||
{
|
{
|
||||||
if (!_golemaggMinionsGUIDS.empty())
|
if (!_golemaggMinionsGUIDS.empty())
|
||||||
@@ -278,7 +292,6 @@ public:
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case IN_PROGRESS:
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user