[NPC] Equip Changer

Hello

(Sorry for my bad english, i am from Slovakia) /emoticons/default_rolleyes.gif

Complete: 60% (PvP - 100% , PvE - 20%)

General Informations:

This NPC is good for Fun servers and Instant (Maybe Blizzlike)

Work on TrinityCore2 rev.10851+

For Example. Retribution Paladin have full t10 , and can play on holy paladin. He use Equip Changer, and change his retribution set to holy set. In this changer you can change only sets. (Maybe in future, i add weapons, or accesorys but first i must complete PvE).

In PvE you can change normal or heroic sets.

PvP

100% Complete (All Classes)

PvE

20% Complete (Druid, Death Knight)

Script for Equip Changer NPC


#include "ScriptPCH.h"


class npc_equip : public CreatureScript

{

public:

    npc_equip() : CreatureScript("npc_equip") { }


    bool OnGossipHello(Player *player, Creature *_creature)

    {

        if (player->isInCombat())

        {

            player->CLOSE_GOSSIP_MENU();

            _creature->MonsterWhisper("Combat!", player->GetGUID());

            return true;

        }

        else

        {

            player->ADD_GOSSIP_ITEM( 8, "Death Knight"                     , GOSSIP_SENDER_MAIN, 1);

            player->ADD_GOSSIP_ITEM( 8, "Druid"                              , GOSSIP_SENDER_MAIN, 2);

            player->ADD_GOSSIP_ITEM( 8, "Hunter"                           , GOSSIP_SENDER_MAIN, 3);

            player->ADD_GOSSIP_ITEM( 8, "Mage"                               , GOSSIP_SENDER_MAIN, 4);

            player->ADD_GOSSIP_ITEM( 8, "Paladin"                          , GOSSIP_SENDER_MAIN, 5);

            player->ADD_GOSSIP_ITEM( 8, "Priest"                           , GOSSIP_SENDER_MAIN, 6);

            player->ADD_GOSSIP_ITEM( 8, "Rogue"                               , GOSSIP_SENDER_MAIN, 7);

            player->ADD_GOSSIP_ITEM( 8, "Shaman"                              , GOSSIP_SENDER_MAIN, 8);

            player->ADD_GOSSIP_ITEM( 8, "Warlock"                          , GOSSIP_SENDER_MAIN, 9);

            player->ADD_GOSSIP_ITEM( 8, "Warrior"                          , GOSSIP_SENDER_MAIN, 10);

        }


        player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

        return true;

    }


    bool TryToSellItem(Player *player, Creature *_creature, unsigned int reqID, unsigned int rewardID)

    {

        if (player->HasItemCount( reqID, 1, false ))

        {

            player->CLOSE_GOSSIP_MENU();


            //Addnutie Itemu

            uint32 noSpaceForCount = 0;


            //Kontrola volneho miesta v Bagu

            ItemPosCountVec dest;

            uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, rewardID, 1, &noSpaceForCount );

	     unsigned int count = 1;

            if( msg != EQUIP_ERR_OK )                               

                count -= noSpaceForCount;


            if( count == 0 || dest.empty())                         

            {

                ChatHandler(player).PSendSysMessage(LANG_ITEM_CANNOT_CREATE, rewardID, noSpaceForCount );

                return false;

            }

            player->DestroyItemCount(reqID, 1, true, false);

            Item* item = player->StoreNewItem( dest, rewardID, true, Item::GenerateItemRandomPropertyId(rewardID));


            return true;

        }


        player->CLOSE_GOSSIP_MENU();

        _creature->MonsterWhisper("Nemas pozadovany Item!", player->GetGUID());

        return false;

    }


    bool OnGossipSelect(Player *player, Creature *_creature, uint32 sender, uint32 uiAction)

    {

        if (sender == GOSSIP_SENDER_MAIN)

        {

            player->PlayerTalkClass->ClearMenus();

            switch(uiAction)

            {

            case 11://[Main Menu]

                player->ADD_GOSSIP_ITEM( 10, "Death Knight"                    , GOSSIP_SENDER_MAIN, 1);

                player->ADD_GOSSIP_ITEM( 10, "Druid"                              , GOSSIP_SENDER_MAIN, 2);

                player->ADD_GOSSIP_ITEM( 10, "Hunter"                          , GOSSIP_SENDER_MAIN, 3);

                player->ADD_GOSSIP_ITEM( 10, "Mage"                               , GOSSIP_SENDER_MAIN, 4);

                player->ADD_GOSSIP_ITEM( 10, "Paladin"                         , GOSSIP_SENDER_MAIN, 5);

                player->ADD_GOSSIP_ITEM( 10, "Priest"                          , GOSSIP_SENDER_MAIN, 6);

                player->ADD_GOSSIP_ITEM( 10, "Rogue"                           , GOSSIP_SENDER_MAIN, 7);

                player->ADD_GOSSIP_ITEM( 10, "Shaman"                             , GOSSIP_SENDER_MAIN, 8);

                player->ADD_GOSSIP_ITEM( 10, "Warlock"                         , GOSSIP_SENDER_MAIN, 9);

                player->ADD_GOSSIP_ITEM( 10, "Warrior"                         , GOSSIP_SENDER_MAIN, 10);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 1://Death Knight

                player->ADD_GOSSIP_ITEM( 9, "PvP [Wrathful]"                    , GOSSIP_SENDER_MAIN, 12);

                player->ADD_GOSSIP_ITEM( 3, "PvE [Tier 10]"                     , GOSSIP_SENDER_MAIN, 13);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 12://Death Knight - PVP

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 1);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 13://Death Knight - PVE

                player->ADD_GOSSIP_ITEM( 7, "Normal"                            , GOSSIP_SENDER_MAIN, 134);

                player->ADD_GOSSIP_ITEM( 7, "Heroic"                            , GOSSIP_SENDER_MAIN, 135);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 1);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 134://Death Knight - PVE - Normal

                player->ADD_GOSSIP_ITEM( 1, "Head"                              , GOSSIP_SENDER_MAIN, 136);

                player->ADD_GOSSIP_ITEM( 1, "Shoulders"                         , GOSSIP_SENDER_MAIN, 137);

                player->ADD_GOSSIP_ITEM( 1, "Chest"                             , GOSSIP_SENDER_MAIN, 138);

                player->ADD_GOSSIP_ITEM( 1, "Legs"                              , GOSSIP_SENDER_MAIN, 139);

                player->ADD_GOSSIP_ITEM( 1, "Hands"                             , GOSSIP_SENDER_MAIN, 140);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 13);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 136://Death Knight - PVE - Normal - Head

                player->ADD_GOSSIP_ITEM( 1, "Tank -> Damage"                   , GOSSIP_SENDER_MAIN, 146);

                player->ADD_GOSSIP_ITEM( 1, "Damage -> Tank"                  , GOSSIP_SENDER_MAIN, 147);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 134);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 146://Tank -> Damage

		    return TryToSellItem(player, _creature, 51133, 51127);


            case 147://Damage -> Tank

		    return TryToSellItem(player, _creature, 51127, 51133);


            case 137://Death Knight - PVE - Normal - Shoulders

                player->ADD_GOSSIP_ITEM( 1, "Tank -> Damage"                   , GOSSIP_SENDER_MAIN, 148);

                player->ADD_GOSSIP_ITEM( 1, "Damage -> Tank"                  , GOSSIP_SENDER_MAIN, 149);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 134);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 148://Tank -> Damage

		    return TryToSellItem(player, _creature, 51130, 51125);


            case 149://Damage -> Tank

		    return TryToSellItem(player, _creature, 51125, 51130);


            case 138://Death Knight - PVE - Normal - Chest

                player->ADD_GOSSIP_ITEM( 1, "Tank -> Damage"                   , GOSSIP_SENDER_MAIN, 150);

                player->ADD_GOSSIP_ITEM( 1, "Damage -> Tank"                  , GOSSIP_SENDER_MAIN, 151);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 134);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 150://Tank -> Damage

		    return TryToSellItem(player, _creature, 51134, 51129);


            case 151://Damage -> Tank

		    return TryToSellItem(player, _creature, 51129, 51134);


            case 139://Death Knight - PVE - Normal - Legs

                player->ADD_GOSSIP_ITEM( 1, "Tank -> Damage"                   , GOSSIP_SENDER_MAIN, 152);

                player->ADD_GOSSIP_ITEM( 1, "Damage -> Tank"                  , GOSSIP_SENDER_MAIN, 153);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 134);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 152://Tank -> Damage

		    return TryToSellItem(player, _creature, 51131, 51126);


            case 153://Damage -> Tank

		    return TryToSellItem(player, _creature, 51126, 51131);


            case 140://Death Knight - PVE - Normal - Hands

                player->ADD_GOSSIP_ITEM( 1, "Tank -> Damage"                   , GOSSIP_SENDER_MAIN, 154);

                player->ADD_GOSSIP_ITEM( 1, "Damage -> Tank"                  , GOSSIP_SENDER_MAIN, 155);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 134);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 154://Tank -> Damage

		    return TryToSellItem(player, _creature, 51132, 51128);


            case 155://Damage -> Tank

		    return TryToSellItem(player, _creature, 51128, 51132);


            case 135://Death Knight - PVE - Heroic

                player->ADD_GOSSIP_ITEM( 1, "Head"                              , GOSSIP_SENDER_MAIN, 141);

                player->ADD_GOSSIP_ITEM( 1, "Shoulders"                         , GOSSIP_SENDER_MAIN, 142);

                player->ADD_GOSSIP_ITEM( 1, "Chest"                             , GOSSIP_SENDER_MAIN, 143);

                player->ADD_GOSSIP_ITEM( 1, "Legs"                              , GOSSIP_SENDER_MAIN, 144);

                player->ADD_GOSSIP_ITEM( 1, "Hands"                             , GOSSIP_SENDER_MAIN, 145);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 13);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 141://Death Knight - PVE - Heroic - Head

                player->ADD_GOSSIP_ITEM( 1, "Tank -> Damage"                   , GOSSIP_SENDER_MAIN, 156);

                player->ADD_GOSSIP_ITEM( 1, "Damage -> Tank"                  , GOSSIP_SENDER_MAIN, 157);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 135);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 156://Tank -> Damage

		    return TryToSellItem(player, _creature, 51306, 51312);


            case 157://Damage -> Tank

		    return TryToSellItem(player, _creature, 51312, 51306);


            case 142://Death Knight - PVE - Heroic - Shoulders

                player->ADD_GOSSIP_ITEM( 1, "Tank -> Damage"                   , GOSSIP_SENDER_MAIN, 158);

                player->ADD_GOSSIP_ITEM( 1, "Damage -> Tank"                  , GOSSIP_SENDER_MAIN, 159);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 135);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 158://Tank -> Damage

		    return TryToSellItem(player, _creature, 51309, 51314);


            case 159://Damage -> Tank

		    return TryToSellItem(player, _creature, 51314, 51309);


            case 143://Death Knight - PVE - Heroic - Chest

                player->ADD_GOSSIP_ITEM( 1, "Tank -> Damage"                   , GOSSIP_SENDER_MAIN, 160);

                player->ADD_GOSSIP_ITEM( 1, "Damage -> Tank"                  , GOSSIP_SENDER_MAIN, 161);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 135);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 160://Tank -> Damage

		    return TryToSellItem(player, _creature, 51305, 51310);


            case 161://Damage -> Tank

		    return TryToSellItem(player, _creature, 51310, 51305);


            case 144://Death Knight - PVE - Heroic - Legs

                player->ADD_GOSSIP_ITEM( 1, "Tank -> Damage"                   , GOSSIP_SENDER_MAIN, 162);

                player->ADD_GOSSIP_ITEM( 1, "Damage -> Tank"                  , GOSSIP_SENDER_MAIN, 163);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 135);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 162://Tank -> Damage

		    return TryToSellItem(player, _creature, 51308, 51313);


            case 163://Damage -> Tank

		    return TryToSellItem(player, _creature, 51313, 51308);


            case 145://Death Knight - PVE - Heroic - Hands

                player->ADD_GOSSIP_ITEM( 1, "Tank -> Damage"                   , GOSSIP_SENDER_MAIN, 164);

                player->ADD_GOSSIP_ITEM( 1, "Damage -> Tank"                  , GOSSIP_SENDER_MAIN, 165);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 135);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 164://Tank -> Damage

		    return TryToSellItem(player, _creature, 51307, 51311);


            case 165://Damage -> Tank

		    return TryToSellItem(player, _creature, 51311, 51307);



            case 2://Druid

                player->ADD_GOSSIP_ITEM( 9, "PvP [Wrathful]"                    , GOSSIP_SENDER_MAIN, 14);

                player->ADD_GOSSIP_ITEM( 3, "PvE [Tier 10]"                     , GOSSIP_SENDER_MAIN, 15);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 14://Druid - PVP

                player->ADD_GOSSIP_ITEM( 1, "Head"                            , GOSSIP_SENDER_MAIN, 32);

                player->ADD_GOSSIP_ITEM( 1, "Shoulders"                            , GOSSIP_SENDER_MAIN, 33);

                player->ADD_GOSSIP_ITEM( 1, "Chest"                            , GOSSIP_SENDER_MAIN, 34);

                player->ADD_GOSSIP_ITEM( 1, "Legs"                            , GOSSIP_SENDER_MAIN, 35);

                player->ADD_GOSSIP_ITEM( 1, "Hands"                            , GOSSIP_SENDER_MAIN, 36);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 2);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 32://Druid - PvP - Head

                player->ADD_GOSSIP_ITEM( 10, "Balance -> Feral"               , GOSSIP_SENDER_MAIN, 51);

                player->ADD_GOSSIP_ITEM( 10, "Balance -> Restoration"         , GOSSIP_SENDER_MAIN, 52);

                player->ADD_GOSSIP_ITEM( 10, "Feral -> Balance"               , GOSSIP_SENDER_MAIN, 53);

                player->ADD_GOSSIP_ITEM( 10, "Feral -> Restoration"           , GOSSIP_SENDER_MAIN, 54);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Balance"         , GOSSIP_SENDER_MAIN, 55);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Feral"           , GOSSIP_SENDER_MAIN, 56);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 14);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 51://Balance -> Feral

                return TryToSellItem(player, _creature, 51435, 51427);


            case 52://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51435, 51421);


            case 53://Feral -> Balance

		    return TryToSellItem(player, _creature, 51427, 51435);


            case 54://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51427, 51421);


            case 55://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51421, 51435);


            case 56://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51421, 51427);


            case 33://Druid - PvP - Shoulders

                player->ADD_GOSSIP_ITEM( 10, "Balance -> Feral"               , GOSSIP_SENDER_MAIN, 57);

                player->ADD_GOSSIP_ITEM( 10, "Balance -> Restoration"         , GOSSIP_SENDER_MAIN, 58);

                player->ADD_GOSSIP_ITEM( 10, "Feral -> Balance"               , GOSSIP_SENDER_MAIN, 59);

                player->ADD_GOSSIP_ITEM( 10, "Feral -> Restoration"           , GOSSIP_SENDER_MAIN, 60);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Balance"         , GOSSIP_SENDER_MAIN, 61);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Feral"           , GOSSIP_SENDER_MAIN, 62);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 14);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 57://Balance -> Feral   

		    return TryToSellItem(player, _creature, 51438, 51430);


            case 58://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51438, 51424);


            case 59://Feral -> Balance

		    return TryToSellItem(player, _creature, 51430, 51438);


            case 60://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51430, 51424);


            case 61://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51424, 51438);


            case 62://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51424, 51430);


            case 34://Druid - PvP - Chest

                player->ADD_GOSSIP_ITEM( 10, "Balance -> Feral"               , GOSSIP_SENDER_MAIN, 63);

                player->ADD_GOSSIP_ITEM( 10, "Balance -> Restoration"         , GOSSIP_SENDER_MAIN, 64);

                player->ADD_GOSSIP_ITEM( 10, "Feral -> Balance"               , GOSSIP_SENDER_MAIN, 65);

                player->ADD_GOSSIP_ITEM( 10, "Feral -> Restoration"           , GOSSIP_SENDER_MAIN, 67);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Balance"         , GOSSIP_SENDER_MAIN, 68);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Feral"           , GOSSIP_SENDER_MAIN, 69);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 14);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 63://Balance -> Feral 

		    return TryToSellItem(player, _creature, 51433, 51425);


            case 64://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51433, 51419);


            case 65://Feral -> Balance

		    return TryToSellItem(player, _creature, 51425, 51433);


            case 67://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51425, 51419);


            case 68://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51419, 51433);


            case 69://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51419, 51425);


            case 35://Druid - PvP - Legs

                player->ADD_GOSSIP_ITEM( 10, "Balance -> Feral"               , GOSSIP_SENDER_MAIN, 70);

                player->ADD_GOSSIP_ITEM( 10, "Balance -> Restoration"         , GOSSIP_SENDER_MAIN, 71);

                player->ADD_GOSSIP_ITEM( 10, "Feral -> Balance"               , GOSSIP_SENDER_MAIN, 72);

                player->ADD_GOSSIP_ITEM( 10, "Feral -> Restoration"           , GOSSIP_SENDER_MAIN, 73);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Balance"         , GOSSIP_SENDER_MAIN, 74);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Feral"           , GOSSIP_SENDER_MAIN, 75);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 14);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 70://Balance -> Feral 

		    return TryToSellItem(player, _creature, 51436, 51428);


            case 71://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51436, 51422);


            case 72://Feral -> Balance

		    return TryToSellItem(player, _creature, 51428, 51436);


            case 73://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51428, 51422);


            case 74://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51422, 51436);


            case 75://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51422, 51428);


            case 36://Druid - PvP - Hands

                player->ADD_GOSSIP_ITEM( 10, "Balance -> Feral"               , GOSSIP_SENDER_MAIN, 76);

                player->ADD_GOSSIP_ITEM( 10, "Balance -> Restoration"         , GOSSIP_SENDER_MAIN, 77);

                player->ADD_GOSSIP_ITEM( 10, "Feral -> Balance"               , GOSSIP_SENDER_MAIN, 78);

                player->ADD_GOSSIP_ITEM( 10, "Feral -> Restoration"           , GOSSIP_SENDER_MAIN, 79);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Balance"         , GOSSIP_SENDER_MAIN, 80);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Feral"           , GOSSIP_SENDER_MAIN, 81);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 14);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 76://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51434, 51426);


            case 77://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51434, 51420);


            case 78://Feral -> Balance

		    return TryToSellItem(player, _creature, 51426, 51434);


            case 79://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51426, 51420);


            case 80://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51420, 51434);


            case 81://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51420, 51426);


            case 15://Druid - PVE

                player->ADD_GOSSIP_ITEM( 7, "Normal"                            , GOSSIP_SENDER_MAIN, 166);

                player->ADD_GOSSIP_ITEM( 7, "Heroic"                            , GOSSIP_SENDER_MAIN, 167);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 2);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 166://Druid - PVE - Normal

                player->ADD_GOSSIP_ITEM( 1, "Head"                              , GOSSIP_SENDER_MAIN, 168);

                player->ADD_GOSSIP_ITEM( 1, "Shoulders"                         , GOSSIP_SENDER_MAIN, 169);

                player->ADD_GOSSIP_ITEM( 1, "Chest"                             , GOSSIP_SENDER_MAIN, 170);

                player->ADD_GOSSIP_ITEM( 1, "Legs"                              , GOSSIP_SENDER_MAIN, 171);

                player->ADD_GOSSIP_ITEM( 1, "Hands"                             , GOSSIP_SENDER_MAIN, 172);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 13);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 168://Druid - PVE - Normal - Head

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Feral"                   , GOSSIP_SENDER_MAIN, 173);

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Restoration"                  , GOSSIP_SENDER_MAIN, 174);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Balance"                   , GOSSIP_SENDER_MAIN, 175);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Restoration"                  , GOSSIP_SENDER_MAIN, 176);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Balance"                   , GOSSIP_SENDER_MAIN, 177);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Feral"                  , GOSSIP_SENDER_MAIN, 178);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 166);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 173://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51149, 51143);


            case 174://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51149, 51137);


            case 175://Feral -> Balance

		    return TryToSellItem(player, _creature, 51143, 51149);


            case 176://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51143, 51137);


            case 177://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51137, 51149);


            case 178://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51137, 51143);


            case 169://Druid - PVE - Normal - Shoulders

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Feral"                   , GOSSIP_SENDER_MAIN, 179);

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Restoration"                  , GOSSIP_SENDER_MAIN, 180);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Balance"                   , GOSSIP_SENDER_MAIN, 181);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Restoration"                  , GOSSIP_SENDER_MAIN, 182);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Balance"                   , GOSSIP_SENDER_MAIN, 183);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Feral"                  , GOSSIP_SENDER_MAIN, 184);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 166);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 179://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51147, 51140);


            case 180://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51147, 51135);


            case 181://Feral -> Balance

		    return TryToSellItem(player, _creature, 51140, 51147);


            case 182://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51140, 51135);


            case 183://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51135, 51147);


            case 184://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51135, 51140);


            case 170://Druid - PVE - Normal - Chest

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Feral"                   , GOSSIP_SENDER_MAIN, 185);

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Restoration"                  , GOSSIP_SENDER_MAIN, 186);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Balance"                   , GOSSIP_SENDER_MAIN, 187);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Restoration"                  , GOSSIP_SENDER_MAIN, 188);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Balance"                   , GOSSIP_SENDER_MAIN, 189);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Feral"                  , GOSSIP_SENDER_MAIN, 190);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 166);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 185://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51145, 51141);


            case 186://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51145, 51139);


            case 187://Feral -> Balance

		    return TryToSellItem(player, _creature, 51141, 51145);


            case 188://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51141, 51139);


            case 189://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51139, 51145);


            case 190://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51139, 51141);


            case 171://Druid - PVE - Normal - Legs

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Feral"                   , GOSSIP_SENDER_MAIN, 191);

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Restoration"                  , GOSSIP_SENDER_MAIN, 192);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Balance"                   , GOSSIP_SENDER_MAIN, 193);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Restoration"                  , GOSSIP_SENDER_MAIN, 194);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Balance"                   , GOSSIP_SENDER_MAIN, 195);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Feral"                  , GOSSIP_SENDER_MAIN, 196);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 166);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 191://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51146, 51142);


            case 192://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51146, 51136);


            case 193://Feral -> Balance

		    return TryToSellItem(player, _creature, 51142, 51146);


            case 194://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51142, 51136);


            case 195://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51136, 51146);


            case 196://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51136, 51142);


            case 172://Druid - PVE - Normal - Hands

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Feral"                   , GOSSIP_SENDER_MAIN, 197);

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Restoration"                  , GOSSIP_SENDER_MAIN, 198);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Balance"                   , GOSSIP_SENDER_MAIN, 199);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Restoration"                  , GOSSIP_SENDER_MAIN, 200);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Balance"                   , GOSSIP_SENDER_MAIN, 201);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Feral"                  , GOSSIP_SENDER_MAIN, 202);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 166);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 197://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51148, 51144);


            case 198://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51148, 51138);


            case 199://Feral -> Balance

		    return TryToSellItem(player, _creature, 51144, 51148);


            case 200://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51144, 51138);


            case 201://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51138, 51148);


            case 202://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51138, 51144);


            case 167://Druid - PVE - Heroic

                player->ADD_GOSSIP_ITEM( 1, "Head"                              , GOSSIP_SENDER_MAIN, 203);

                player->ADD_GOSSIP_ITEM( 1, "Shoulders"                         , GOSSIP_SENDER_MAIN, 204);

                player->ADD_GOSSIP_ITEM( 1, "Chest"                             , GOSSIP_SENDER_MAIN, 205);

                player->ADD_GOSSIP_ITEM( 1, "Legs"                              , GOSSIP_SENDER_MAIN, 206);

                player->ADD_GOSSIP_ITEM( 1, "Hands"                             , GOSSIP_SENDER_MAIN, 207);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 13);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 203://Druid - PVE - Heroic - Head

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Feral"                   , GOSSIP_SENDER_MAIN, 208);

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Restoration"                  , GOSSIP_SENDER_MAIN, 209);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Balance"                   , GOSSIP_SENDER_MAIN, 210);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Restoration"                  , GOSSIP_SENDER_MAIN, 211);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Balance"                   , GOSSIP_SENDER_MAIN, 212);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Feral"                  , GOSSIP_SENDER_MAIN, 213);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 167);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 208://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51290, 51296);


            case 209://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51290, 51302);


            case 210://Feral -> Balance

		    return TryToSellItem(player, _creature, 51296, 51290);


            case 211://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51296, 51302);


            case 212://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51302, 51290);


            case 213://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51302, 51143);


            case 204://Druid - PVE - Heroic - Shoulders

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Feral"                   , GOSSIP_SENDER_MAIN, 214);

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Restoration"                  , GOSSIP_SENDER_MAIN, 215);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Balance"                   , GOSSIP_SENDER_MAIN, 216);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Restoration"                  , GOSSIP_SENDER_MAIN, 217);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Balance"                   , GOSSIP_SENDER_MAIN, 218);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Feral"                  , GOSSIP_SENDER_MAIN, 219);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 167);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 214://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51292, 51299);


            case 215://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51292, 51304);


            case 216://Feral -> Balance

		    return TryToSellItem(player, _creature, 51299, 51292);


            case 217://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51299, 51304);


            case 218://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51304, 51292);


            case 219://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51304, 51299);


            case 205://Druid - PVE - Heroic - Chest

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Feral"                   , GOSSIP_SENDER_MAIN, 220);

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Restoration"                  , GOSSIP_SENDER_MAIN, 221);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Balance"                   , GOSSIP_SENDER_MAIN, 222);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Restoration"                  , GOSSIP_SENDER_MAIN, 223);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Balance"                   , GOSSIP_SENDER_MAIN, 224);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Feral"                  , GOSSIP_SENDER_MAIN, 225);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 167);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 220://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51294, 51298);


            case 221://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51294, 51300);


            case 222://Feral -> Balance

		    return TryToSellItem(player, _creature, 51298, 51294);


            case 223://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51298, 51300);


            case 224://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51300, 51294);


            case 225://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51300, 51298);


            case 206://Druid - PVE - Heroic - Legs

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Feral"                   , GOSSIP_SENDER_MAIN, 226);

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Restoration"                  , GOSSIP_SENDER_MAIN, 227);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Balance"                   , GOSSIP_SENDER_MAIN, 228);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Restoration"                  , GOSSIP_SENDER_MAIN, 229);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Balance"                   , GOSSIP_SENDER_MAIN, 230);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Feral"                  , GOSSIP_SENDER_MAIN, 231);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 167);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 226://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51293, 51297);


            case 227://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51293, 51303);


            case 228://Feral -> Balance

		    return TryToSellItem(player, _creature, 51297, 51293);


            case 229://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51297, 51303);


            case 230://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51303, 51293);


            case 231://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51303, 51297);


            case 207://Druid - PVE - Heroic - Hands

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Feral"                   , GOSSIP_SENDER_MAIN, 232);

                player->ADD_GOSSIP_ITEM( 1, "Balance -> Restoration"                  , GOSSIP_SENDER_MAIN, 233);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Balance"                   , GOSSIP_SENDER_MAIN, 234);

                player->ADD_GOSSIP_ITEM( 1, "Feral -> Restoration"                  , GOSSIP_SENDER_MAIN, 235);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Balance"                   , GOSSIP_SENDER_MAIN, 236);

                player->ADD_GOSSIP_ITEM( 1, "Restoration -> Feral"                  , GOSSIP_SENDER_MAIN, 237);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 167);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 232://Balance -> Feral  

		    return TryToSellItem(player, _creature, 51291, 51295);


            case 233://Balance -> Restoration

		    return TryToSellItem(player, _creature, 51291, 51301);


            case 234://Feral -> Balance

		    return TryToSellItem(player, _creature, 51295, 51291);


            case 235://Feral -> Restoration

		    return TryToSellItem(player, _creature, 51295, 51301);


            case 236://Restoration -> Balance

		    return TryToSellItem(player, _creature, 51301, 51291);


            case 237://Restoration -> Feral

		    return TryToSellItem(player, _creature, 51301, 51295);


            case 3://Hunter

                player->ADD_GOSSIP_ITEM( 9, "PvP [Wrathful]"                    , GOSSIP_SENDER_MAIN, 16);

                player->ADD_GOSSIP_ITEM( 3, "PvE [Tier 10]"                     , GOSSIP_SENDER_MAIN, 17);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 16://Hunter - PVP

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 3);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 17://Hunter - PVE

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 3);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 4://Mage

                player->ADD_GOSSIP_ITEM( 9, "PvP [Wrathful]"                    , GOSSIP_SENDER_MAIN, 18);

                player->ADD_GOSSIP_ITEM( 3, "PvE [Tier 10]"                     , GOSSIP_SENDER_MAIN, 19);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 18://Mage - PVP

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 4);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 19://Mage - PVE

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 4);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 5://Paladin

                player->ADD_GOSSIP_ITEM( 9, "PvP [Wrathful]"                    , GOSSIP_SENDER_MAIN, 20);

                player->ADD_GOSSIP_ITEM( 3, "PvE [Tier 10]"                     , GOSSIP_SENDER_MAIN, 21);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 20://Paladin - PVP

                player->ADD_GOSSIP_ITEM( 1, "Head"                            , GOSSIP_SENDER_MAIN, 37);

                player->ADD_GOSSIP_ITEM( 1, "Shoulders"                            , GOSSIP_SENDER_MAIN, 38);

                player->ADD_GOSSIP_ITEM( 1, "Chest"                            , GOSSIP_SENDER_MAIN, 39);

                player->ADD_GOSSIP_ITEM( 1, "Legs"                            , GOSSIP_SENDER_MAIN, 40);

                player->ADD_GOSSIP_ITEM( 1, "Hands"                            , GOSSIP_SENDER_MAIN, 41);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 5);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 37://Paladin - PvP - Head

                player->ADD_GOSSIP_ITEM( 10, "Holy -> Retribution"            , GOSSIP_SENDER_MAIN, 82);

                player->ADD_GOSSIP_ITEM( 10, "Retribution -> Holy"            , GOSSIP_SENDER_MAIN, 83);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 20);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 82://Holy -> Retribution  

		    return TryToSellItem(player, _creature, 51470, 51476);


            case 83://Retribution -> Holy

		    return TryToSellItem(player, _creature, 51476, 51470);


            case 38://Paladin - PvP - Shoulders

                player->ADD_GOSSIP_ITEM( 10, "Holy -> Retribution"            , GOSSIP_SENDER_MAIN, 84);

                player->ADD_GOSSIP_ITEM( 10, "Retribution -> Holy"            , GOSSIP_SENDER_MAIN, 85);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 20);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 84://Holy -> Retribution

		    return TryToSellItem(player, _creature, 51473, 51479);


            case 85://Retribution -> Holy

		    return TryToSellItem(player, _creature, 51479, 51473);


            case 39://Paladin - PvP - Chest

                player->ADD_GOSSIP_ITEM( 10, "Holy -> Retribution"            , GOSSIP_SENDER_MAIN, 86);

                player->ADD_GOSSIP_ITEM( 10, "Retribution -> Holy"            , GOSSIP_SENDER_MAIN, 87);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 20);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 86://Holy -> Retribution

		    return TryToSellItem(player, _creature, 51468, 51474);


            case 87://Retribution -> Holy

		    return TryToSellItem(player, _creature, 51474, 51468);


            case 40://Paladin - PvP - Legs

                player->ADD_GOSSIP_ITEM( 10, "Holy -> Retribution"            , GOSSIP_SENDER_MAIN, 88);

                player->ADD_GOSSIP_ITEM( 10, "Retribution -> Holy"            , GOSSIP_SENDER_MAIN, 89);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 20);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 88://Holy -> Retribution

		    return TryToSellItem(player, _creature, 51471, 51477);


            case 89://Retribution -> Holy

		    return TryToSellItem(player, _creature, 51477, 51471);


            case 41://Paladin - PvP - Hands

                player->ADD_GOSSIP_ITEM( 10, "Holy -> Retribution"            , GOSSIP_SENDER_MAIN, 90);

                player->ADD_GOSSIP_ITEM( 10, "Retribution -> Holy"            , GOSSIP_SENDER_MAIN, 91);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 20);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 90://Holy -> Retribution

		    return TryToSellItem(player, _creature, 51469, 51475);


            case 91://Retribution -> Holy

		    return TryToSellItem(player, _creature, 51475, 51469);


            case 21://Paladin - PVE

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 5);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 6://Priest

                player->ADD_GOSSIP_ITEM( 9, "PvP [Wrathful]"                    , GOSSIP_SENDER_MAIN, 22);

                player->ADD_GOSSIP_ITEM( 3, "PvE [Tier 10]"                     , GOSSIP_SENDER_MAIN, 23);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 22://Priest - PVP

                player->ADD_GOSSIP_ITEM( 1, "Head"                            , GOSSIP_SENDER_MAIN, 42);

                player->ADD_GOSSIP_ITEM( 1, "Shoulders"                            , GOSSIP_SENDER_MAIN, 43);

                player->ADD_GOSSIP_ITEM( 1, "Chest"                            , GOSSIP_SENDER_MAIN, 44);

                player->ADD_GOSSIP_ITEM( 1, "Legs"                            , GOSSIP_SENDER_MAIN, 45);

                player->ADD_GOSSIP_ITEM( 1, "Hands"                            , GOSSIP_SENDER_MAIN, 46);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 6);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 42://Priest - PvP - Head

                player->ADD_GOSSIP_ITEM( 10, "Holy/Discipline -> Shadow"      , GOSSIP_SENDER_MAIN, 92);

                player->ADD_GOSSIP_ITEM( 10, "Shadow -> Holy/Discipline"      , GOSSIP_SENDER_MAIN, 93);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 22);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 92://Holy/Discipline -> Shadow

		    return TryToSellItem(player, _creature, 51484, 51489);


            case 93://Shadow -> Holy/Discipline

		    return TryToSellItem(player, _creature, 51489, 51484);


            case 43://Priest - PvP - Shoulders

                player->ADD_GOSSIP_ITEM( 10, "Holy/Discipline -> Shadow"      , GOSSIP_SENDER_MAIN, 94);

                player->ADD_GOSSIP_ITEM( 10, "Shadow -> Holy/Discipline"      , GOSSIP_SENDER_MAIN, 95);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 22);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 94://Holy/Discipline -> Shadow

		    return TryToSellItem(player, _creature, 51486, 51491);


            case 95://Shadow -> Holy/Discipline

		    return TryToSellItem(player, _creature, 51491, 51486);


            case 44://Priest - PvP - Chest

                player->ADD_GOSSIP_ITEM( 10, "Holy/Discipline -> Shadow"      , GOSSIP_SENDER_MAIN, 96);

                player->ADD_GOSSIP_ITEM( 10, "Shadow -> Holy/Discipline"      , GOSSIP_SENDER_MAIN, 97);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 22);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 96://Holy/Discipline -> Shadow

		    return TryToSellItem(player, _creature, 51482, 51487);


            case 97://Shadow -> Holy/Discipline

		    return TryToSellItem(player, _creature, 51487, 51482);


            case 45://Priest - PvP - Legs

                player->ADD_GOSSIP_ITEM( 10, "Holy/Discipline -> Shadow"      , GOSSIP_SENDER_MAIN, 98);

                player->ADD_GOSSIP_ITEM( 10, "Shadow -> Holy/Discipline"      , GOSSIP_SENDER_MAIN, 99);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 22);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 98://Holy/Discipline -> Shadow

		    return TryToSellItem(player, _creature, 51485, 51490);


            case 99://Shadow -> Holy/Discipline

		    return TryToSellItem(player, _creature, 51490, 51485);


            case 46://Priest - PvP - Hands

                player->ADD_GOSSIP_ITEM( 10, "Holy/Discipline -> Shadow"      , GOSSIP_SENDER_MAIN, 100);

                player->ADD_GOSSIP_ITEM( 10, "Shadow -> Holy/Discipline"      , GOSSIP_SENDER_MAIN, 101);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 22);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 100://Holy/Discipline -> Shadow

		    return TryToSellItem(player, _creature, 51483, 51488);


            case 101://Shadow -> Holy/Discipline

		    return TryToSellItem(player, _creature, 51488, 51483);


            case 23://Priest - PVE

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 6);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 7://Rogue

                player->ADD_GOSSIP_ITEM( 9, "PvP [Wrathful]"                    , GOSSIP_SENDER_MAIN, 24);

                player->ADD_GOSSIP_ITEM( 3, "PvE [Tier 10]"                     , GOSSIP_SENDER_MAIN, 25);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 24://Rogue - PVP

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 7);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 25://Rogue - PVE

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 7);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 8://Shaman

                player->ADD_GOSSIP_ITEM( 9, "PvP [Wrathful]"                    , GOSSIP_SENDER_MAIN, 26);

                player->ADD_GOSSIP_ITEM( 3, "PvE [Tier 10]"                     , GOSSIP_SENDER_MAIN, 27);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 26://Shaman - PVP

                player->ADD_GOSSIP_ITEM( 1, "Head"                            , GOSSIP_SENDER_MAIN, 47);

                player->ADD_GOSSIP_ITEM( 1, "Shoulders"                            , GOSSIP_SENDER_MAIN, 48);

                player->ADD_GOSSIP_ITEM( 1, "Chest"                            , GOSSIP_SENDER_MAIN, 49);

                player->ADD_GOSSIP_ITEM( 1, "Legs"                            , GOSSIP_SENDER_MAIN, 50);

                player->ADD_GOSSIP_ITEM( 1, "Hands"                            , GOSSIP_SENDER_MAIN, 132);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 8);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 47://Shaman - PvP - Head

                player->ADD_GOSSIP_ITEM( 10, "Elemental -> Enhancement"       , GOSSIP_SENDER_MAIN, 102);

                player->ADD_GOSSIP_ITEM( 10, "Elemental -> Restoration"       , GOSSIP_SENDER_MAIN, 103);

                player->ADD_GOSSIP_ITEM( 10, "Enhancement -> Elemental"       , GOSSIP_SENDER_MAIN, 104);

                player->ADD_GOSSIP_ITEM( 10, "Enhancement -> Restoration"     , GOSSIP_SENDER_MAIN, 105);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Elemental"       , GOSSIP_SENDER_MAIN, 106);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Enhancement"     , GOSSIP_SENDER_MAIN, 107);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 26);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 102://Elemental -> Enhancement    

		    return TryToSellItem(player, _creature, 51511, 51505);


            case 103://Elemental -> Restoration

		    return TryToSellItem(player, _creature, 51511, 51499);


            case 104://Enhancement -> Elemental

		    return TryToSellItem(player, _creature, 51505, 51511);


            case 105://Enhancement -> Restoration

		    return TryToSellItem(player, _creature, 51505, 51499);


            case 106://Restoration -> Elemental

		    return TryToSellItem(player, _creature, 51499, 51511);


            case 107://Restoration -> Enhancement

		    return TryToSellItem(player, _creature, 51499, 51505);


            case 48://Shaman - PvP - Shoulders

                player->ADD_GOSSIP_ITEM( 10, "Elemental -> Enhancement"       , GOSSIP_SENDER_MAIN, 108);

                player->ADD_GOSSIP_ITEM( 10, "Elemental -> Restoration"       , GOSSIP_SENDER_MAIN, 109);

                player->ADD_GOSSIP_ITEM( 10, "Enhancement -> Elemental"       , GOSSIP_SENDER_MAIN, 110);

                player->ADD_GOSSIP_ITEM( 10, "Enhancement -> Restoration"     , GOSSIP_SENDER_MAIN, 111);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Elemental"       , GOSSIP_SENDER_MAIN, 112);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Enhancement"     , GOSSIP_SENDER_MAIN, 113);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 26);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 108://Elemental -> Enhancement  

		    return TryToSellItem(player, _creature, 51514, 51508);


            case 109://Elemental -> Restoration

		    return TryToSellItem(player, _creature, 51514, 51502);


            case 110://Enhancement -> Elemental

		    return TryToSellItem(player, _creature, 51508, 51514);


            case 111://Enhancement -> Restoration

		    return TryToSellItem(player, _creature, 51508, 51502);


            case 112://Restoration -> Elemental

		    return TryToSellItem(player, _creature, 51502, 51514);


            case 113://Restoration -> Enhancement

		    return TryToSellItem(player, _creature, 51502, 51508);


            case 49://Shaman - PvP - Chest

                player->ADD_GOSSIP_ITEM( 10, "Elemental -> Enhancement"       , GOSSIP_SENDER_MAIN, 114);

                player->ADD_GOSSIP_ITEM( 10, "Elemental -> Restoration"       , GOSSIP_SENDER_MAIN, 115);

                player->ADD_GOSSIP_ITEM( 10, "Enhancement -> Elemental"       , GOSSIP_SENDER_MAIN, 116);

                player->ADD_GOSSIP_ITEM( 10, "Enhancement -> Restoration"     , GOSSIP_SENDER_MAIN, 117);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Elemental"       , GOSSIP_SENDER_MAIN, 118);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Enhancement"     , GOSSIP_SENDER_MAIN, 119);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 26);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 114://Elemental -> Enhancement   

		    return TryToSellItem(player, _creature, 51509, 51503);


            case 115://Elemental -> Restoration

		    return TryToSellItem(player, _creature, 51509, 51497);


            case 116://Enhancement -> Elemental

		    return TryToSellItem(player, _creature, 51503, 51509);


            case 117://Enhancement -> Restoration

		    return TryToSellItem(player, _creature, 51503, 51497);


            case 118://Restoration -> Elemental

		    return TryToSellItem(player, _creature, 51497, 51509);


            case 119://Restoration -> Enhancement

		    return TryToSellItem(player, _creature, 51497, 51503);


            case 50://Shaman - PvP - Legs

                player->ADD_GOSSIP_ITEM( 10, "Elemental -> Enhancement"       , GOSSIP_SENDER_MAIN, 120);

                player->ADD_GOSSIP_ITEM( 10, "Elemental -> Restoration"       , GOSSIP_SENDER_MAIN, 121);

                player->ADD_GOSSIP_ITEM( 10, "Enhancement -> Elemental"       , GOSSIP_SENDER_MAIN, 122);

                player->ADD_GOSSIP_ITEM( 10, "Enhancement -> Restoration"     , GOSSIP_SENDER_MAIN, 123);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Elemental"       , GOSSIP_SENDER_MAIN, 124);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Enhancement"     , GOSSIP_SENDER_MAIN, 125);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 26);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 120://Elemental -> Enhancement  

		    return TryToSellItem(player, _creature, 51512, 51506);


            case 121://Elemental -> Restoration

		    return TryToSellItem(player, _creature, 51512, 51500);


            case 122://Enhancement -> Elemental

		    return TryToSellItem(player, _creature, 51506, 51512);


            case 123://Enhancement -> Restoration

		    return TryToSellItem(player, _creature, 51506, 51500);


            case 124://Restoration -> Elemental

		    return TryToSellItem(player, _creature, 51500, 51512);


            case 125://Restoration -> Enhancement

		    return TryToSellItem(player, _creature, 51500, 51506);


            case 132://Shaman - PvP - Hands

                player->ADD_GOSSIP_ITEM( 10, "Elemental -> Enhancement"       , GOSSIP_SENDER_MAIN, 126);

                player->ADD_GOSSIP_ITEM( 10, "Elemental -> Restoration"       , GOSSIP_SENDER_MAIN, 127);

                player->ADD_GOSSIP_ITEM( 10, "Enhancement -> Elemental"       , GOSSIP_SENDER_MAIN, 128);

                player->ADD_GOSSIP_ITEM( 10, "Enhancement -> Restoration"     , GOSSIP_SENDER_MAIN, 129);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Elemental"       , GOSSIP_SENDER_MAIN, 130);

                player->ADD_GOSSIP_ITEM( 10, "Restoration -> Enhancement"     , GOSSIP_SENDER_MAIN, 131);

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                         , GOSSIP_SENDER_MAIN, 26);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                     , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 126://Elemental -> Enhancement  

		    return TryToSellItem(player, _creature, 51510, 51504);


            case 127://Elemental -> Restoration

		    return TryToSellItem(player, _creature, 51510, 51498);


            case 128://Enhancement -> Elemental

		    return TryToSellItem(player, _creature, 51504, 51510);


            case 129://Enhancement -> Restoration

		    return TryToSellItem(player, _creature, 51504, 51498);


            case 130://Restoration -> Elemental

		    return TryToSellItem(player, _creature, 51498, 51510);


            case 131://Restoration -> Enhancement

		    return TryToSellItem(player, _creature, 51498, 51504);


            case 27://Shaman - PVE

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 8);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 9://Warlock

                player->ADD_GOSSIP_ITEM( 9, "PvP [Wrathful]"                    , GOSSIP_SENDER_MAIN, 28);

                player->ADD_GOSSIP_ITEM( 3, "PvE [Tier 10]"                     , GOSSIP_SENDER_MAIN, 29);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 28://Warlock - PVP

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 9);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 29://Warlock - PVE

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 9);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 10://Warrior

                player->ADD_GOSSIP_ITEM( 9, "PvP [Wrathful]"                    , GOSSIP_SENDER_MAIN, 30);

                player->ADD_GOSSIP_ITEM( 3, "PvE [Tier 10]"                     , GOSSIP_SENDER_MAIN, 31);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 30://Warrior - PVP

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 10);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;


            case 31://Warrior - PVE

                player->ADD_GOSSIP_ITEM( 7, "[Back]"                            , GOSSIP_SENDER_MAIN, 10);

                player->ADD_GOSSIP_ITEM( 7, "[Main Menu]"                       , GOSSIP_SENDER_MAIN, 11);


                player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         

                break;

                break;

            default:

                break;             

            }

        }

        return true;

    }

};


void AddSC_npc_equip()

{

    new npc_equip();

}

it sounds good.

can u make a patch?caus i don’t know how to put these codes into core and make them work…

copy the code and save it as npcequip.cpp and put it into the src/server/scripts/Custom folder

then add

[CODE]void AddSC_npc_equip();

AddSC_npc_equip();[/CODE]

into the src/server/game/scripting/scriptloader.cpp (look at how other lines are put into there)

(here is an example:

at top of scriptloader.cpp

[CODE]#include “ScriptLoader.h”

//examples

void AddSC_example_creature();

void AddSC_example_escort();

void AddSC_example_gossip_codebox();

void AddSC_example_misc();

void AddSC_example_commandscript();

//custom

void AddSC_npc_equip();[/CODE]

at the bottom of the scriptloader.cpp

[CODE]void AddCustomScripts()

{

#ifdef SCRIPTS

/* This is where custom scripts should be added. */


//custom

AddSC_npc_equip();[/CODE]

)

then just add into the src/server/scripts/CMakeLists.txt :

under this

[CODE]set(scripts_STAT_SRCS

${scripts_STAT_SRCS}[/CODE]

add this:

Custom/npcequip.cpp

so it looks like this:

[CODE]set(scripts_STAT_SRCS

${scripts_STAT_SRCS}

Custom/npcequip.cpp[/CODE]

its how simple its going to get then just rerun cmake (if you run windows) and compile or compile in linux

OH yes!I made it!And compile 100%(in windows).THx marcus!

Here is another question:

Where is the sql for the script?How can i use it in game?

make an npc (not that hard in the DB) then in the scriptname field in creature_template table in world database you add:

npc_equip

or just run this sql that i made:

[CODE]

SET @ENTRY := 99001;

INSERT INTO creature_template (entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction_A, faction_H, npcflag, speed_walk, speed_run, scale, rank, mindmg, maxdmg, dmgschool, attackpower, dmg_multiplier, baseattacktime, rangeattacktime, unit_class, unit_flags, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, minrangedmg, maxrangedmg, rangedattackpower, type, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, Health_mod, Mana_mod, Armor_mod, RacialLeader, questItem1, questItem2, questItem3, questItem4, questItem5, questItem6, movementId, RegenHealth, equipment_id, mechanic_immune_mask, flags_extra, ScriptName, WDBVerified) VALUES (@ENTRY, 0, 0, 0, 0, 0, 24191, 0, 0, 0, ‘Equip Changer’, NULL, NULL, 0, 80, 80, 0, 35, 35, 1, 1, 1, 1, 0, 422, 586, 0, 642, 3.5, 2000, 0, 1, 0, 8, 0, 0, 0, 0, 0, 345, 509, 103, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘’, 0, 1, 1500, 1500, 1500, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, ‘npc_equip’, 0);[/CODE]

Change the

SET @ENTRY := 99001;

to whaterver id you want (the number then lol)

Can you create one Pull Request for this? also, if you can use database to set the gear to allow equip testers of dungeons with lvl 175,200,213,226,232,245,251,264 items better.