mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user