Skip to content

Commit

Permalink
OHF: Enable gossip option after defeating epoch
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Nov 8, 2021
1 parent e616c5b commit c4395a5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -55,8 +55,8 @@ bool GossipHello_npc_erozion(Player* pPlayer, Creature* pCreature)
pPlayer->ADD_GOSSIP_ITEM_ID(GOSSIP_ICON_CHAT, GOSSIP_ITEM_NEED_BOMBS, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);

// Need info, should have option to teleport or not
/*if (!pPlayer->GetQuestRewardStatus(QUEST_ENTRY_RETURN) && pPlayer->GetQuestStatus(QUEST_ENTRY_RETURN) == QUEST_STATUS_COMPLETE)
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "[PH] Teleport please, i'm tired.", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2);*/
if (pInstance && pInstance->GetData(TYPE_EPOCH) == DONE)
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Take me back to my time.", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2);

pPlayer->SEND_GOSSIP_MENU(TEXT_ID_DEFAULT, pCreature->GetObjectGuid());

Expand Down

0 comments on commit c4395a5

Please sign in to comment.