PageRenderTime 29ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/sql/old/4.3.4/TDB01_to_TDB02_updates/world/205_creature_loot_template.sql

https://gitlab.com/Lbniese/TrinityCore_434
SQL | 147 lines | 86 code | 39 blank | 22 comment | 0 complexity | a13712e7535612e11e35fe03e027426a MD5 | raw file
  1. -- *** FIXES FOR DUN MOROGH ***
  2. -- Quest #24475 fix : All the Other Stuff. Add the quest loot to the timber wolf, young wolf and boar
  3. DELETE FROM `creature_loot_template` WHERE `entry` = 708 AND `item` = 49747;
  4. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES (708, 49747, -39, 1, 0, 1, 1);
  5. DELETE FROM `creature_loot_template` WHERE `entry` = 705 AND `item` = 49748;
  6. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES (705, 49748, -64, 1, 0, 1, 1);
  7. DELETE FROM `creature_loot_template` WHERE `entry` = 704 AND `item` = 49748;
  8. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES (704, 49748, -70, 1, 0, 1, 1);
  9. -- Quest #24486 fix : Make Hay While the Sun Shines. Add the Priceless Rockjaw Artifact loot to the Rockjaw Scavenger so you can complete the quest
  10. DELETE FROM `creature_loot_template` WHERE `entry` = 37105 AND `item` = 49751;
  11. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES (37105, 49751, -90, 1, 0, 1, 1);
  12. UPDATE `creature_template` SET `lootid` = 37105 WHERE `entry` = 37105;
  13. -- Quest #384 fix: Adding the tender boar meat to the crag boar, the 41% rate is from wowhead
  14. DELETE FROM `creature_loot_template` WHERE `entry` = 1125 AND `item` = 60496;
  15. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES (1125, 60496, -41, 1, 0, 1, 1);
  16. -- Quest #384 fix: Last gossip_menu_id was 1297 but it was preventing players from trading with the innkeeper and setting their heartstone in that region
  17. UPDATE `creature_template` SET `gossip_menu_id` = 0 WHERE `entry` = 1247;
  18. -- Quest #25997 fix: Adding Dark Iron Attack Plans
  19. DELETE FROM `creature_loot_template` WHERE `entry` = 6124 AND `item` = 56264;
  20. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES (6124, 56264, -100, 1, 0, 1, 1);
  21. -- *** FIXES FOR LOCH MODAN ***
  22. -- Quest #26845 fix: Adding the Foreman Sharpsneer's Head
  23. DELETE FROM `creature_loot_template` WHERE `entry` = 44198 AND `item` = 60404;
  24. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES (44198, 60404, -100, 1, 0, 1, 1);
  25. UPDATE `creature_template` SET `lootid` = 44198 WHERE `entry` = 44198;
  26. -- Quest #26842 fix: Adding Mosshide Ear
  27. DELETE FROM `creature_loot_template` WHERE `entry` = 44162 AND `item` = 60402;
  28. DELETE FROM `creature_loot_template` WHERE `entry` = 44161 AND `item` = 60402;
  29. DELETE FROM `creature_loot_template` WHERE `entry` = 45384 AND `item` = 60402;
  30. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  31. (44162, 60402, -100, 1, 0, 1, 1),
  32. (44161, 60402, -100, 1, 0, 1, 1),
  33. (45384, 60402, -100, 1, 0, 1, 1);
  34. UPDATE `creature_template` SET `lootid` = 44162 WHERE `entry` = 44162;
  35. UPDATE `creature_template` SET `lootid` = 44161 WHERE `entry` = 44161;
  36. UPDATE `creature_template` SET `lootid` = 45384 WHERE `entry` = 45384;
  37. -- Quest #26928 fix: Adding Murloc Scent Gland, the drop rates are from wowhead
  38. DELETE FROM `creature_loot_template` WHERE `entry` = 44176 AND `item` = 60511;
  39. DELETE FROM `creature_loot_template` WHERE `entry` = 44292 AND `item` = 60511;
  40. DELETE FROM `creature_loot_template` WHERE `entry` = 45401 AND `item` = 60511;
  41. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  42. (44176, 60511, -45, 1, 0, 1, 1),
  43. (44292, 60511, -38, 1, 0, 1, 1),
  44. (45401, 60511, -30, 1, 0, 1, 1);
  45. UPDATE `creature_template` SET `lootid` = 44176 WHERE `entry` = 44176;
  46. UPDATE `creature_template` SET `lootid` = 44292 WHERE `entry` = 44292;
  47. UPDATE `creature_template` SET `lootid` = 45401 WHERE `entry` = 45401;
  48. -- Quest #26929 fix: Adding Intact Crocolisk Jaw, the 44% drop rates is from wowhead
  49. DELETE FROM `creature_loot_template` WHERE `entry` = 1693 AND `item` = 57131;
  50. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  51. (1693, 57131, -44, 1, 0, 1, 1);
  52. -- Quest #26860 fix: Adding Bear Rump, the 56% drop rates is from wowhead
  53. DELETE FROM `creature_loot_template` WHERE `entry` = 1186 AND `item` = 60497;
  54. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  55. (1186, 60497, -56, 1, 0, 1, 1);
  56. -- Quest #27031 Wing Nut - fix: Adding the Pristine Flight Feather, the 34% drop rate is from wowhead
  57. DELETE FROM `creature_loot_template` WHERE `entry` = 44628 AND `item` = 60792;
  58. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`)
  59. VALUES (44628, 60792, -34, 1, 0, 1, 1);
  60. UPDATE `creature_template` SET `lootid` = 44628 WHERE `entry` = 44628;
  61. -- Quest #27028 Hornet Hunting - fix: Adding the Glassy Hornet Wing, the drop % is from wowhead
  62. DELETE FROM `creature_loot_template` WHERE `entry` = 44620 AND `item` = 60754;
  63. DELETE FROM `creature_loot_template` WHERE `entry` = 45402 AND `item` = 60754;
  64. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  65. (44620, 60754, -41, 1, 0, 1, 1),
  66. (45402, 60754, -32, 1, 0, 1, 1);
  67. UPDATE `creature_template` SET `lootid` = 44620 WHERE `entry` = 44620;
  68. UPDATE `creature_template` SET `lootid` = 45402 WHERE `entry` = 45402;
  69. -- Quest #27030 Foxtails by the handful - fix: Adding the Fluffy Fox Tail, the drop % is from wowhead
  70. DELETE FROM `creature_loot_template` WHERE `entry` = 44635 AND `item` = 60755;
  71. DELETE FROM `creature_loot_template` WHERE `entry` = 45380 AND `item` = 60755;
  72. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  73. (44635, 60755, -81, 1, 0, 1, 1),
  74. (45380, 60755, -53, 1, 0, 1, 1);
  75. UPDATE `creature_template` SET `lootid` = 44635 WHERE `entry` = 44635;
  76. UPDATE `creature_template` SET `lootid` = 45380 WHERE `entry` = 45380;
  77. -- *** FIXES FOR THE WETLANDS ***
  78. -- Quest #25800 When Life Gives You Crabs - fix: Adding the Meaty Crawler Claw, the drop % is from wowhead
  79. DELETE FROM `creature_loot_template` WHERE `entry` = 44116 AND `item` = 56013;
  80. DELETE FROM `creature_loot_template` WHERE `entry` = 41295 AND `item` = 56013;
  81. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  82. (44116, 56013, -43, 1, 0, 1, 1),
  83. (41295, 56013, -36, 1, 0, 1, 1);
  84. UPDATE `creature_template` SET `lootid` = 44116 WHERE `entry` = 44116;
  85. UPDATE `creature_template` SET `lootid` = 41295 WHERE `entry` = 41295;
  86. -- Quest #25723 Thresh Out of Luck - fix: Adding the Threshadon Chunk, the drop % is from wowhead
  87. DELETE FROM `creature_loot_template` WHERE `entry` = 41137 AND `item` = 55232;
  88. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  89. (41137, 55232, -94, 1, 0, 1, 1);
  90. UPDATE `creature_template` SET `lootid` = 41137 WHERE `entry` = 41137;
  91. -- Quest #25849 When Archaeology Attacks - fix: Adding the Fossilized Bone, the drop % is from wowhead
  92. DELETE FROM `creature_loot_template` WHERE `entry` = 41388 AND `item` = 56083;
  93. DELETE FROM `creature_loot_template` WHERE `entry` = 44226 AND `item` = 56083;
  94. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  95. (41388, 56083, -68, 1, 0, 1, 3),
  96. (44226, 56083, -5, 1, 0, 1, 3);
  97. UPDATE `creature_template` SET `lootid` = 41388 WHERE `entry` = 41388;
  98. UPDATE `creature_template` SET `lootid` = 44226 WHERE `entry` = 44226;
  99. -- Quest #25853 Tooling Around - fix: Adding the Archaeologist's Tools
  100. DELETE FROM `gameobject_loot_template` WHERE `entry` = 29626 AND `item` = 56082;
  101. INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  102. (29626, 56082, -100, 1, 0, 1, 1);
  103. -- *** FIXES FOR THE HINTERLANDS ***
  104. -- Quest #26490 (Alliance) & #26283 (Horde) Prime Slime - fix: Adding the Direglob Sample
  105. DELETE FROM `creature_loot_template` WHERE `entry` = 42592 AND `item` = 58082;
  106. INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
  107. (42592, 58082, -100, 1, 0, 1, 1);
  108. UPDATE `creature_template` SET `lootid` = 42592 WHERE `entry` = 42592;