fix(Scripts/HellfireRamparts): Hellfire Sentry should aggro on each o… (#13878)

fix(Scripts/HellfireRamparts): Hellfire Sentry should aggro on each other's target.

Fixes #13747
This commit is contained in:
UltraNix
2022-12-06 13:40:14 +01:00
committed by GitHub
parent c30f621cbe
commit b7f81ab372
2 changed files with 12 additions and 0 deletions

View File

@@ -132,6 +132,14 @@ public:
BossAI::EnterEvadeMode();
}
void SetData(uint32 type, uint32 data) override
{
if (type == 0 && data == 1)
{
summons.DoZoneInCombat(NPC_HELLFIRE_SENTRY);
}
}
void UpdateAI(uint32 /*diff*/) override
{
if (!me->IsVisible() && summons.size() == 0)