Advertisement
Guest User

Untitled

a guest
Jun 29th, 2022
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 26.67 KB | None | 0 0
  1. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/.gitignore b/L2J_Mobius_C4_ScionsOfDestiny/.gitignore
  2. new file mode 100644
  3. index 0000000..ae3c172
  4. --- /dev/null
  5. +++ b/L2J_Mobius_C4_ScionsOfDestiny/.gitignore
  6. @@ -0,0 +1 @@
  7. +/bin/
  8. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q011_SecretMeetingWithKetraOrcs/Q011_SecretMeetingWithKetraOrcs.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q011_SecretMeetingWithKetraOrcs/Q011_SecretMeetingWithKetraOrcs.java
  9. index 87bb409..a2e5b6f 100644
  10. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q011_SecretMeetingWithKetraOrcs/Q011_SecretMeetingWithKetraOrcs.java
  11. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q011_SecretMeetingWithKetraOrcs/Q011_SecretMeetingWithKetraOrcs.java
  12. @@ -66,7 +66,7 @@
  13.             case "31371-02.htm":
  14.             {
  15.                 st.takeItems(MUNITIONS_BOX, 1);
  16. -               st.rewardExpAndSp(79787, 0);
  17. +               st.rewardExpAndSp(79761, 0);
  18.                 st.playSound(QuestState.SOUND_FINISH);
  19.                 st.exitQuest(false);
  20.                 break;
  21. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q294_CovertBusiness/Q294_CovertBusiness.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q294_CovertBusiness/Q294_CovertBusiness.java
  22. index d87c3c7..7ec48c4 100644
  23. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q294_CovertBusiness/Q294_CovertBusiness.java
  24. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q294_CovertBusiness/Q294_CovertBusiness.java
  25. @@ -93,9 +93,18 @@
  26.                 }
  27.                 else
  28.                 {
  29. -                   htmltext = "30534-05.htm";
  30.                     st.takeItems(BAT_FANG, -1);
  31. -                   st.giveItems(RING_OF_RACCOON, 1);
  32. +                  
  33. +                   if (!st.hasQuestItems(RING_OF_RACCOON))
  34. +                   {
  35. +                       htmltext = "30534-05.htm";
  36. +                       st.giveItems(RING_OF_RACCOON, 1);
  37. +                   }
  38. +                   else
  39. +                   {
  40. +                       htmltext = "30534-06.htm";
  41. +                       st.rewardItems(57, 2400);
  42. +                   }
  43.                     st.rewardExpAndSp(0, 600);
  44.                     st.playSound(QuestState.SOUND_FINISH);
  45.                     st.exitQuest(true);
  46. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q299_GatherIngredientsForPie/Q299_GatherIngredientsForPie.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q299_GatherIngredientsForPie/Q299_GatherIngredientsForPie.java
  47. index 10571bb..5d22ee8 100644
  48. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q299_GatherIngredientsForPie/Q299_GatherIngredientsForPie.java
  49. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q299_GatherIngredientsForPie/Q299_GatherIngredientsForPie.java
  50. @@ -32,6 +32,8 @@
  51.     private static final int FRUIT_BASKET = 7136;
  52.     private static final int AVELLAN_SPICE = 7137;
  53.     private static final int HONEY_POUCH = 7138;
  54. +   // Reward resources
  55. +   private static final int VARNISH = 1865;
  56.    
  57.     public Q299_GatherIngredientsForPie()
  58.     {
  59. @@ -93,7 +95,14 @@
  60.                 {
  61.                     htmltext = "30620-7.htm";
  62.                     st.takeItems(FRUIT_BASKET, 1);
  63. -                   st.rewardItems(57, 25000);
  64. +                   if (getRandom(100) < 70)
  65. +                   {
  66. +                       st.rewardItems(57, 25000);
  67. +                   }
  68. +                   else
  69. +                   {
  70. +                       st.giveItems(VARNISH, 50);
  71. +                   }
  72.                     st.playSound(QuestState.SOUND_FINISH);
  73.                     st.exitQuest(true);
  74. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q326_VanquishRemnants/Q326_VanquishRemnants.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q326_VanquishRemnants/Q326_VanquishRemnants.java
  75. index adf43f5..0eff840 100644
  76. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q326_VanquishRemnants/Q326_VanquishRemnants.java
  77. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q326_VanquishRemnants/Q326_VanquishRemnants.java
  78. @@ -91,7 +91,7 @@
  79.                     st.takeItems(RED_CROSS_BADGE, -1);
  80.                     st.takeItems(BLUE_CROSS_BADGE, -1);
  81.                     st.takeItems(BLACK_CROSS_BADGE, -1);
  82. -                   st.rewardItems(57, ((redBadges * 46) + (blueBadges * 52) + (blackBadges * 58) + ((badgesSum >= 10) ? 4320 : 0)));
  83. +                   st.rewardItems(57, ((redBadges * 60) + (blueBadges * 65) + (blackBadges * 70) + ((badgesSum >= 10) ? 4320 : 0)));
  84.                     if (badgesSum >= 100)
  85.                     {
  86.                         if (!st.hasQuestItems(BLACK_LION_MARK))
  87. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q328_SenseForBusiness/Q328_SenseForBusiness.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q328_SenseForBusiness/Q328_SenseForBusiness.java
  88. index cd58d6e..07ebbcf 100644
  89. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q328_SenseForBusiness/Q328_SenseForBusiness.java
  90. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q328_SenseForBusiness/Q328_SenseForBusiness.java
  91. @@ -108,7 +108,7 @@
  92.                     st.takeItems(MONSTER_EYE_CARCASS, -1);
  93.                     st.takeItems(MONSTER_EYE_LENS, -1);
  94.                     st.takeItems(BASILISK_GIZZARD, -1);
  95. -                   st.rewardItems(57, (25 * carcasses) + (1000 * lenses) + (60 * gizzards) + ((all >= 10) ? 618 : 0));
  96. +                   st.rewardItems(57, (30 * carcasses) + (2000 * lenses) + (75 * gizzards) + ((all >= 10) ? 618 : 0));
  97.                 }
  98.                 break;
  99.             }
  100. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q331_ArrowOfVengeance/Q331_ArrowOfVengeance.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q331_ArrowOfVengeance/Q331_ArrowOfVengeance.java
  101. index 3f447d9..4f94fc7 100644
  102. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q331_ArrowOfVengeance/Q331_ArrowOfVengeance.java
  103. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q331_ArrowOfVengeance/Q331_ArrowOfVengeance.java
  104. @@ -91,7 +91,7 @@
  105.                     st.takeItems(MEDUSA_VENOM, -1);
  106.                     st.takeItems(WYRM_TOOTH, -1);
  107.                    
  108. -                   int reward = (harpyFeather * 78) + (medusaVenom * 88) + (wyrmTooth * 92);
  109. +                   int reward = (harpyFeather * 80) + (medusaVenom * 90) + (wyrmTooth * 100);
  110.                     if ((harpyFeather + medusaVenom + wyrmTooth) > 10)
  111.                     {
  112.                         reward += 3100;
  113. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q334_TheWishingPotion/Q334_TheWishingPotion.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q334_TheWishingPotion/Q334_TheWishingPotion.java
  114. index 693697f..f1fc82f 100644
  115. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q334_TheWishingPotion/Q334_TheWishingPotion.java
  116. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q334_TheWishingPotion/Q334_TheWishingPotion.java
  117. @@ -51,12 +51,15 @@
  118.     private static final int GLASS_JAGUAR = 20250;
  119.     private static final int DEMONS_TUNIC_ID = 441;
  120.     private static final int DEMONS_STOCKINGS_ID = 472;
  121. -   private static final int SCROLL_OF_ESCAPE_ID = 736;
  122.     private static final int NECKLACE_OF_GRACE_ID = 931;
  123.     private static final int SPELLBOOK_ICEBOLT_ID = 1049;
  124.     private static final int SPELLBOOK_BATTLEHEAL_ID = 1050;
  125. +   private static final int DEMONS_TUNIC_FABRIC_ID = 1979;
  126. +   private static final int DEMONS_STOCKINGS_PATTERN_ID = 1980;
  127.     private static final int DEMONS_BOOTS_ID = 2435;
  128.     private static final int DEMONS_GLOVES_ID = 2459;
  129. +   private static final int DEMONS_BOOTS_FABRIC_ID = 2952;
  130. +   private static final int DEMONS_GLOVES_FABRIC_ID = 2953;
  131.     private static final int WISH_POTION_ID = 3467;
  132.     private static final int ANCIENT_CROWN_ID = 3468;
  133.     private static final int CERTIFICATE_OF_ROYALTY_ID = 3469;
  134. @@ -432,7 +435,23 @@
  135.                 }
  136.                 else
  137.                 {
  138. -                   st.giveItems(SCROLL_OF_ESCAPE_ID, 1);
  139. +                   final int dropChance = getRandom(100) + 1;
  140. +                   if (dropChance <= 25)
  141. +                   {
  142. +                       st.giveItems(DEMONS_TUNIC_FABRIC_ID, 1);
  143. +                   }
  144. +                   else if (dropChance <= 50)
  145. +                   {
  146. +                       st.giveItems(DEMONS_STOCKINGS_PATTERN_ID, 1);
  147. +                   }
  148. +                   else if (dropChance <= 75)
  149. +                   {
  150. +                       st.giveItems(DEMONS_BOOTS_FABRIC_ID, 1);
  151. +                   }
  152. +                   else
  153. +                   {
  154. +                       st.giveItems(DEMONS_GLOVES_FABRIC_ID, 1);
  155. +                   }
  156.                 }
  157.                 st.getPlayer().getTarget().decayMe();
  158.                 htmltext = "30742-01.htm";
  159. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q335_TheSongOfTheHunter/Q335_TheSongOfTheHunter.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q335_TheSongOfTheHunter/Q335_TheSongOfTheHunter.java
  160. index 81c07d4..26bf4cc 100644
  161. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q335_TheSongOfTheHunter/Q335_TheSongOfTheHunter.java
  162. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q335_TheSongOfTheHunter/Q335_TheSongOfTheHunter.java
  163. @@ -102,51 +102,51 @@
  164.     // @formatter:on
  165.     private static final Request[] REQUESTS1 =
  166.     {
  167. -       new Request(3727, 3769, 40, 2090, "C: 40 Totems of Kadesh").addDrop(20578, 80).addDrop(20579, 83),
  168. -       new Request(3728, 3770, 50, 6340, "C: 50 Jade Necklaces of Timak").addDrop(20586, 89).addDrop(20588, 100),
  169. -       new Request(3729, 3771, 50, 9480, "C: 50 Enchanted Golem Shards").addDrop(20565, 100),
  170. -       new Request(3730, 3772, 30, 9110, "C: 30 Pieces Monster Eye Meat").addDrop(20556, 50),
  171. -       new Request(3731, 3773, 40, 8690, "C: 40 Eggs of Dire Wyrm").addDrop(20557, 80),
  172. -       new Request(3732, 3774, 100, 9480, "C: 100 Claws of Guardian Basilisk").addDrop(20550, 150),
  173. -       new Request(3733, 3775, 50, 11280, "C: 50 Revenant Chains").addDrop(20552, 100),
  174. -       new Request(3734, 3776, 30, 9640, "C: 30 Windsus Tusks").addDrop(WINDSUS, 50),
  175. -       new Request(3735, 3777, 100, 9180, "C: 100 Skulls of Grandis").addDrop(20554, 200),
  176. -       new Request(3736, 3778, 50, 5160, "C: 50 Taik Obsidian Amulets").addDrop(20631, 100).addDrop(20632, 93),
  177. -       new Request(3737, 3779, 30, 3140, "C: 30 Heads of Karul Bugbear").addDrop(20600, 50),
  178. -       new Request(3738, 3780, 40, 3160, "C: 40 Ivory Charms of Tamlin").addDrop(20601, 62).addDrop(20602, 80),
  179. -       new Request(3739, 3781, 1, 6370, "B: Situation Preparation - Leto Chief").addSpawn(20582, 27157, 10).addDrop(27157, 100),
  180. -       new Request(3740, 3782, 50, 19080, "B: 50 Enchanted Gargoyle Horns").addDrop(20567, 50),
  181. -       new Request(3741, 3783, 50, 17730, "B: 50 Coiled Serpent Totems").addDrop(20269, 93).addDrop(BREKA_ORC_WARRIOR, 100),
  182. -       new Request(3742, 3784, 1, 5790, "B: Situation Preparation - Sorcerer Catch of Leto").addSpawn(20581, 27156, 10).addDrop(27156, 100),
  183. -       new Request(3743, 3785, 1, 8560, "B: Situation Preparation - Timak Raider Kaikee").addSpawn(20586, 27158, 10).addDrop(27158, 100),
  184. -       new Request(3744, 3786, 30, 8320, "B: 30 Kronbe Venom Sacs").addDrop(20603, 50),
  185. -       new Request(3745, 3787, 30, 30310, "A: 30 Eva's Charm").addDrop(20562, 50),
  186. -       new Request(3746, 3788, 1, 27540, "A: Titan's Tablet").addSpawn(20554, 27160, 10).addDrop(27160, 100),
  187. -       new Request(3747, 3789, 1, 20560, "A: Book of Shunaiman").addSpawn(20600, 27164, 10).addDrop(27164, 100)
  188. +       new Request(3727, 3769, 40, 4500, "C: 40 Totems of Kadesh").addDrop(20578, 80).addDrop(20579, 83),
  189. +       new Request(3728, 3770, 50, 7500, "C: 50 Jade Necklaces of Timak").addDrop(20586, 89).addDrop(20588, 100),
  190. +       new Request(3729, 3771, 50, 7300, "C: 50 Enchanted Golem Shards").addDrop(20565, 100),
  191. +       new Request(3730, 3772, 30, 5500, "C: 30 Pieces Monster Eye Meat").addDrop(20556, 50),
  192. +       new Request(3731, 3773, 40, 5000, "C: 40 Eggs of Dire Wyrm").addDrop(20557, 80),
  193. +       new Request(3732, 3774, 100, 6500, "C: 100 Claws of Guardian Basilisk").addDrop(20550, 150),
  194. +       new Request(3733, 3775, 50, 4400, "C: 50 Revenant Chains").addDrop(20552, 100),
  195. +       new Request(3734, 3776, 30, 5200, "C: 30 Windsus Tusks").addDrop(WINDSUS, 50),
  196. +       new Request(3735, 3777, 100, 7600, "C: 100 Skulls of Grandis").addDrop(20554, 200),
  197. +       new Request(3736, 3778, 50, 4900, "C: 50 Taik Obsidian Amulets").addDrop(20631, 100).addDrop(20632, 93),
  198. +       new Request(3737, 3779, 30, 7600, "C: 30 Heads of Karul Bugbear").addDrop(20600, 50),
  199. +       new Request(3738, 3780, 40, 7200, "C: 40 Ivory Charms of Tamlin").addDrop(20601, 62).addDrop(20602, 80),
  200. +       new Request(3739, 3781, 1, 4500, "B: Situation Preparation - Leto Chief").addSpawn(20582, 27157, 10).addDrop(27157, 100),
  201. +       new Request(3740, 3782, 50, 9500, "B: 50 Enchanted Gargoyle Horns").addDrop(20567, 50),
  202. +       new Request(3741, 3783, 50, 5800, "B: 50 Coiled Serpent Totems").addDrop(20269, 93).addDrop(BREKA_ORC_WARRIOR, 100),
  203. +       new Request(3742, 3784, 1, 4500, "B: Situation Preparation - Sorcerer Catch of Leto").addSpawn(20581, 27156, 10).addDrop(27156, 100),
  204. +       new Request(3743, 3785, 1, 7000, "B: Situation Preparation - Timak Raider Kaikee").addSpawn(20586, 27158, 10).addDrop(27158, 100),
  205. +       new Request(3744, 3786, 30, 10000, "B: 30 Kronbe Venom Sacs").addDrop(20603, 50),
  206. +       new Request(3745, 3787, 30, 18000, "A: 30 Eva's Charm").addDrop(20562, 50),
  207. +       new Request(3746, 3788, 1, 12000, "A: Titan's Tablet").addSpawn(20554, 27160, 10).addDrop(27160, 100),
  208. +       new Request(3747, 3789, 1, 15000, "A: Book of Shunaiman").addSpawn(20600, 27164, 10).addDrop(27164, 100)
  209.     };
  210.     private static final Request[] REQUESTS2 =
  211.     {
  212. -       new Request(3748, 3790, 40, 6850, "C: 40 Rotting Tree Spores").addDrop(20558, 67),
  213. -       new Request(3749, 3791, 40, 7250, "C: 40 Trisalim Venom Sacs").addDrop(20560, 66).addDrop(20561, 75),
  214. -       new Request(3750, 3792, 50, 7160, "C: 50 Totems of Taik Orc").addDrop(20633, 53).addDrop(20634, 99),
  215. -       new Request(3751, 3793, 40, 6580, "C: 40 Harit Barbed Necklaces").addDrop(20641, 88).addDrop(20642, 88).addDrop(20643, 91),
  216. -       new Request(3752, 3794, 20, 10100, "C: 20 Coins of Ancient Empire").addDrop(20661, 50).addSpawn(20661, 27149, 5).addDrop(20662, 52).addSpawn(20662, 27149, 5).addDrop(27149, 300),
  217. -       new Request(3753, 3795, 30, 13000, "C: 30 Skins of Farkran").addDrop(20667, 90),
  218. -       new Request(3754, 3796, 40, 7660, "C: 40 Tempest Shards").addDrop(20589, 49).addSpawn(20589, 27149, 5).addDrop(27149, 500),
  219. -       new Request(3755, 3797, 40, 7660, "C: 40 Tsunami Shards").addDrop(20590, 51).addSpawn(20590, 27149, 5).addDrop(27149, 500),
  220. -       new Request(3756, 3798, 40, 11260, "C: 40 Manes of Pan Ruem").addDrop(20592, 80).addDrop(20598, 100),
  221. -       new Request(3757, 3799, 40, 7660, "C: 40 Hamadryad Shard").addDrop(20594, 64).addSpawn(20594, 27149, 5).addDrop(27149, 500),
  222. -       new Request(3758, 3800, 30, 8810, "C: 30 Manes of Vanor Silenos").addDrop(20682, 70).addDrop(20683, 85).addDrop(20684, 90),
  223. -       new Request(3759, 3801, 30, 7350, "C: 30 Totems of Tarlk Bugbears").addDrop(TARLK_BUGBEAR_WARRIOR, 63),
  224. -       new Request(3760, 3802, 1, 8760, "B: Situation Preparation - Overlord Okun of Timak").addSpawn(20588, 27159, 10).addDrop(27159, 100),
  225. -       new Request(3761, 3803, 1, 9380, "B: Situation Preparation - Overlord Kakran of Taik").addSpawn(20634, 27161, 10).addDrop(27161, 100),
  226. -       new Request(3762, 3804, 40, 17820, "B: 40 Narcissus Soulstones").addDrop(20639, 86).addSpawn(20639, 27149, 5).addDrop(27149, 500),
  227. -       new Request(3763, 3805, 20, 17540, "B: 20 Eyes of Deprived").addDrop(20664, 77),
  228. -       new Request(3764, 3806, 20, 14160, "B: 20 Unicorn Horns").addDrop(20593, 68).addDrop(20599, 86),
  229. -       new Request(3765, 3807, 1, 15960, "B: Golden Mane of Silenos").addSpawn(20686, 27163, 10).addDrop(27163, 100),
  230. -       new Request(3766, 3808, 20, 39100, "A: 20 Skulls of Executed Person").addDrop(20659, 73),
  231. -       new Request(3767, 3809, 1, 39550, "A: Bust of Travis").addSpawn(20662, 27162, 10).addDrop(27162, 100),
  232. -       new Request(3768, 3810, 10, 41200, "A: 10 Swords of Cadmus").addDrop(20676, 64)
  233. +       new Request(3748, 3790, 40, 6200, "C: 40 Rotting Tree Spores").addDrop(20558, 67),
  234. +       new Request(3749, 3791, 40, 5900, "C: 40 Trisalim Venom Sacs").addDrop(20560, 66).addDrop(20561, 75),
  235. +       new Request(3750, 3792, 50, 7200, "C: 50 Totems of Taik Orc").addDrop(20633, 53).addDrop(20634, 99),
  236. +       new Request(3751, 3793, 40, 7200, "C: 40 Harit Barbed Necklaces").addDrop(20641, 88).addDrop(20642, 88).addDrop(20643, 91),
  237. +       new Request(3752, 3794, 20, 8700, "C: 20 Coins of Ancient Empire").addDrop(20661, 50).addSpawn(20661, 27149, 5).addDrop(20662, 52).addSpawn(20662, 27149, 5).addDrop(27149, 300),
  238. +       new Request(3753, 3795, 30, 11600, "C: 30 Skins of Farkran").addDrop(20667, 90),
  239. +       new Request(3754, 3796, 40, 6200, "C: 40 Tempest Shards").addDrop(20589, 49).addSpawn(20589, 27149, 5).addDrop(27149, 500),
  240. +       new Request(3755, 3797, 40, 7800, "C: 40 Tsunami Shards").addDrop(20590, 51).addSpawn(20590, 27149, 5).addDrop(27149, 500),
  241. +       new Request(3756, 3798, 40, 7800, "C: 40 Manes of Pan Ruem").addDrop(20592, 80).addDrop(20598, 100),
  242. +       new Request(3757, 3799, 40, 7000, "C: 40 Hamadryad Shard").addDrop(20594, 64).addSpawn(20594, 27149, 5).addDrop(27149, 500),
  243. +       new Request(3758, 3800, 30, 7100, "C: 30 Manes of Vanor Silenos").addDrop(20682, 70).addDrop(20683, 85).addDrop(20684, 90),
  244. +       new Request(3759, 3801, 30, 13400, "C: 30 Totems of Tarlk Bugbears").addDrop(TARLK_BUGBEAR_WARRIOR, 63),
  245. +       new Request(3760, 3802, 1, 8200, "B: Situation Preparation - Overlord Okun of Timak").addSpawn(20588, 27159, 10).addDrop(27159, 100),
  246. +       new Request(3761, 3803, 1, 5300, "B: Situation Preparation - Overlord Kakran of Taik").addSpawn(20634, 27161, 10).addDrop(27161, 100),
  247. +       new Request(3762, 3804, 40, 8800, "B: 40 Narcissus Soulstones").addDrop(20639, 86).addSpawn(20639, 27149, 5).addDrop(27149, 500),
  248. +       new Request(3763, 3805, 20, 11000, "B: 20 Eyes of Deprived").addDrop(20664, 77),
  249. +       new Request(3764, 3806, 20, 8800, "B: 20 Unicorn Horns").addDrop(20593, 68).addDrop(20599, 86),
  250. +       new Request(3765, 3807, 1, 5500, "B: Golden Mane of Silenos").addSpawn(20686, 27163, 10).addDrop(27163, 100),
  251. +       new Request(3766, 3808, 20, 16000, "A: 20 Skulls of Executed Person").addDrop(20659, 73),
  252. +       new Request(3767, 3809, 1, 18000, "A: Bust of Travis").addSpawn(20662, 27162, 10).addDrop(27162, 100),
  253. +       new Request(3768, 3810, 10, 18000, "A: 10 Swords of Cadmus").addDrop(20676, 64)
  254.     };
  255.    
  256.     public Q335_TheSongOfTheHunter()
  257. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q338_AlligatorHunter/Q338_AlligatorHunter.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q338_AlligatorHunter/Q338_AlligatorHunter.java
  258. index d064bb0..25bd07c 100644
  259. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q338_AlligatorHunter/Q338_AlligatorHunter.java
  260. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q338_AlligatorHunter/Q338_AlligatorHunter.java
  261. @@ -56,7 +56,7 @@
  262.             case "30892-05.htm":
  263.             {
  264.                 final int pelts = st.getQuestItemsCount(ALLIGATOR_PELT);
  265. -               int reward = pelts * 60;
  266. +               int reward = pelts * 40;
  267.                 if (pelts > 10)
  268.                 {
  269.                     reward += 3430;
  270. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q343_UnderTheShadowOfTheIvoryTower/Q343_UnderTheShadowOfTheIvoryTower.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q343_UnderTheShadowOfTheIvoryTower/Q343_UnderTheShadowOfTheIvoryTower.java
  271. index 05f7b65..716529e 100644
  272. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q343_UnderTheShadowOfTheIvoryTower/Q343_UnderTheShadowOfTheIvoryTower.java
  273. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q343_UnderTheShadowOfTheIvoryTower/Q343_UnderTheShadowOfTheIvoryTower.java
  274. @@ -91,7 +91,7 @@
  275.             {
  276.                 if (orbs > 0)
  277.                 {
  278. -                   st.giveItems(57, orbs * 120);
  279. +                   st.giveItems(57, orbs * 125);
  280.                     st.takeItems(ORB, -1);
  281.                 }
  282.                 else
  283. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q354_ConquestOfAlligatorIsland/Q354_ConquestOfAlligatorIsland.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q354_ConquestOfAlligatorIsland/Q354_ConquestOfAlligatorIsland.java
  284. index 3e7ddf0..17d8209 100644
  285. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q354_ConquestOfAlligatorIsland/Q354_ConquestOfAlligatorIsland.java
  286. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q354_ConquestOfAlligatorIsland/Q354_ConquestOfAlligatorIsland.java
  287. @@ -44,6 +44,21 @@
  288.         DROPLIST.put(20991, new int[][]{{ALLIGATOR_TOOTH, 1, 0, 600000},{TORN_MAP_FRAGMENT, 1, 0, 100000}}); // Swamp Tribe
  289.         // @formatter:on
  290.     }
  291. +   private static final int[][] ADDITIONAL_REWARDS =
  292. +   {
  293. +       // @formatter:off
  294. +       {736, 15}// SoE
  295. +       {1061, 20}, // Healing Potion
  296. +       {734, 15}// Haste Potion
  297. +       {735, 15}// Alacrity Potion
  298. +       {1878, 35}, // Braided Hemp
  299. +       {1875, 15}, // Stone of Purity
  300. +       {1879, 15}, // Cokes
  301. +       {1880, 15}, // Steel
  302. +       {956, 1},   // Enchant Armor D
  303. +       {955, 1},   // Enchant Weapon D
  304. +       // @formatter:on
  305. +   };
  306.    
  307.     public Q354_ConquestOfAlligatorIsland()
  308.     {
  309. @@ -84,10 +99,11 @@
  310.                 final int amount = st.getQuestItemsCount(ALLIGATOR_TOOTH);
  311.                 if (amount > 0)
  312.                 {
  313. -                   int reward = (amount * 220) + 3100;
  314. +                   int reward = amount * 300;
  315.                     if (amount >= 100)
  316.                     {
  317. -                       reward += 7600;
  318. +                       final int[] add_reward = ADDITIONAL_REWARDS[Integer.parseInt(event)];
  319. +                       st.rewardItems(add_reward[0], add_reward[1]);
  320.                         htmltext = "30895-05b.htm";
  321.                     }
  322.                     else
  323. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q355_FamilyHonor/Q355_FamilyHonor.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q355_FamilyHonor/Q355_FamilyHonor.java
  324. index 88f3cdd..c4615d4 100644
  325. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q355_FamilyHonor/Q355_FamilyHonor.java
  326. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q355_FamilyHonor/Q355_FamilyHonor.java
  327. @@ -87,7 +87,7 @@
  328.                 {
  329.                     htmltext = "30181-4.htm";
  330.                    
  331. -                   int reward = 2800 + (count * 120);
  332. +                   int reward = count * 232;
  333.                     if (count >= 100)
  334.                     {
  335.                         htmltext = "30181-4a.htm";
  336. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q356_DigUpTheSeaOfSpores/Q356_DigUpTheSeaOfSpores.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q356_DigUpTheSeaOfSpores/Q356_DigUpTheSeaOfSpores.java
  337. index f8b8e94..b0fcfd7 100644
  338. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q356_DigUpTheSeaOfSpores/Q356_DigUpTheSeaOfSpores.java
  339. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q356_DigUpTheSeaOfSpores/Q356_DigUpTheSeaOfSpores.java
  340. @@ -57,11 +57,11 @@
  341.                 st.startQuest();
  342.                 break;
  343.             }
  344. -           case "30717-17.htm":
  345. +           case "30717-16.htm":
  346.             {
  347.                 st.takeItems(HERB_SPORE, -1);
  348.                 st.takeItems(CARN_SPORE, -1);
  349. -               st.rewardItems(57, 20950);
  350. +               st.rewardItems(57, 44000);
  351.                 st.playSound(QuestState.SOUND_FINISH);
  352.                 st.exitQuest(true);
  353.                 break;
  354. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q365_DevilsLegacy/Q365_DevilsLegacy.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q365_DevilsLegacy/Q365_DevilsLegacy.java
  355. index 6f65212..049d702 100644
  356. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q365_DevilsLegacy/Q365_DevilsLegacy.java
  357. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q365_DevilsLegacy/Q365_DevilsLegacy.java
  358. @@ -190,10 +190,10 @@
  359.                         {
  360.                             htmltext = "30095-05.htm";
  361.                            
  362. -                           final int reward = st.getQuestItemsCount(PIRATE_TREASURE_CHEST) * 400;
  363. +                           final int reward = st.getQuestItemsCount(PIRATE_TREASURE_CHEST) * 1600;
  364.                            
  365.                             st.takeItems(PIRATE_TREASURE_CHEST, -1);
  366. -                           st.rewardItems(57, reward + 19800);
  367. +                           st.rewardItems(57, reward);
  368.                         }
  369.                         break;
  370.                     }
  371. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q373_SupplierOfReagents/Q373_SupplierOfReagents.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q373_SupplierOfReagents/Q373_SupplierOfReagents.java
  372. index 395b683..51d9c2e 100644
  373. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q373_SupplierOfReagents/Q373_SupplierOfReagents.java
  374. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q373_SupplierOfReagents/Q373_SupplierOfReagents.java
  375. @@ -128,8 +128,8 @@
  376.     {
  377.         // @formatter:off
  378.         {1, 100, 1},
  379. -       {2, 45, 3},
  380. -       {3, 15, 5}
  381. +       {2, 45, 2},
  382. +       {3, 15, 3}
  383.         // @formatter:on
  384.     };
  385.    
  386. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java
  387. index 5af07d2..4aca831 100644
  388. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java
  389. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q384_WarehouseKeepersPastime/Q384_WarehouseKeepersPastime.java
  390. @@ -100,13 +100,19 @@
  391.         {98, 852}, // Moonstone Earring
  392.         {100, 401} // Drake Leather Armor
  393.     };
  394. -   private static final int[][] _rewards_100_lose =
  395. +   private static final int[][] _rewards_100_lose_Baxt =
  396.     {
  397.         {50, 951}, // Scroll: Enchant Weapon (C)
  398.         {80, 500}, // Great Helmet
  399.         {98, 2437}, // Drake Leather Boots
  400.         {100, 135} // Samurai Longsword
  401.     };
  402. +   private static final int[][] _rewards_100_lose_Cliff =
  403. +   {
  404. +       {70, 951}, // Scroll: Enchant Weapon (C)
  405. +       {89, 500}, // Divine Boots
  406. +       {100, 2437}, // Katana
  407. +   };
  408.     // @formatter:on
  409.    
  410.     public Q384_WarehouseKeepersPastime()
  411. @@ -246,10 +252,6 @@
  412.                         if (chance < reward[0])
  413.                         {
  414.                             st.giveItems(reward[1], 1);
  415. -                           if (reward[1] == 2437)
  416. -                           {
  417. -                               st.giveItems(2463, 1);
  418. -                           }
  419.                             break;
  420.                         }
  421.                     }
  422. @@ -257,14 +259,32 @@
  423.                 else if (winningLines == 0)
  424.                 {
  425.                     htmltext = getHtmlText(npcId + "-25.htm");
  426. -                  
  427. -                   final int chance = getRandom(100);
  428. -                   for (int[] reward : ((st.get("bet") == "10") ? _rewards_10_lose : _rewards_100_lose))
  429. +                   if (npcId == 30685)
  430.                     {
  431. -                       if (chance < reward[0])
  432. +                       final int chance = getRandom(100);
  433. +                       for (int[] reward : ((st.get("bet") == "10") ? _rewards_10_lose : _rewards_100_lose_Baxt))
  434.                         {
  435. -                           st.giveItems(reward[1], 1);
  436. -                           break;
  437. +                           if (chance < reward[0])
  438. +                           {
  439. +                               st.giveItems(reward[1], 1);
  440. +                               if (reward[1] == 2437)
  441. +                               {
  442. +                                   st.giveItems(2463, 1);
  443. +                               }
  444. +                               break;
  445. +                           }
  446. +                       }
  447. +                   }
  448. +                   else
  449. +                   {
  450. +                       final int chance = getRandom(100);
  451. +                       for (int[] reward : ((st.get("bet") == "10") ? _rewards_10_lose : _rewards_100_lose_Cliff))
  452. +                       {
  453. +                           if (chance < reward[0])
  454. +                           {
  455. +                               st.giveItems(reward[1], 1);
  456. +                               break;
  457. +                           }
  458.                         }
  459.                     }
  460.                 }
  461. diff --git a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q627_HeartInSearchOfPower/Q627_HeartInSearchOfPower.java b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q627_HeartInSearchOfPower/Q627_HeartInSearchOfPower.java
  462. index 63bd7f4..0e655f5 100644
  463. --- a/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q627_HeartInSearchOfPower/Q627_HeartInSearchOfPower.java
  464. +++ b/L2J_Mobius_C4_ScionsOfDestiny/dist/game/data/scripts/quests/Q627_HeartInSearchOfPower/Q627_HeartInSearchOfPower.java
  465. @@ -62,7 +62,7 @@
  466.         REWARDS.put("asofe", new int[]{4043, 13, 6400});
  467.         REWARDS.put("thon", new int[]{4044, 13, 6400});
  468.         REWARDS.put("enria", new int[]{4042, 6, 13600});
  469. -       REWARDS.put("mold", new int[]{4041, 3, 17200});
  470. +       REWARDS.put("mold", new int[]{4041, 6, 17200});
  471.         // @formatter:on
  472.     }
  473.    
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement