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:
Gildor
2020-04-15 13:12:28 +02:00
committed by Shauren
parent 68d2263863
commit a477e85ae3

View File

@@ -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;