mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 00:53:46 +00:00
fix(Scripts/TheBlackTemple): remove gossip option on Akama when Illidan is dead (#20118)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user