Guest User

BestInSlotRedux_BfaDungeons.lua Mechagon Fix

a guest
Jul 12th, 2019
510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.77 KB | None | 0 0
  1. ----------------------------------------------------------------------
  2. ----- 1. Open \_retail_\Interface\Addons\BestInSlotRedux_BfaDungeons\BestInSlotRedux_BfaDungeons.lua
  3. ----- 2. Remove all text and replace with the text below the "--~~~~~~~~~~~~~~~~~--" or copy past all.
  4. ----- 3. Save the file.
  5. ----- 4. /reload in-game or relog
  6. ----- 5. Items are under "Battle For Azeroth Dungeon" (there are no head items and all 3 difficulties show the mythic items)
  7. ----------------------------------------------------------------------
  8. --~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--
  9. local Dungeons = LibStub("AceAddon-3.0"):GetAddon("BestInSlotRedux"):NewModule("BfaDungeons")
  10. local dungeonTierId = 80000
  11. local bonusIds = {
  12. bonusids = {
  13. [1] = {3524},
  14. [2] = {3524},
  15. [3] = {3524}
  16. },
  17. difficultyconversion = {
  18. [1] = 1, --Raid Normal
  19. [2] = 2, --Raid Heroic
  20. [3] = 23, --Raid Mythic
  21. }
  22. }
  23.  
  24. function Dungeons:AtalDazar()
  25. local ataldazar = "ataldazar"
  26. local name = C_Map.GetMapInfo(934).name
  27. self:RegisterRaidInstance(dungeonTierId, ataldazar, name, bonusIds)
  28. --------------------------------------------------
  29. ----- Atal'Dazar
  30. --------------------------------------------------
  31.  
  32.  
  33. -----------------------------------
  34. ----- Priestess Alun'za
  35. -----------------------------------
  36. local bossName = EJ_GetEncounterInfo(2082)
  37. local lootTable = {
  38. 158321, --Wand of Zealous Purification
  39. 158322, --Aureus Vessel
  40. 158309, --Wristlinks of Alchemical Transfusion
  41. 158306, --Belt of Gleaming Determination
  42. 158347, --Cincture of Glittering Gold
  43. 158313, --Legplates of Beaten Gold
  44. 155861, --Embellished Ritual Sabatons
  45. 158319, --My'das Talisman
  46. }
  47. self:RegisterBossLoot(ataldazar, lootTable, bossName)
  48.  
  49.  
  50. -----------------------------------
  51. ----- Vol'kaal
  52. -----------------------------------
  53. local bossName = EJ_GetEncounterInfo(2036)
  54. local lootTable = {
  55. 159632, --Adulation Enforcer
  56. 158375, --Drape of the Loyal Vassal
  57. 158348, --Wraps of Everliving Fealty
  58. 158317, --Gauntlets of Eternal Service
  59. 159445, --Grips of the Everlasting Guardian
  60. 155869, --Shambling Berserker's Leggings
  61. 158320, --Revitalizing Voodoo Totem
  62. }
  63. self:RegisterBossLoot(ataldazar, lootTable, bossName)
  64.  
  65.  
  66. -----------------------------------
  67. ----- Rezan
  68. -----------------------------------
  69. local bossName = EJ_GetEncounterInfo(2083)
  70. local lootTable = {
  71. 160269, --Soulrending Claw
  72. 158711, --Hallowed Ossein Longbow
  73. 158713, --Disc of Indomitable Will
  74. 160214, --Venerated Raptorhide Bindings
  75. 155868, --Kilt of Fanatical Consumption
  76. 158303, --Devilsaur Worshiper's Sandals
  77. 159458, --Seal of the Regal Loa
  78. 158712, --Rezan's Gleaming Eye
  79. }
  80. self:RegisterBossLoot(ataldazar, lootTable, bossName)
  81.  
  82.  
  83. -----------------------------------
  84. ----- Yazma
  85. -----------------------------------
  86. local bossName = EJ_GetEncounterInfo(2030)
  87. local lootTable = {
  88. 158323, --Soulrender's Fang
  89. 159358, --Coif of the Court Spider
  90. 158315, --Secret Spinner's Miter
  91. 155866, --Soulspun Casque
  92. 158304, --Mantle of Fastidious Machinations
  93. 159233, --Loa Betrayer's Vestments
  94. 155860, --Spymaster's Wrap
  95. 160212, --Shadowshroud Vambraces
  96. 158308, --Souldrifting Sabatons
  97. 159610, --Vessel of Skittering Shadows
  98. }
  99. self:RegisterBossLoot(ataldazar, lootTable, bossName)
  100.  
  101. end
  102.  
  103. function Dungeons:Freehold()
  104. local freehold = "freehold"
  105. local name = C_Map.GetMapInfo(936).name
  106. self:RegisterRaidInstance(dungeonTierId, freehold, name, bonusIds)
  107. --------------------------------------------------
  108. ----- Freehold
  109. --------------------------------------------------
  110.  
  111.  
  112. -----------------------------------
  113. ----- Skycap'n Kragg
  114. -----------------------------------
  115. local bossName = EJ_GetEncounterInfo(2102)
  116. local lootTable = {
  117. 159633, --Sharkbait's Fishhook
  118. 155884, --NO NAME?
  119. 159227, --Silk Cuffs of the Skycap'n
  120. 159353, --Chain-Linked Safety Cord
  121. 158360, --Sharkbait Harness Girdle
  122. 155862, --Kragg's Rigging Scalers
  123. }
  124. self:RegisterBossLoot(freehold, lootTable, bossName)
  125.  
  126.  
  127. -----------------------------------
  128. ----- Council o' Captains
  129. -----------------------------------
  130. local bossName = EJ_GetEncounterInfo(2093)
  131. local lootTable = {
  132. 159132, --Jolly's Boot Dagger
  133. 159130, --Captain's Diplomacy
  134. 158311, --Concealed Fencing Plates
  135. 159356, --Raoul's Barrelhook Bracers
  136. 158346, --Sailcloth Waistband
  137. 159297, --Silver-Trimmed Breeches
  138. 158351, --Dashing Bilge Rat Shoes
  139. 158314, --NO NAME?
  140. }
  141. self:RegisterBossLoot(freehold, lootTable, bossName)
  142.  
  143.  
  144. -----------------------------------
  145. ----- Ring of Booty
  146. -----------------------------------
  147. local bossName = EJ_GetEncounterInfo(2094)
  148. local lootTable = {
  149. 159634, --Jeweled Sharksplitter
  150. 158305, --Sea Dog's Cuffs
  151. 155890, --Sharktooth-Knuckled Grips
  152. 155892, --Bite-Resistant Chain Gloves
  153. 155889, --Sharkhide Grips
  154. 155891, --Greasy Bacon-Grabbers
  155. 158302, --Chum-Coated Leggings
  156. 158361, --Sharkwater Waders
  157. 158356, --Shell-Kickers
  158. }
  159. self:RegisterBossLoot(freehold, lootTable, bossName)
  160.  
  161.  
  162. -----------------------------------
  163. ----- Harlan Sweete
  164. -----------------------------------
  165. local bossName = EJ_GetEncounterInfo(2095)
  166. local lootTable = {
  167. 159635, --Bloody Tideturner
  168. 155886, --Smartly Plumed Cap
  169. 155887, --Sweete's Jeweled Headgear
  170. 155888, --Irontide Captain's Hat
  171. 155885, --Sea-Brawler's Greathelm
  172. 159299, --Gold-Tasseled Epaulets
  173. 159407, --Lockjaw Shoulderplate
  174. 159352, --Gaping Maw Shoulderguard
  175. 158301, --NO NAME?
  176. 155881, --NO NAME?
  177. }
  178. self:RegisterBossLoot(freehold, lootTable, bossName)
  179.  
  180. end
  181.  
  182. function Dungeons:KingsRest()
  183. local kingsrest = "kingsrest"
  184. local name = C_Map.GetMapInfo(1004).name
  185. self:RegisterRaidInstance(dungeonTierId, kingsrest, name, bonusIds)
  186. --------------------------------------------------
  187. ----- Kings' Rest
  188. --------------------------------------------------
  189.  
  190.  
  191. -----------------------------------
  192. ----- The Golden Serpent
  193. -----------------------------------
  194. local bossName = EJ_GetEncounterInfo(2165)
  195. local lootTable = {
  196. 159137, --Gilded Serpent's Tooth
  197. 159413, --Gauntlets of the Avian Sentinel
  198. 159369, --Belt of the Consecrated Tomb
  199. 159313, --Breeches of the Sacred Hall
  200. 159234, --Down-Lined Breeches
  201. 159412, --Auric Puddle Stompers
  202. 159304, --Goldfeather Boots
  203. 159617, --Lustrous Golden Plumage
  204. }
  205. self:RegisterBossLoot(kingsrest, lootTable, bossName)
  206.  
  207.  
  208. -----------------------------------
  209. ----- Mchimba the Embalmer
  210. -----------------------------------
  211. local bossName = EJ_GetEncounterInfo(2171)
  212. local lootTable = {
  213. 159642, --Royal Purifier's Spade
  214. 159667, --Vessel of Last Rites
  215. 159409, --Embalmer's Steadying Bracers
  216. 159312, --Desiccator's Blessed Gloves
  217. 160213, --Sepulchral Construct's Gloves
  218. 159459, --Ritual Binder's Ring
  219. 159618, --Mchimba's Ritual Bandages
  220. }
  221. self:RegisterBossLoot(kingsrest, lootTable, bossName)
  222.  
  223.  
  224. -----------------------------------
  225. ----- The Council of Tribes
  226. -----------------------------------
  227. local bossName = EJ_GetEncounterInfo(2170)
  228. local lootTable = {
  229. 160216, --Crackling Jade Kilij
  230. 159136, --Jeweled Dagger of Subjugation
  231. 159643, --Crossbow of Forgotten Majesty
  232. 159288, --Cloak of the Restless Tribes
  233. 159300, --Kula's Butchering Wristwraps
  234. 159418, --Girdle of Pestilent Purification
  235. 159371, --Boots of the Headlong Conqueror
  236. 159243, --Sandals of Wise Voodoo
  237. }
  238. self:RegisterBossLoot(kingsrest, lootTable, bossName)
  239.  
  240.  
  241. -----------------------------------
  242. ----- Dazar, The First King
  243. -----------------------------------
  244. local bossName = EJ_GetEncounterInfo(2172)
  245. local lootTable = {
  246. 159921, --Mummified Raptor Skull
  247. 159644, --Geti'ikku, Cut of Death
  248. 159645, --Headcracker of Supplication
  249. 159236, --Headdress of the First Empire
  250. 159422, --Helm of the Raptor King
  251. 158344, --Mantle of Ceremonial Ascension
  252. 159423, --Pauldrons of the Great Unifier
  253. 159368, --Spaulders of Prime Emperor
  254. 158355, --Loa-Blessed Chestguard
  255. 159303, --Vest of Reverent Adoration
  256. 159301, --Primal Dinomancer's Belt
  257. }
  258. self:RegisterBossLoot(kingsrest, lootTable, bossName)
  259.  
  260. end
  261.  
  262. function Dungeons:ShrineOfTheStorm()
  263. local shrineofthestorm = "shrineofthestorm"
  264. local name = C_Map.GetMapInfo(1039).name
  265. self:RegisterRaidInstance(dungeonTierId, shrineofthestorm, name, bonusIds)
  266. --------------------------------------------------
  267. ----- Shrine of the Storm
  268. --------------------------------------------------
  269.  
  270.  
  271. -----------------------------------
  272. ----- Aqu'sirr
  273. -----------------------------------
  274. local bossName = EJ_GetEncounterInfo(2153)
  275. local lootTable = {
  276. 159321, --Gloves of Corrupted Waters
  277. 159366, --Water Shapers
  278. 159239, --Aqu'sirr's Swirling Sash
  279. 159420, --Stormsurger's Sabatons
  280. 158318, --Murky Cerulean Signet
  281. 159619, --Briny Barnacle
  282. }
  283. self:RegisterBossLoot(shrineofthestorm, lootTable, bossName)
  284.  
  285.  
  286. -----------------------------------
  287. ----- Tidesage Council
  288. -----------------------------------
  289. local bossName = EJ_GetEncounterInfo(2154)
  290. local lootTable = {
  291. 158371, --Seabreeze
  292. 159426, --Belt of the Unrelenting Gale
  293. 159419, --Ironhull's Reinforced Legplates
  294. 159359, --Sea Priest's Greaves
  295. 159311, --Blessing Bearer's Waders
  296. 159295, --Footpads of the Serene Wake
  297. 159614, --Galecaller's Boon
  298. }
  299. self:RegisterBossLoot(shrineofthestorm, lootTable, bossName)
  300.  
  301.  
  302. -----------------------------------
  303. ----- Lord Stormsong
  304. -----------------------------------
  305. local bossName = EJ_GetEncounterInfo(2155)
  306. local lootTable = {
  307. 159646, --Aq'mar, the Tidecaller
  308. 159289, --Void-Drenched Cape
  309. 159364, --Bindings of the Calling Depths
  310. 159308, --Bracers of the Sacred Fleet
  311. 159421, --Gauntlets of Total Subservience
  312. 159242, --Leggings of the Drowned Lord
  313. }
  314. self:RegisterBossLoot(shrineofthestorm, lootTable, bossName)
  315.  
  316.  
  317. -----------------------------------
  318. ----- Vol'zith the Whisperer
  319. -----------------------------------
  320. local bossName = EJ_GetEncounterInfo(2156)
  321. local lootTable = {
  322. 159135, --Deep Fathom's Bite
  323. 159302, --Cowl of Fluid Machinations
  324. 159430, --Helm of Abyssal Malevolence
  325. 159244, --Stormlurker's Cowl
  326. 159238, --Mantle of Void-Touched Waters
  327. 159307, --Tentacle-Laced Spaulders
  328. 159408, --Chestguard of the Deep Denizen
  329. 159354, --Hauberk of Sunken Despair
  330. 159377, --Chain of Consummate Power
  331. 159620, --Conch of Dark Whispers
  332. }
  333. self:RegisterBossLoot(shrineofthestorm, lootTable, bossName)
  334. end
  335.  
  336. function Dungeons:SiegeOfBoralus()
  337. local siegeofboralus = "siegeofboralus"
  338. local name = C_Map.GetMapInfo(1162).name
  339. self:RegisterRaidInstance(dungeonTierId, siegeofboralus, name, bonusIds)
  340. --------------------------------------------------
  341. ----- Siege of Boralus
  342. --------------------------------------------------
  343. if UnitFactionGroup("player") == "Alliance" then
  344. -----------------------------------
  345. ----- Chopper Redhook (Alliance)
  346. -----------------------------------
  347. local bossName = EJ_GetEncounterInfo(2132)
  348. local lootTable = {
  349. 159972, --Mutineer's Fate
  350. 159973, --Boarder's Billy Club
  351. 159968, --Gloves of the Iron Reavers
  352. 159965, --Redhook's Cummerbund
  353. 159427, --Legplates of the Irontide Raider
  354. 159969, --Powdershot Leggings
  355. 159251, --Top-Sail Footwraps
  356. 162541, --Band of the Roving Scalawag
  357. }
  358. self:RegisterBossLoot(siegeofboralus, lootTable, bossName)
  359. else
  360. -----------------------------------
  361. ----- Sergeant Bainbridge
  362. -----------------------------------
  363. local bossName = EJ_GetEncounterInfo(2133)
  364. local lootTable = {
  365. 159647, --Siegebreaker's Halberd
  366. 159648, --Bainbridge's Blackjack
  367. 159328, --Wharf Warden's Gloves
  368. 159245, --Cord of the Pious Warder
  369. 159411, --Legplates of the Maritime Guard
  370. 159367, --Unstoppable Zealot's Legplates
  371. 159278, --Slippers of Unwavering Faith
  372. 162542, --Seal of the City Watch
  373. }
  374. self:RegisterBossLoot(siegeofboralus, lootTable, bossName)
  375. end
  376.  
  377.  
  378. -----------------------------------
  379. ----- Dread Captain Lockwood
  380. -----------------------------------
  381. local bossName = EJ_GetEncounterInfo(2173)
  382. local lootTable = {
  383. 159649, --Saber of Dread Pirate Lockwood
  384. 159372, --Dread Captain's Irons
  385. 159237, --Captain's Dustfinders
  386. 159429, --Rope-Scored Gauntlets
  387. 159434, --Cannoneer's Toolbelt
  388. 159309, --Port Pillager's Belt
  389. 159250, --Powder Monkey's Leggings
  390. 159320, --Besieger's Deckstalkers
  391. 159379, --Sure-Foot Sabatons
  392. 159623, --Dead-Eye Spyglass
  393. }
  394. self:RegisterBossLoot(siegeofboralus, lootTable, bossName)
  395.  
  396.  
  397. -----------------------------------
  398. ----- Hadal Darkfathom
  399. -----------------------------------
  400. local bossName = EJ_GetEncounterInfo(2134)
  401. local lootTable = {
  402. 159650, --Dismembered Submersible Claw
  403. 159386, --Anchor Chain Girdle
  404. 159322, --Seawalker's Pantaloons
  405. 159428, --Ballast Sinkers
  406. 159461, --Band of the Ancient Dredger
  407. 159622, --Hadal's Nautilus
  408. }
  409. self:RegisterBossLoot(siegeofboralus, lootTable, bossName)
  410.  
  411.  
  412. -----------------------------------
  413. ----- Viq'Goth
  414. -----------------------------------
  415. local bossName = EJ_GetEncounterInfo(2140)
  416. local lootTable = {
  417. 159651, --Coral-Edged Crescent
  418. 159310, --Circlet of the Enveloping Leviathan
  419. 159252, --Grasping Crown of the Deep
  420. 159376, --Hook-Barbed Spaulders
  421. 159431, --Kraken Shell Pauldrons
  422. 159314, --Cephalohide Jacket
  423. 159416, --Harpooner's Plate Cuirass
  424. 159362, --Tri-Heart Chestguard
  425. 159256, --Iron-Kelp Wristwraps
  426. }
  427. self:RegisterBossLoot(siegeofboralus, lootTable, bossName)
  428.  
  429.  
  430.  
  431. end
  432.  
  433. function Dungeons:TempleOfSethraliss()
  434. local templeofsethraliss = "templeofsethraliss"
  435. local name = C_Map.GetMapInfo(1038).name
  436. self:RegisterRaidInstance(dungeonTierId, templeofsethraliss, name, bonusIds)
  437. --------------------------------------------------
  438. ----- Temple of Sethraliss
  439. --------------------------------------------------
  440.  
  441.  
  442. -----------------------------------
  443. ----- Adderis and Aspix
  444. -----------------------------------
  445. local bossName = EJ_GetEncounterInfo(2142)
  446. local lootTable = {
  447. 159636, --Staff of the Lightning Serpent
  448. 158370, --Twin-Strike Polearm
  449. 159425, --Shard-Tipped Vambraces
  450. 159380, --Arc-Glass Bindings
  451. 159263, --Bindings of the Slithering Current
  452. 159317, --Whirling Dervish Sash
  453. 159435, --Legplates of Charged Duality
  454. 159329, --Leggings of the Galeforce Viper
  455. 159388, --Sabatons of Coruscating Energy
  456. 159259, --Sandswept Sandals
  457. }
  458. self:RegisterBossLoot(templeofsethraliss, lootTable, bossName)
  459.  
  460.  
  461. -----------------------------------
  462. ----- Merektha
  463. -----------------------------------
  464. local bossName = EJ_GetEncounterInfo(2143)
  465. local lootTable = {
  466. 158714, --Swarm's Edge
  467. 159637, --Snakebite Recurve
  468. 159437, --Fangproof Gauntlets
  469. 159255, --Ouroborial Sash
  470. 159375, --Legguards of the Awakening Brood
  471. 159327, --Sand-Shined Snakeskin Sandals
  472. 162544, --Jade Ophidian Band
  473. 158367, --Merektha's Fang
  474. }
  475. self:RegisterBossLoot(templeofsethraliss, lootTable, bossName)
  476.  
  477.  
  478. -----------------------------------
  479. ----- Galvazzt
  480. -----------------------------------
  481. local bossName = EJ_GetEncounterInfo(2144)
  482. local lootTable = {
  483. 158369, --Galvanized Stormcrusher
  484. 159664, --Bulwark of Brimming Potential
  485. 159247, --Handwraps of Oscillating Polarity
  486. 159442, --Sand-Scoured Greatbelt
  487. 158366, --Charged Sandstone Band
  488. 158374, --Tiny Electromental in a Jar
  489. }
  490. self:RegisterBossLoot(templeofsethraliss, lootTable, bossName)
  491.  
  492.  
  493. -----------------------------------
  494. ----- Avatar of Sethraliss
  495. -----------------------------------
  496. local bossName = EJ_GetEncounterInfo(2145)
  497. local lootTable = {
  498. 158373, --Resonating Crystal Scimitar
  499. 159374, --Sethraliss' Fanged Helm
  500. 159318, --Hood of the Slithering Loa
  501. 159439, --C'thraxxi Binders Pauldrons
  502. 159254, --Brood Cleanser's Amice
  503. 159370, --Corrupted Hexxer's Vestments
  504. 159257, --Robes of the Reborn Serpent
  505. 159424, --Desert Guardian's Breastplate
  506. 159337, --Grips of Electrified Defense
  507. 158368, --Fangs of Intertwined Essence
  508. }
  509. self:RegisterBossLoot(templeofsethraliss, lootTable, bossName)
  510.  
  511.  
  512.  
  513. end
  514.  
  515. function Dungeons:Motherlode()
  516. local motherlode = "motherlode"
  517. local name = C_Map.GetMapInfo(1010).name
  518. self:RegisterRaidInstance(dungeonTierId, motherlode, name, bonusIds)
  519. --------------------------------------------------
  520. ----- The MOTHERLODE!!
  521. --------------------------------------------------
  522.  
  523.  
  524. -----------------------------------
  525. ----- Coin-Operated Crowd Pummeler
  526. -----------------------------------
  527. local bossName = EJ_GetEncounterInfo(2109)
  528. local lootTable = {
  529. 159638, --Electro-Arm Bludgeoner
  530. 159663, --G0-4W4Y Crowd Repeller
  531. 158353, --Servo-Arm Bindings
  532. 155864, --Power-Assisted Vicegrips
  533. 159357, --Linked Pummeler Grips
  534. 158350, --Rowdy Reveler's Legwraps
  535. 159462, --NO NAME?
  536. }
  537. self:RegisterBossLoot(motherlode, lootTable, bossName)
  538.  
  539.  
  540. -----------------------------------
  541. ----- Azerokk
  542. -----------------------------------
  543. local bossName = EJ_GetEncounterInfo(2114)
  544. local lootTable = {
  545. 158357, --Bindings of Enraged Earth
  546. 158359, --Stonefury Vambraces
  547. 159231, --Mine Rat's Handwarmers
  548. 159361, --Shalebiter Interlinked Chain
  549. 159226, --Excavator's Safety Belt
  550. 159725, --Unscrupulous Geologist's Belt
  551. 159679, --Sabatons of Rampaging Elements
  552. 159336, --Mercenary Miner's Boots
  553. 159612, --Azerokk's Resonating Heart
  554. }
  555. self:RegisterBossLoot(motherlode, lootTable, bossName)
  556.  
  557.  
  558. -----------------------------------
  559. ----- Rixxa Fluxflame
  560. -----------------------------------
  561. local bossName = EJ_GetEncounterInfo(2115)
  562. local lootTable = {
  563. 159639, --P.A.C.I.F.I.S.T. Mk7
  564. 159287, --Cloak of Questionable Intent
  565. 159240, --Rixxa's Sweat-Wicking Cuffs
  566. 159305, --Corrosive Handler's Gloves
  567. 159451, --Leadplate Legguards
  568. 158341, --Chemical Blaster's Legguards
  569. 159235, --Deranged Alchemist's Slippers
  570. }
  571. self:RegisterBossLoot(motherlode, lootTable, bossName)
  572.  
  573.  
  574. -----------------------------------
  575. ----- Mogul Razdunk
  576. -----------------------------------
  577. local bossName = EJ_GetEncounterInfo(2116)
  578. local lootTable = {
  579. 159641, --G3T-00t
  580. 158364, --High Altitude Turban
  581. 159232, --Exquisitely Aerodynamic Shoulderpads
  582. 159360, --Crashguard Spaulders
  583. 159415, --Skyscorcher Pauldrons
  584. 159298, --Venture Co. Plenipotentiary Vest
  585. 158349, --Petticoat of the Self-Stylized Azerite Baron
  586. 158307, --Shrapnel-Dampening Chestguard
  587. 159611, --Razdunk's Big Red Button
  588. }
  589. self:RegisterBossLoot(motherlode, lootTable, bossName)
  590.  
  591.  
  592.  
  593. end
  594.  
  595. function Dungeons:Underrot()
  596. local underrot = "underrot"
  597. local name = C_Map.GetMapInfo(1041).name
  598. self:RegisterRaidInstance(dungeonTierId, underrot, name, bonusIds)
  599. --------------------------------------------------
  600. ----- The Underrot
  601. --------------------------------------------------
  602.  
  603.  
  604. -----------------------------------
  605. ----- Elder Leaxa
  606. -----------------------------------
  607. local bossName = EJ_GetEncounterInfo(2157)
  608. local lootTable = {
  609. 159652, --Leaxa's Thought-Piercer
  610. 159324, --Blood Elder's Bindings
  611. 159402, --Waistguard of Sanguine Fervor
  612. 159443, --Legplates of Profane Sacrifice
  613. 159463, --Loop of Pulsing Veins
  614. 159624, --Rotcrusted Voodoo Doll
  615. }
  616. self:RegisterBossLoot(underrot, lootTable, bossName)
  617.  
  618.  
  619. -----------------------------------
  620. ----- Cragmaw the Infested
  621. -----------------------------------
  622. local bossName = EJ_GetEncounterInfo(2131)
  623. local lootTable = {
  624. 159134, --Heart-Piercing Stalactite
  625. 159653, --Bile-Stained Crawg Tusks
  626. 159433, --Phosphorescent Armplates
  627. 159275, --Wristwraps of Twined Morels
  628. 159344, --Underrot Grotto Tenders
  629. 159382, --Blood Tick Crushers
  630. 159325, --Bloodfeaster Belt
  631. 159269, --Darklight Legwarmers
  632. 159436, --Fluorescent Flora Stompers
  633. 159396, --Waders of the Infested
  634. }
  635. self:RegisterBossLoot(underrot, lootTable, bossName)
  636.  
  637.  
  638. -----------------------------------
  639. ----- Sporecaller Zancha
  640. -----------------------------------
  641. local bossName = EJ_GetEncounterInfo(2130)
  642. local lootTable = {
  643. 159654, --Corruption Borne Headlopper
  644. 159665, --Targe of the Ancient Warder
  645. 159292, --NO NAME?
  646. 159410, --Zancha's Venerated Greatbelt
  647. 159384, --Corpuscular Greaves
  648. 159338, --Pustule Bearer's Pants
  649. 159270, --Blood Warder's Moccasins
  650. 159626, --Lingering Sporepods
  651. }
  652. self:RegisterBossLoot(underrot, lootTable, bossName)
  653.  
  654.  
  655. -----------------------------------
  656. ----- Unbound Abomination
  657. -----------------------------------
  658. local bossName = EJ_GetEncounterInfo(2158)
  659. local lootTable = {
  660. 159655, --Vile Exsanguinator
  661. 159446, --Greathelm of the Putrid Path
  662. 159381, --Visage of Bloody Horrors
  663. 159385, --Amalgamated Abomination Spaulders
  664. 159267, --Pauldrons of Vile Corruption
  665. 159323, --Shoulders of the Sanguine Monstrosity
  666. 159432, --Breastplate of Arterial Protection
  667. 159330, --Gore-Splattered Vest
  668. 159241, --Blood-Drenched Robes
  669. 159253, --Gloves of Staunched Wounds
  670. 159625, --Vial of Animated Blood
  671. }
  672. self:RegisterBossLoot(underrot, lootTable, bossName)
  673.  
  674.  
  675.  
  676. end
  677.  
  678. function Dungeons:TolDagor()
  679. local toldagor = "toldagor"
  680. local name = C_Map.GetMapInfo(974).name
  681. self:RegisterRaidInstance(dungeonTierId, toldagor, name, bonusIds)
  682. --------------------------------------------------
  683. ----- Tol Dagor
  684. --------------------------------------------------
  685.  
  686.  
  687. -----------------------------------
  688. ----- The Sand Queen
  689. -----------------------------------
  690. local bossName = EJ_GetEncounterInfo(2097)
  691. local lootTable = {
  692. 159656, --Halberd of the Unwary Guard
  693. 160110, --Warglaive of the Sand Queen
  694. 159668, --Rattling Jar of Eyes
  695. 159332, --Wristguards of the Sandswimmer
  696. 160215, --Sewer Grate Girdle
  697. 159392, --Gaoler's Chainmail Gaiters
  698. 159460, --NO NAME?
  699. }
  700. self:RegisterBossLoot(toldagor, lootTable, bossName)
  701.  
  702.  
  703. -----------------------------------
  704. ----- Jes Howlis
  705. -----------------------------------
  706. local bossName = EJ_GetEncounterInfo(2098)
  707. local lootTable = {
  708. 159131, --Howlis' Crystal Shiv
  709. 159666, --Improvised Riot Shield
  710. 159293, --NO NAME?
  711. 159266, --Claw-Slit Brawler's Handwraps
  712. 159306, --Singe-Blotched Britches
  713. 159363, --Gnawed Iron Fetters
  714. 159627, --Jes' Howler
  715. }
  716. self:RegisterBossLoot(toldagor, lootTable, bossName)
  717.  
  718.  
  719. -----------------------------------
  720. ----- Knight Captain Valyri
  721. -----------------------------------
  722. local bossName = EJ_GetEncounterInfo(2099)
  723. local lootTable = {
  724. 159441, --Valyri's Fire-Proof Bracers
  725. 159389, --Flint-Linked Wristguards
  726. 159390, --Sure-Grip Munition Handlers
  727. 159333, --Cincture of the Azerite Arsenal
  728. 159274, --Knight Captain's Waistcord
  729. 159277, --Wild Pyromancer's Trousers
  730. 159343, --Spark Dampening Footpads
  731. 159444, --Gunpowder-Scoured Sabatons
  732. 159615, --Ignition Mage's Fuse
  733. }
  734. self:RegisterBossLoot(toldagor, lootTable, bossName)
  735.  
  736.  
  737. -----------------------------------
  738. ----- Overseer Korgus
  739. -----------------------------------
  740. local bossName = EJ_GetEncounterInfo(2096)
  741. local lootTable = {
  742. 159129, --Flamecaster Botefeux
  743. 159658, --Cudgel of Correctional Oversight
  744. 159657, --Korgus' Blackpowder Rifle
  745. 159414, --Overseer's Riot Helmet
  746. 159334, --Flashpowder Hood
  747. 159391, --Hood of the Dark Reaper
  748. 159393, --Cannoneer's Mantle
  749. 159331, --Pistoleer's Spaulders
  750. 159440, --Ashvane Warden's Cuirass
  751. 159268, --Inmate's Straight Robe
  752. 159628, --Kul Tiran Cannonball Runner
  753. }
  754. self:RegisterBossLoot(toldagor, lootTable, bossName)
  755.  
  756. end
  757.  
  758. function Dungeons:WaycrestManor()
  759. local waycrestmanor = "waycrestmanor"
  760. local name = C_Map.GetMapInfo(1015).name
  761. self:RegisterRaidInstance(dungeonTierId, waycrestmanor, name, bonusIds)
  762. --------------------------------------------------
  763. ----- Waycrest Manor
  764. --------------------------------------------------
  765.  
  766.  
  767. -----------------------------------
  768. ----- Heartsbane Triad
  769. -----------------------------------
  770. local bossName = EJ_GetEncounterInfo(2125)
  771. local lootTable = {
  772. 159133, --Jagged Iris Sica
  773. 159669, --Solena's Watchful Collection
  774. 159449, --Soulwarped Vambraces
  775. 159340, --Bracers of Dreadful Maladies
  776. 159272, --Twisted Sisters Handwraps
  777. 159450, --Girdle of Burgeoning Apathy
  778. 159400, --Nettle-Scarred Greaves
  779. 159345, --Blight Toadskin Leggings
  780. 159404, --Bramble Looped Boots
  781. }
  782. self:RegisterBossLoot(waycrestmanor, lootTable, bossName)
  783.  
  784.  
  785. -----------------------------------
  786. ----- Soulbound Goliath
  787. -----------------------------------
  788. local bossName = EJ_GetEncounterInfo(2126)
  789. local lootTable = {
  790. 159659, --Sinister Wicker Talons
  791. 159282, --Drust-Thatched Wristwraps
  792. 159399, --Thornshaper Mitts
  793. 159341, --Hound-Jowl Waistband
  794. 159456, --Petrified Wickerplate Greaves
  795. 162548, --Thornwoven Band
  796. 159630, --Balefire Branch
  797. }
  798. self:RegisterBossLoot(waycrestmanor, lootTable, bossName)
  799.  
  800.  
  801. -----------------------------------
  802. ----- Raal the Gluttonous
  803. -----------------------------------
  804. local bossName = EJ_GetEncounterInfo(2127)
  805. local lootTable = {
  806. 159660, --Servant Splitter
  807. 159294, --NO NAME?
  808. 159397, --Slaughterhouse-Chain Bracers
  809. 159346, --Grubby Servant-Grabbers
  810. 159285, --Bloodstained Sous Chef Pants
  811. 159452, --Fatty Hooves of Gory Comfort
  812. 159616, --Gore-Crusted Butcher's Block
  813. }
  814. self:RegisterBossLoot(waycrestmanor, lootTable, bossName)
  815.  
  816.  
  817. -----------------------------------
  818. ----- Lord and Lady Waycrest
  819. -----------------------------------
  820. local bossName = EJ_GetEncounterInfo(2128)
  821. local lootTable = {
  822. 159661, --Soulcharmer's Bludgeon
  823. 159457, --Risen Lord's Oversized Gauntlets
  824. 159403, --Waistguard of Deteriorating Grace
  825. 159262, --Belt of Undying Devotion
  826. 159347, --Moss-Covered Wingtip Shoes
  827. 158362, --Lord Waycrest's Signet
  828. 159631, --Lady Waycrest's Music Box
  829. }
  830. self:RegisterBossLoot(waycrestmanor, lootTable, bossName)
  831.  
  832.  
  833. -----------------------------------
  834. ----- Gorak Tul
  835. -----------------------------------
  836. local bossName = EJ_GetEncounterInfo(2129)
  837. local lootTable = {
  838. 159662, --Blightreaper
  839. 159398, --Soulscarred Headgear
  840. 159279, --Soulfuel Headdress
  841. 159339, --Gorak Tul's Mantle
  842. 159455, --Pauldrons of the Horned Horror
  843. 159273, --Amice of the Returned
  844. 159395, --Deathslaver's Hauberk
  845. 159448, --Breastplate of the Vengeful
  846. 159335, --Raiment of the Blighted Tribe
  847. }
  848. self:RegisterBossLoot(waycrestmanor, lootTable, bossName)
  849.  
  850. end
  851.  
  852. function Dungeons:Mechagon()
  853. local mechagon = "mechagon"
  854. local name = C_Map.GetMapInfo(1490).name
  855. self:RegisterRaidInstance(dungeonTierId, mechagon, name, bonusIds)
  856. --------------------------------------------------
  857. ----- Operation: Mechagon
  858. --------------------------------------------------
  859.  
  860.  
  861. -----------------------------------
  862. ----- King Gobbamak
  863. -----------------------------------
  864. local bossName = EJ_GetEncounterInfo(2357)
  865. local lootTable = {
  866. 169051, --Anodized Plate Legguards
  867. 169052, --Cranial Recalibrator
  868. 169054, --Galvanized Leather Grips
  869. 169050, --Logg
  870. 169035, --Reclaimed Shock Coil
  871. 169053, --Roughshod Chain Boots
  872. 169049, --Supplicant's Soiled Slippers
  873. }
  874. self:RegisterBossLoot(mechagon, lootTable, bossName)
  875.  
  876.  
  877. -----------------------------------
  878. ----- Trixie & Naeno
  879. -----------------------------------
  880. local bossName = EJ_GetEncounterInfo(2360)
  881. local lootTable = {
  882. 169063, --High Speed Gauntlets
  883. 169064, --Mountebank's Colorful Cloak
  884. 169065, --Reinforced Riding Chausses
  885. 169769, --Remote Guidance Device
  886. 169068, --Salvaged Mekacycle Shielding
  887. 169067, --Silken Safety Harness
  888. 169066, --Trixie's Backup Backbiter
  889. 169070, --Unseen Predator's Breeches
  890. 169069, --Wraps of Electrostatic Potential
  891. }
  892. self:RegisterBossLoot(mechagon, lootTable, bossName)
  893.  
  894.  
  895. -----------------------------------
  896. ----- Gunker
  897. -----------------------------------
  898. local bossName = EJ_GetEncounterInfo(2358)
  899. local lootTable = {
  900. 169055, --Greaves of Acid Resistance
  901. 169061, --Insulating Threaded Gloves
  902. 169060, --Mekgineer's Utility Belt
  903. 169056, --Ooey-Gooey Galoshes
  904. 169058, --Salvaged Incendiary Tool
  905. 169062, --Sharpened Trogg Femur
  906. 169059, --Slick Tactical Grips
  907. 169057, --Well-Oiled Plate Girdle
  908. }
  909. self:RegisterBossLoot(mechagon, lootTable, bossName)
  910.  
  911.  
  912. -----------------------------------
  913. ----- HK-8 Aerial Oppression Unit
  914. -----------------------------------
  915. local bossName = EJ_GetEncounterInfo(2355)
  916. local lootTable = {
  917. 169074, --Epaulettes of Arcing Power
  918. 168963, --Fusion Hacker
  919. 169077, --Light Auto-Stabilizing Energy Rifle
  920. 169157, --Logic Loop of Division
  921. 169076, --Logic Loop of Maintenance
  922. 169158, --Logic Loop of Recursion
  923. 169156, --Logic Loop of Synergy
  924. 169071, --Overcharged Pantaloons
  925. 169075, --Tank Buster Pauldrons
  926. 169073, --Type II Bomber Jacket
  927. 169072, --Volatile Arming Doublet
  928. }
  929. self:RegisterBossLoot(mechagon, lootTable, bossName)
  930.  
  931. -----------------------------------
  932. ----- Tussle Tonks
  933. -----------------------------------
  934. local bossName = EJ_GetEncounterInfo(2336)
  935. local lootTable = {
  936. 168962, --Apex Perforator
  937. 168955, --Electrifying Cognitive Amplifier
  938. 168967, --Gold-Coated Superconductors
  939. 168966, --Heavy Alloy Legplates
  940. 168964, --Hyperthread Boots
  941. 168957, --Mekgineer's Championship Belt
  942. 168965, --Modular Platinum Plating
  943. 168958, --Ringmaster's Cummerbund
  944. }
  945. self:RegisterBossLoot(mechagon, lootTable, bossName)
  946.  
  947. -----------------------------------
  948. ----- K.U.-J.0.
  949. -----------------------------------
  950. local bossName = EJ_GetEncounterInfo(2339)
  951. local lootTable = {
  952. 168968, --Flame-Seared Leggings
  953. 168969, --Operator's Mitts
  954. 168972, --Pyroclastic Greatboots
  955. 168971, --Swift Pneumatic Grips
  956. 168970, --Trashmaster's Mantle
  957. }
  958. self:RegisterBossLoot(mechagon, lootTable, bossName)
  959.  
  960. -----------------------------------
  961. ----- Machinist's Garden
  962. -----------------------------------
  963. local bossName = EJ_GetEncounterInfo(2348)
  964. local lootTable = {
  965. 168976, --Automatic Waist Tightener
  966. 169344, --Ingenious Mana Battery
  967. 168975, --Machinist's Treasured Treads
  968. 168973, --Neural Synapse Enhancer
  969. 169159, --Overclocking Bit Band
  970. 169161, --Protecting Bit Band
  971. 168977, --Rebooting Bit Band
  972. 168974, --Self-Repairing Cuisses
  973. 169160, --Shorting Bit Band
  974. 169608, --Tearing Sawtooth Blade
  975. }
  976. self:RegisterBossLoot(mechagon, lootTable, bossName)
  977.  
  978. -----------------------------------
  979. ----- King Mechagon
  980. -----------------------------------
  981. local bossName = EJ_GetEncounterInfo(2331)
  982. local lootTable = {
  983. 168978, --Anodized Deflectors
  984. 168981, --Circuit-Linked Chainmail
  985. 168984, --Extravagant Epaulettes
  986. 168980, --Gauntlets of Absolute Authority
  987. 168989, --Hyperthread Wristwraps
  988. 168986, --Mad King's Sporran
  989. 168983, --Maniacal Monarch's Girdle
  990. 168979, --Mechanized Plate Chasse
  991. 168982, --Regal Mekanospurs
  992. 168988, --Royal Attendant's Trousers
  993. 168985, --Self-Sanitizing Handwraps
  994. 168987, --Shoulderguards of Fraying Sanity
  995. }
  996. self:RegisterBossLoot(mechagon, lootTable, bossName)
  997.  
  998. end
  999.  
  1000. function Dungeons:InitializeZoneDetect(ZoneDetect)
  1001. local ataldazar = "ataldazar"
  1002. ZoneDetect:RegisterMapID(934, ataldazar)
  1003. ZoneDetect:RegisterNPCID(122967, ataldazar, 1)
  1004. ZoneDetect:RegisterNPCID(122965, ataldazar, 2)
  1005. ZoneDetect:RegisterNPCID(122963, ataldazar, 3)
  1006. ZoneDetect:RegisterNPCID(122968, ataldazar, 4)
  1007.  
  1008. local freehold = "freehold"
  1009. ZoneDetect:RegisterMapID(936, freehold)
  1010. ZoneDetect:RegisterNPCID(126832, freehold, 1)
  1011. ZoneDetect:RegisterNPCID(126845, freehold, 2)
  1012. ZoneDetect:RegisterNPCID(126847, freehold, 2)
  1013. ZoneDetect:RegisterNPCID(126848, freehold, 2)
  1014. ZoneDetect:RegisterNPCID(126969, freehold, 3)
  1015. ZoneDetect:RegisterNPCID(126983, freehold, 4)
  1016.  
  1017. local kingsrest = "kingsrest"
  1018. ZoneDetect:RegisterMapID(1004, kingsrest)
  1019. ZoneDetect:RegisterNPCID(135322, kingsrest, 1)
  1020. ZoneDetect:RegisterNPCID(134993, kingsrest, 2)
  1021. ZoneDetect:RegisterNPCID(135475, kingsrest, 3)
  1022. ZoneDetect:RegisterNPCID(135470, kingsrest, 3)
  1023. ZoneDetect:RegisterNPCID(135472, kingsrest, 3)
  1024. ZoneDetect:RegisterNPCID(136160, kingsrest, 4)
  1025.  
  1026. local shrineofthestorm = "shrineofthestorm"
  1027. ZoneDetect:RegisterMapID(1004, shrineofthestorm)
  1028. ZoneDetect:RegisterNPCID(134056, shrineofthestorm, 1)
  1029. ZoneDetect:RegisterNPCID(134063, shrineofthestorm, 2)
  1030. ZoneDetect:RegisterNPCID(134058, shrineofthestorm, 2)
  1031. ZoneDetect:RegisterNPCID(134060, shrineofthestorm, 3)
  1032. ZoneDetect:RegisterNPCID(134069, shrineofthestorm, 4)
  1033.  
  1034. local siegeofboralus = "siegeofboralus"
  1035. ZoneDetect:RegisterNPCID(128650, siegeofboralus, 1)--Redhook - Alliance
  1036. ZoneDetect:RegisterNPCID(130834, siegeofboralus, 1)--Bainbridge - Horde
  1037. ZoneDetect:RegisterNPCID(129208, siegeofboralus, 2)
  1038. ZoneDetect:RegisterNPCID(130836, siegeofboralus, 3)
  1039. ZoneDetect:RegisterNPCID(120553, siegeofboralus, 4)
  1040.  
  1041. local templeofsethraliss = "templeofsethraliss"
  1042. ZoneDetect:RegisterMapID(1038, templeofsethraliss)
  1043. ZoneDetect:RegisterNPCID(133379, templeofsethraliss, 1)
  1044. ZoneDetect:RegisterNPCID(133944, templeofsethraliss, 1)
  1045. ZoneDetect:RegisterNPCID(133384, templeofsethraliss, 2)
  1046. ZoneDetect:RegisterNPCID(133389, templeofsethraliss, 3)
  1047. ZoneDetect:RegisterNPCID(133392, templeofsethraliss, 4)
  1048.  
  1049. local motherlode = "motherlode"
  1050. ZoneDetect:RegisterMapID(1010, motherlode)
  1051. ZoneDetect:RegisterNPCID(129214, motherlode, 1)
  1052. ZoneDetect:RegisterNPCID(129227, motherlode, 2)
  1053. ZoneDetect:RegisterNPCID(129231, motherlode, 3)
  1054. ZoneDetect:RegisterNPCID(129232, motherlode, 4)
  1055.  
  1056. local underrot = "underrot"
  1057. ZoneDetect:RegisterMapID(1041, underrot)
  1058. ZoneDetect:RegisterNPCID(131318, underrot, 1)
  1059. ZoneDetect:RegisterNPCID(131817, underrot, 2)
  1060. ZoneDetect:RegisterNPCID(131383, underrot, 3)
  1061. ZoneDetect:RegisterNPCID(133007, underrot, 4)
  1062.  
  1063. local toldagor = "toldagor"
  1064. ZoneDetect:RegisterMapID(974, toldagor)
  1065. ZoneDetect:RegisterNPCID(127479, toldagor, 1)
  1066. ZoneDetect:RegisterNPCID(127484, toldagor, 2)
  1067. ZoneDetect:RegisterNPCID(127490, toldagor, 3)
  1068. ZoneDetect:RegisterNPCID(127503, toldagor, 4)
  1069.  
  1070. local waycrestmanor = "waycrestmanor"
  1071. ZoneDetect:RegisterMapID(1015, waycrestmanor)
  1072. ZoneDetect:RegisterNPCID(135358, waycrestmanor, 1)
  1073. ZoneDetect:RegisterNPCID(135359, waycrestmanor, 1)
  1074. ZoneDetect:RegisterNPCID(135360, waycrestmanor, 1)
  1075. ZoneDetect:RegisterNPCID(260551, waycrestmanor, 2)
  1076. ZoneDetect:RegisterNPCID(131863, waycrestmanor, 3)
  1077. ZoneDetect:RegisterNPCID(131527, waycrestmanor, 4)
  1078. ZoneDetect:RegisterNPCID(131545, waycrestmanor, 4)
  1079. ZoneDetect:RegisterNPCID(131864, waycrestmanor, 5)
  1080.  
  1081. local mechagon = "mechagon"
  1082. ZoneDetect:RegisterMapID(1490, mechagon)
  1083. ZoneDetect:RegisterNPCID(150159, mechagon, 1)
  1084. ZoneDetect:RegisterNPCID(155407, mechagon, 2)
  1085. ZoneDetect:RegisterNPCID(150222, mechagon, 3)
  1086. ZoneDetect:RegisterNPCID(155157, mechagon, 4)
  1087. ZoneDetect:RegisterNPCID(144244, mechagon, 5)
  1088. ZoneDetect:RegisterNPCID(144246, mechagon, 6)
  1089. ZoneDetect:RegisterNPCID(144248, mechagon, 7)
  1090. ZoneDetect:RegisterNPCID(154817, mechagon, 8)
  1091.  
  1092. end
  1093.  
  1094. function Dungeons:OnEnable()
  1095. self:RegisterExpansion("Battle for Azeroth", EXPANSION_NAME7)
  1096. self:RegisterRaidTier("Battle for Azeroth", dungeonTierId, ("%s %s"):format(EXPANSION_NAME7, TRACKER_HEADER_DUNGEON), PLAYER_DIFFICULTY1, PLAYER_DIFFICULTY2, PLAYER_DIFFICULTY6)
  1097.  
  1098. self:AtalDazar()
  1099. self:Freehold()
  1100. self:KingsRest()
  1101. self:ShrineOfTheStorm()
  1102. self:SiegeOfBoralus()
  1103. self:TempleOfSethraliss()
  1104. self:Motherlode()
  1105. self:Underrot()
  1106. self:TolDagor()
  1107. self:WaycrestManor()
  1108. self:Mechagon()
  1109. end
Add Comment
Please, Sign In to add comment