AhmedKorwash

Quest Vip

Feb 7th, 2016
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 6.08 KB | None | 0 0
  1. #region Quest Vip
  2.                 case 25345:
  3.                     {
  4.                   switch (npcRequest.OptionID)
  5.                   {
  6.                       case 0:
  7.                           {
  8.                               dialog.Text(" Hello Sir Iam The Manger Of Quest VIP Chance To Get");
  9.                              
  10.                               dialog.Option(" Need Some Information ", 1);
  11.                               dialog.Option("Cheack Points", 3);
  12.                               dialog.Option(" Lets Go ", 2);
  13.                               dialog.Option(" Exchange My Point ", 1);
  14.                               dialog.Option(" No Get away from my face ", 255);
  15.                               break;
  16.                           }
  17.                       case 1:
  18.                           {
  19.                               dialog.Text("The First you will teleport to Map depend on your VIP Level");
  20.                               dialog.Text("So we will attacked some Monster To Get some Points that will changed to Box");
  21.                               dialog.Text("That box will opend to find your order to complete your Quest");
  22.                               dialog.Text("");
  23.                               dialog.Option(" Ok Lets Go ", 2);
  24.                               dialog.Option(" Thanks i will cheak it later ", 255);
  25.  
  26.                               break;
  27.                           }
  28.                       case 2:
  29.                           {
  30.                               dialog.Text( "Beware From Another player maybe attackd and kill you ");
  31.                               // cheack and telport
  32.                               uint viplevel;
  33.                               viplevel = client.Entity.VIPLevel;
  34.                               switch (viplevel) {
  35.                                   case 0: { client.Entity.Teleport(7805, 568, 583); break; }
  36.                                   case 1: { client.Entity.Teleport(7806, 568, 583); break; }
  37.                                   case 2: { client.Entity.Teleport(7807, 568, 583); break; }
  38.                                   case 3: { client.Entity.Teleport(7808, 568, 583); break; }
  39.                                   case 4: { client.Entity.Teleport(7809, 568, 583); break; }
  40.                                   case 5: { client.Entity.Teleport(7810, 568, 583); break; }
  41.                               }
  42.  
  43.                               break;
  44.                           }
  45.                       case 3:
  46.                           {
  47.                               dialog.Text("Your Points = "+ client.Entity.VipPoints);
  48.                               dialog.Text(" Do you Want to exchange your points ");
  49.                               dialog.Option("Yes", 4);
  50.                               dialog.Option("Thanks", 255);
  51.                               break;
  52.                           }
  53.                       case 4:
  54.                           {
  55.                               dialog.Option(" 50 Points = 250k cps ", 5);
  56.                               dialog.Option(" 100 Points = 500k cps ", 6);
  57.                               dialog.Option(" 200 Points = 1.25kk cps ", 7);
  58.                               dialog.Option(" 500 Points = 4kk cps ", 8);
  59.                               dialog.Option(" 750 Points = [VIP] Tag ", 9);
  60.                               break;
  61.                           }
  62.                       case 5: {
  63.                           if (client.Entity.VipPoints == 50)
  64.                           {
  65.                               client.Entity.ConquerPoints += 250000;
  66.                               client.Entity.VipPoints -= 50;
  67.  
  68.                           }
  69.                           else {
  70.                               dialog.Text(" Sorry You dont have the requerments ");
  71.                           }
  72.                           break;
  73.                       }
  74.                       case 6: {
  75.                           if (client.Entity.VipPoints == 100)
  76.                           {
  77.                               client.Entity.ConquerPoints += 500000;
  78.                               client.Entity.VipPoints -= 100;
  79.  
  80.                           }
  81.                           else
  82.                           {
  83.                               dialog.Text(" Sorry You dont have the requerments ");
  84.                           }
  85.                           break;
  86.                       }
  87.                       case 7: {
  88.                           if (client.Entity.VipPoints == 200)
  89.                           {
  90.                               client.Entity.ConquerPoints += 1250000;
  91.                               client.Entity.VipPoints -= 200;
  92.  
  93.                           }
  94.                           else
  95.                           {
  96.                               dialog.Text(" Sorry You dont have the requerments ");
  97.                           } break;
  98.                       }
  99.                       case 8: {
  100.                           if (client.Entity.VipPoints == 500)
  101.                           {
  102.                               client.Entity.ConquerPoints += 4000000;
  103.                               client.Entity.VipPoints -= 500;
  104.  
  105.                           }
  106.                           else
  107.                           {
  108.                               dialog.Text(" Sorry You dont have the requerments ");
  109.                           }
  110.                           break;
  111.  
  112.                       }
  113.                       case 9: {
  114.                           if (client.Entity.VipPoints == 750)
  115.                           {
  116.                               string uname;
  117.                               uname = client.Entity.Name;
  118.                               client.Entity.Name = uname + "[VIP]";
  119.                               client.Entity.VipPoints -= 750;
  120.                               client.Disconnect();
  121.                           }
  122.                           else {
  123.                               dialog.Text(" Sorry You dont have the requerments ");
  124.                           }
  125.                           break;
  126.                               }
  127.                      
  128.  
  129.                   }
  130.                           break;
  131.                   }
  132.  
  133.                 #endregion Quest Vip
Advertisement
Add Comment
Please, Sign In to add comment