Exemple #1
0
 void sGossipSelect(Player* player, uint32 sender, uint32 action) override
 {
     if (sender == GOSSIP_ID && action == GOSSIP_OPTION_ID)
     {
         player->CLOSE_GOSSIP_MENU();
         Talk(SAY_GAMESBEGIN_1);
         BeginEvent(player);
     }
 }
 void sGossipSelect(Player* player, uint32 menuId, uint32 gossipListId) override
 {
     if (menuId == GOSSIP_ID && gossipListId == GOSSIP_OPTION_ID)
     {
         CloseGossipMenuFor(player);
         Talk(SAY_GAMESBEGIN_1);
         BeginEvent(player);
     }
 }
 void sGossipSelect(Player* player, uint32 menuId, uint32 gossipListId) override
 {
     if (menuId == GOSSIP_ID && gossipListId == GOSSIP_OPTION_ID)
     {
         player->CLOSE_GOSSIP_MENU();
         Talk(SAY_GAMESBEGIN_1);
         BeginEvent(player);
     }
 }
        void sGossipSelect(Player* player, uint32 sender, uint32 action)
        {
            if (sender == GOSSIP_ID && action == GOSSIP_OPTION_ID)
            {
                // pussywizard:
                InstanceScript* instance = player->GetInstanceScript();
                if (!instance || instance->GetBossState(BOSS_NEFARIAN) == DONE)
                    return;

                CloseGossipMenuFor(player);
                Talk(SAY_GAMESBEGIN_1);
                BeginEvent(player);
            }
        }