mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/Quest: The Exorcism of Colonel Jules (#24459)
* Remove Anchorite Barada gossip when event start
(cherry picked from commit 8a5b02be0a)
This commit is contained in:
@@ -687,6 +687,7 @@ public:
|
||||
|
||||
playerGUID.Clear();
|
||||
me->RemoveUnitFlag(UNIT_FLAG_PACIFIED);
|
||||
me->AddNpcFlag(UNIT_NPC_FLAG_GOSSIP);
|
||||
}
|
||||
|
||||
bool GossipSelect(Player* player, uint32 /*menuId*/, uint32 gossipListId) override
|
||||
@@ -698,6 +699,7 @@ public:
|
||||
CloseGossipMenuFor(player);
|
||||
me->AI()->Talk(SAY_BARADA_1);
|
||||
me->AI()->DoAction(ACTION_START_EVENT);
|
||||
me->RemoveNpcFlag(UNIT_NPC_FLAG_GOSSIP);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user