Advertisement
Guest User

Untitled

a guest
Aug 19th, 2023
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.45 KB | None | 0 0
  1. #region JinagEvent
  2.                     #region Pills Fragment
  3.                     case 3300467:
  4.                         {
  5.                             if (client.Inventory.Contains(3003126, 200) && client.Inventory.Contains(3003125, 200) && client.Inventory.Contains(3003124, 200) && client.Inventory.Contains(3002030, 200) && client.Inventory.Contains(3002029, 200)
  6.                                 && client.Inventory.Contains(3303373, 200) && client.Inventory.Contains(3002926, 200) && client.Inventory.Contains(3300467, 1))
  7.                             {
  8.                                 client.Inventory.Remove(3002926, 200);
  9.                                 client.Inventory.Remove(3303373, 200);
  10.                                 client.Inventory.Remove(3002029, 200);
  11.                                 client.Inventory.Remove(3002030, 200);
  12.                                 client.Inventory.Remove(3003124, 200);
  13.                                 client.Inventory.Remove(3003125, 200);
  14.                                 client.Inventory.Remove(3003126, 200);
  15.                                 client.Inventory.Remove(3300467, 1);
  16.                                 client.Inventory.Add(3300466, 0, 1);
  17.                                 client.Send(new MsgTalk("Congratulations you get 1 of MakeJinagPill.", Color.Red, MsgTalk.System));
  18.                             }
  19.                             else
  20.                             {
  21.                                 client.Send(new MsgTalk("Faild to combine. You don't have some itme.", Color.Red, MsgTalk.System));
  22.                             }
  23.                             break;
  24.                         }
  25.                     #endregion
  26.                     #region MakeJinagPill
  27.                     case 3300466:
  28.                         {
  29.                             client.MessageBox("This~is~a~Make~Jinag~Pill~Twin~City.",
  30.                       (p) =>
  31.                       {
  32.                           MsgAction data = new MsgAction(true);
  33.                           data.UID = p.Player.UID;
  34.                           data.TimeStamp2 = 18997;
  35.                           data.ID = (MsgAction.Mode)162;
  36.                           data.wParam1 = 378;
  37.                           data.wParam2 = 385;
  38.                           client.Send(data);
  39.                           p.Send(data);
  40.                       }, null);
  41.                             break;
  42.                         }
  43.                     #endregion
  44.                     #endregion
Tags: JinagEvent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement