Advertisement
Guest User

Untitled

a guest
May 24th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 7.22 KB | None | 0 0
  1. -- Source: WoWArmory
  2. -- Set Boss ids
  3. SET @Lord_Marrowgar := 36612;
  4. SET @Lady_Deathwhisper := 36855;
  5. SET @Festergut := 36626;
  6. SET @Rotface := 36627;
  7. SET @Professor_Putricide := 36678;
  8.  
  9. SET @PriSar := 49908; -- Primordial Saronite
  10.  
  11. CALL `sp_get_npc_diffentry`(@Lord_Marrowgar,2,@Lord_Marrowgar10H);
  12. CALL `sp_get_npc_diffentry`(@Lady_Deathwhisper,2,@Lady_Deathwhisper10H);
  13. CALL `sp_get_npc_diffentry`(@Festergut,2,@Festergut10H);
  14. CALL `sp_get_npc_diffentry`(@Rotface,2,@Rotface10H);
  15. CALL `sp_get_npc_diffentry`(@Professor_Putricide,2,@Professor_Putricide10H);
  16. -- Reference-loot ids
  17. CALL `sp_get_ref_id`( 'RAID_CRE' ,@RefA10H);
  18. SET @RefB10H := @RefA10H+1;
  19. SET @RefC10H := @RefA10H+2;
  20. SET @RefD10H := @RefA10H+3;
  21. SET @RefE10H := @RefA10H+4;
  22. SET @RefF10H := @RefA10H+5;
  23. -- Set Proper Lootid to creature
  24. CALL `sp_set_npc_lootid_bylist`(CONCAT(@Lord_Marrowgar10H,",",@Lady_Deathwhisper10H,",",@Festergut10H,",",@Rotface10H,",",@Professor_Putricide10H),NULL);
  25. -- Delete previous loot if exists
  26. DELETE FROM `creature_loot_template` WHERE `entry` IN (@Lord_Marrowgar10H,@Lady_Deathwhisper10H,@Festergut10H,@Rotface10H,@Professor_Putricide10H);
  27. DELETE FROM `reference_loot_template` WHERE `entry`=@RefA10H,@RefB10H,@RefC10H,@RefD10H,@RefE10H;
  28.  
  29. -- Creature_loot_template for 10H
  30. INSERT INTO `creature_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`groupid`,`mincountOrRef`,`maxcount`,`lootcondition`,`condition_value1`,`condition_value2`) VALUES
  31. (@Lord_Marrowgar10H,1,100,0,-@RefA10H,2,0,0,0), -- Two from Marrowgar_10H Reference
  32. (@Lord_Marrowgar10H,49426,100,0,1,1,0,0,0), -- Emblem of Frost
  33. (@Lord_Marrowgar10H,@PriSar,38,0,1,1,0,0,0), -- Primordial Saronite
  34. (@Lady_Deathwhisper10H,1,100,0,-@RefB10H,2,0,0,0), -- Two from Lady Deathwhisper_10H Reference
  35. (@Lady_Deathwhisper10H,49426,100,0,1,1,0,0,0), -- Emblem of Frost
  36. (@Lady_Deathwhisper10H,@PriSar,38,0,1,1,0,0,0), -- Primordial Saronite
  37. (@Festergut10H,1,100,0,-@RefC10H,2,0,0,0), -- Two from Festergut_10H Reference
  38. (@Festergut10H,49426,100,0,1,1,0,0,0), -- Emblem of Frost
  39. (@Festergut10H,@PriSar,38,0,1,1,0,0,0), -- Primordial Saronite
  40. (@Rotface10H,1,100,0,-@RefD10H,2,0,0,0), -- Two from Rotface Reference
  41. (@Rotface10H,49426,100,0,1,1,0,0,0), -- Emblem of Frost
  42. (@Rotface10H,@PriSar,38,0,1,1,0,0,0), -- Primordial Saronite
  43. (@Professor_Putricide10H,1,100,0,-@RefE10H,2,0,0,0), -- Two from Professor_Putricide Reference
  44. (@Professor_Putricide10H,49426,100,0,1,1,0,0,0), -- Emblem of Frost
  45. (@Professor_Putricide10H,@PriSar,38,0,1,1,0,0,0), -- Primordial Saronite
  46. (@Professor_Putricide10H,1,100,0,-@RefF10H,1,0,0,0); -- One of tokens drops
  47.  
  48. -- reference_loot_template for 10H
  49. INSERT INTO `reference_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`groupid`,`mincountOrRef`,`maxcount`,`lootcondition`,`condition_value1`,`condition_value2`) VALUES
  50. -- Tokens
  51. (@RefF10H,52027,0,1,1,1,0,0,0), -- Conqueror's Mark of Sanctification
  52. (@RefF10H,52026,0,1,1,1,0,0,0), -- Protector's Mark of Sanctification
  53. (@RefF10H,52025,0,1,1,1,0,0,0); -- Vanquisher's Mark of Sanctification
  54. -- Lord Marrowgar_10H Reference
  55. (@RefA10H,50346,0,1,1,1,0,0,0), -- Sliver of Pure Ice (heroic)
  56. (@RefA10H,51930,0,1,1,1,0,0,0), -- Cord of the Patronizing Practitioner(heroic)  
  57. (@RefA10H,51934,0,1,1,1,0,0,0), -- Marrowgar's Scratching Choker(heroic)
  58. (@RefA10H,51933,0,1,1,1,0,0,0), -- Shawl of Nerubian Silk(heroic)
  59. (@RefA10H,51932,0,1,1,1,0,0,0), -- Frost Needle(heroic)
  60. (@RefA10H,51928,0,1,1,1,0,0,0), -- Corrupted Silverplate Leggings(heroic)
  61. (@RefA10H,51937,0,1,1,1,0,0,0), -- Bonebreaker Scepter(heroic)
  62. (@RefA10H,51929,0,1,1,1,0,0,0), -- Coldwraith Bracers(heroic)
  63. (@RefA10H,51935,0,1,1,1,0,0,0), -- Linked Scourge Vertebrae(heroic)
  64. (@RefA10H,51931,0,1,1,1,0,0,0), -- Ancient Skeletal Boots(heroic)
  65. (@RefA10H,51936,0,1,1,1,0,0,0), -- Citadel Enforcer's Claymore(heroic)
  66. (@RefA10H,51938,0,1,1,1,0,0,0), -- Bone Warden's Splitter(heroic)
  67. -- Lady Deathwhisper_10H Reference
  68. (@RefB10H,51922,0,1,1,1,0,0,0), -- Scourgelord's Baton(heroic)
  69. (@RefB10H,50343,0,1,1,1,0,0,0), -- Whispering Fanged Skull(heroic)
  70. (@RefB10H,51926,0,1,1,1,0,0,0), -- Handgrips of Frost and Sleet(heroic)
  71. (@RefB10H,51921,0,1,1,1,0,0,0), -- Sister's Handshrouds(heroic)
  72. (@RefB10H,51925,0,1,1,1,0,0,0), -- Soulthief's Braided Belt(heroic)
  73. (@RefB10H,51927,0,1,1,1,0,0,0), -- Njorndar Bone Bow(heroic)
  74. (@RefB10H,51920,0,1,1,1,0,0,0), -- Boots of the Frozen Seed(heroic)  
  75. (@RefB10H,51917,0,1,1,1,0,0,0), -- Ghoul Commander's Cuirass(heroic)
  76. (@RefB10H,51924,0,1,1,1,0,0,0), -- Deathspeaker Zealot's Helm(heroic)
  77. (@RefB10H,51923,0,1,1,1,0,0,0), -- Chestguard of the Frigid Noose(heroic)
  78. (@RefB10H,51918,0,1,1,1,0,0,0), -- Bracers of Dark Blessings(heroic)
  79. (@RefB10H,51919,0,1,1,1,0,0,0), -- Deathspeaker Disciple's Belt(heroic)
  80. -- Festergut_10H Reference
  81. (@RefC10H,51891,0,1,1,1,0,0,0), -- Taldron's Long Neglected Boots(heroic)
  82. (@RefC10H,51882,0,1,1,1,0,0,0), -- Kilt of Untreated Wounds(heroic)
  83. (@RefC10H,51892,0,1,1,1,0,0,0), -- Festering Fingerguards(heroic)
  84. (@RefC10H,51889,0,1,1,1,0,0,0), -- Plague-Soaked Leather Leggings(heroic)  
  85. (@RefC10H,51890,0,1,1,1,0,0,0), -- Precious's Putrid Collar(heroic)
  86. (@RefC10H,51888,0,1,1,1,0,0,0), -- Cloak of Many Skins(heroic)
  87. (@RefC10H,51893,0,1,1,1,0,0,0), -- Gutbuster(heroic)
  88. (@RefC10H,51884,0,1,1,1,0,0,0), -- Signet of Putrefaction(heroic)  
  89. (@RefC10H,51887,0,1,1,1,0,0,0), -- Abracadaver(heroic)  
  90. (@RefC10H,51886,0,1,1,1,0,0,0), -- Festergut's Gaseous Gloves(heroic)  
  91. (@RefC10H,51885,0,1,1,1,0,0,0), -- Wrists of Septic Shock(heroic)  
  92. (@RefC10H,51883,0,1,1,1,0,0,0), -- Bloodstained Surgeon's Shoulderguards(heroic)  
  93. -- Rotface_10H Reference
  94. (@RefD10H,51878,0,1,1,1,0,0,0), -- Rotface's Rupturing Ring(heroic)  
  95. (@RefD10H,51871,0,1,1,1,0,0,0), -- Choker of Filthy Diamonds(heroic)
  96. (@RefD10H,51875,0,1,1,1,0,0,0), -- Lockjaw(heroic)  
  97. (@RefD10H,51879,0,1,1,1,0,0,0), -- Flesh-Shaper's Gurney Strap(heroic)  
  98. (@RefD10H,51870,0,1,1,1,0,0,0), -- Chestguard of the Failed Experiment(heroic)  
  99. (@RefD10H,51872,0,1,1,1,0,0,0), -- Ether-Soaked Bracers(heroic)  
  100. (@RefD10H,51876,0,1,1,1,0,0,0), -- Abomination Knuckles(heroic)  
  101. (@RefD10H,51873,0,1,1,1,0,0,0), -- Shuffling Shoes(heroic)  
  102. (@RefD10H,51881,0,1,1,1,0,0,0), -- Shaft of Glacial Ice(heroic)  
  103. (@RefD10H,51877,0,1,1,1,0,0,0), -- Taldron's Short-Sighted Helm(heroic)  
  104. (@RefD10H,51874,0,1,1,1,0,0,0), -- Gloves of Broken Fingers(heroic)  
  105. (@RefD10H,51880,0,1,1,1,0,0,0), -- Gluth's Fetching Knife(heroic)
  106. -- Professor_Putricide_10H Reference
  107. (@RefE10H,51859,0,1,1,1,0,0,0), -- Shoulders of Ruinous Senility(heroic)
  108. (@RefE10H,51864,0,1,1,1,0,0,0), -- Shoulderpads of the Morbid Ritual(heroic)  
  109. (@RefE10H,51860,0,1,1,1,0,0,0), -- Rippling Flesh Kilt(heroic)  
  110. (@RefE10H,51863,0,1,1,1,0,0,0), -- Pendant of Split Veins(heroic)  
  111. (@RefE10H,51869,0,1,1,1,0,0,0), -- The Facelifter(heroic)
  112. (@RefE10H,51867,0,1,1,1,0,0,0), -- Infected Choker (heroic)
  113. (@RefE10H,51866,0,1,1,1,0,0,0), -- Discarded Bag of Entrails (heroic)
  114. (@RefE10H,51861,0,1,1,1,0,0,0), -- Chestplate of Septic Stitches( heroic)
  115. (@RefE10H,51868,0,1,1,1,0,0,0), -- Flesh-Carving Scalpel (heroic)
  116. (@RefE10H,50344,0,1,1,1,0,0,0), -- Unidentifiable Organ (heroic)
  117. (@RefE10H,51865,0,1,1,1,0,0,0), -- Scalpel-Sharpening Shoulderguards (heroic)
  118. (@RefE10H,51862,0,1,1,1,0,0,0); -- Cauterized Cord (heroic)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement