عرض مشاركة واحدة
قديم 2020-01-28, 02:43 AM
المشاركة 7
Mostafa Shalby
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: اخر مشكلة في اللوتري
ادي الانبي سي اللي انتا قولتلي علية اللي ف المركت

كود بلغة HTML:
#region LadyLuck
                                case 923:
                                    {
                                        dialog.Avatar(123);
                                        switch (npcRequest.OptionID)
                                        {
                                            case 0:
                                                {
                                                    dialog.Text("Welcome to the Lottery Center! There are many Lucky Boxes here, each containing incredible treasures! Pay me 3 Small Lottery Tickets to draw from the Lucky Box in the Lottery Center. You are allowed to enter the Lottery Center and try your luck upto 10");
                                                    dialog.Text("~times a day. You will have extra lottery chances if you are a VIP player.");
                                                    dialog.Option("Let`s~try~my~luck!", 1);
                                                    dialog.Option("Exchange~Small~Lottery~Ticket.", 2);
                                                    dialog.Option("May~I~know~the~rules~first?", 3);
                                                    dialog.Option("How~about~the~VIP~privilege?", 4);
                                                    dialog.Option("Nice~to~see~you.", 255);
                                                    dialog.Send();
                                                    break;
                                                }
                                            case 1:
                                                {
                                                    if (client.Player.Level >= 70)
                                                    {

                                                        client.Player.Teleport(700, 42, 50);

                                                    }
                                                    else
                                                    {
                                                        dialog.Text("You may not join the lottery , you need level 70 first.");
                                                        dialog.Option("Ahh sorry.", 255);
                                                        dialog.Send();
                                                    }
                                                    break;
                                                }
                                            case 2:
                                                {
                                                    dialog.Text("You don`t have any Lottery Tickets to exchange for the Small Lottery Tickets.");
                                                    dialog.Option("Oops.", 255);
                                                    dialog.Send();
                                                    break;
                                                }
                                            case 3:
                                                {
                                                    dialog.Text("Each player can draw from the Lottery up to 10 times, each day. But if you are a VIP, you will have extra chances to play! Level 1 VIP: 10 extra chances. Level 2 VIP: 20 extra chances. Level 3 VIP: 30 extra chances.~Level 4 VIP: 40 extra chances. Level 5 VIP: 50 extra chances. Level 6 VIP: 60 extra chances.");
                                                    dialog.Option("Got~it!", 255);
                                                    dialog.Send();
                                                    break;
                                                }
                                            case 4:
                                                {
                                                    dialog.Text("There are many Lucky Boxes in the Lottery Center. Pay 3 Small Lottery Tickets, and you can draw from the Lucky Box! If you are not satisfied with the item you get, you can pay 1 more Small Lottery Ticket to change the item you drew. However, you can~only pay and change the item for 2 times. Each player is allowed to draw from the Lottery up to 10 times, each day.");
                                                    dialog.Option("Okay,~I~see.", 255);
                                                    dialog.Send();
                                                    break;
                                                }
                                        }
                                        break;
                                    }
                                #endregion