Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Feb 9th, 2010 | Syntax: None | Size: 3.27 KB | Hits: 56 | Expires: Never
Copy text to clipboard
  1. -- 25-Man Boss loot from Obsidian Sanctrum (including Hard Modes)
  2. -- Source: WoWhead
  3.  
  4. SET @Sartharion := 31311;
  5. SET @Reference := 70010; -- didn't know what exact reference range I should use so I used static for test drops
  6. SET @ReferenceD1 := 1+@Reference;
  7. SET @ReferenceD2 := 2+@Reference;
  8. SET @ReferenceD3 := 3+@Reference;
  9.  
  10. DELETE FROM 'creature_loot_template' WHERE 'entry'=@Sartharion;
  11. DELETE FROM 'reference_loot_template' WHERE 'entry'=@Reference;
  12. DELETE FROM 'reference_loot_template' WHERE 'entry'=@ReferenceD1;
  13. DELETE FROM 'reference_loot_template' WHERE 'entry'=@ReferenceD2;
  14. DELETE FROM 'reference_loot_template' WHERE 'entry'=@ReferenceD3;
  15.  
  16. UPDATE 'creature_template' SET 'lootid'='entry' WHERE 'entry'=@Sartharion;
  17.  
  18. -- generic loot (don't know whether tokens should be in generic - assume yes)
  19. INSERT INTO 'creature_loot_template' (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`,`lootcondition`,`condition_value1`,`condition_value2`) VALUES
  20. (@Sartharion,1,100,1,0,-@Reference,2,0,0,0), -- 2 selections from gear loot
  21. (@Sartharion,2,100,2,0,-@ReferenceD1,1,0,0,0), -- 1 selection from hard mode (1 Drake left alive)
  22. (@Sartharion,3,100,4,0,-@ReferenceD2,1,0,0,0), -- 1 selection from hard mode (2 Drakes left alive)
  23. (@Sartharion,4,100,8,0,-@ReferenceD3,1,0,0,0), -- 1 selection from hard mode (3 Drakes left alive)
  24. (@Sartharion,43347,93,1,0,0,1,0,0,0), -- Satchel of Spoils
  25. (@Sartharion,43345,90,1,0,0,1,0,0,0), -- Dragon Hide Bag
  26. (@Sartharion,45624,100,1,0,1,1,0,0,0), -- Emblem of conquest
  27. (@Sartharion,40630,68,1,0,0,1,0,0,0), -- Gauntlets of the Lost Vanquisher
  28. (@Sartharion,40629,53,1,0,0,1,0,0,0), -- Gauntlets of the Lost Protector
  29. (@Sartharion,40628,51,1,0,0,1,0,0,0); -- Gauntlets of the Lost Cunqueror
  30.  
  31. INSERT INTO `reference_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`,`lootcondition`,`condition_value1`,`condition_value2`) VALUES
  32. -- gear loot
  33. (@Reference,40431,0,1,1,1,1,0,0,0), -- Fury of the Five Flights
  34. (@Reference,40432,0,1,1,1,1,0,0,0), -- Illustration of the Dragon Soul
  35. (@Reference,40451,0,1,1,1,1,0,0,0), -- Hyaline Helm of the Sniper
  36. (@Reference,40437,0,1,1,1,1,0,0,0), -- Concealment Shoulderpads
  37. (@Reference,40438,0,1,1,1,1,0,0,0), -- Council Chamber Epaulets
  38. (@Reference,40439,0,1,1,1,1,0,0,0), -- Mantle of the Eternal Sentinel
  39. (@Reference,40453,0,1,1,1,1,0,0,0), -- Chestplate of the Great Aspects
  40. (@Reference,40446,0,1,1,1,1,0,0,0), -- Dragon Brood Legguards
  41. (@Reference,40433,0,1,1,1,1,0,0,0), -- Wyrmrest Band
  42. (@Reference,40455,0,1,1,1,1,0,0,0), -- Staff of Restraint
  43. -- 1 drake left
  44. (@ReferenceD1,44003,0,1,1,1,1,0,0,0), -- Upstanding Spaulders
  45. (@ReferenceD1,44002,0,1,1,1,1,0,0,0), -- The Sanctum's Flowing Vestments
  46. (@ReferenceD1,44000,0,1,1,1,1,0,0,0), -- Dragonstorm Breastplate
  47. (@ReferenceD1,44000,0,1,1,1,1,0,0,0), -- Bountiful Gauntlets
  48. -- 2 drakes left
  49. (@ReferenceD2,44007,0,1,1,1,1,0,0,0), -- Headpiece of Reconciliation
  50. (@ReferenceD2,44006,0,1,1,1,1,0,0,0), -- Obsidian Greathelm
  51. (@ReferenceD2,44005,0,1,1,1,1,0,0,0), -- Pennant Cloak
  52. (@ReferenceD2,44008,0,1,1,1,1,0,0,0), -- Unsullied Cuffs
  53. (@ReferenceD2,44011,0,1,1,1,1,0,0,0), -- Leggings of the Honored
  54. -- 3 drakes left
  55. (@ReferenceD3,43954,0,1,1,1,1,0,0,0); -- Reins of the Twilight Drake