سلام ، آیا این بازدید اول شماست ؟ یا
logo_forum_header

تبلیغات
×
+
سفارش تبلیغات

نمایش نتایج: از 1 به 1 از 1

موضوع: اسکریپت Enchanter

  1. #1
    جایزه ها:
    پایان دهنده بحث ها

    شماره عضویت
    8
    تاریخ عضویت
    Oct 2014
    نوشته ها
    256
    نسل
    نسل مورد علاقه
    نژاد
    نژاد  مورد علاقه
    کلاس
     کلاس  مورد علاقه
    سورس
     سورس مورد علاقه
    پسندیده : 110
    مورد پسند : 311 بار در 153 پست
    سیستم عامل و مرورگر:

    اسکریپت Enchanter

    با سلام


    اینم اسکریپت Enchanter


    کد PHP:
    enum Enchants
    {
        
    ENCHANT_WEP_BERSERKING              3789,
        
    ENCHANT_WEP_BLADE_WARD              3869,
        
    ENCHANT_WEP_BLOOD_DRAINING          3870,
        
    ENCHANT_WEP_ACCURACY                3788,
        
    ENCHANT_WEP_AGILITY_1H              1103,
        
    ENCHANT_WEP_SPIRIT                  3844,
        
    ENCHANT_WEP_BATTLEMASTER            2675,
        
    ENCHANT_WEP_BLACK_MAGIC             3790,
        
    ENCHANT_WEP_ICEBREAKER              3239,
        
    ENCHANT_WEP_LIFEWARD                3241,
        
    ENCHANT_WEP_MIGHTY_SPELL_POWER      3834// One-hand
        
    ENCHANT_WEP_EXECUTIONER             3225,
        
    ENCHANT_WEP_POTENCY                 3833,
        
    ENCHANT_WEP_TITANGUARD              3851,
        
    ENCHANT_2WEP_MASSACRE               3827,
        
    ENCHANT_2WEP_SCOURGEBANE            3247,
        
    ENCHANT_2WEP_GIANT_SLAYER            3251,
        
    ENCHANT_2WEP_GREATER_SPELL_POWER    3854,
        
    ENCHANT_2WEP_AGILITY                2670,
        
    ENCHANT_2WEP_MONGOOSE               2673,

        
    ENCHANT_SHIELD_DEFENSE              1952,
        
    ENCHANT_SHIELD_INTELLECT            1128,
        
    ENCHANT_SHIELD_RESILIENCE           3229,
        
    ENCHANT_SHIELD_BLOCK                2655,
        
    ENCHANT_SHIELD_STAMINA                1071,
        
    ENCHANT_SHIELD_TOUGHSHIELD            2653,
        
    ENCHANT_SHIELD_TITANIUM_PLATING     3849,

        
    ENCHANT_HEAD_BLISSFUL_MENDING       3819,
        
    ENCHANT_HEAD_BURNING_MYSTERIES      3820,
        
    ENCHANT_HEAD_DOMINANCE              3796,
        
    ENCHANT_HEAD_SAVAGE_GLADIATOR       3842,
        
    ENCHANT_HEAD_STALWART_PROTECTOR     3818,
        
    ENCHANT_HEAD_TORMENT                3817,
        
    ENCHANT_HEAD_TRIUMPH                3795,
        
    ENCHANT_HEAD_ECLIPSED_MOON            3815,
        
    ENCHANT_HEAD_FLAME_SOUL                3816,
        
    ENCHANT_HEAD_FLEEING_SHADOW            3814,
        
    ENCHANT_HEAD_FROSTY_SOUL            3812,
        
    ENCHANT_HEAD_TOXIC_WARDING            3813,
        
        
    ENCHANT_SHOULDER_MASTERS_AXE        3835,
        
    ENCHANT_SHOULDER_MASTERS_CRAG       3836,
        
    ENCHANT_SHOULDER_MASTERS_PINNACLE   3837,
        
    ENCHANT_SHOULDER_MASTERS_STORM      3838,
        
    ENCHANT_SHOULDER_GREATER_AXE        3808,
        
    ENCHANT_SHOULDER_GREATER_CRAG       3809,
        
    ENCHANT_SHOULDER_GREATER_GLADIATOR  3852,
        
    ENCHANT_SHOULDER_GREATER_PINNACLE   3811,
        
    ENCHANT_SHOULDER_GREATER_STORM      3810,
        
    ENCHANT_SHOULDER_DOMINANCE          3794,
        
    ENCHANT_SHOULDER_TRIUMPH            3793,

        
    ENCHANT_CLOAK_DARKGLOW_EMBROIDERY   3728,
        
    ENCHANT_CLOAK_SWORDGUARD_EMBROIDERY 3730,
        
    ENCHANT_CLOAK_LIGHTWEAVE_EMBROIDERY 3722,
        
    ENCHANT_CLOAK_SPRINGY_ARACHNOWEAVE  3859,
        
    ENCHANT_CLOAK_WISDOM                3296,
        
    ENCHANT_CLOAK_TITANWEAVE            1951,
        
    ENCHANT_CLOAK_SPELL_PIERCING        3243,
        
    ENCHANT_CLOAK_SHADOW_ARMOR          3256,
        
    ENCHANT_CLOAK_MIGHTY_ARMOR          3294,
        
    ENCHANT_CLOAK_MAJOR_AGILITY         1099,
        
    ENCHANT_CLOAK_GREATER_SPEED         3831,

        
    ENCHANT_LEG_EARTHEN                    3853,
        
    ENCHANT_LEG_FROSTHIDE                3822,
        
    ENCHANT_LEG_ICESCALE                3823,
        
    ENCHANT_LEG_BRILLIANT_SPELLTHREAD    3719,
        
    ENCHANT_LEG_SAPPHIRE_SPELLTHREAD    3721,
        
    ENCHANT_LEG_DRAGONSCALE                3331,
        
    ENCHANT_LEG_WYRMSCALE                3332,

        
    ENCHANT_GLOVES_GREATER_BLASTING        3249,
        
    ENCHANT_GLOVES_ARMSMAN                3253,
        
    ENCHANT_GLOVES_CRUSHER                1603,
        
    ENCHANT_GLOVES_AGILITY                3222,
        
    ENCHANT_GLOVES_PRECISION            3234,
        
    ENCHANT_GLOVES_EXPERTISE            3231,

        
    ENCHANT_BRACERS_MAJOR_STAMINA        3850,
        
    ENCHANT_BRACERS_SUPERIOR_SP            2332,
        
    ENCHANT_BRACERS_GREATER_ASSUALT        3845,
        
    ENCHANT_BRACERS_MAJOR_SPIRT            1147,
        
    ENCHANT_BRACERS_EXPERTISE            3231,
        
    ENCHANT_BRACERS_GREATER_STATS        2661,
        
    ENCHANT_BRACERS_INTELLECT            1119,
        
    ENCHANT_BRACERS_FURL_ARCANE            3763,
        
    ENCHANT_BRACERS_FURL_FIRE            3759,
        
    ENCHANT_BRACERS_FURL_FROST            3760,
        
    ENCHANT_BRACERS_FURL_NATURE            3762,
        
    ENCHANT_BRACERS_FURL_SHADOW            3761,
        
    ENCHANT_BRACERS_FURL_ATTACK            3756,
        
    ENCHANT_BRACERS_FURL_STAMINA        3757,
        
    ENCHANT_BRACERS_FURL_SPELLPOWER        3758,

        
    ENCHANT_CHEST_POWERFUL_STATS        3832,
        
    ENCHANT_CHEST_SUPER_HEALTH            3297,
        
    ENCHANT_CHEST_GREATER_MAINA_REST        2381,
        
    ENCHANT_CHEST_EXCEPTIONAL_RESIL        3245,
        
    ENCHANT_CHEST_GREATER_DEFENSE        1953,

        
    ENCHANT_BOOTS_GREATER_ASSULT        1597,
        
    ENCHANT_BOOTS_TUSKARS_VITLIATY        3232,
        
    ENCHANT_BOOTS_SUPERIOR_AGILITY        983,
        
    ENCHANT_BOOTS_GREATER_SPIRIT        1147,
        
    ENCHANT_BOOTS_GREATER_VITALITY        3244,
        
    ENCHANT_BOOTS_ICEWALKER                3826,
        
    ENCHANT_BOOTS_GREATER_FORTITUDE        1075,
        
    ENCHANT_BOOTS_NITRO_BOOTS            3606,
        
    ENCHANT_BOOTS_PYRO_ROCKET            3603,
        
    ENCHANT_BOOTS_HYPERSPEED            3604,
        
    ENCHANT_BOOTS_ARMOR_WEBBING            3860,

        
    ENCHANT_RING_ASSULT                    3839,
        
    ENCHANT_RING_GREATER_SP                3840,
        
    ENCHANT_RING_STAMINA                3791,
    };

    #include "ScriptPCH.h"
     
    void Enchant(PlayerplayerItemitemuint32 enchantid)
    {
        if (!
    item)
        {
            
    player->GetSession()->SendNotification("You must first equip the item you are trying to enchant in order to enchant it!");
            return;
        }

        if (!
    enchantid)
        {
            
    player->GetSession()->SendNotification("Something went wrong in the code. It has been logged for developers and will be looked into, sorry for the inconvenience.");
            return;
        }
            
        
    item->ClearEnchantment(PERM_ENCHANTMENT_SLOT);
        
    item->SetEnchantment(PERM_ENCHANTMENT_SLOTenchantid00);
        
    player->GetSession()->SendNotification("|cff0000FF%s |cffFF0000succesfully enchanted!"item->GetTemplate()->Name1.c_str());
    }
     
    class 
    npc_enchantment : public CreatureScript
    {
    public:
        
    npc_enchantment() : CreatureScript("npc_enchantment") { }
     
            
    bool OnGossipHello(PlayerplayerCreaturecreature)
            {
                
    player->ADD_GOSSIP_ITEM(1"[Welcome to the enchanting NPC!]"GOSSIP_SENDER_MAIN0);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant Weapon]"GOSSIP_SENDER_MAIN1);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant 2H Weapon]"GOSSIP_SENDER_MAIN2);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant Shield]"GOSSIP_SENDER_MAIN3);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant Head]"GOSSIP_SENDER_MAIN4);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant Shoulders]"GOSSIP_SENDER_MAIN5);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant Cloak]"GOSSIP_SENDER_MAIN6);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant Chest]"GOSSIP_SENDER_MAIN7);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant Bracers]"GOSSIP_SENDER_MAIN8);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant Gloves]"GOSSIP_SENDER_MAIN9);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant Legs]"GOSSIP_SENDER_MAIN10);
                
    player->ADD_GOSSIP_ITEM(1"[Enchant Feet]"GOSSIP_SENDER_MAIN11);

                if (
    player->HasSkill(SKILL_ENCHANTING) && player->GetSkillValue(SKILL_ENCHANTING) == 450)
                    
    player->ADD_GOSSIP_ITEM(1"[Enchant Rings]"GOSSIP_SENDER_MAIN12);

                
    player->PlayerTalkClass->SendGossipMenu(100001creature->GetGUID());
                return 
    true;
            }
     
            
    bool OnGossipSelect(PlayerplayerCreaturecreatureuint32 /*sender*/uint32 action)
            {
                
    Item item;
                
    player->PlayerTalkClass->ClearMenus();

                switch (
    action)
                {
                    case 
    0//Welcome message on click
                        
    player->GetSession()->SendAreaTriggerMessage("|cffFF0000Hello there, I will be enchanting your gear!");

                    {
                        
    player->ADD_GOSSIP_ITEM(1"[Welcome to the enchanting NPC!]"GOSSIP_SENDER_MAIN0);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant Weapon]"GOSSIP_SENDER_MAIN1);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant 2H Weapon]"GOSSIP_SENDER_MAIN2);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant Shield]"GOSSIP_SENDER_MAIN3);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant Head]"GOSSIP_SENDER_MAIN4);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant Shoulders]"GOSSIP_SENDER_MAIN5);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant Cloak-]"GOSSIP_SENDER_MAIN6);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant Chest]"GOSSIP_SENDER_MAIN7);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant Bracers]"GOSSIP_SENDER_MAIN8);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant Gloves]"GOSSIP_SENDER_MAIN9);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant Legs]"GOSSIP_SENDER_MAIN10);
                        
    player->ADD_GOSSIP_ITEM(1"[Enchant Feet]"GOSSIP_SENDER_MAIN11);

                        if (
    player->HasSkill(SKILL_ENCHANTING) && player->GetSkillValue(SKILL_ENCHANTING) == 450)
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Rings]"GOSSIP_SENDER_MAIN12);
                            
                        
    player->PlayerTalkClass->SendGossipMenu(100001creature->GetGUID());
                        return 
    true;
                        break;
                    }


                    case 
    1// Enchant Weapon
                        
    if (player->HasSkill(SKILL_ENCHANTING) && player->GetSkillValue(SKILL_ENCHANTING) == 450)
                        {
                            
    player->ADD_GOSSIP_ITEM(1"Blade Ward"GOSSIP_SENDER_MAIN102);
                            
    player->ADD_GOSSIP_ITEM(1"Blood Draining"GOSSIP_SENDER_MAIN103);
                        }
                        
    player->ADD_GOSSIP_ITEM(1"Exceptional Agility"GOSSIP_SENDER_MAIN100);
                        
    player->ADD_GOSSIP_ITEM(1"Exceptional Spirit"GOSSIP_SENDER_MAIN101);
                        
    player->ADD_GOSSIP_ITEM(1"Berserking"GOSSIP_SENDER_MAIN104);
                        
    player->ADD_GOSSIP_ITEM(1"Accuracy"GOSSIP_SENDER_MAIN105);
                        
    player->ADD_GOSSIP_ITEM(1"Black Magic"GOSSIP_SENDER_MAIN106);
                        
    player->ADD_GOSSIP_ITEM(1"Battlemaster"GOSSIP_SENDER_MAIN107);
                        
    player->ADD_GOSSIP_ITEM(1"Icebreaker"GOSSIP_SENDER_MAIN108);
                        
    player->ADD_GOSSIP_ITEM(1"Lifeward"GOSSIP_SENDER_MAIN109);
                        
    player->ADD_GOSSIP_ITEM(1"Titanguard"GOSSIP_SENDER_MAIN110);
                        
    player->ADD_GOSSIP_ITEM(1"Superior Potency"GOSSIP_SENDER_MAIN111);
                        
    player->ADD_GOSSIP_ITEM(1"Mighty Spellpower"GOSSIP_SENDER_MAIN112);
                        
    player->ADD_GOSSIP_ITEM(1"Mongoose"GOSSIP_SENDER_MAIN113);
                        
    player->ADD_GOSSIP_ITEM(1"Executioner"GOSSIP_SENDER_MAIN114);
                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                        
    player->PlayerTalkClass->SendGossipMenu(100002creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    2// Enchant 2H Weapon
                        
    item player->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND);
                                    if (!
    item)
                                                        {
                                                                
    creature->MonsterWhisper("This enchant needs a 2H weapon equiped."player->GetGUID());
                                                                
    player->CLOSE_GOSSIP_MENU();
                                                            return 
    false;
                                                        }
                                    if(
    item->GetTemplate()->InventoryType == INVTYPE_2HWEAPON)
                                    {
                                        
    player->ADD_GOSSIP_ITEM(1"Berserking"GOSSIP_SENDER_MAIN104);
                                        
    player->ADD_GOSSIP_ITEM(1"Mongoose"GOSSIP_SENDER_MAIN113);
                                        
    player->ADD_GOSSIP_ITEM(1"Executioner"GOSSIP_SENDER_MAIN114);
                                        
    player->ADD_GOSSIP_ITEM(1"Greater Spellpower"GOSSIP_SENDER_MAIN115);
                                        
    player->ADD_GOSSIP_ITEM(1"Major Agility"GOSSIP_SENDER_MAIN116);
                                        
    player->ADD_GOSSIP_ITEM(1"Massacre"GOSSIP_SENDER_MAIN117);
                                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                                    }
                                    else 
                                    {
                                        
    creature->MonsterWhisper("This enchant needs a 2H weapon equiped."player->GetGUID());
                                        
    player->CLOSE_GOSSIP_MENU();
                                    }
                                        
    player->PlayerTalkClass->SendGossipMenu(100003creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    3// Enchant Shield
                            
    item player->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_OFFHAND);
                                                            if (!
    item)
                                                        {
                                                                
    creature->MonsterWhisper("This enchant needs a shield equiped."player->GetGUID());
                                                                
    player->CLOSE_GOSSIP_MENU();
                                                            return 
    false;
                                                        }
                            if (
    item->GetTemplate()->InventoryType == INVTYPE_SHIELD)
                            {
                                
    player->ADD_GOSSIP_ITEM(1"Defense"GOSSIP_SENDER_MAIN118);
                                
    player->ADD_GOSSIP_ITEM(1"Greater Intellect"GOSSIP_SENDER_MAIN119);
                                
    player->ADD_GOSSIP_ITEM(1"Resilience"GOSSIP_SENDER_MAIN120);
                                
    player->ADD_GOSSIP_ITEM(1"Titanium Plating"GOSSIP_SENDER_MAIN121);
                                
    player->ADD_GOSSIP_ITEM(1"Major Stamina"GOSSIP_SENDER_MAIN122);
                                
    player->ADD_GOSSIP_ITEM(1"Tough Shield"GOSSIP_SENDER_MAIN123);
                                
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                            }
                            else
                            {
                                
    creature->MonsterWhisper("This enchant needs a shield equiped."player->GetGUID());
                                
    player->CLOSE_GOSSIP_MENU();
                            }
                                
    player->PlayerTalkClass->SendGossipMenu(100004creature->GetGUID());
                                return 
    true;
                                break;

                    case 
    4// Enchant Head
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of Blissful Mending"GOSSIP_SENDER_MAIN124);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of Burning Mysteries"GOSSIP_SENDER_MAIN125);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of Dominance"GOSSIP_SENDER_MAIN126);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of The Savage Gladiator"GOSSIP_SENDER_MAIN127);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of The Stalwart Protector"GOSSIP_SENDER_MAIN128);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of Torment"GOSSIP_SENDER_MAIN129);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of Triumph"GOSSIP_SENDER_MAIN130);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of Eclipsed Moon"GOSSIP_SENDER_MAIN131);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of the Flame's Soul"GOSSIP_SENDER_MAIN132);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of the Fleeing Shadow"GOSSIP_SENDER_MAIN133);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of the Frosty Soul"GOSSIP_SENDER_MAIN134);
                        
    player->ADD_GOSSIP_ITEM(1"Arcanum of Toxic Warding"GOSSIP_SENDER_MAIN135);
                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                        
    player->PlayerTalkClass->SendGossipMenu(100005creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    5// Enchant Shoulders
                        
    if (player->HasSkill(SKILL_INSCRIPTION) && player->GetSkillValue(SKILL_INSCRIPTION) == 450)
                        {
                            
    player->ADD_GOSSIP_ITEM(1"Master's Inscription of the Axe"GOSSIP_SENDER_MAIN136);
                            
    player->ADD_GOSSIP_ITEM(1"Master's Inscription of the Crag"GOSSIP_SENDER_MAIN137);
                            
    player->ADD_GOSSIP_ITEM(1"Master's Inscription of the Pinnacle"GOSSIP_SENDER_MAIN138);
                            
    player->ADD_GOSSIP_ITEM(1"Master's Inscription of the Storm"GOSSIP_SENDER_MAIN139);
                        }
                        
    player->ADD_GOSSIP_ITEM(1"Greater Inscription of the Axe"GOSSIP_SENDER_MAIN140);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Inscription of the Crag"GOSSIP_SENDER_MAIN141);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Inscription of the Pinnacle"GOSSIP_SENDER_MAIN142);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Inscription of the Gladiator"GOSSIP_SENDER_MAIN143);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Inscription of the Storm"GOSSIP_SENDER_MAIN144);
                        
    player->ADD_GOSSIP_ITEM(1"Inscription of Dominance"GOSSIP_SENDER_MAIN145);
                        
    player->ADD_GOSSIP_ITEM(1"Inscription of Triumph"GOSSIP_SENDER_MAIN146);
                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                        
    player->PlayerTalkClass->SendGossipMenu(100006creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    6// Enchant Cloak
                     
    if (player->HasSkill(SKILL_TAILORING) && player->GetSkillValue(SKILL_TAILORING) == 450)
                      {
                        
    player->ADD_GOSSIP_ITEM(1"Darkglow Embroidery"GOSSIP_SENDER_MAIN149);
                        
    player->ADD_GOSSIP_ITEM(1"Lightweave Embroidery"GOSSIP_SENDER_MAIN150);
                        
    player->ADD_GOSSIP_ITEM(1"Swordguard Embroidery"GOSSIP_SENDER_MAIN151); 
                      }
                      if (
    player->HasSkill(SKILL_ENGINEERING) && player->GetSkillValue(SKILL_ENGINEERING) == 450)
                      {
                        
    player->ADD_GOSSIP_ITEM(1"Springy Arachnoweave"GOSSIP_SENDER_MAIN147);
                      }
                        
    player->ADD_GOSSIP_ITEM(1"Shadow Armor"GOSSIP_SENDER_MAIN148);                  
                        
    player->ADD_GOSSIP_ITEM(1"Wisdom"GOSSIP_SENDER_MAIN152);
                        
    player->ADD_GOSSIP_ITEM(1"Titanweave"GOSSIP_SENDER_MAIN153);
                        
    player->ADD_GOSSIP_ITEM(1"Spell Piercing"GOSSIP_SENDER_MAIN154);
                        
    player->ADD_GOSSIP_ITEM(1"Mighty Armor"GOSSIP_SENDER_MAIN155);
                        
    player->ADD_GOSSIP_ITEM(1"Major Agility"GOSSIP_SENDER_MAIN156);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Speed"GOSSIP_SENDER_MAIN157);
                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                        
    player->PlayerTalkClass->SendGossipMenu(100007creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    7//Enchant chest
                        
    player->ADD_GOSSIP_ITEM(1"Powerful Stats"GOSSIP_SENDER_MAIN158);
                        
    player->ADD_GOSSIP_ITEM(1"Super Health"GOSSIP_SENDER_MAIN159);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Mana Restoration"GOSSIP_SENDER_MAIN160);
                        
    player->ADD_GOSSIP_ITEM(1"Exceptional Resilience"GOSSIP_SENDER_MAIN161);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Defense"GOSSIP_SENDER_MAIN162);
                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                        
    player->PlayerTalkClass->SendGossipMenu(100008creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    8//Enchant Bracers
                        
    player->ADD_GOSSIP_ITEM(1"Major Stamina"GOSSIP_SENDER_MAIN163);
                        
    player->ADD_GOSSIP_ITEM(1"Superior Spell Power"GOSSIP_SENDER_MAIN164);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Assult"GOSSIP_SENDER_MAIN165);
                        
    player->ADD_GOSSIP_ITEM(1"Major Spirit"GOSSIP_SENDER_MAIN166);
                        
    player->ADD_GOSSIP_ITEM(1"Expertise"GOSSIP_SENDER_MAIN167);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Stats"GOSSIP_SENDER_MAIN168);
                        
    player->ADD_GOSSIP_ITEM(1"Exceptional Intellect"GOSSIP_SENDER_MAIN169);
                         if (
    player->HasSkill(SKILL_LEATHERWORKING) && player->GetSkillValue(SKILL_LEATHERWORKING) == 450)
                       {
                        
    player->ADD_GOSSIP_ITEM(1"Fur Lining - Arcane Resist"GOSSIP_SENDER_MAIN170);
                        
    player->ADD_GOSSIP_ITEM(1"Fur Lining - Fire Resist"GOSSIP_SENDER_MAIN171);
                        
    player->ADD_GOSSIP_ITEM(1"Fur Lining - Frost Resist"GOSSIP_SENDER_MAIN172);
                        
    player->ADD_GOSSIP_ITEM(1"Fur Lining - Nature Resist"GOSSIP_SENDER_MAIN173);
                        
    player->ADD_GOSSIP_ITEM(1"Fur Lining - Shadow Resist"GOSSIP_SENDER_MAIN174);
                        
    player->ADD_GOSSIP_ITEM(1"Fur Lining - Attack power"GOSSIP_SENDER_MAIN175);
                        
    player->ADD_GOSSIP_ITEM(1"Fur Lining - Stamina"GOSSIP_SENDER_MAIN176);
                        
    player->ADD_GOSSIP_ITEM(1"Fur Lining - Spellpower"GOSSIP_SENDER_MAIN177);
                       }
                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                        
    player->PlayerTalkClass->SendGossipMenu(100009creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    9//Enchant Gloves
                     
    if (player->HasSkill(SKILL_ENGINEERING) && player->GetSkillValue(SKILL_ENGINEERING) == 450)
                       {
                        
    player->ADD_GOSSIP_ITEM(1"Greater Blasting"GOSSIP_SENDER_MAIN178);
                       }
                        
    player->ADD_GOSSIP_ITEM(1"Armsman"GOSSIP_SENDER_MAIN179);
                        
    player->ADD_GOSSIP_ITEM(1"Crusher"GOSSIP_SENDER_MAIN180);
                        
    player->ADD_GOSSIP_ITEM(1"Agility"GOSSIP_SENDER_MAIN181);
                        
    player->ADD_GOSSIP_ITEM(1"Precision"GOSSIP_SENDER_MAIN182);
                        
    player->ADD_GOSSIP_ITEM(1"Expertise"GOSSIP_SENDER_MAIN183);
                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                        
    player->PlayerTalkClass->SendGossipMenu(100010creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    10//Enchant legs
                        
    player->ADD_GOSSIP_ITEM(1"Earthen Leg Armor"GOSSIP_SENDER_MAIN184);
                        
    player->ADD_GOSSIP_ITEM(1"Frosthide Leg Armor"GOSSIP_SENDER_MAIN185);
                        
    player->ADD_GOSSIP_ITEM(1"Icescale Leg Armor"GOSSIP_SENDER_MAIN186);
                        
    player->ADD_GOSSIP_ITEM(1"Brilliant Spellthread"GOSSIP_SENDER_MAIN187);
                        
    player->ADD_GOSSIP_ITEM(1"Sapphire Spellthread"GOSSIP_SENDER_MAIN188);
                        
    player->ADD_GOSSIP_ITEM(1"Dragonscale Leg Armor"GOSSIP_SENDER_MAIN189);
                        
    player->ADD_GOSSIP_ITEM(1"Wyrmscale Leg Armor"GOSSIP_SENDER_MAIN190);
                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                        
    player->PlayerTalkClass->SendGossipMenu(100011creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    11//Enchant feet
                        
    player->ADD_GOSSIP_ITEM(1"Greater Assult"GOSSIP_SENDER_MAIN191);
                        
    player->ADD_GOSSIP_ITEM(1"Tuskars Vitliaty"GOSSIP_SENDER_MAIN192);
                        
    player->ADD_GOSSIP_ITEM(1"Superior Agility"GOSSIP_SENDER_MAIN193);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Spirit"GOSSIP_SENDER_MAIN194);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Vitality"GOSSIP_SENDER_MAIN195);
                        
    player->ADD_GOSSIP_ITEM(1"Icewalker"GOSSIP_SENDER_MAIN196);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Fortitude"GOSSIP_SENDER_MAIN197);
                         if (
    player->HasSkill(SKILL_ENGINEERING) && player->GetSkillValue(SKILL_ENGINEERING) == 450)
                       {
                        
    player->ADD_GOSSIP_ITEM(1"Nitro Boots"GOSSIP_SENDER_MAIN198);
                        
    player->ADD_GOSSIP_ITEM(1"Hand-Mounted Pyro Rocket"GOSSIP_SENDER_MAIN199);
                        
    player->ADD_GOSSIP_ITEM(1"Hyperspeed Accedlerators"GOSSIP_SENDER_MAIN200);
                        
    player->ADD_GOSSIP_ITEM(1"Reticulated Armor Webbing"GOSSIP_SENDER_MAIN201);
                       }
                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                        
    player->PlayerTalkClass->SendGossipMenu(100012creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    12//Enchant rings
                        
    player->ADD_GOSSIP_ITEM(1"Assult"GOSSIP_SENDER_MAIN202);
                        
    player->ADD_GOSSIP_ITEM(1"Greater Spell Power"GOSSIP_SENDER_MAIN203);
                        
    player->ADD_GOSSIP_ITEM(1"Stamina"GOSSIP_SENDER_MAIN204);
                        
    player->ADD_GOSSIP_ITEM(1"<-Back"GOSSIP_SENDER_MAIN300);
                        
    player->PlayerTalkClass->SendGossipMenu(100013creature->GetGUID());
                        return 
    true;
                        break;

                    case 
    100:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_AGILITY_1H);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    101:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_SPIRIT);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    102:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_BLADE_WARD);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    103:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_BLOOD_DRAINING);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    104:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_BERSERKING);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    105:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_ACCURACY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    106:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_BLACK_MAGIC);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    107:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_BATTLEMASTER);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    108:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_ICEBREAKER);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    109:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_LIFEWARD);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    110:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_TITANGUARD);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    111:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_POTENCY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    112:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_MIGHTY_SPELL_POWER);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    113:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_2WEP_MONGOOSE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    114:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_WEP_EXECUTIONER);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    115:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_2WEP_GREATER_SPELL_POWER);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    116:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_2WEP_AGILITY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    117:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_MAINHAND), ENCHANT_2WEP_MASSACRE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    118:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_OFFHAND), ENCHANT_SHIELD_DEFENSE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    119:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_OFFHAND), ENCHANT_SHIELD_INTELLECT);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    120:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_OFFHAND), ENCHANT_SHIELD_RESILIENCE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    121:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_OFFHAND), ENCHANT_SHIELD_TITANIUM_PLATING);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    122:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_OFFHAND), ENCHANT_SHIELD_STAMINA);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    123:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_OFFHAND), ENCHANT_SHIELD_TOUGHSHIELD);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    124:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_BLISSFUL_MENDING);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    125:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_BURNING_MYSTERIES);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    126:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_DOMINANCE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    127:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_SAVAGE_GLADIATOR);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    128:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_STALWART_PROTECTOR);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    129:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_TORMENT);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    130:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_TRIUMPH);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    131:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_ECLIPSED_MOON);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    132:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_FLAME_SOUL);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    133:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_FLEEING_SHADOW);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    134:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_FROSTY_SOUL);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    135:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HEAD), ENCHANT_HEAD_TOXIC_WARDING);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    136:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_MASTERS_AXE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    137:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_MASTERS_CRAG);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    138:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_MASTERS_PINNACLE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    139:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_MASTERS_STORM);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    140:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_GREATER_AXE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    141:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_GREATER_CRAG);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    142:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_GREATER_GLADIATOR);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    143:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_GREATER_PINNACLE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    144:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_GREATER_STORM);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    145:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_DOMINANCE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    146:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_SHOULDERS), ENCHANT_SHOULDER_TRIUMPH);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    147:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_SPRINGY_ARACHNOWEAVE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    148:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_SHADOW_ARMOR);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    149:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_DARKGLOW_EMBROIDERY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    150:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_LIGHTWEAVE_EMBROIDERY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    151:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_SWORDGUARD_EMBROIDERY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    152:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_WISDOM);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    153:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_TITANWEAVE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    154:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_SPELL_PIERCING);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    155:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_MIGHTY_ARMOR);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    156:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_MAJOR_AGILITY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    157:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_BACK), ENCHANT_CLOAK_GREATER_SPEED);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    158:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_CHEST), ENCHANT_CHEST_POWERFUL_STATS);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    159:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_CHEST), ENCHANT_CHEST_SUPER_HEALTH);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    160:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_CHEST), ENCHANT_CHEST_GREATER_MAINA_REST);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    161:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_CHEST), ENCHANT_CHEST_EXCEPTIONAL_RESIL);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    162:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_CHEST), ENCHANT_CHEST_GREATER_DEFENSE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    163:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_MAJOR_STAMINA);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    164:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_SUPERIOR_SP);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    165:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_GREATER_ASSUALT);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    166:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_MAJOR_SPIRT);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    167:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_EXPERTISE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    168:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_GREATER_STATS);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    169:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_INTELLECT);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    170:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_FURL_ARCANE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    171:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_FURL_FIRE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    172:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_FURL_FROST);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    173:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_FURL_NATURE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    174:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_FURL_SHADOW);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    175:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_FURL_ATTACK);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    176:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_FURL_STAMINA);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    177:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_WRISTS), ENCHANT_BRACERS_FURL_SPELLPOWER);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    178:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HANDS), ENCHANT_GLOVES_GREATER_BLASTING);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    179:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HANDS), ENCHANT_GLOVES_ARMSMAN);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    180:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HANDS), ENCHANT_GLOVES_CRUSHER);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    181:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HANDS), ENCHANT_GLOVES_AGILITY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    182:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HANDS), ENCHANT_GLOVES_PRECISION);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    183:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_HANDS), ENCHANT_GLOVES_EXPERTISE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    184:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_LEGS), ENCHANT_LEG_EARTHEN);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    185:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_LEGS), ENCHANT_LEG_FROSTHIDE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    186:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_LEGS), ENCHANT_LEG_ICESCALE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    187:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_LEGS), ENCHANT_LEG_BRILLIANT_SPELLTHREAD);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    188:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_LEGS), ENCHANT_LEG_SAPPHIRE_SPELLTHREAD);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    189:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_LEGS), ENCHANT_LEG_DRAGONSCALE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    190:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_LEGS), ENCHANT_LEG_WYRMSCALE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    191:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_GREATER_ASSULT);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    192:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_TUSKARS_VITLIATY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    193:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_SUPERIOR_AGILITY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    194:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_GREATER_SPIRIT);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    195:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_GREATER_VITALITY);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    196:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_ICEWALKER);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    197:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_GREATER_FORTITUDE);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    198:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_NITRO_BOOTS);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    199:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_PYRO_ROCKET);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    200:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_HYPERSPEED);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    201:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FEET), ENCHANT_BOOTS_ARMOR_WEBBING);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    202:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FINGER1), ENCHANT_RING_ASSULT);
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FINGER2), ENCHANT_RING_ASSULT);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    203:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FINGER1), ENCHANT_RING_GREATER_SP);
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FINGER2), ENCHANT_RING_GREATER_SP);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    204:
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FINGER1), ENCHANT_RING_STAMINA);
                        
    Enchant(playerplayer->GetItemByPos(INVENTORY_SLOT_BAG_0EQUIPMENT_SLOT_FINGER2), ENCHANT_RING_STAMINA);
                        
    player->PlayerTalkClass->SendCloseGossip();
                        break;

                    case 
    300:
                        {
                            
    player->ADD_GOSSIP_ITEM(1"[Welcome to the enchanting NPC!]"GOSSIP_SENDER_MAIN0);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Weapon]"GOSSIP_SENDER_MAIN1);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant 2H Weapon]"GOSSIP_SENDER_MAIN2);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Shield]"GOSSIP_SENDER_MAIN3);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Head]"GOSSIP_SENDER_MAIN4);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Shoulders]"GOSSIP_SENDER_MAIN5);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Cloak]"GOSSIP_SENDER_MAIN6);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Chest]"GOSSIP_SENDER_MAIN7);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Bracers]"GOSSIP_SENDER_MAIN8);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Gloves]"GOSSIP_SENDER_MAIN9);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Legs]"GOSSIP_SENDER_MAIN10);
                            
    player->ADD_GOSSIP_ITEM(1"[Enchant Feet]"GOSSIP_SENDER_MAIN11);

                            if (
    player->HasSkill(SKILL_ENCHANTING) && player->GetSkillValue(SKILL_ENCHANTING) == 450)
                                
    player->ADD_GOSSIP_ITEM(1"[Enchant Rings]"GOSSIP_SENDER_MAIN12);

                            
    player->PlayerTalkClass->SendGossipMenu(100001creature->GetGUID());
                            return 
    true;
                            break;
                        }
                }
                return 
    true;
            }
    };

    void AddSC_npc_enchantment()
    {
      new 
    npc_enchantment();

    2 کاربر پست Ezio عزیز را پسندیده اند .

    CrawDance (02-06-2016),Nightprince (10-28-2014)

    مردم دنیا زمان رو 3 حالت می بینن

    اما ما ایرانیا 4 حالت:

    زمان گذشته ، زمان حال ، زمان آینده ، زمـــان شـــــــاہ.....!!!!

    Hamed.Wower@yahoo.com

  2. # ADS
    سیستم تبلیغات
    تاریخ عضویت
    01/01/2014
    نوشته ها
    پستی ندارد.
     

کلمات کلیدی این موضوع

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •