zavon25 / BISRedux

Other
1 stars 1 forks source link

Incorrect items Shadowmoon Burial grounds WoD mythic+ #5

Closed WybeBosch closed 1 year ago

WybeBosch commented 1 year ago

Hey man, looking at the ingame dungeon journal it seems that some of the items are wrong. Mostly the WoD shadowmoon dungeon, but also hals of valor seems to be bugged ingame showing green items. (For WoD it shows alot more items than appear in ingame dungeon journal)

I took a look at all the ingame items that are there for all classes in shadowmoon burial grounds, and commented all the ones that were wrong and only kept the ones that are currently shown for mythic+ in the ingame dragonflight retail dungeon journal. 

This is the fixed lua file

local Dungeons = LibStub('AceAddon-3.0'):GetAddon('BestInSlotRedux'):NewModule('DragonflightDungeons')
local dungeonTierId = 100002
local tocVersion = select(1, GetBuildInfo())
local bonusIds_MoP = {
    bonusids = {
        [1] = {3305,8270,7359,6646},
        [2] = {3311,6536,6646},--M+ Casino
    },
    difficultyconversion = {
        [1] = 35, -- Mythic+
        [2] = 8, -- Great Vault
    },
}
local bonusIds_WoD = {
    bonusids = {
        [1] = {3300,8270,7359,6646},
        [2] = {3306,6536,6646},--M+ Casino
    },
    difficultyconversion = {
        [1] = 35, -- Mythic+
        [2] = 8, -- Great Vault
    },
}
local bonusIds_Legion = {
    bonusids = {
        [1] = {3294,8270,7359,6646},
        [2] = {3300,6536,6646},--M+ Casino
    },
    difficultyconversion = {
        [1] = 35, -- Mythic+
        [2] = 8, -- Great Vault/
    },
}
local bonusIds_BfA = {
    bonusids = {
        [1] = {3266,8270,7359,6646},
        [2] = {3272,6536,6646},--M+ Casino
    },
    difficultyconversion = {
        [1] = 35, -- Mythic+
        [2] = 8, -- Great Vault
    },
}
local bonusIds_SL = {
    bonusids = {
        [1] = {1732,8270,7359,6646},
        [2] = {1738,6536,6646},--M+ Casino
    },
    difficultyconversion = {
        [1] = 35, -- Mythic+
        [2] = 8, -- Great Vault
    },
}
local bonusIds_DF = {
    bonusids = {
        [1] = {1637,8270,7359,6646},
        [2] = {1643,6536,6646},--M+ Casino
    },
    difficultyconversion = {
        [1] = 35, -- Mythic+
        [2] = 8, -- Great Vault
    },
}

--------------------------------------------------
----- Ruby Life Pools
--------------------------------------------------
function Dungeons:RubyLifePools()
    local rubyLifePools = 'rubyLifePools'
    local name = C_Map.GetMapInfo(2095).name
    self:RegisterRaidInstance(dungeonTierId , rubyLifePools, name, bonusIds_DF)

    --------------------------------------------------
    ----- Boss 1: Melidrussa Chillworn
    --------------------------------------------------
    local bossName = EJ_GetEncounterInfo(2488)
    local lootTable = {
    193761, --Chillworn's Infusion Staff
    193758, --Subjugator's Chilling Grip
    193759, --Egg Tender's Leggings
    193728, --Scaleguard's Stalwart Greatboots
    193757, --Ruby Whelp Shell
    }
    self:RegisterBossLoot(rubyLifePools, lootTable, bossName)

    --------------------------------------------------
    ----- Boss 2: Kokia Blazehoof
    --------------------------------------------------
    local bossName = EJ_GetEncounterInfo(2485)
    local lootTable = {
    193767, --Havoc Crusher
    193766, --Kokia's Burnout Rod
    193765, --Blazebound Lieutenant's Helm
    193763, --Fireproof Drape of Cinders
    193764, --Invader's Firestorm Chestguard
    193762, --Blazebinder's Hoof
    }
    self:RegisterBossLoot(rubyLifePools, lootTable, bossName)

    --------------------------------------------------
    ----- Boss 3: Kyrakka and Erkhart Stormvein
    --------------------------------------------------
    local bossName = EJ_GetEncounterInfo(2503)
    local lootTable = {
    198059, --Titan Training Matrix IV
    193755, --Backdraft Cleaver
    193756, --Skyferno Rondel
    193754, --Drake Rider's Stecktarge
    193751, --Crown of Roaring Storms
    193752, --Galerattle Gauntlets
    193691, --Sky Saddle Cord
    193750, --Wind Soarer's Breeches
    193748, --Kyrakka's Searing Embers
    }
    self:RegisterBossLoot(rubyLifePools, lootTable, bossName)
end

--------------------------------------------------
----- The Nokhud Offensive
--------------------------------------------------
function Dungeons:TheNokhudOffensive()
    local theNokhudOffensive = "theNokhudOffensive"
    local name = C_Map.GetMapInfo(2093).name
    self:RegisterRaidInstance(dungeonTierId, theNokhudOffensive, name, bonusIds_DF)

    -----------------------------------
    ----- Boss 1: Granyth
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2498)
    local lootTable = {
    193695, --Quarry Slayer Glaive
    193692, --Stoneroot Headdress
    193690, --Drake Hunter Shoulderpads
    193753, --Breastplate of Soaring Terror
    193693, --Shikaar Ranger Bracers
    193694, --Drake Slayer's Greaves
    193689, --Granyth's Enduring Scale
    }
    self:RegisterBossLoot(theNokhudOffensive, lootTable, bossName)

    -----------------------------------
    ----- Boss 2: The Raging Tempest
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2497)
    local lootTable = {
    193699, --Staff of Violent Storms
    193700, --Strike Twice
    193698, --Thrashing Wind Vambraces
    193696, --Thunderous Downburst Ring
    193697, --Bottle of Spiraling Winds
    }
    self:RegisterBossLoot(theNokhudOffensive, lootTable, bossName)

    -----------------------------------
    ----- Boss 3: Teera and Maruuk
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2478)
    local lootTable = {
    193681, --Bow of the First Khanam
    193676, --Ukhel Ancestry Beads
    193680, --Tunic of the Eternal Hunt
    193677, --Furious Ragefeather
    193679, --Idol of Trampling Hooves
    193678, --Miniature Singing Stone
    }
    self:RegisterBossLoot(theNokhudOffensive, lootTable, bossName)

    -----------------------------------
    ----- Boss 4: Balakar Khan
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2477)
    local lootTable = {
    198059, --Titan Training Matrix IV
    193687, --Koroleth's Crackling Dagger
    193688, --Stormslash
    193686, --Nokhud Traditionalist's Pauldrons
    193683, --Blessed Ohn'ir Robes
    193684, --Legguards of Adamant Rule
    193685, --Lightning-Charged Striders
    }
    self:RegisterBossLoot(theNokhudOffensive, lootTable, bossName)
end

--------------------------------------------------
----- The Azure Vault
--------------------------------------------------
function Dungeons:TheAzureVault()
    local theAzureVault = "theAzureVault"
    local name = C_Map.GetMapInfo(2073).name
    self:RegisterRaidInstance(dungeonTierId, theAzureVault, name, bonusIds_DF)

    -----------------------------------
    ----- Boss 1: Leymor
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2492)
    local lootTable = {
    193638, --Ley-Line Tracer
    193637, --Spaulders of Wild Growth
    193635, --Infused Elemental Bands
    193636, --Cinch of Forgotten Duty
    193633, --Unstable Arcane Loop
    193634, --Burgeoning Seed
    }
    self:RegisterBossLoot(theAzureVault, lootTable, bossName)

    -----------------------------------
    ----- Boss 2: Azurblade
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2505)
    local lootTable = {
    193632, --Fear Striker Tz'onna
    193631, --Horizon Splitter
    193629, --Cloak of Feathers
    193630, --Twenty-Two-League Striders
    193628, --Tome of Unstable Power
    }
    self:RegisterBossLoot(theAzureVault, lootTable, bossName)

    -----------------------------------
    ----- Boss 3: Telash Greywing
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2483)
    local lootTable = {
    193651, --Golden-Winged Rod
    193647, --Custodian's Seal of Delusion
    193649, --Mirage Bindings
    193648, --Azureblade's Work Gloves
    193650, --Illusion Breaker's Wristguards
    }
    self:RegisterBossLoot(theAzureVault, lootTable, bossName)

    -----------------------------------
    ----- Boss 4: Umbrelskul
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2508)
    local lootTable = {
    198059, --Titan Training Matrix IV
    193646, --Refraction's Edge
    193645, --Crystalized Bulwark
    193641, --Headwrap of the Abandoned
    193642, --Mantle of Yearned Freedom
    193644, --Breastplate of Irreparable Madness
    193643, --Stasis Freed Leggings
    193639, --Umbrelskul's Fractured Heart
    }
    self:RegisterBossLoot(theAzureVault, lootTable, bossName)
end

--------------------------------------------------
----- Algeth'ar Academy
--------------------------------------------------
function Dungeons:AlgetharAcademy()
    local algetharAcademy = 'algetharAcademy'
    local name = C_Map.GetMapInfo(2097).name
    self:RegisterRaidInstance(dungeonTierId , algetharAcademy, name, bonusIds_DF)

    -----------------------------------
    ----- Boss 1: Vexamus
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2509)
    local lootTable = {
    193711, --Spellbane Cutlass
    193710, --Spellboon Saber
    193709, --Vexamus' Expulsion Rod
    193708, --Platinum Star Band
    }
    self:RegisterBossLoot(algetharAcademy, lootTable, bossName)

    -----------------------------------
    ----- Boss 2: Overgrown Ancient
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2512)
    local lootTable = {
    193716, --Algeth'ar Hedgecleaver
    193717, --Mystakra's Harvester
    193712, --Potion-Stained Cloak
    193714, --Frenzyroot Cuffs
    193713, --Experimental Safety Gloves
    193715, --Boots of Explosive Growth
    }
    self:RegisterBossLoot(algetharAcademy, lootTable, bossName)

    -----------------------------------
    ----- Boss 3: Crawth
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2495)
    local lootTable = {
    193723, --Obsidian Goaltending Spire
    193720, --Bronze Challenger's Robe
    193721, --Ruby Contestant's Gloves
    193722, --Azure Belt of Competition
    193719, --Dragon Games Equipment
    193718, --Emerald Coach's Whistle
    }
    self:RegisterBossLoot(algetharAcademy, lootTable, bossName)

    -----------------------------------
    ----- Boss 4: Echo of Doragosa
    -----------------------------------
    local bossName = EJ_GetEncounterInfo(2514)
    local lootTable = {
    198059, --Titan Training Matrix IV
    193707, --Final Grade
    193703, --Organized Pontificator's Cap
    193704, --Scaled Commencement Spaulders
    193705, --Breastplate of Proven Knowledge
    193706, --Venerated Professor's Greaves
    193701, --Algeth'ar Puzzle Box
    }
    self:RegisterBossLoot(algetharAcademy, lootTable, bossName)
end

--------------------------------------------------
----- Halls of Valor (Legion Dungeon)
--------------------------------------------------
function Dungeons:HallsofValor()
    local hallsofValor = 'hallsofValor'
    local name = C_Map.GetMapInfo(704).name
    self:RegisterRaidInstance(dungeonTierId , hallsofValor, name, bonusIds_Legion)

    -----------------------------------
    ----- Boss 1: Hymdall
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1485)
        local lootTable = {
        136973, --Burden of Vigilance
        133763, --Key to the Halls
        134216, --Bonespeaker Cowl
        134213, --Tideskorn Mantle
        134179, --Skoldiir Breastplate
        133621, --Adorned Guardian's Bracers
        133628, --Battleborne Sentinel Gauntlets
        133805, --Thundercaller's Chain
        134194, --Biornskin Leggings
        136774, --Cushioned Treads of Glory
        133642, --Horn of Valor
        }
        self:RegisterBossLoot(hallsofValor, lootTable, bossName)
    -----------------------------------
    ----- Boss 2: Hyrja
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1486)
        local lootTable = {
        136974, --Empowerment of Thunder
        136771, --Eyir's Blessing
        134196, --Biornskin Hood
        133620, --Amice of the Enlightened
        134219, --Bonespeaker Robes
        133622, --Thunderfused Val'kyr Hauberk
        134186, --Skoldiir Bracers
        134209, --Tideskorn Gauntlets
        133613, --Solsten's Arcing Runecord
        136772, --Valkyra Protector Greatboots
        133679, --Val'kyr Ascension Signet
        133646, --Mote of Sanctification
        }
        self:RegisterBossLoot(hallsofValor, lootTable, bossName)
    -----------------------------------
    ----- Boss 3: Fenryr
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1487)
        local lootTable = {
        133687, --Fenryr's Bloodstained Fang
        133633, --Wolfstride Pendant
        133639, --Goldscar Pelt
        133615, --Hide of Fenryr
        133626, --Runebands of the Worthy
        133609, --Silken Bloodscent Gloves
        136773, --Greatbelt of Alpha Dominance
        136975, --Hunger of the Pack
        }
        self:RegisterBossLoot(hallsofValor, lootTable, bossName)
    -----------------------------------
    ----- Boss 4: God-King Skovald
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1488)
        local lootTable = {
        133764, --Ragnarok Ember
        136778, --Skovald's Resolve
        134182, --Skoldiir Helm
        136775, --Infernal Mantle of Conquest
        134222, --Bonespeaker Bracers
        133617, --Cruel Vice Grips
        133630, --Greaves of the God-King
        134212, --Tideskorn Leggings
        134193, --Biornskin Moccasins
        133623, --Felstep Footguards
        133638, --Woe-Bearer's Band
        133641, --Eye of Skovald
        }
        self:RegisterBossLoot(hallsofValor, lootTable, bossName)
    -----------------------------------
    ----- Boss 5: Odyn
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1489)
        local lootTable = {
        133685, --Odyn's Boon
        133686, --Stormforged Inferno
        136777, --Collar of Honorable Exultation
        139281, --Glory Seeker's Helm
        133767, --Pendant of the Stormforger
        133631, --Pauldrons of the All-Father
        133765, --Cape of Valarjar Courage
        134192, --Biornskin Bracer
        139282, --Solid Gold Bracelets
        139283, --Wristbands of Magnificent Splendor
        134217, --Bonespeaker Gloves
        134180, --Skoldiir Gauntlets
        136776, --Bjorn's Hunting Strap
        134207, --Tideskorn Cinch
        133610, --Leggings of Swirling Runes
        139280, --Treads of Light
        133647, --Gift of Radiance
        }
        self:RegisterBossLoot(hallsofValor, lootTable, bossName)
end

--------------------------------------------------
----- Court of Stars (Legion Dungeon)
--------------------------------------------------
function Dungeons:CourtofStars()
    local courtofStars = 'courtofStars'
    local name = C_Map.GetMapInfo(761).name
    self:RegisterRaidInstance(dungeonTierId , courtofStars, name, bonusIds_Legion)

    -----------------------------------
    ----- Boss 1: Patrol Captain Gerdo
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1718)
        local lootTable = {
        137490, --Self-Forging Credentials
        134480, --Epaulets of Deceitful Intent
        137483, --Cape of the Duskwatch
        134415, --Arcanist's Resonant Robes
        134296, --Ley Dragoon's Wristbraces
        134280, --Swordsinger's Wristguards
        134268, --Arcane Defender's Gauntlets
        137480, --Guileful Intruder Handguards
        137482, --Duskwatch Guard's Boots
        134308, --Manawracker Sandals
        137484, --Flask of the Solemn Night
        }
        self:RegisterBossLoot(courtofStars, lootTable, bossName)

    -----------------------------------
    ----- Boss 2: Talixae Flamewreath
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1719)
        local lootTable = {
        137491, --Felsworn Covenant
        137492, --Flamewreath Spark
        134473, --Collar of Fiery Allegiance
        134392, --Netherwhisper Hood
        134529, --Chain of Scorched Bones
        134374, --Felbat Leather Pauldrons
        134360, --Portalguard Shoulders
        134503, --Inferno Breastplate
        134385, --Mardum Chain Gloves
        137488, --Cord of Wicked Pyromania
        134460, --Fevermelt Legguards
        137485, --Infernal Writ
        }
        self:RegisterBossLoot(courtofStars, lootTable, bossName)
    -----------------------------------
    ----- Boss 3: Advisor Melandrus
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1720)
        local lootTable = {
        137495, --Crux of Blind Faith
        137493, --Edge of the First Blade
        134513, --Helmet of Reverent Loyalty
        134447, --Veil of Unseen Strikes
        137487, --Strand of the Stars
        134432, --Amice of the Unfurling Tempest
        137498, --Luminous Bladesworn Hauberk
        134310, --Manawracker Bindings
        137489, --Arcane-Bound Gale Chain
        137499, --Roaring Breeze Waistguard
        134287, --Swordsinger's Belt
        134271, --Arcane Defender's Pants
        137496, --Suramar Magistrate Leggings
        137497, --Footpads of the Swift Balestra
        134298, --Ley Dragoon's Stompers
        134542, --Jeweled Signet of Melandrus
        137486, --Windscar Whetstone
        }
        self:RegisterBossLoot(courtofStars, lootTable, bossName)
end

--------------------------------------------------
----- Shadowmoon Burial Grounds (WoD Dungeon)
--------------------------------------------------
function Dungeons:ShadowmoonBurialGrounds()
    local shadowmoonBurialGrounds = 'shadowmoonBurialGrounds'
    local name = C_Map.GetMapInfo(574).name
    self:RegisterRaidInstance(dungeonTierId , shadowmoonBurialGrounds, name, bonusIds_WoD)

    -----------------------------------
    ----- Boss 1: Sadana Bloodfury
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1139)
        local lootTable = {
        110035, --Sadana's Grisly Visage
        -- 109957, --Alc's Pendant of Fiery Dreams
        -- 109962, --Bloodmist Pendant
        -- 109959, --Chain of Soothing Light
        -- 109969, --Choker of Weeping Viscera
        -- 109955, --Demonbinder Cabochon
        -- 109951, --Fireblade Collar
        -- 109965, --Fistbreak Choker
        -- 109968, --Flesh Beetle Brooch
        -- 109963, --Goreclasp Choker
        -- 109958, --Healing Leaf Necklace
        -- 109954, --Magister's Chain
        -- 109956, --Necklace of Endless Shadow
        -- 109964, --Necklace of Furious Zeal
        -- 109967, --Necklace of Holy Deflection
        -- 109961, --Pendant of Purifying Mists
        -- 109966, --Reinforced Bloodsteel Gorget
        -- 109952, --Skulltooth Chain
        -- 109950, --Stormshot Choker
        -- 109960, --Wavesurge Choker
        -- 109953, --Windseal Necklace
        -- 109912, --Bloody-Blade Drape
        -- 109911, --Cape of Annealing Flesh
        -- 109908, --Cloak of Arcane Mysteries
        -- 109904, --Cloak of Cascading Blades
        -- 109910, --Cloak of Mending Magics
        -- 109929, --Cloak of Steeled Nerves
        -- 109906, --Cloak of Violent Harmony
        -- 109905, --Deadshot Greatcloak
        -- 109914, --Drape of Dripping Runnels
        -- 109926, --Drape of Frozen Dreams
        -- 109909, --Drape of Iron Sutures
        -- 109916, --Drape of Swirling Deflection
        -- 109907, --Felbone Drape
        -- 109925, --Forgeflame Greatcloak
        -- 109913, --Headscythe Greatcloak
        -- 109927, --Mistwoven Windcloak
        -- 109915, --Rigid Scale Cloak
        -- 109928, --Skullcracker Cloak
        -- 109918, --Soot-Scarred Longcloak
        -- 109917, --Three-Clefthoof Cape
        }
        self:RegisterBossLoot(shadowmoonBurialGrounds, lootTable, bossName)
    -----------------------------------
    ----- Boss 2: Nhallish
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1168)
        local lootTable = {
        110036, --Nhallish's Bloody Polearm
        -- 109898, --Blackwater Wrap
        -- 109885, --Bloodfeather Chestwrap
        -- 109884, --Chestguard of Burning Focus
        -- 109886, --Crystalbinder Chestguard
        -- 109903, --Felflame Robes
        -- 109900, --Frost-Touched Robes
        -- 109894, --Goldsteel Chestguard
        -- 109895, --Gutcrusher Chestplate
        -- 109892, --Incarnadine Breastplate
        -- -- 109890, --Lavalink Ringmail
        -- 109897, --Leafmender Robes
        -- 109902, --Lightbinder Robes
        -- -- 109891, --Morningscale Chestguard
        -- 109896, --Rivet-Sealed Breastplate
        109899, --Robes of Arcane Mystery
        -- 109901, --Robes of Swirling Light
        -- -- 109889, --Rockhide Ringmail
        109888, --Sharpeye Chestguard
        -- -- 109887, --Streamslither Chestguard
        -- 109893, --Verdant Plate Chest
        -- 109882, --Blackwater Wristguards
        -- 109869, --Bloodfeather Bracers
        109864, --Bracers of Arcane Mystery
        -- 109868, --Bracers of Burning Focus
        -- 109866, --Bracers of Swirling Light
        -- 109870, --Crystalbinder Wristguards
        -- 109881, --Felflame Bracers
        -- 109865, --Frost-Touched Wristwraps
        109878, --Goldsteel Bindings
        -- 109879, --Gutcrusher Bracers
        -- 109876, --Incarnadine Bracers
        -- 109875, --Lavalink Bracers
        -- 109871, --Leafmender Wraps
        -- 109867, --Lightbinder Wristwraps
        -- 109883, --Morningscale Bracers
        -- 109880, --Rivet-Sealed Bracers
        -- 109874, --Rockhide Wristguards
        109873, --Sharpeye Bracers
        -- 109872, --Streamslither Bracers
        -- 109877, --Verdant Plate Wristguards
        110007, --Voidmender's Shadowgem
        }
        self:RegisterBossLoot(shadowmoonBurialGrounds, lootTable, bossName)
    -----------------------------------
    ----- Boss 3: Bonemaw
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1140)
        local lootTable = {
        110037, --Bonetooth Longbow
        -- 109862, --Blackwater Grips
        -- 109849, --Bloodfeather Grips
        -- 109850, --Crystalbinder Gloves
        -- 109861, --Felflame Grips
        -- 109845, --Frost-Touched Gloves
        -- 109848, --Gauntlets of Burning Focus
        -- 109844, --Gloves of Arcane Mystery
        -- 109846, --Gloves of Swirling Light
        109858, --Goldsteel Gloves
        -- 109859, --Gutcrusher Gauntlets
        -- 109856, --Incarnadine Gauntlets
        -- 109855, --Lavalink Grips
        -- 109851, --Leafmender Grips
        -- 109847, --Lightbinder Gloves
        -- 109863, --Morningscale Gauntlet
        -- 109860, --Rivet-Sealed Crushers
        -- 109854, --Rockhide Gloves
        -- 109853, --Sharpeye Gauntlets
        -- 109852, --Streamslither Gauntlets
        -- 109857, --Verdant Plate Grips
        109829, --Belt of Burning Focus
        -- 109842, --Blackwater Belt
        -- 109830, --Bloodfeather Girdle
        -- 109824, --Cord of Arcane Mystery
        -- 109826, --Cord of Swirling Light
        -- 109831, --Crystalbinder Belt
        -- 109828, --Felflame Belt
        -- 109825, --Frost-Touched Cord
        -- 109839, --Goldsteel Belt
        -- 109840, --Gutcrusher Greatbelt
        -- 109837, --Incarnadine Girdle
        -- 109836, --Lavalink Girdle
        -- 109832, --Leafmender Girdle
        -- 109827, --Lightbinder Girdle
        -- 109843, --Morningscale Waistguard
        -- 109841, --Rivet-Sealed Waistplate
        -- 109835, --Rockhide Links
        -- 109834, --Sharpeye Belt
        -- 109833, --Streamslither Belt
        -- 109838, --Verdant Plate Belt
        110012, --Bonemaw's Big Toe
        }
        self:RegisterBossLoot(shadowmoonBurialGrounds, lootTable, bossName)
    -----------------------------------
    ----- Boss 4: Ner'zhul
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(1160)
        local lootTable = {
        -- 138806, --Illusion: Mark of Shadowmoon
        110039, --Portal-Ripper's Staff
        110038, --Ner'zhul's Ritual Blade
        -- 109979, --Blackwater Helm
        -- 109976, --Bloodfeather Cowl
        -- 109977, --Crystalbinder Helm
        -- 109974, --Felflame Hood
        -- 109971, --Frost-Touched Hood
        109987, --Goldsteel Greathelm
        -- 109988, --Gutcrusher Coronet
        109970, --Hood of Arcane Mystery
        -- 109975, --Hood of Burning Focus
        -- 109972, --Hood of Swirling Light
        -- 109985, --Incarnadine Greathelm
        -- -- 109983, --Lavalink Helm
        -- 109978, --Leafmender Hood
        -- 109973, --Lightbinder Cover
        -- -- 109984, --Morningscale Cowl
        -- 109989, --Rivet-Sealed Casque
        -- -- 109982, --Rockhide Casque
        -- -- 109981, --Sharpeye Gleam
        -- -- 109980, --Streamslither Helm
        -- 109986, --Verdant Plate Crown
        -- 109799, --Blackwater Boots
        -- 109788, --Bloodfeather Treads
        109787, --Boots of Burning Focus
        -- 109789, --Crystalbinder Sandals
        -- 109797, --Felflame Sandals
        -- 109785, --Frost-Touched Boots
        -- 109795, --Goldsteel Sabatons
        -- 109802, --Gutcrusher Stompers
        -- 109793, --Incarnadine Greaves
        -- 109800, --Lavalink Stompers
        -- 109798, --Leafmender Sandals
        -- 109796, --Lightbinder Treads
        -- 109801, --Morningscale Treads
        -- 109803, --Rivet-Sealed Treads
        -- 109792, --Rockhide Treads
        109784, --Sandals of Arcane Mystery
        -- 109786, --Sandals of Swirling Light
        109791, --Sharpeye Greaves
        -- 109790, --Streamslither Boots
        -- 109794, --Verdant Plate Treads
        -- 109779, --Ancient Draenic Loop
        -- 109768, --Band of Growing Leaves
        -- 109773, --Band of Iron Scale
        -- 109783, --Band of the Stalwart Stanchion
        -- 109775, --Bladebinder Ring
        -- 109771, --Bloodied Ring of Mytosis
        -- 109761, --Bloodthorn Band
        -- 109760, --Ced's Chiming Circle
        -- 109766, --Darkflame Loop
        -- 109763, --Diamondglow Circle
        -- 109782, --Disease-Binder Seal
        -- 109765, --Golem's Gleaming Eye
        -- 109772, --Knucklebone of Lo'Dronar
        -- 109764, --Mark of Ice
        -- 109767, --Ring of Purified Light
        -- 109774, --Ring of Ripped Flesh
        -- 109759, --Ro-Ger's Brown Diamond Seal
        -- 109776, --Seal of Resilient Fortitude
        -- 109781, --Seal of Vindication
        -- 109770, --Signet of Crashing Waves
        -- 109762, --Signet of Radiant Leaves
        -- 109780, --Signet of Shifting Magics
        -- 109778, --Signet of the Glorious Protector
        -- 109769, --Slicebinder Loop
        -- 109777, --Unsullied Signet
        }
        self:RegisterBossLoot(shadowmoonBurialGrounds, lootTable, bossName)
end

--------------------------------------------------
----- Temple of the Jade Serpent (MoP Dungeon)
--------------------------------------------------
function Dungeons:TempleoftheJadeSerpent()
    local templeoftheJadeSerpent = 'templeoftheJadeSerpent'
    local name = C_Map.GetMapInfo(429).name
    self:RegisterRaidInstance(dungeonTierId , templeoftheJadeSerpent, name, bonusIds_MoP)

    -----------------------------------
    ----- Boss 1: Wise Mari
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(672)
        local lootTable = {
        144017, --Waterburst Helm
        144111, --Wind-Soaked Drape
        143960, --Riverbed Chestguard
        143973, --Treads of Corrupted Water
        144112, --Crystallized Droplet
        }
        self:RegisterBossLoot(templeoftheJadeSerpent, lootTable, bossName)
    -----------------------------------
    ----- Boss 2: Lorewalker Stonestep
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(664)
        local lootTable = {
        144083, --Sunheart Waistband
        144081, --Girdle of Endemic Anger
        143987, --Leggings of Whispered Dreams
        143974, --Stonestep Boots
        144113, --Windswept Pages
        }
        self:RegisterBossLoot(templeoftheJadeSerpent, lootTable, bossName)
    -----------------------------------
    ----- Boss 3: Liu Flameheart
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(658)
        local lootTable = {
        144090, --Firebelcher Hand Cannon
        143971, --Serpentstrike Shoulderpads
        144094, --Cape of Entanglement
        143988, --Flameheart Sandals
        144114, --Signet of Dancing Jade
        }
        self:RegisterBossLoot(templeoftheJadeSerpent, lootTable, bossName)
    -----------------------------------
    ----- Boss 4: Sha of Doubt
    -----------------------------------
        local bossName = EJ_GetEncounterInfo(335)
        local lootTable = {
        144093, --Staff of Trembling Will
        144216, --Je'lyu, Spirit of the Serpent
        144086, --Dubious Handaxe
        144117, --Mindbreaker Pendant
        143970, --Neverdare Shoulders
        143972, --Doubtridden Shoulderguards
        144115, --Cloak of Failing Will
        143959, --Chestguard of Despair
        144118, --Paralyzing Gloves
        144091, --Hopecrusher Gauntlets
        144116, --Binding of Broken Dreams
        }
        self:RegisterBossLoot(templeoftheJadeSerpent, lootTable, bossName)
end

function Dungeons:InitializeZoneDetect(ZoneDetect)
    local rubyLifePools = 'rubyLifePools'
    ZoneDetect:RegisterMapID(2095, rubyLifePools)
    ZoneDetect:RegisterNPCID(188252, rubyLifePools, 1) -- Melidrussa Chillworn <Infusion Specialist>
    ZoneDetect:RegisterNPCID(189232, rubyLifePools, 2) -- Kokia Blazehoof
    ZoneDetect:RegisterNPCID(193435, rubyLifePools, 3) -- Kyrakka
    ZoneDetect:RegisterNPCID(190485, rubyLifePools, 3) -- Erkhart Stormvein

    local theNokhudOffensive = "theNokhudOffensive"
    ZoneDetect:RegisterMapID(2093, theNokhudOffensive)
    ZoneDetect:RegisterMapID(186616, theNokhudOffensive, 1) -- Granyth
    ZoneDetect:RegisterNPCID(186615, theNokhudOffensive, 2) -- The Raging Tempest
    ZoneDetect:RegisterNPCID(195723, theNokhudOffensive, 3) -- Teera
    ZoneDetect:RegisterNPCID(186338, theNokhudOffensive, 3) -- Maruuk
    ZoneDetect:RegisterNPCID(186151, theNokhudOffensive, 4) -- Balakar Khan

    local theAzureVault = "theAzureVault"
    ZoneDetect:RegisterMapID(2073, theAzureVault)
    ZoneDetect:RegisterNPCID(186644, theAzureVault, 1) -- Leymor
    ZoneDetect:RegisterNPCID(186739, theAzureVault, 2) -- Azureblade
    ZoneDetect:RegisterNPCID(197025, theAzureVault, 3) -- Telash Greywing
    ZoneDetect:RegisterNPCID(186738, theAzureVault, 4) -- Umbrelskul

    local algetharAcademy = "algetharAcademy"
    ZoneDetect:RegisterMapID(2097, algetharAcademy)
    ZoneDetect:RegisterNPCID(194181, algetharAcademy, 1) -- Vexamus
    ZoneDetect:RegisterNPCID(196482, algetharAcademy, 2) -- Overgrown Ancient
    ZoneDetect:RegisterNPCID(191736, algetharAcademy, 3) -- Crawth
    ZoneDetect:RegisterNPCID(190609, algetharAcademy, 4) -- Echo of Doragosa <Headteacher>

    local hallsofValor = "hallsofValor"
    ZoneDetect:RegisterMapID(704, hallsofValor)
    ZoneDetect:RegisterNPCID(94960, hallsofValor, 1) -- Hymdall
    ZoneDetect:RegisterNPCID(95833, hallsofValor, 2) -- Hyrja
    ZoneDetect:RegisterNPCID(99868, hallsofValor, 3) -- Fenryr
    ZoneDetect:RegisterNPCID(95675, hallsofValor, 4) -- God-King Skovald
    ZoneDetect:RegisterNPCID(95676, hallsofValor, 5) -- Odyn

    local courtofStars = "courtofStars"
    ZoneDetect:RegisterMapID(761, courtofStars)
    ZoneDetect:RegisterNPCID(104215, courtofStars, 1) -- Patrol Captain Gerdo
    ZoneDetect:RegisterNPCID(104217, courtofStars, 2) -- Talixae Flamewreath
    ZoneDetect:RegisterNPCID(104218, courtofStars, 3) -- Advisor Melandrus

    local shadowmoonBurialGrounds = "shadowmoonBurialGrounds"
    ZoneDetect:RegisterMapID(574, shadowmoonBurialGrounds)
    ZoneDetect:RegisterNPCID(75509, shadowmoonBurialGrounds, 1) -- Sadana Bloodfury
    ZoneDetect:RegisterNPCID(75829, shadowmoonBurialGrounds, 2) -- Nhallish
    ZoneDetect:RegisterNPCID(75452, shadowmoonBurialGrounds, 3) -- Bonemaw
    ZoneDetect:RegisterNPCID(76407, shadowmoonBurialGrounds, 4) -- Ner'zhul

    local templeoftheJadeSerpent = "templeoftheJadeSerpent"
    ZoneDetect:RegisterMapID(429, templeoftheJadeSerpent)
    ZoneDetect:RegisterNPCID(56448, templeoftheJadeSerpent, 1) -- Wise Mari <Waterspeaker>
    ZoneDetect:RegisterNPCID(56843, templeoftheJadeSerpent, 2) -- Lorewalker Stonestep <The Keeper of Scrolls>
    ZoneDetect:RegisterNPCID(56732, templeoftheJadeSerpent, 3) -- Liu Flameheart <Priestess of the Jade Serpent>
    ZoneDetect:RegisterNPCID(56439, templeoftheJadeSerpent, 4) -- Sha of Doubt
end

function Dungeons:OnEnable()
  self:RegisterExpansion("Myhtic+", "Myhtic+")
  self:RegisterRaidTier("Myhtic+", dungeonTierId, ("%s %s"):format("Myhtic+ ", "Season 1"), PLAYER_DIFFICULTY6.."+ 12/12",  PLAYER_DIFFICULTY6.."+ Casino")

  self:RubyLifePools()
  self:TheNokhudOffensive()
  self:TheAzureVault()
  self:AlgetharAcademy()
  self:HallsofValor()
  self:CourtofStars()
  self:ShadowmoonBurialGrounds()
  self:TempleoftheJadeSerpent()

end
WybeBosch commented 1 year ago

Hmm on second thought, the fact that only 1 items drops from first boss.. seems kinda weird.. dammit blizzard which one is it. Still i think there Were too many items attributed to the WoD dungeons image

dioxina commented 1 year ago

Thank you. Data was adopted in version 10.0.5.