Advertisement
irhas

Prospecting_fixes_AMPM

May 18th, 2013
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 3.06 KB | None | 0 0
  1. -- //PROSPECTING//
  2.  
  3. SET @RefObsi1 := xxx; -- Green Quality Gem, diisi sendiri untuk reference_loot_template
  4. SET @RefObsi2 := xxx; -- Blue Quality Gem, diisi sendiri  
  5. SET @RefElem1 := xxx; -- Green Quality Gem, diisi sendiri
  6. SET @RefElem2 := xxx; -- Blue Quality Gem, diisi sendiri
  7. SET @RefPyri1 := xxx; -- Green Quality Gem, diisi sendiri
  8. SET @RefPyri2 := xxx; -- Blue Quality Gem, diisi sendiri
  9.  
  10. SET @Obsidium := 53038;
  11. SET @Elementium := 52185;
  12. SET @Pyrite := 52183;
  13.  
  14. DELETE FROM prospecting_loot_template WHERE entry IN (@Obsidium, @Elementium, @Pyrite);
  15. DELETE FROM reference_loot_template WHERE entry IN (@RefObsi1, @RefObsi2, @RefElem1, @RefElem2, @RefPyri1, @RefPyri2);
  16.  
  17. -- Obsidium Ore
  18. INSERT INTO prospecting_loot_template VALUES
  19. (@Obsidium,1,98,1,0,-@RefObsi1,1), -- 98% chance uncommon gems
  20. (@Obsidium,2,2,1,0,-@RefObsi2,1); -- 2% chance rare gems
  21. INSERT INTO reference_loot_template VALUES
  22. -- Uncommon gems, 1-2
  23. (@RefObsi1,52177,0,1,1,1,2), -- Carnelian
  24. (@RefObsi1,52181,0,1,1,1,2), -- Hessonite
  25. (@RefObsi1,52182,0,1,1,1,2), -- Jasper
  26. (@RefObsi1,52180,0,1,1,1,2), -- Nightstone
  27. (@RefObsi1,52178,0,1,1,1,2), -- Zephyrite
  28. (@RefObsi1,52179,0,1,1,1,2), -- Alicite
  29. -- Rare gems, 1
  30. (@RefObsi2,52192,0,1,1,1,1), -- Dream Emerald
  31. (@RefObsi2,52190,0,1,1,1,1), -- Inferno Ruby
  32. (@RefObsi2,52195,0,1,1,1,1), -- Amberjewel
  33. (@RefObsi2,52194,0,1,1,1,1), -- Demonseye
  34. (@RefObsi2,52193,0,1,1,1,1), -- Ember Topaz
  35. (@RefObsi2,52191,0,1,1,1,1); -- Ocean Sapphire
  36.  
  37. -- Elementium Ore
  38. INSERT INTO prospecting_loot_template VALUES
  39. (@Elementium,1,95,1,0,-@RefElem1,1), -- 95% chance uncommon gems
  40. (@Elementium,2,5,1,0,-@RefElem2,1); -- 5% chance rare gems
  41. INSERT INTO reference_loot_template VALUES
  42. -- Uncommon gems, 1-2
  43. (@RefElem1,52177,0,1,1,1,2), -- Carnelian
  44. (@RefElem1,52181,0,1,1,1,2), -- Hessonite
  45. (@RefElem1,52182,0,1,1,1,2), -- Jasper
  46. (@RefElem1,52180,0,1,1,1,2), -- Nightstone
  47. (@RefElem1,52178,0,1,1,1,2), -- Zephyrite
  48. (@RefElem1,52179,0,1,1,1,2), -- Alicite
  49. -- Rare gems, 1-2
  50. (@RefElem2,52192,0,1,1,1,2), -- Dream Emerald
  51. (@RefElem2,52190,0,1,1,1,2), -- Inferno Ruby
  52. (@RefElem2,52195,0,1,1,1,2), -- Amberjewel
  53. (@RefElem2,52194,0,1,1,1,2), -- Demonseye
  54. (@RefElem2,52193,0,1,1,1,2), -- Ember Topaz
  55. (@RefElem2,52191,0,1,1,1,2); -- Ocean Sapphire
  56.  
  57. -- Pyrite Ore
  58. INSERT INTO prospecting_loot_template VALUES
  59. (@Pyrite,1,95,1,0,-@RefPyri1,1), -- 92% chance uncommon gems
  60. (@Pyrite,2,5,1,0,-@RefPyri2,1), -- 8% chance rare gems
  61. (@Pyrite,52327,100,1,1,1,3); -- Volatile Earth
  62. INSERT INTO reference_loot_template VALUES
  63. -- Uncommon gems, 1
  64. (@RefPyri1,52177,0,1,1,1,1), -- Carnelian
  65. (@RefPyri1,52181,0,1,1,1,1), -- Hessonite
  66. (@RefPyri1,52182,0,1,1,1,1), -- Jasper
  67. (@RefPyri1,52180,0,1,1,1,1), -- Nightstone
  68. (@RefPyri1,52178,0,1,1,1,1), -- Zephyrite
  69. (@RefPyri1,52179,0,1,1,1,1), -- Alicite
  70. -- Rare gems, 1-2
  71. (@RefPyri2,52192,0,1,1,1,2), -- Dream Emerald
  72. (@RefPyri2,52190,0,1,1,1,2), -- Inferno Ruby
  73. (@RefPyri2,52195,0,1,1,1,2), -- Amberjewel
  74. (@RefPyri2,52194,0,1,1,1,2), -- Demonseye
  75. (@RefPyri2,52193,0,1,1,1,2), -- Ember Topaz
  76. (@RefPyri2,52191,0,1,1,1,2); -- Ocean Sapphire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement