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

Npc que vende MeteorScroll

Ir para baixo

Npc que vende MeteorScroll Empty Npc que vende MeteorScroll

Mensagem por FelipeXP Dom Out 04, 2015 10:32 am

Código:
#region MeteorScrollSeller
                case 9761237:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("Welcome , iam a GreatSeller iam selling the Precious MeteorScrolls , So you won' be iNNeed to Make them by Buying alot of Meteors from Shopping , so wanna buy any MeteorScrools ?");
                                    dialog.Option("1 MeteorScroll (100)", 1);
                                    dialog.Option("5 MeteorScroll (500)", 5);
                                    dialog.Option("10 MeteorScroll (1000)", 10);
                                    dialog.Send();
                                    break;
                                }
                            case 1:
                                {
                                    if (client.Entity.ConquerPoints >= 0)
                                    {
                                        client.Entity.ConquerPoints -= 0;
                                        client.Inventory.Add(720027, 0, 1);
                                        dialog.Send();
                                        break;
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry,You need 100 Cps to Continue");
                                        dialog.Option("Oh,Sorry", 255);
                                        dialog.Send();
                                        break;
                                    }
                                }
                            case 5:
                                {
                                    if (client.Entity.ConquerPoints >= 0)
                                    {
                                        client.Entity.ConquerPoints -= 0;
                                        client.Inventory.Add(720027, 0, 5);
                                        dialog.Send();
                                        break;
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry,You need 500 Cps to Continue");
                                        dialog.Option("Oh,Sorry", 255);
                                        dialog.Send();
                                        break;
                                    }
                                }
                            case 10:
                                {
                                    if (client.Entity.ConquerPoints >= 0)
                                    {
                                        client.Entity.ConquerPoints -= 0;
                                        client.Inventory.Add(720027, 0, 10);
                                        dialog.Send();
                                        break;
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry,You need 1000 Cps to Continue");
                                        dialog.Option("Oh,Sorry", 255);
                                        dialog.Send();
                                        break;
                                    }
                                }
                            case 20:
                                {
                                    if (client.Entity.ConquerPoints >= 0)
                                    {
                                        client.Entity.ConquerPoints -= 0;
                                        client.Inventory.Add(723726, 0, 20);
                                        dialog.Send();
                                        break;
                                    }
                                    else
                                    {
                                        dialog.Text("Sorry,You need 2000 Cps to Continue");
                                        dialog.Option("Oh,Sorry", 255);
                                        dialog.Send();
                                        break;
                                    }
                                }
                        }
                        break;
                    }
                #endregion

No navicat :

Código:
INSERT INTO `npcs` VALUES ('9761237', '0', '0', 'VendedorM', '0002', '27656', '-1', '1002', '0293', '0268', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '0', '0', '', '0000', '00', '00', '0000', '00', null);

FelipeXP
Membro
Membro

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

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

gustavohilario555 gosta desta mensagem

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