Skip to content

Commit

Permalink
fix(Scripts/TheBlackTemple): remove gossip option on Akama when Illid…
Browse files Browse the repository at this point in the history
…an is dead (#20118)
  • Loading branch information
elthehablo authored Oct 2, 2024
1 parent 529e914 commit 82797a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,10 @@ struct npc_akama_illidan : public ScriptedAI
scheduler.CancelAll();
me->m_Events.KillAllEvents(true);
me->SetReactState(REACT_AGGRESSIVE);
me->SetNpcFlag(UNIT_NPC_FLAG_GOSSIP);
if (instance->GetBossState(DATA_ILLIDAN_STORMRAGE) == DONE)
me->RemoveNpcFlag(UNIT_NPC_FLAG_GOSSIP);
else
me->SetNpcFlag(UNIT_NPC_FLAG_GOSSIP);
me->setActive(false);
summons.DespawnAll();
DoCastSelf(SPELL_REDUCED_THREAT, true);
Expand Down

0 comments on commit 82797a4

Please sign in to comment.