Advertisement
irhas

Fishing_cataclysm_fixes_AMPM

May 19th, 2013
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 7.03 KB | None | 0 0
  1. -- // FISHING //
  2. SET @hyjal := 53067; -- dipake buat reference loot buat mancing di open water hyjal, 53067 diambil dari entry Striped Lurker, hanya contoh untuk mempermudah penomoran reference loot untuk fishing.
  3. SET @lava := 62512; -- dipake buat reference loot buat mancing di open lava land, 62512(Small Animal Bone) seperti nomer di atas, untuk mempermudah.
  4. SET @deepholm := 53068;
  5. SET @uldum := 53066;
  6. SET @coast1 := 53070; -- Uldum's coast
  7. SET @coast2 := 53071; -- Tolbarad & Twilight Highlands coasts
  8. SET @vashj := 53069;
  9. SET @twilight := 53054;
  10. SET @trash := 45190; -- trash loots from fishing
  11.  
  12. -- //Fishing in MOUNT HYJAL (616)//
  13. DELETE FROM fishing_loot_template WHERE entry=616; -- open water hyjal
  14. INSERT INTO fishing_loot_template VALUES
  15. (616,@hyjal,99.2,1,1,-@hyjal,1),
  16. (616,@trash,0.8,1,1,-@trash,1);
  17. DELETE FROM fishing_loot_template WHERE entry=5040; -- the throne of flame
  18. INSERT INTO fishing_loot_template VALUES
  19. (5040,@lava,100,1,1,-@lava,1);
  20.  
  21. DELETE FROM reference_loot_template WHERE entry=@hyjal;
  22. INSERT INTO reference_loot_template VALUES
  23. (@hyjal,53067,33,1,1,1,1), -- Striped Lurker
  24. (@hyjal,53062,50,1,1,1,1), -- Sharptooth
  25. (@hyjal,52326,2,1,1,1,3), -- Volatile Water
  26. (@hyjal,53063,15,1,1,1,1); -- Mountain Trout
  27.  
  28. -- //Fishing in DEEPHOLM (5042)//
  29. DELETE FROM fishing_loot_template WHERE entry=5042;
  30. INSERT INTO fishing_loot_template VALUES
  31. (5042,@deepholm,99.2,1,1,-@deepholm,1),
  32. (5042,@trash,0.8,1,1,-@trash,1);
  33.  
  34. DELETE FROM reference_loot_template WHERE entry=@deepholm;
  35. INSERT INTO reference_loot_template VALUES
  36. (@deepholm,53062,50,1,1,1,1), -- Sharptooth
  37. (@deepholm,53068,33,1,1,1,1),-- Lavascale Catfish
  38. (@deepholm,53065,15,1,1,1,1), -- Albino Catfish
  39. (@deepholm,52326,2,1,1,1,3); -- Volatile Water
  40.  
  41. -- //Fishing in ULDUM (5034)//
  42. -- uldum's inland (unfortunately 5034 = uldum's coastal)
  43. DELETE FROM fishing_loot_template WHERE entry IN (5670,5668,5715,5642,5466,5666,5716,5585,5586,5499);
  44. INSERT INTO fishing_loot_template VALUES
  45. (5670,@uldum,99.2,1,1,-@uldum,1),
  46. (5670,@trash,0.8,1,1,-@trash,1),
  47. (5668,@uldum,99.2,1,1,-@uldum,1),
  48. (5668,@trash,0.8,1,1,-@trash,1),
  49. (5715,@uldum,99.2,1,1,-@uldum,1),
  50. (5715,@trash,0.8,1,1,-@trash,1),
  51. (5642,@uldum,99.2,1,1,-@uldum,1),
  52. (5642,@trash,0.8,1,1,-@trash,1),
  53. (5466,@uldum,99.2,1,1,-@uldum,1),
  54. (5466,@trash,0.8,1,1,-@trash,1),
  55. (5666,@uldum,99.2,1,1,-@uldum,1),
  56. (5666,@trash,0.8,1,1,-@trash,1),
  57. (5716,@uldum,99.2,1,1,-@uldum,1),
  58. (5716,@trash,0.8,1,1,-@trash,1),
  59. (5585,@uldum,99.2,1,1,-@uldum,1),
  60. (5585,@trash,0.8,1,1,-@trash,1),
  61. (5499,@uldum,99.2,1,1,-@uldum,1),
  62. (5499,@trash,0.8,1,1,-@trash,1),
  63. (5586,@uldum,99.2,1,1,-@uldum,1),
  64. (5586,@trash,0.8,1,1,-@trash,1);
  65. DELETE FROM fishing_loot_template WHERE entry=5034; -- uldum's coasts
  66. INSERT INTO fishing_loot_template VALUES
  67. (5034,@coast1,99.2,1,1,-@coast1,1),
  68. (5034,@trash,0.8,1,1,-@trash,1);
  69.  
  70. DELETE FROM reference_loot_template WHERE entry=@uldum;
  71. INSERT INTO reference_loot_template VALUES
  72. (@uldum,53062,50,1,1,1,1), -- Sharptooth
  73. (@uldum,53068,33,1,1,1,1),-- Lavascale Catfish
  74. (@uldum,53066,15,1,1,1,1), -- Blackbelly Mudfish
  75. (@uldum,52326,2,1,1,1,3); -- Volatile Water
  76. DELETE FROM reference_loot_template WHERE entry=@coast1;
  77. INSERT INTO reference_loot_template VALUES
  78. (@coast1,53069,50,1,1,1,1), -- Murglesnout
  79. (@coast1,53072,33,1,1,1,1), -- Deepsea Sagefish
  80. (@coast1,53070,15,1,1,1,1), -- Fathom Eel
  81. (@coast1,52985,1,1,1,1,2), -- Azshara's Veil
  82. (@coast1,52326,1,1,1,1,2); -- Volatile Water
  83.  
  84. -- //Fishing in TOL'BARAD (5095) & PENINSULA (5389)//
  85. DELETE FROM fishing_loot_template WHERE entry in (5095,5389);
  86. INSERT INTO fishing_loot_template VALUES
  87. (5095,@coast2,99.2,1,1,-@coast2,1),
  88. (5095,@trash,0.8,1,1,-@trash,1),
  89. (5389,@coast2,99.2,1,1,-@coast2,1),
  90. (5389,@trash,0.8,1,1,-@trash,1);
  91.  
  92. -- //Fishing in VASH'JIR (5144,5145,4815)//
  93. DELETE FROM fishing_loot_template WHERE entry IN (4815,5144,5145,5146);
  94. INSERT INTO fishing_loot_template VALUES
  95. (4815,@vashj,99.2,1,1,-@vashj,1), -- Kelp'thar Forest
  96. (4815,@trash,0.8,1,1,-@trash,1),
  97. (5144,@vashj,99.2,1,1,-@vashj,1), -- Shimmering Expanse
  98. (5144,@trash,0.8,1,1,-@trash,1),
  99. (5145,@vashj,99.2,1,1,-@vashj,1), -- Abyssal Depths
  100. (5145,@trash,0.8,1,1,-@trash,1),
  101. (5146,@vashj,99.2,1,1,-@vashj,1),
  102. (5146,@trash,0.8,1,1,-@trash,1);
  103.  
  104. DELETE FROM reference_loot_template WHERE entry=@vashj;
  105. INSERT INTO reference_loot_template VALUES
  106. (@vashj,53069,50,1,1,1,1), -- Murglesnout
  107. (@vashj,53072,15,1,1,1,1), -- Deepsea Sagefish
  108. (@vashj,53070,30,1,1,1,1), -- Fathom Eel
  109. (@vashj,53071,5,1,1,1,1); -- Algaelin Rockfish
  110.  
  111. -- //Fishing in TWILIGHT HIGHLANDS (4922)//
  112. -- twilight's inland (unfortunately 4922 = twilight's coastal)
  113. DELETE FROM fishing_loot_template WHERE entry IN (5155,5563,5473,5472,5000,5353,5595,5143);
  114. INSERT INTO fishing_loot_template VALUES
  115. (5155,@twilight,99.2,1,1,-@twilight,1),
  116. (5155,@trash,0.8,1,1,-@trash,1),
  117. (5563,@twilight,99.2,1,1,-@twilight,1),
  118. (5563,@trash,0.8,1,1,-@trash,1),
  119. (5473,@twilight,99.2,1,1,-@twilight,1),
  120. (5473,@trash,0.8,1,1,-@trash,1),
  121. (5472,@twilight,99.2,1,1,-@twilight,1),
  122. (5472,@trash,0.8,1,1,-@trash,1),
  123. (5000,@twilight,99.2,1,1,-@twilight,1),
  124. (5000,@trash,0.8,1,1,-@trash,1),
  125. (5353,@twilight,99.2,1,1,-@twilight,1),
  126. (5353,@trash,0.8,1,1,-@trash,1),
  127. (5595,@twilight,99.2,1,1,-@twilight,1),
  128. (5595,@trash,0.8,1,1,-@trash,1),
  129. (5143,@twilight,99.2,1,1,-@twilight,1),
  130. (5143,@trash,0.8,1,1,-@trash,1);
  131. DELETE FROM fishing_loot_template WHERE entry=4922; -- twilight's coasts
  132. INSERT INTO fishing_loot_template VALUES
  133. (4922,@coast2,99.2,1,1,-@coast2,1),
  134. (4922,@trash,0.8,1,1,-@trash,1);
  135. DELETE FROM fishing_loot_template WHERE entry=5667; -- cannon's inferno
  136. INSERT INTO fishing_loot_template VALUES
  137. (5667,@lava,100,1,1,-@lava,1);
  138.  
  139. DELETE FROM reference_loot_template WHERE entry=@twilight;
  140. INSERT INTO reference_loot_template VALUES
  141. (@twilight,53067,33,1,1,1,1), -- Striped Lurker
  142. (@twilight,53062,50,1,1,1,1), -- Sharptooth
  143. (@twilight,52326,2,1,1,1,2), -- Volatile Water
  144. (@twilight,53064,15,1,1,1,1); -- Highland Guppy
  145.  
  146. -- // FISHING MISC //
  147. -- Open lava lands loots
  148. DELETE FROM reference_loot_template WHERE entry=@lava;
  149. INSERT INTO reference_loot_template VALUES
  150. (@lava,62512,40,1,1,1,1), -- Small Animal Bone
  151. (@lava,6297,40,1,1,1,1), -- Old Skull
  152. (@lava,3857,10,1,1,1,1), -- Coal
  153. (@lava,62065,5,1,1,1,1), -- Melted Cleaver
  154. (@lava,52325,5,1,1,1,2); -- Volatile Fire
  155.  
  156. -- Coast 2
  157. DELETE FROM reference_loot_template WHERE entry=@coast2;
  158. INSERT INTO reference_loot_template VALUES
  159. (@coast2,53069,50,1,1,1,1), -- Murglesnout
  160. (@coast2,53072,33,1,1,1,1), -- Deepsea Sagefish
  161. (@coast2,53071,15,1,1,1,1), -- Algaelin Rockfish
  162. (@coast2,52985,1,1,1,1,2), -- Azshara's Veil
  163. (@coast2,52326,1,1,1,1,2); -- Volatile Water
  164.  
  165. -- Random trashes loots
  166. DELETE FROM reference_loot_template WHERE entry=@trash;
  167. INSERT INTO reference_loot_template VALUES
  168. (@trash,45190,1,1,1,1,1), -- trashes..
  169. (@trash,45200,1,1,1,1,1),
  170. (@trash,45194,1,1,1,1,1),
  171. (@trash,45196,1,1,1,1,1),
  172. (@trash,45198,1,1,1,1,1),
  173. (@trash,45195,0.02,1,1,1,1),
  174. (@trash,45199,0.02,1,1,1,1),
  175. (@trash,45197,0.02,1,1,1,1),
  176. (@trash,45202,0.02,1,1,1,1),
  177. (@trash,45201,0.02,1,1,1,1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement