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

NPC Venda de StudyPoints, OblivDew, StabStone, Stone +8.

Ir para baixo

NPC Venda de StudyPoints, OblivDew, StabStone, Stone +8. Empty NPC Venda de StudyPoints, OblivDew, StabStone, Stone +8.

Mensagem por luanstpf Ter Jun 26, 2018 3:29 pm

Código:
#region Fix p6 e Obliv Luan Stpf
                case 30303030:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("No que posso te ajudar?");
                                    dialog.Option("StabilizeStone - 100k ", 3);
                                    dialog.Option("OblivionDew - 100k ", 4);
                                    dialog.Option("StudyPoints (1500) - 15k ", 5);
                                    dialog.Option("Stone +8 - 26k ", 6);
                                    dialog.Option("Gold (5m) - 50k", 7);
                                    dialog.Option("Apenas passando.", 255);
                                    dialog.Avatar(80);
                                    dialog.Send();
                                    break;
                                }
                            case 3:
                                {

                                    if (client.Entity.ConquerPoints >= 100000)
                                    {
                                        client.Entity.ConquerPoints -= 100000;
                                        client.Inventory.Add(723695, 0, 1);

                                    }
                                    else
                                    {
                                        dialog.Text("Você não tem 100000 ConquerPoints.");
                                        dialog.Option("Desculpa.", 255);
                                        dialog.Avatar(80);
                                        dialog.Send();
                                    }
                                    break;
                                }
                            case 4:
                                {

                                    if (client.Entity.ConquerPoints >= 100000)
                                    {
                                        client.Entity.ConquerPoints -= 100000;
                                        client.Inventory.Add(711083, 0, 1);

                                    }
                                    else
                                    {
                                        dialog.Text("Você não tem 100000 ConquerPoints.");
                                        dialog.Option("Desculpa.", 255);
                                        dialog.Avatar(80);
                                        dialog.Send();
                                    }
                                    break;
                                }
                           case 5:
                                {

                                    if (client.Entity.ConquerPoints >= 15000)
                                    {
                                        client.Entity.ConquerPoints -= 15000;
                                        client.Entity.SubProStages.StudyPoints += 1500;
                                    }
                                    else
                                    {
                                        dialog.Text("Você não tem 15000 ConquerPoints.");
                                        dialog.Option("Desculpa.", 255);
                                        dialog.Avatar(80);
                                        dialog.Send();
                                    }
                                    break;
                                }
                            case 6:
                                {

                                    if (client.Entity.ConquerPoints >= 26000)
                                    {
                                        client.Entity.ConquerPoints -= 26000;
                                        client.Inventory.Add(730008, 0, 1);

                                    }
                                    else
                                    {
                                        dialog.Text("Você não tem 26000 ConquerPoints.");
                                        dialog.Option("Desculpa.", 255);
                                        dialog.Avatar(80);
                                        dialog.Send();
                                    }
                                    break;
                                }
                            case 7:
                                {

                                    if (client.Entity.ConquerPoints >= 50000)
                                    {
                                        client.Entity.ConquerPoints -= 50000;
                                        client.Entity.Money += 5000000;

                                    }
                                    else
                                    {
                                        dialog.Text("Você não tem 50000 ConquerPoints.");
                                        dialog.Option("Desculpa.", 255);
                                        dialog.Avatar(80);
                                        dialog.Send();
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                #endregion

Colocar em Npcs.cs na source depois arrumar no Navicat.




NPC Venda de StudyPoints, OblivDew, StabStone, Stone +8. 1n5lNhQ
luanstpf
luanstpf
Membro
Membro

Mensagens : 48
Data de inscrição : 13/04/2017
Idade : 22
Localização : Curitiba

Ir para o topo Ir para baixo

Ir para o topo


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