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