fix(Scripts/BlackTemple): Start the Illidari Council on pull and play the right death lines (#27883)

Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Crow
2026-10-01 11:13:10 -03:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 35818edf7a
commit 572441d657
@@ -30,7 +30,7 @@ enum Says
SAY_COUNCIL_ENRAGE = 1,
SAY_COUNCIL_SPECIAL = 2,
SAY_COUNCIL_SLAY = 3,
SAY_COUNCIL_DEATH = 4
SAY_COUNCIL_DEATH = 5
};
enum Spells
@@ -143,6 +143,12 @@ struct boss_illidari_council : public BossAI
{
if (param == ACTION_START_ENCOUNTER)
{
if (instance->GetBossState(DATA_ILLIDARI_COUNCIL) != NOT_STARTED)
return;
// Set before pulling the members in, their aggro calls back into here
instance->SetBossState(DATA_ILLIDARI_COUNCIL, IN_PROGRESS);
if (!me->isActiveObject())
me->setActive(true);
@@ -159,7 +165,7 @@ struct boss_illidari_council : public BossAI
{
if (Creature* member = instance->GetCreature(i))
{
if (!spoken && (roll_chance_i(33) || i == 3))
if (!spoken && (roll_chance_i(33) || i == DATA_VERAS_DARKSHADOW))
{
spoken = true;
member->AI()->Talk(SAY_COUNCIL_AGGRO);