Advertisement
Guest User

Untitled

a guest
Dec 14th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.17 KB | None | 0 0
  1. #region SaintTaliyi
  2. case 100005:
  3. {
  4. switch (npcRequest.OptionID)
  5. {
  6. case 0:
  7. {
  8. dialog.Text("Saint Taliyi: ");
  9. dialog.Text("Do you know the'Relics'? They are rare attrubute items crafted by the ancient");
  10. dialog.Text("deities. Fortunately, i've acquired this crafting skill. If you have some Relic");
  11. dialog.Text("Crystals, I can help you make a Relic providing more than 3 kinds of");
  12. dialog.Text("attributes.");
  13. dialog.Text("By the way,I can give 1 Relic Spirit for every 50,000 Silver.");
  14. dialog.Option("Craft a Relic Spirit. (50,000 Silver)", 1);
  15. dialog.Option("Craft a Relic. (100 Relic Crystals)", 2);
  16. dialog.Option("How to obtain the Relics?",3);
  17. break;
  18. }
  19. case 1:
  20. {
  21. if (client.Entity.Money > 50000)
  22. {
  23. client.Entity.Money -= 50000;
  24. client.Inventory.Add(3307142, 0, 1);
  25. _String str = new _String(true);
  26. str.UID = client.Entity.UID;
  27. str.TextsCount = 1;
  28. str.Action = _String.Effect;
  29. str.Texts.Add("end_task");
  30. client.SendScreen(str, true);
  31. }
  32. else
  33. {
  34. client.Send("you don't have enough Silver");
  35. }
  36. break;
  37. }
  38. case 2:
  39. {
  40. if (client.Inventory.Contains(3306885, 100))
  41. {
  42. dialog.Text("\t*Crafting the Relics*\t");
  43. dialog.Text("___________________________________________________________________");
  44. dialog.Text("Required Materials: 100 Relic Crystal");
  45. dialog.Text("Expect to Get 1 Relic providing 3 kinds of attributes or more");
  46. dialog.Text("___________________________________________________________________");
  47. dialog.Option("Craft now.", 6);
  48. dialog.Option("I~haven't decided yet.", 255);
  49. }
  50. else
  51. {
  52. dialog.Text("it seems you don't have enough Relic Crystal to craft a Relic");
  53. dialog.Text("You can collect Relic Crystals by decomposing spare Relics. Hunting");
  54. dialog.Text("monsters in the wild also gives a chance");
  55. dialog.Option("I~see", 255);
  56. }
  57. break;
  58. }
  59. case 6:
  60. {
  61. client.Inventory.Remove(3306885, 100);
  62. //حط هنا الريلك بقا كلو وسيبو يعمل رندوم هو وحظو
  63. break;
  64. }
  65. case 3:
  66. {
  67. dialog.Text("\t*How to Obtain Relics?*\t");
  68. dialog.Text("___________________________________________________________________");
  69. dialog.Text("1. The common devils in the Deityland may carry such a Relic.");
  70. dialog.Text("2. Killing the Beast/BOSS will definitely bring you such Relic.");
  71. dialog.Text("3. Each Relic can be decomposed into several Relic Crystals according to");
  72. dialog.Text("their attached attributes. The Relic can be used to craft or repair");
  73. dialog.Text("Relics.\n4. When defeated, a hero 's equipped Relic may be dropped.");
  74. dialog.Text("___________________________________________________________________");
  75. dialog.Option("Attributes of Relics.", 4);
  76. dialog.Option("Durability of Relics.", 5);
  77. break;
  78. }
  79. case 4:
  80. {
  81. Data data = new Data();
  82. data.ID = Data.OpenWindow;
  83. data.UID = client.Entity.UID;
  84. data.TimeStamp = Time32.Now;
  85. //data.dwParam = معرفش ال اي دي بتاع صفحه الويب الي ف اللعبه;
  86. data.wParam1 = client.Entity.X;
  87. data.wParam2 = client.Entity.Y;
  88. client.Send(data);
  89. break;
  90. }
  91. case 5:
  92. {
  93. dialog.Text("\t*How to Obtain Relics?*\t");
  94. dialog.Text("___________________________________________________________________");
  95. dialog.Text("1. The durability of your equipped Relic will decrease if you were killed.");
  96. dialog.Text("2. When your Relic is broken, you can use Relic Crystal to repair it within 45");
  97. dialog.Text("hours\n3. Death will not leadto drop or durability loss of Relics during Guild War,");
  98. dialog.Text("Clan War, Plunder War, or Arena.");
  99. dialog.Text("___________________________________________________________________");
  100. dialog.Option("I~see",255);
  101. break;
  102. }
  103. }
  104. }
  105. break;
  106. #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement