mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
fix(Scripts/ShatteredHalls): Nethekurse shouldn't roleplay in combat (#16395)
This commit is contained in:
@@ -131,7 +131,7 @@ struct boss_grand_warlock_nethekurse : public BossAI
|
|||||||
|
|
||||||
void SetData(uint32 data, uint32 value) override
|
void SetData(uint32 data, uint32 value) override
|
||||||
{
|
{
|
||||||
if (data != SETDATA_DATA)
|
if (data != SETDATA_DATA || me->IsInCombat())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (value == SETDATA_PEON_AGGRO && PeonEngagedCount <= 4)
|
if (value == SETDATA_PEON_AGGRO && PeonEngagedCount <= 4)
|
||||||
|
|||||||
Reference in New Issue
Block a user