rendered paste body/* Copyright (C) 2006,2007 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
GM Token Master NPC
NPC Will Exchange GM Tokens for gifts
*/
#include "../sc_defines.h"
bool GossipHello_npc_gm_token_shop(Player *player, Creature *_Creature)
{
if ( player->getLevel() < 60 )
{
player->ADD_GOSSIP_ITEM( 5, "1 GM Token for 2 Level" , GOSSIP_SENDER_MAIN, 1210);
}
else
{
player->ADD_GOSSIP_ITEM( 5, "1 GM Token for 1 Level" , GOSSIP_SENDER_MAIN, 1210);
}
player->ADD_GOSSIP_ITEM( 5, "1 GM Token for 1000 Honor Points" , GOSSIP_SENDER_MAIN, 1211);
player->ADD_GOSSIP_ITEM( 5, "1 GM Token for 1000 Arena Points" , GOSSIP_SENDER_MAIN, 1212);
player->ADD_GOSSIP_ITEM( 5, "1 GM Token for 500 Gold" , GOSSIP_SENDER_MAIN, 1213);
player->ADD_GOSSIP_ITEM( 5, "2 GM Tokens for 1250 Gold" , GOSSIP_SENDER_MAIN, 1214);
player->ADD_GOSSIP_ITEM( 5, "2 GM Token for Magic Bank Statement" , GOSSIP_SENDER_MAIN, 1215);
player->ADD_GOSSIP_ITEM( 5, "Tier 4 Hands" , GOSSIP_SENDER_MAIN, 1216);
player->ADD_GOSSIP_ITEM( 5, "Tier 4 Head" , GOSSIP_SENDER_MAIN, 1217);
player->ADD_GOSSIP_ITEM( 5, "Tier 4 Chest" , GOSSIP_SENDER_MAIN, 1218);
player->ADD_GOSSIP_ITEM( 5, "Tier 4 Shoulders" , GOSSIP_SENDER_MAIN, 1219);
player->ADD_GOSSIP_ITEM( 5, "Tier 4 Legs" , GOSSIP_SENDER_MAIN, 1220);
player->ADD_GOSSIP_ITEM( 5, "How Can i Get GM Tokens?" , GOSSIP_SENDER_MAIN, 1222);
player->ADD_GOSSIP_ITEM( 5, "[MORE] ->" , GOSSIP_SENDER_MAIN, 1221);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return true;
}
/*******************************************************
* Start of GOSSIP_MENU
*******************************************************/
void SendDefaultMenu_npc_gm_token_shop(Player *player, Creature *_Creature, uint32 action)
{
if(player->isAttacked())
{
_Creature->Say("You are in combat!", LANG_UNIVERSAL, NULL);
return;
}
switch(action)
{
case 1210://Add level to player
player->CLOSE_GOSSIP_MENU();
if ( player->getLevel() == 70 )
{
_Creature->Yell("You have the max level, please select something else.", LANG_UNIVERSAL, NULL);
return;
}
if (player->HasItemCount(69481196, 1) )
{
if ( player->getLevel() < 60 )
{
player->GiveLevel(player->getLevel()+2);
player->InitTalentForLevel();
player->InitStatsForLevel();
_Creature->Say("You have gained TWO levels, please relog to save the changes", LANG_UNIVERSAL, NULL);
}
else
{
player->GiveLevel(player->getLevel()+1);
player->InitTalentForLevel();
player->InitStatsForLevel();
_Creature->Say("You have gained One levels, please relog to save the changes", LANG_UNIVERSAL, NULL);
}
player->DestroyItemCount(69481196, 1, true);
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1211://Give 100 Honor Points to player
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 1) )
{
player->SetHonorPoints(player->GetHonorPoints()+1000);
_Creature->Say("You have proved your honor by collecting me a GM token, spend theres honor points the care", LANG_UNIVERSAL, NULL);
player->DestroyItemCount(69481196, 1, true);
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1212://Give 100 Arena Points to player
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 1) )
{
player->SetArenaPoints(player->GetArenaPoints()+1000);
_Creature->Say("You have proved your honor by collecting me a GM token, spend theres arena points the care", LANG_UNIVERSAL, NULL);
player->DestroyItemCount(69481196, 1, true);
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1213://Give 500g to player
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 1) )
{
player->SetMoney(player->GetMoney()+5000000);
_Creature->Say("Here you go 500 gold coins, dont spend it all at once", LANG_UNIVERSAL, NULL);
player->DestroyItemCount(69481196, 1, true);
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1214://Give 500g to player
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 2) )
{
player->SetMoney(player->GetMoney()+12500000);
_Creature->Say("Here you go 1250 gold coins, dont spend it all at once", LANG_UNIVERSAL, NULL);
player->DestroyItemCount(69481196, 2, true);
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1215://Bank Item
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 2) )
{
uint32 itemId = 69481195;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 2, true);
_Creature->Say("Check your backpack and enjoy free mobile banking.", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1216://t4 Menu hands
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Shaman" , GOSSIP_SENDER_MAIN, 1310);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Warlock" , GOSSIP_SENDER_MAIN, 1312);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Warrior" , GOSSIP_SENDER_MAIN, 1311);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Mage" , GOSSIP_SENDER_MAIN, 1312);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Priest" , GOSSIP_SENDER_MAIN, 1311);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Paladin" , GOSSIP_SENDER_MAIN, 1310);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Hunter" , GOSSIP_SENDER_MAIN, 1312);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Rouge" , GOSSIP_SENDER_MAIN, 1310);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Druid" , GOSSIP_SENDER_MAIN, 1311);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1217://t4 Menu head
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Shaman" , GOSSIP_SENDER_MAIN, 1313);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Warlock" , GOSSIP_SENDER_MAIN, 1315);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Warrior" , GOSSIP_SENDER_MAIN, 1314);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Mage" , GOSSIP_SENDER_MAIN, 1315);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Priest" , GOSSIP_SENDER_MAIN, 1314);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Paladin" , GOSSIP_SENDER_MAIN, 1313);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Hunter" , GOSSIP_SENDER_MAIN, 1315);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Rouge" , GOSSIP_SENDER_MAIN, 1313);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Druid" , GOSSIP_SENDER_MAIN, 1314);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1218://t4 Menu head
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Shaman" , GOSSIP_SENDER_MAIN, 1316);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Warlock" , GOSSIP_SENDER_MAIN, 1318);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Warrior" , GOSSIP_SENDER_MAIN, 1317);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Mage" , GOSSIP_SENDER_MAIN, 1318);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Priest" , GOSSIP_SENDER_MAIN, 1317);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Paladin" , GOSSIP_SENDER_MAIN, 1316);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Hunter" , GOSSIP_SENDER_MAIN, 1318);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Rouge" , GOSSIP_SENDER_MAIN, 1316);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Druid" , GOSSIP_SENDER_MAIN, 1317);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1219://t4 Menu head
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Shaman" , GOSSIP_SENDER_MAIN, 1319);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Warlock" , GOSSIP_SENDER_MAIN, 1321);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Warrior" , GOSSIP_SENDER_MAIN, 1320);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Mage" , GOSSIP_SENDER_MAIN, 1321);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Priest" , GOSSIP_SENDER_MAIN, 1320);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Paladin" , GOSSIP_SENDER_MAIN, 1319);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Hunter" , GOSSIP_SENDER_MAIN, 1321);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Rouge" , GOSSIP_SENDER_MAIN, 1319);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Druid" , GOSSIP_SENDER_MAIN, 1320);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1220://t4 Menu head
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Shaman" , GOSSIP_SENDER_MAIN, 1322);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Warlock" , GOSSIP_SENDER_MAIN, 1324);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Warrior" , GOSSIP_SENDER_MAIN, 1323);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Mage" , GOSSIP_SENDER_MAIN, 1324);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Priest" , GOSSIP_SENDER_MAIN, 1323);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Paladin" , GOSSIP_SENDER_MAIN, 1322);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Hunter" , GOSSIP_SENDER_MAIN, 1324);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Rouge" , GOSSIP_SENDER_MAIN, 1322);
player->ADD_GOSSIP_ITEM( 5, "15 GM Tokens for Tier 4 - Druid" , GOSSIP_SENDER_MAIN, 1323);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1221:
player->ADD_GOSSIP_ITEM( 5, "Tier 5 Hands" , GOSSIP_SENDER_MAIN, 1410);
player->ADD_GOSSIP_ITEM( 5, "Tier 5 Head" , GOSSIP_SENDER_MAIN, 1411);
player->ADD_GOSSIP_ITEM( 5, "Tier 5 Chest" , GOSSIP_SENDER_MAIN, 1412);
player->ADD_GOSSIP_ITEM( 5, "Tier 5 Shoulders" , GOSSIP_SENDER_MAIN, 1413);
player->ADD_GOSSIP_ITEM( 5, "Tier 5 Legs" , GOSSIP_SENDER_MAIN, 1414);
player->ADD_GOSSIP_ITEM( 5, "2 GM Token for Outland Stone" , GOSSIP_SENDER_MAIN, 1416);
player->ADD_GOSSIP_ITEM( 5, "2 GM Token for Instance Stone" , GOSSIP_SENDER_MAIN, 1417);
player->ADD_GOSSIP_ITEM( 5, "5 GM Tokens for Level 15 Mount" , GOSSIP_SENDER_MAIN, 1418);
player->ADD_GOSSIP_ITEM( 5, "[MORE] ->" , GOSSIP_SENDER_MAIN, 1415);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1415:
player->ADD_GOSSIP_ITEM( 5, "Tier 6 Hands" , GOSSIP_SENDER_MAIN, 1510);
player->ADD_GOSSIP_ITEM( 5, "Tier 6 Head" , GOSSIP_SENDER_MAIN, 1511);
player->ADD_GOSSIP_ITEM( 5, "Tier 6 Chest" , GOSSIP_SENDER_MAIN, 1512);
player->ADD_GOSSIP_ITEM( 5, "Tier 6 Shoulders" , GOSSIP_SENDER_MAIN, 1513);
player->ADD_GOSSIP_ITEM( 5, "Tier 6 Legs" , GOSSIP_SENDER_MAIN, 1514);
player->ADD_GOSSIP_ITEM( 5, "[MORE] ->" , GOSSIP_SENDER_MAIN, 1515);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1515:
player->ADD_GOSSIP_ITEM( 5, "More Coming Soon" , GOSSIP_SENDER_MAIN, 1900);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
// t4 items
case 1310://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29757;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1311://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29758;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1312://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29756;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
// HEAD
case 1313://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29760;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1314://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29761;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1315://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29759;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
// CHEST
case 1316://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29754;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1317://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29753;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1318://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29755;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
// Shoulders
case 1319://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29763;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1320://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29764;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1321://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29762;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
// Legs
case 1322://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29766;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1323://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29767;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1324://t4 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 15) )
{
uint32 itemId = 29765;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 15, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1500://Bye
player->CLOSE_GOSSIP_MENU();
_Creature->Yell("Next time speak to me for a reason! Now begone with you!", LANG_UNIVERSAL, NULL);
break;
case 1222://How to Get tokens
player->CLOSE_GOSSIP_MENU();
_Creature->Say("Visit the Online Shop @ http://mgawow.no-ip.org:8080 or speak to my minion Polo (you need level 70 to speak to Polo).", LANG_UNIVERSAL, NULL);
break;
case 1410://t5 Menu hands
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Shaman" , GOSSIP_SENDER_MAIN, 1601);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Warlock" , GOSSIP_SENDER_MAIN, 1603);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Warrior" , GOSSIP_SENDER_MAIN, 1602);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Mage" , GOSSIP_SENDER_MAIN, 1603);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Priest" , GOSSIP_SENDER_MAIN, 1602);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Paladin" , GOSSIP_SENDER_MAIN, 1601);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Hunter" , GOSSIP_SENDER_MAIN, 1603);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Rouge" , GOSSIP_SENDER_MAIN, 1601);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Druid" , GOSSIP_SENDER_MAIN, 1602);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1411://t5 Menu head
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Shaman" , GOSSIP_SENDER_MAIN, 1604);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Warlock" , GOSSIP_SENDER_MAIN, 1606);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Warrior" , GOSSIP_SENDER_MAIN, 1605);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Mage" , GOSSIP_SENDER_MAIN, 1606);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Priest" , GOSSIP_SENDER_MAIN, 1605);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Paladin" , GOSSIP_SENDER_MAIN, 1604);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Hunter" , GOSSIP_SENDER_MAIN, 1606);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Rouge" , GOSSIP_SENDER_MAIN, 1604);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Druid" , GOSSIP_SENDER_MAIN, 1605);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1412://t5 Menu shoulders
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Shaman" , GOSSIP_SENDER_MAIN, 1607);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Warlock" , GOSSIP_SENDER_MAIN, 1609);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Warrior" , GOSSIP_SENDER_MAIN, 1608);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Mage" , GOSSIP_SENDER_MAIN, 1609);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Priest" , GOSSIP_SENDER_MAIN, 1608);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Paladin" , GOSSIP_SENDER_MAIN, 1607);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Hunter" , GOSSIP_SENDER_MAIN, 1609);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Rouge" , GOSSIP_SENDER_MAIN, 1607);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Druid" , GOSSIP_SENDER_MAIN, 1608);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1413://t5 Menu Legs
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Shaman" , GOSSIP_SENDER_MAIN, 1610);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Warlock" , GOSSIP_SENDER_MAIN, 1612);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Warrior" , GOSSIP_SENDER_MAIN, 1611);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Mage" , GOSSIP_SENDER_MAIN, 1612);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Priest" , GOSSIP_SENDER_MAIN, 1611);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Paladin" , GOSSIP_SENDER_MAIN, 1610);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Hunter" , GOSSIP_SENDER_MAIN, 1612);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Rouge" , GOSSIP_SENDER_MAIN, 1610);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Druid" , GOSSIP_SENDER_MAIN, 1611);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1414://t5 Menu Chest
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Shaman" , GOSSIP_SENDER_MAIN, 1613);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Warlock" , GOSSIP_SENDER_MAIN, 1615);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Warrior" , GOSSIP_SENDER_MAIN, 1614);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Mage" , GOSSIP_SENDER_MAIN, 1615);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Priest" , GOSSIP_SENDER_MAIN, 1614);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Paladin" , GOSSIP_SENDER_MAIN, 1613);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Hunter" , GOSSIP_SENDER_MAIN, 1615);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Rouge" , GOSSIP_SENDER_MAIN, 1613);
player->ADD_GOSSIP_ITEM( 5, "20 GM Tokens for Tier 5 - Druid" , GOSSIP_SENDER_MAIN, 1614);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1510://t6 Menu hands
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Shaman" , GOSSIP_SENDER_MAIN, 1702);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Warlock" , GOSSIP_SENDER_MAIN, 1701);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Warrior" , GOSSIP_SENDER_MAIN, 1702);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Mage" , GOSSIP_SENDER_MAIN, 1703);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Priest" , GOSSIP_SENDER_MAIN, 1701);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Paladin" , GOSSIP_SENDER_MAIN, 1701);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Hunter" , GOSSIP_SENDER_MAIN, 1702);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Rouge" , GOSSIP_SENDER_MAIN, 1703);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Druid" , GOSSIP_SENDER_MAIN, 1703);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1511://t6 Menu head
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Shaman" , GOSSIP_SENDER_MAIN, 1705);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Warlock" , GOSSIP_SENDER_MAIN, 1704);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Warrior" , GOSSIP_SENDER_MAIN, 1705);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Mage" , GOSSIP_SENDER_MAIN, 1706);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Priest" , GOSSIP_SENDER_MAIN, 1704);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Paladin" , GOSSIP_SENDER_MAIN, 1704);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Hunter" , GOSSIP_SENDER_MAIN, 1705);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Rouge" , GOSSIP_SENDER_MAIN, 1706);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Druid" , GOSSIP_SENDER_MAIN, 1706);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1512://t6 Menu shoulders
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Shaman" , GOSSIP_SENDER_MAIN, 1708);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Warlock" , GOSSIP_SENDER_MAIN, 1707);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Warrior" , GOSSIP_SENDER_MAIN, 1708);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Mage" , GOSSIP_SENDER_MAIN, 1709);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Priest" , GOSSIP_SENDER_MAIN, 1707);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Paladin" , GOSSIP_SENDER_MAIN, 1707);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Hunter" , GOSSIP_SENDER_MAIN, 1708);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Rouge" , GOSSIP_SENDER_MAIN, 1709);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Druid" , GOSSIP_SENDER_MAIN, 1709);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1513://t6 Menu legs
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Shaman" , GOSSIP_SENDER_MAIN, 1711);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Warlock" , GOSSIP_SENDER_MAIN, 1710);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Warrior" , GOSSIP_SENDER_MAIN, 1711);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Mage" , GOSSIP_SENDER_MAIN, 1712);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Priest" , GOSSIP_SENDER_MAIN, 1710);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Paladin" , GOSSIP_SENDER_MAIN, 1710);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Hunter" , GOSSIP_SENDER_MAIN, 1711);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Rouge" , GOSSIP_SENDER_MAIN, 1712);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Druid" , GOSSIP_SENDER_MAIN, 1712);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
case 1514://t6 Chest
//player->CLOSE_GOSSIP_MENU();
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Shaman" , GOSSIP_SENDER_MAIN, 1714);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Warlock" , GOSSIP_SENDER_MAIN, 1713);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Warrior" , GOSSIP_SENDER_MAIN, 1714);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Mage" , GOSSIP_SENDER_MAIN, 1715);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Priest" , GOSSIP_SENDER_MAIN, 1713);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Paladin" , GOSSIP_SENDER_MAIN, 1713);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Hunter" , GOSSIP_SENDER_MAIN, 1714);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Rouge" , GOSSIP_SENDER_MAIN, 1715);
player->ADD_GOSSIP_ITEM( 5, "25 GM Tokens for Tier 6 - Druid" , GOSSIP_SENDER_MAIN, 1715);
player->ADD_GOSSIP_ITEM( 5, "GoodBye" , GOSSIP_SENDER_MAIN, 1500);
player->PlayerTalkClass->SendGossipMenu(5,_Creature->GetGUID());
return;
break;
// t5 items
case 1601://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30239;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1602://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30240;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1603://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30241;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
// t5 items
case 1604://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30242;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1605://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30243;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1606://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30244;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
// t5 items
case 1607://t5 shoulders
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30248;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1608://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30249;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1609://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30250;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
// t5 items
case 1610://t5 legs
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30245;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1611://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30246;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1612://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30247;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
// t5 items
case 1613://t5 shoulders
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30236;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1614://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30237;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1615://t5 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 20) )
{
uint32 itemId = 30238;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 20, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
//t6 items
case 1701://t6 shoulders
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31092;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1702://t6 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31094;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1703://t6 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31093;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
//t6 items
case 1704://t6 shoulders
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31097;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1705://t6 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31095;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1706://t6 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31096;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
//t6 items
case 1707://t6 shoulders
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31101;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1708://t6 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31103;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1709://t6 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31102;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
//t6 items
case 1710://t6 shoulders
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31098;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1711://t6 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31100;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1712://t6 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31099;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
//t6 items
case 1713://t6 shoulders
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31089;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1714://t6 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31091;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1715://t6 hands
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 25) )
{
uint32 itemId = 31090;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 25, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1416://outland stone
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 2) )
{
uint32 itemId = 69481199;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 2, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1417://outland stone
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 2) )
{
uint32 itemId = 69481198;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 2, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
case 1418://outland stone
player->CLOSE_GOSSIP_MENU();
if (player->HasItemCount(69481196, 5) )
{
uint32 itemId = 69481194;
uint16 dest;
uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, itemId, 1, false );
if( msg == EQUIP_ERR_OK )
{
Item* item = player->StoreNewItem( dest, itemId, 1, true);
player->DestroyItemCount(69481196, 5, true);
_Creature->Say("Check your backpack and please relog to save!", LANG_UNIVERSAL, NULL);
}
else
{
player->SendEquipError( msg, NULL, NULL );
}
}
else
{
_Creature->Yell("You need more GM Token(s), come back when you have some, now begone with you", LANG_UNIVERSAL, NULL);
}
break;
}
}
/*******************************************************
* End of GOSSIP_MENU
*******************************************************/
bool GossipSelect_npc_gm_token_shop(Player *player, Creature *_Creature, uint32
sender, uint32 action )
{
// Main menu
if (sender == GOSSIP_SENDER_MAIN)
SendDefaultMenu_npc_gm_token_shop(player, _Creature, action );
return true;
}
void AddSC_npc_gm_token_shop()
{
Script *newscript;
newscript = new Script;
newscript->Name="npc_gm_token_shop";
newscript->pGossipHello = &GossipHello_npc_gm_token_shop;
newscript->pGossipSelect = &GossipSelect_npc_gm_token_shop;
m_scripts[nrscripts++] = newscript;
}