Advertisement
Guest User

BIS Redux The Eternal Palace Addition

a guest
Jul 8th, 2019
834
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.53 KB | None | 0 0
  1. --------------------------------------------------------------------
  2. ----- This file should be named Palace.lua and placed in \_retail_\Interface\AddOns\BestInSlotRedux_BfaRaids
  3. ----- Then edit \_retail_\Interface\AddOns\BestInSlotRedux_BfaRaids\BestInSlotReduxRaids.toc to add Palace.lua
  4. ----- on a new line below DazarAlor.lua
  5. ----- Relog and enjoy.
  6. --------------------------------------------------------------------
  7.  
  8. local Palace = LibStub("AceAddon-3.0"):GetAddon("BestInSlotRedux"):NewModule("Palace")
  9. local EP = "EP"
  10. function Palace:OnEnable()
  11.   local L = LibStub("AceLocale-3.0"):GetLocale("BestInSlotRedux")
  12.  
  13.   local palaceName = C_Map.GetMapInfo(1512).name
  14.   self:RegisterExpansion("Battle for Azeroth", EXPANSION_NAME7)
  15.   self:RegisterRaidTier("Battle for Azeroth", 80200, palaceName, PLAYER_DIFFICULTY1, PLAYER_DIFFICULTY2, PLAYER_DIFFICULTY6)
  16.   self:RegisterRaidInstance(80200, EP, palaceName, {
  17.     bonusids = {
  18.       [1] = {3524},
  19.       [2] = {3524},
  20.       [3] = {3524}
  21.     },
  22.     difficultyconversion = {
  23.       [1] = 3, --Raid Normal
  24.       [2] = 5, --Raid Heroic
  25.       [3] = 6, --Raid Mythic
  26.     }
  27.   })
  28.   --------------------------------------------------
  29.   ----- Eternal Palace
  30.   --------------------------------------------------
  31.  
  32.  
  33.   -----------------------------------
  34.   ----- Commander Sivara
  35.   -----------------------------------
  36.   local bossName = EJ_GetEncounterInfo(2352)
  37.   local lootTable = {
  38.     168371, --Seawrath Legwraps
  39.     168377, --Tideblood Bracers
  40.     168384, --Wavespine Clutch
  41.     168387, --Palace Sentinel Vambraces
  42.     168390, --Sabatons of the Stalwart
  43.     168386, --Gauntlets of Overflowing Chill
  44.     168341, --Siren Mystic's Vestments
  45.     168345, --Helm of the Inexorable Tide
  46.     168359, --Abyssal Commander's Mantle
  47.     168361, --Naga Centaur's Shellplate
  48.     168273, --Shiver Venom Crossbow
  49.     168901, --Royal Scaleguard's Battleaxe
  50.     168903, --Scepter of the Azsh'ari
  51.     168818, --Sivara's Slitherblade
  52.     168276, --Claw of the Myrmidon
  53.     168306, --Shiver Venom Lance
  54.     168477, --Tidebinder's Driftglobe
  55.     168905, --Shiver Venom Relic
  56.   }
  57.   self:RegisterBossLoot(EP, lootTable, bossName)
  58.  
  59.  
  60.   -----------------------------------
  61.   ----- Blackwater Behemoth
  62.   -----------------------------------
  63.   local bossName = EJ_GetEncounterInfo(2347)
  64.   local lootTable = {
  65.     168397, --Fang of the Behemoth
  66.     168343, --Blackwater Shimmerscale Vest
  67.     168885, --Undercove Crushers
  68.     168342, --Fathom-Feeder's Mantle
  69.     169360, --Mindlost Bloodfrenzy
  70.     168379, --Ship Swallower's Belt
  71.     168362, --Trench Tyrant's Shoulderplates
  72.     168383, --Pelagos Predator's Legguards
  73.     169312, --Luminous Jellyweed
  74.     168373, --Eelskin Flippers
  75.     168385, --Slipstreamer's Saltwalkers
  76.     168376, --Anglerfish Feelers
  77.     169304, --Leviathan's Lure
  78.     168900, --Diver's Folly
  79.     168353, --Hood of Lightless Depths
  80.     168389, --Fleetwrecker's Greaves
  81.   }
  82.   self:RegisterBossLoot(EP, lootTable, bossName)
  83.  
  84.  
  85.   -----------------------------------
  86.   ----- Radiance of Azshara
  87.   -----------------------------------
  88.   local bossName = EJ_GetEncounterInfo(2353)
  89.   local lootTable = {
  90.     169313, --Phial of the Arcane Tempest
  91.     168360, --Warhelm of Dread Waters
  92.     168378, --Leggings of the Stormborn
  93.     168374, --Belt of Blind Devotion
  94.     169694, --Aqueous Reliquary
  95.     168372, --Sea Sculptor's Cuffs
  96.     168381, --Grips of the Scaled Arcanist
  97.     168380, --Ancient Tempest Striders
  98.     168375, --Gloves of Unshackled Arcana
  99.     168382, --Arcanamental Bindings
  100.     168388, --Storm-Tempered Girdle
  101.     168336, --Handmaiden's Cowl of Sacrifice
  102.     168348, --Shoulderpads of Frothing Rage
  103.     168355, --Servitor's Heartguard
  104.     168478, --Monstrosity's Shipbreaker
  105.     168475, --Bulwark of the Seaborn Avatar
  106.   }
  107.   self:RegisterBossLoot(EP, lootTable, bossName)
  108.  
  109.  
  110.   -----------------------------------
  111.   ----- Lady Ashvane
  112.   -----------------------------------
  113.   local bossName = EJ_GetEncounterInfo(2354)
  114.   local lootTable = {
  115.     168347, --Helm of Hideous Transformation
  116.     168883, --Cultured Pearl Armbands
  117.     168876, --Priscilla's Fishnets
  118.     169358, --Lightless Ambusher
  119.     168889, --Boralus Noble's Seal
  120.     169305, --Aquipotent Nautilus
  121.     168335, --Robes of Sunken Nobility
  122.     168367, --Barnacle-Crusted Breastplate
  123.     168904, --Current-Weaver's Gavel
  124.     169310, --Bloodthirsty Urchin
  125.     169311, --Ashvane's Razor Coral
  126.     168877, --Coralshell Warboots
  127.     168870, --Tanglekelp Waistwrap
  128.     168354, --Shoulderguards of Crushing Depths
  129.   }
  130.   self:RegisterBossLoot(EP, lootTable, bossName)
  131.  
  132.  
  133.   -----------------------------------
  134.   ----- Orgozoa
  135.   -----------------------------------
  136.   local bossName = EJ_GetEncounterInfo(2351)
  137.   local lootTable = {
  138.     168893, --Hatchery Scraper
  139.     169319, --Dribbling Inkpod
  140.     168897, --Tentacle Crusher
  141.     168875, --Formcrafter's Pants
  142.     168352, --Scalemail of Unnatural Selection
  143.     168894, --Squidhunter Speargun
  144.     168604, --Drape of the Hatcher
  145.     168365, --Greathelm of the Tender
  146.     168899, --Orgozoa's Paralytic Barb
  147.     168339, --Incubator's Bellcap
  148.     168476, --Great Reef Barrier
  149.     169309, --Zoatroid Egg Sac
  150.     168274, --Aqua-Pulse Trident
  151.     168872, --Cephalopod's Sash
  152.     168346, --Tidal Drifter's Shoulders
  153.   }
  154.   self:RegisterBossLoot(EP, lootTable, bossName)
  155.  
  156.  
  157.   -----------------------------------
  158.   ----- The Queen's Court
  159.   -----------------------------------
  160.   local bossName = EJ_GetEncounterInfo(2359)
  161.   local lootTable = {
  162.     168896, --Stormtamer's Orb
  163.     168364, --Pauldrons of Fanatical Might
  164.     168881, --Naga Executor's Armguards
  165.     169694, --Aqueous Reliquary
  166.     168890, --Ring of the Highborne Courtier
  167.     169316, --Deferred Sentence
  168.     168357, --Silivaz's Skullguard
  169.     168350, --Tunic of the Sycophant
  170.     168892, --Court Dagger of Sentencing
  171.     168898, --Pashmar's Finial
  172.     168879, --Ardent Worshipper's Boots
  173.     168338, --Amice of the Reef Witch
  174.     168886, --Hands of the Fanatic
  175.     169315, --Edicts of the Faithless
  176.   }
  177.   self:RegisterBossLoot(EP, lootTable, bossName)
  178.  
  179.  
  180.   -----------------------------------
  181.   ----- Za'qul
  182.   -----------------------------------
  183.   local bossName = EJ_GetEncounterInfo(2349)
  184.   local lootTable = {
  185.     168902, --Dream's End
  186.     169306, --Za'qul's Portal Key
  187.     168349, --Shroud of Unmooring Whispers
  188.     168882, --Shackles of Dissonance
  189.     169588, --Gardbrace of Fractured Reality
  190.     168391, --Cloak of Ill Tidings
  191.     168301, --Sever, Edge of Madness
  192.     169308, --Chain of Suffering
  193.     168884, --Bindings of the Herald
  194.     168337, --Vestments of Creeping Terror
  195.     168363, --Dark Passenger's Breastplate
  196.     169307, --Vision of Demise
  197.   }
  198.   self:RegisterBossLoot(EP, lootTable, bossName)
  199.  
  200.  
  201.   -----------------------------------
  202.   ----- Queen Azshara
  203.   -----------------------------------
  204.   local bossName = EJ_GetEncounterInfo(2361)
  205.   local lootTable = {
  206.     168874, --Cherished Empress's Leggings
  207.     168869, --Eternity Keeper's Greatbelt
  208.     168880, --Slippers of the Sorceress-Queen
  209.     168873, --Tide Goddess's Wargreaves
  210.     169694, --Aqueous Reliquary
  211.     169314, --Azshara's Font of Power
  212.     168871, --Beloved Monarch's Waistwrap
  213.     168878, --Vethan's Icewalkers
  214.     168275, --Anu-Azshara, Staff of the Eternal
  215.     168887, --Gloves of Incomparable Beauty
  216.     168888, --Handguards of the Highest-Born
  217.     168891, --Cursed Lover's Ring
  218.   }
  219.   self:RegisterBossLoot(EP, lootTable, bossName)
  220.  
  221.  
  222.   -----------------------------------
  223.   ----- Trash loot
  224.   -----------------------------------
  225.   local bossName = L["Trash Loot"]
  226.   local lootTable = {
  227.     169933,--Abyssal Bubbler's Bracers
  228.     169932,--Brineweaver Guardian's Gloves
  229.     169935,--Brutish Myrmidon's Vambraces
  230.     168602,--Cloak of Blessed Depths
  231.     169929,--Cuffs of Soothing Currents
  232.     169934,--Deepcrawler's Handguards
  233.     169936,--Gauntlets of Crashing Tides
  234.     169930,--Handwraps of Unhindered Resonance
  235.     169931,--Skulker's Blackwater Bands
  236.   }
  237.   self:RegisterBossLoot(EP, lootTable, bossName)
  238. end
  239.  
  240. function Palace:InitializeZoneDetect(ZoneDetect)
  241.   ZoneDetect:RegisterMapID(1179, EP)
  242.   ZoneDetect:RegisterNPCID(155144, EP, 1) --Commander Sivara
  243.   ZoneDetect:RegisterNPCID(154986, EP, 2) --Blackwater Behemoth
  244.   ZoneDetect:RegisterNPCID(152364, EP, 3) --Radiance of Azshara
  245.   ZoneDetect:RegisterNPCID(153142, EP, 4) --Lady Ashvane
  246.   ZoneDetect:RegisterNPCID(152128, EP, 5) --Orgozoa
  247.   ZoneDetect:RegisterNPCID(152853, EP, 6) --The Queen's Court
  248.   ZoneDetect:RegisterNPCID(150859, EP, 7) --Za'qul
  249.   ZoneDetect:RegisterNPCID(155126, EP, 8) --Queen Azshara
  250. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement