Criando um Conquer
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Title Storage Manager

Ir para baixo

Title Storage Manager  Empty Title Storage Manager

Mensagem por FelipeXP Sáb Jul 30, 2016 12:13 am

Para adicionar na NPC.cs
Código:
#region Title Storage Manager
                case 471613:
                    {
                        dialog.Avatar(218);
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("Hello " + client.Entity.Name + ", How are you ? I am the manager of the new titles / wings");
                                    dialog.Text("Do you want to buy wings / titles ? [Your points are " + client.Entity.TitlePoints);
                                    dialog.Option("Wings", 1);
                                    dialog.Option("titles", 2);
                                    dialog.Option("Activate", 110);
                                    dialog.Option("Ineed 50000 title points for 1000 cps", 100); //Marko
                                    break;
                                }
                            case 110:
                                {
                                    new CoatStorage().Login(client);
                                    new TitleStorage().Login(client);
                                    break;
                                }
                            case 100:
                                {
                                    if (client.Entity.ConquerPoints >= 1000)
                                    {
                                        if (client.Entity.ConquerPoints >= 1000)
                                        {
                                            client.Entity.ConquerPoints -= 1000;
                                            client.Entity.TitlePoints += 50000;

                                            dialog.Text("Congratulations you got Points");
                                            dialog.Option("Thanks.", 255);
                                            dialog.Send();
                                        }
                                        else
                                        {
                                            dialog.Text("Please come back to me with 1000 Cps.");
                                            dialog.Option("Ahh sorry.", 255);
                                            dialog.Send();
                                        }
                                    }
                                    else
                                    {
                                        dialog.Text("Please come back to me with 1000 Cps.");
                                        dialog.Option("Ahh sorry.", 255);
                                        dialog.Send();
                                    }
                                    break;
                                }
                            case 2:
                                {
                                    dialog.Text("Hello Select if you Wont for titles ");
                                    dialog.Text("Do you want to buy titles ? [Your points are " + client.Entity.TitlePoints);
                                    dialog.Option("Overlord title", 3);
                                    dialog.Option("Grandmaster title", 4);
                                    dialog.Option("RisingStar title", 5);
                                    dialog.Option("Victor title", 6);
                                    dialog.Option("Conqueror title", 7);
                                    dialog.Option("Talent title", 8);
                                    dialog.Option("Fashionist title", 9);
                                    dialog.Option("SwiftChaser title", 10);
                                    dialog.Option("Handsome title", 11);//2024
                                    dialog.Option("Scholar title", 12);//2023
                                    dialog.Option("Beauty title", 13);//2022
                                    dialog.Option("Goddess title", 14);//2021
                                    dialog.Option("Fairy title", 15);//2020
                                    dialog.Option("Wise Title", 16);//2025
                                    dialog.Option("EARTH Knight Title", 17);
                                    dialog.Option("SKY Knight Title", 18);
                                    dialog.Option("Glory Knight Title", 19);
                                    dialog.Option("Paladin Title", 20);
                                    dialog.Option("World renowned Title", 29);
                                    dialog.Option("World dominator Title", 30);
                                    dialog.Option("Big Fan Title", 31);
                                    dialog.Option("Euro Collector Title", 32);
                                    dialog.Option("thanks", 255);
                                    dialog.Avatar(218);
                                    dialog.Send();
                                    break;//Titles
                                }
                            case 1:
                                {
                                    dialog.Text("Hello Select if you Wont for Wings ");
                                    dialog.Text("Do you want to buy wings ? [Your points are " + client.Entity.TitlePoints);
                                    dialog.Option("CTF Wing", 21);
                                    dialog.Option("5 Star Garment Wing", 22);
                                    dialog.Option("5 Star Mount aramor", 23);
                                    dialog.Option("ElitePkChampion Wing", 24);
                                    dialog.Option("Fairy Wings", 25);//6005
                                    dialog.Option("Wings of Planet", 26);
                                    dialog.Option("Wings Of VioletLightning", 27);
                                    dialog.Option("Wings of VioletCloud", 28);
                                    dialog.Option("thanks", 255);
                                    dialog.Avatar(218);
                                    dialog.Send();
                                    break;
                                }
                            case 21:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 400)
                                    {
                                        client.Entity.TitlePoints -= 400;
                                        client.Entity.WTitles.AddTitle(6002, 21, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 400 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 22:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 200)
                                    {
                                        client.Entity.TitlePoints -= 200;
                                        client.Entity.WTitles.AddTitle(6003, 22, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 200 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 23:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 150)
                                    {
                                        client.Entity.TitlePoints -= 150;
                                        client.Entity.WTitles.AddTitle(6004, 23, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 150 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 3:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 200)
                                    {
                                        client.Entity.TitlePoints -= 200;
                                        client.Entity.WTitles.AddTitle(1, 1000, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 200 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 4:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 300)
                                    {
                                        client.Entity.TitlePoints -= 300;
                                        client.Entity.WTitles.AddTitle(2018, 1, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 300 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 5:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 270)
                                    {
                                        client.Entity.TitlePoints -= 270;
                                        client.Entity.WTitles.AddTitle(2001, 2, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 270 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 6:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 250)
                                    {
                                        client.Entity.TitlePoints -= 250;
                                        client.Entity.WTitles.AddTitle(2002, 3, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 250 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 7:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 230)
                                    {
                                        client.Entity.TitlePoints -= 230;
                                        client.Entity.WTitles.AddTitle(2003, 4, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 230 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 8:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 200)
                                    {
                                        client.Entity.TitlePoints -= 200;
                                        client.Entity.WTitles.AddTitle(2004, 5, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 200 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 9:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 150)
                                    {
                                        client.Entity.TitlePoints -= 150;
                                        client.Entity.WTitles.AddTitle(2005, 6, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 150 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 24:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 400)
                                    {
                                        client.Entity.TitlePoints -= 400;
                                        client.Entity.WTitles.AddTitle(6001, 20, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 400 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 10:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2006, 7, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 25:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(6005, 6005, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 11:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2024, 2024, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 12:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2023, 2023, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 13:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2022, 2022, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 14:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2021, 2021, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 15:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2020, 2020, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 16:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2025, 2025, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 17:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2028, 2028, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 18:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2029, 2029, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 19:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2030, 2030, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 20:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(2031, 2031, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 26:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 500)
                                    {
                                        client.Entity.TitlePoints -= 500;
                                        client.Entity.WTitles.AddTitle(6009, 6009, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 27:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 500)
                                    {
                                        client.Entity.TitlePoints -= 500;
                                        client.Entity.WTitles.AddTitle(6008, 6008, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 28:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 100)
                                    {
                                        client.Entity.TitlePoints -= 100;
                                        client.Entity.WTitles.AddTitle(6007, 6007, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 29:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 300)
                                    {
                                        client.Entity.TitlePoints -= 300;
                                        client.Entity.WTitles.AddTitle(2027, 2027, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 30:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 300)
                                    {
                                        client.Entity.TitlePoints -= 300;
                                        client.Entity.WTitles.AddTitle(2026, 2026, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 31:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 300)
                                    {
                                        client.Entity.TitlePoints -= 300;
                                        client.Entity.WTitles.AddTitle(2032, 2032, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }
                                    break;
                                }
                            case 32:
                                {
                                    if (client.Entity.WTitles != null && client.Entity.TitlePoints > 300)
                                    {
                                        client.Entity.TitlePoints -= 300;
                                        client.Entity.WTitles.AddTitle(2033, 2033, false);
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry, you don't have enough points , You need 100 point");
                                        dialog.Option("Oh , Shit !", byte.MaxValue);
                                    }

                                    break;
                                }

                        }
                        break;
                    }
                #endregion  
Title Storage Manager  346lvgh
Title Storage Manager  2r2nk7l
Title Storage Manager  A0c2d

FelipeXP
Membro
Membro

Mensagens : 320
Data de inscrição : 28/05/2014

https://www.youtube.com/channel/UCOmLJd3M1OSrMmlcR7UGlhw

Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

 
Permissões neste sub-fórum
Não podes responder a tópicos