From f8d33e93924b420a5b84f287c0af9795423a1bef Mon Sep 17 00:00:00 2001 From: funkydude Date: Mon, 15 Jul 2024 16:34:20 +0100 Subject: [PATCH] Use `:SetAllowWin()` instead of fake journal IDs where appropriate --- BlackfathomDeeps_Classic/Akumai.lua | 3 ++- BlackfathomDeeps_Classic/BaronAquanis.lua | 3 ++- BlackfathomDeeps_Classic/Gelihast.lua | 3 ++- BlackfathomDeeps_Classic/Ghamoo-ra.lua | 3 ++- BlackfathomDeeps_Classic/LadySarevess.lua | 3 ++- BlackfathomDeeps_Classic/LorgusJett.lua | 3 ++- BlackfathomDeeps_Classic/TwilightLordKelris.lua | 3 ++- Gnomeregan_Classic/CrowdPummeler9-60.lua | 3 ++- Gnomeregan_Classic/Electrocutioner6000.lua | 3 ++- Gnomeregan_Classic/Grubbis.lua | 3 ++- Gnomeregan_Classic/MechanicalMenagerie.lua | 3 ++- Gnomeregan_Classic/MekgineerThermaplugg.lua | 3 ++- Gnomeregan_Classic/ViscousFallout.lua | 3 ++- StormCliffs_Classic/Azuregos.lua | 2 ++ SunkenTemple_Classic/AtalaiDefenders.lua | 3 ++- SunkenTemple_Classic/Atalalarion.lua | 3 ++- SunkenTemple_Classic/AvatarOfHakkar.lua | 3 ++- SunkenTemple_Classic/DreamscytheAndWeaver.lua | 3 ++- SunkenTemple_Classic/FesteringRotslime.lua | 3 ++- SunkenTemple_Classic/JammalanAndOgom.lua | 3 ++- SunkenTemple_Classic/MorphazAndHazzas.lua | 3 ++- SunkenTemple_Classic/ShadeOfEranikus.lua | 3 ++- TheTaintedScar_Classic/Kazzak.lua | 2 ++ World_Classic/Azuregos.lua | 1 + World_Classic/Emeriss.lua | 1 + World_Classic/Kazzak.lua | 1 + World_Classic/Lethon.lua | 1 + World_Classic/Taerar.lua | 1 + World_Classic/Ysondre.lua | 1 + ZulGurub_Classic/Arlokk.lua | 3 ++- ZulGurub_Classic/EdgeOfMadness.lua | 3 ++- ZulGurub_Classic/Gahzranka.lua | 3 ++- ZulGurub_Classic/Hakkar.lua | 3 ++- ZulGurub_Classic/Jeklik.lua | 3 ++- ZulGurub_Classic/Jindo.lua | 3 ++- ZulGurub_Classic/Mandokir.lua | 3 ++- ZulGurub_Classic/Marli.lua | 3 ++- ZulGurub_Classic/Thekal.lua | 3 ++- ZulGurub_Classic/Venoxis.lua | 3 ++- 39 files changed, 72 insertions(+), 31 deletions(-) diff --git a/BlackfathomDeeps_Classic/Akumai.lua b/BlackfathomDeeps_Classic/Akumai.lua index 48c3e3e..4c534be 100644 --- a/BlackfathomDeeps_Classic/Akumai.lua +++ b/BlackfathomDeeps_Classic/Akumai.lua @@ -2,11 +2,12 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Aku'mai Discovery", 48, -2891) +local mod, CL = BigWigs:NewBoss("Aku'mai Discovery", 48) if not mod then return end mod:RegisterEnableMob(213334) -- Aku'mai Season of Discovery mod:SetEncounterID(2891) mod:SetRespawnTime(10) +mod:SetAllowWin(true) mod:SetStage(1) -------------------------------------------------------------------------------- diff --git a/BlackfathomDeeps_Classic/BaronAquanis.lua b/BlackfathomDeeps_Classic/BaronAquanis.lua index d498d92..892f062 100644 --- a/BlackfathomDeeps_Classic/BaronAquanis.lua +++ b/BlackfathomDeeps_Classic/BaronAquanis.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Baron Aquanis Discovery", 48, -2694) +local mod, CL = BigWigs:NewBoss("Baron Aquanis Discovery", 48) if not mod then return end mod:RegisterEnableMob(202699) -- Baron Aquanis Season of Discovery mod:SetEncounterID(2694) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Locals diff --git a/BlackfathomDeeps_Classic/Gelihast.lua b/BlackfathomDeeps_Classic/Gelihast.lua index e0fceb1..61ee4fc 100644 --- a/BlackfathomDeeps_Classic/Gelihast.lua +++ b/BlackfathomDeeps_Classic/Gelihast.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Gelihast Discovery", 48, -2704) +local mod, CL = BigWigs:NewBoss("Gelihast Discovery", 48) if not mod then return end mod:RegisterEnableMob(204921) -- Gelihast Season of Discovery mod:SetEncounterID(2704) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/BlackfathomDeeps_Classic/Ghamoo-ra.lua b/BlackfathomDeeps_Classic/Ghamoo-ra.lua index ce84a7a..9a32f86 100644 --- a/BlackfathomDeeps_Classic/Ghamoo-ra.lua +++ b/BlackfathomDeeps_Classic/Ghamoo-ra.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Ghamoo-ra Discovery", 48, -2697) +local mod, CL = BigWigs:NewBoss("Ghamoo-ra Discovery", 48) if not mod then return end mod:RegisterEnableMob(201722) -- Ghamoo-ra Season of Discovery mod:SetEncounterID(2697) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Locals diff --git a/BlackfathomDeeps_Classic/LadySarevess.lua b/BlackfathomDeeps_Classic/LadySarevess.lua index 6e598e6..21c64c9 100644 --- a/BlackfathomDeeps_Classic/LadySarevess.lua +++ b/BlackfathomDeeps_Classic/LadySarevess.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Lady Sarevess Discovery", 48, -2699) +local mod, CL = BigWigs:NewBoss("Lady Sarevess Discovery", 48) if not mod then return end mod:RegisterEnableMob(204068) -- Lady Sarevess Season of Discovery mod:SetEncounterID(2699) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/BlackfathomDeeps_Classic/LorgusJett.lua b/BlackfathomDeeps_Classic/LorgusJett.lua index 613c4a2..57e36dc 100644 --- a/BlackfathomDeeps_Classic/LorgusJett.lua +++ b/BlackfathomDeeps_Classic/LorgusJett.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Lorgus Jett Discovery", 48, -2710) +local mod, CL = BigWigs:NewBoss("Lorgus Jett Discovery", 48) if not mod then return end mod:RegisterEnableMob(207356, 207358) -- Lorgus Jett Season of Discovery, Blackfathom Tide Priestess mod:SetEncounterID(2710) +mod:SetAllowWin(true) mod:SetStage(1) -------------------------------------------------------------------------------- diff --git a/BlackfathomDeeps_Classic/TwilightLordKelris.lua b/BlackfathomDeeps_Classic/TwilightLordKelris.lua index 9039712..be9e5ff 100644 --- a/BlackfathomDeeps_Classic/TwilightLordKelris.lua +++ b/BlackfathomDeeps_Classic/TwilightLordKelris.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Twilight Lord Kelris Discovery", 48, -2825) +local mod, CL = BigWigs:NewBoss("Twilight Lord Kelris Discovery", 48) if not mod then return end mod:RegisterEnableMob(209678) -- Twilight Lord Kelris Season of Discovery mod:SetEncounterID(2825) +mod:SetAllowWin(true) mod:SetStage(1) -------------------------------------------------------------------------------- diff --git a/Gnomeregan_Classic/CrowdPummeler9-60.lua b/Gnomeregan_Classic/CrowdPummeler9-60.lua index 32998a8..38bc685 100644 --- a/Gnomeregan_Classic/CrowdPummeler9-60.lua +++ b/Gnomeregan_Classic/CrowdPummeler9-60.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Crowd Pummeler 9-60 Discovery", 90, -2899) +local mod, CL = BigWigs:NewBoss("Crowd Pummeler 9-60 Discovery", 90) if not mod then return end mod:RegisterEnableMob(215728) -- Crowd Pummeler 9-60 mod:SetEncounterID(2899) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/Gnomeregan_Classic/Electrocutioner6000.lua b/Gnomeregan_Classic/Electrocutioner6000.lua index e6f05da..805a4b9 100644 --- a/Gnomeregan_Classic/Electrocutioner6000.lua +++ b/Gnomeregan_Classic/Electrocutioner6000.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Electrocutioner 6000 Discovery", 90, -2927) +local mod, CL = BigWigs:NewBoss("Electrocutioner 6000 Discovery", 90) if not mod then return end mod:RegisterEnableMob(220072) -- Electrocutioner 6000 mod:SetEncounterID(2927) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Locals diff --git a/Gnomeregan_Classic/Grubbis.lua b/Gnomeregan_Classic/Grubbis.lua index 814647f..8e74524 100644 --- a/Gnomeregan_Classic/Grubbis.lua +++ b/Gnomeregan_Classic/Grubbis.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Grubbis Discovery", 90, -2925) +local mod, CL = BigWigs:NewBoss("Grubbis Discovery", 90) if not mod then return end mod:RegisterEnableMob(217969, 217280) -- Blastmaster Emi Shortfuse, Grubbis mod:SetEncounterID(2925) +mod:SetAllowWin(true) mod:SetStage(1) -------------------------------------------------------------------------------- diff --git a/Gnomeregan_Classic/MechanicalMenagerie.lua b/Gnomeregan_Classic/MechanicalMenagerie.lua index 8adb3ab..0ac02af 100644 --- a/Gnomeregan_Classic/MechanicalMenagerie.lua +++ b/Gnomeregan_Classic/MechanicalMenagerie.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Mechanical Menagerie Discovery", 90, -2935) +local mod, CL = BigWigs:NewBoss("Mechanical Menagerie Discovery", 90) if not mod then return end mod:RegisterEnableMob(218242, 218243, 218244, 218245) -- STX-04/BD (Dragon), STX-13/LL (Sheep), STX-25/NB (Squirrel), STX-37/CN (Chicken) mod:SetEncounterID(2935) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Locals diff --git a/Gnomeregan_Classic/MekgineerThermaplugg.lua b/Gnomeregan_Classic/MekgineerThermaplugg.lua index c702991..0270f8c 100644 --- a/Gnomeregan_Classic/MekgineerThermaplugg.lua +++ b/Gnomeregan_Classic/MekgineerThermaplugg.lua @@ -2,7 +2,7 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Mekgineer Thermaplugg Discovery", 90, -2940) +local mod, CL = BigWigs:NewBoss("Mekgineer Thermaplugg Discovery", 90) if not mod then return end mod:RegisterEnableMob( 218537, -- Mekgineer Thermaplugg @@ -12,6 +12,7 @@ mod:RegisterEnableMob( 218974 -- STX-99/XD ) mod:SetEncounterID(2940) +mod:SetAllowWin(true) mod:SetStage(1) -------------------------------------------------------------------------------- diff --git a/Gnomeregan_Classic/ViscousFallout.lua b/Gnomeregan_Classic/ViscousFallout.lua index 8be4a4e..557d559 100644 --- a/Gnomeregan_Classic/ViscousFallout.lua +++ b/Gnomeregan_Classic/ViscousFallout.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Viscous Fallout Discovery", 90, -2928) +local mod, CL = BigWigs:NewBoss("Viscous Fallout Discovery", 90) if not mod then return end mod:RegisterEnableMob(220007) -- Viscous Fallout mod:SetEncounterID(2928) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/StormCliffs_Classic/Azuregos.lua b/StormCliffs_Classic/Azuregos.lua index 9ab54f4..26d2da4 100644 --- a/StormCliffs_Classic/Azuregos.lua +++ b/StormCliffs_Classic/Azuregos.lua @@ -5,6 +5,8 @@ local mod, CL = BigWigs:NewBoss("Azuregos Season of Discovery", 2791) if not mod then return end mod:RegisterEnableMob(6109) +mod:SetEncounterID(3027) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/SunkenTemple_Classic/AtalaiDefenders.lua b/SunkenTemple_Classic/AtalaiDefenders.lua index 9835d0d..b90c0f3 100644 --- a/SunkenTemple_Classic/AtalaiDefenders.lua +++ b/SunkenTemple_Classic/AtalaiDefenders.lua @@ -2,7 +2,7 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Atal'ai Defenders Discovery", 109, -2954) +local mod, CL = BigWigs:NewBoss("Atal'ai Defenders Discovery", 109) if not mod then return end mod:RegisterEnableMob( 221759, 221637, -- Gasher @@ -13,6 +13,7 @@ mod:RegisterEnableMob( 218922 -- Hukku ) mod:SetEncounterID(2954) +mod:SetAllowWin(true) mod:SetStage(1) -------------------------------------------------------------------------------- diff --git a/SunkenTemple_Classic/Atalalarion.lua b/SunkenTemple_Classic/Atalalarion.lua index eab4b54..97bbc28 100644 --- a/SunkenTemple_Classic/Atalalarion.lua +++ b/SunkenTemple_Classic/Atalalarion.lua @@ -2,9 +2,10 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Atal'alarion Discovery", 109, -2952) +local mod, CL = BigWigs:NewBoss("Atal'alarion Discovery", 109) if not mod then return end mod:RegisterEnableMob(218624) -- Atal'alarion +mod:SetAllowWin(true) mod:SetEncounterID(2952) -------------------------------------------------------------------------------- diff --git a/SunkenTemple_Classic/AvatarOfHakkar.lua b/SunkenTemple_Classic/AvatarOfHakkar.lua index ee45f41..1fa0e1c 100644 --- a/SunkenTemple_Classic/AvatarOfHakkar.lua +++ b/SunkenTemple_Classic/AvatarOfHakkar.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Avatar of Hakkar Discovery", 109, -2956) +local mod, CL = BigWigs:NewBoss("Avatar of Hakkar Discovery", 109) if not mod then return end mod:RegisterEnableMob(221426, 221396, 221394) -- Atal'ai Ritualist, Hakkari Bloodkeeper, Avatar of Hakkar mod:SetEncounterID(2956) +mod:SetAllowWin(true) mod:SetStage(1) -------------------------------------------------------------------------------- diff --git a/SunkenTemple_Classic/DreamscytheAndWeaver.lua b/SunkenTemple_Classic/DreamscytheAndWeaver.lua index a1cd919..c4c8c55 100644 --- a/SunkenTemple_Classic/DreamscytheAndWeaver.lua +++ b/SunkenTemple_Classic/DreamscytheAndWeaver.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Dreamscythe and Weaver Discovery", 109, -2955) +local mod, CL = BigWigs:NewBoss("Dreamscythe and Weaver Discovery", 109) if not mod then return end mod:RegisterEnableMob(220833, 220864) -- Dreamscythe, Weaver mod:SetEncounterID(2955) +mod:SetAllowWin(true) mod:SetStage(1) -------------------------------------------------------------------------------- diff --git a/SunkenTemple_Classic/FesteringRotslime.lua b/SunkenTemple_Classic/FesteringRotslime.lua index 822cc50..e31b841 100644 --- a/SunkenTemple_Classic/FesteringRotslime.lua +++ b/SunkenTemple_Classic/FesteringRotslime.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Festering Rotslime Discovery", 109, -2953) +local mod, CL = BigWigs:NewBoss("Festering Rotslime Discovery", 109) if not mod then return end mod:RegisterEnableMob(218819) -- Festering Rotslime mod:SetEncounterID(2953) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Locals diff --git a/SunkenTemple_Classic/JammalanAndOgom.lua b/SunkenTemple_Classic/JammalanAndOgom.lua index e94a098..1b71b05 100644 --- a/SunkenTemple_Classic/JammalanAndOgom.lua +++ b/SunkenTemple_Classic/JammalanAndOgom.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Jammal'an and Ogom Discovery", 109, -2957) +local mod, CL = BigWigs:NewBoss("Jammal'an and Ogom Discovery", 109) if not mod then return end mod:RegisterEnableMob(218721, 218718) -- Jammal'an the Prophet, Ogom the Wretched mod:SetEncounterID(2957) +mod:SetAllowWin(true) mod:SetStage(1) -------------------------------------------------------------------------------- diff --git a/SunkenTemple_Classic/MorphazAndHazzas.lua b/SunkenTemple_Classic/MorphazAndHazzas.lua index 8a4e9d7..554de55 100644 --- a/SunkenTemple_Classic/MorphazAndHazzas.lua +++ b/SunkenTemple_Classic/MorphazAndHazzas.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Morphaz and Hazzas Discovery", 109, -2958) +local mod, CL = BigWigs:NewBoss("Morphaz and Hazzas Discovery", 109) if not mod then return end mod:RegisterEnableMob(221943, 221942) -- Hazzas, Morphaz mod:SetEncounterID(2958) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Locals diff --git a/SunkenTemple_Classic/ShadeOfEranikus.lua b/SunkenTemple_Classic/ShadeOfEranikus.lua index 1120bef..a1807b8 100644 --- a/SunkenTemple_Classic/ShadeOfEranikus.lua +++ b/SunkenTemple_Classic/ShadeOfEranikus.lua @@ -2,10 +2,11 @@ -- Module Declaration -- -local mod, CL = BigWigs:NewBoss("Shade of Eranikus Discovery", 109, -2959) +local mod, CL = BigWigs:NewBoss("Shade of Eranikus Discovery", 109) if not mod then return end mod:RegisterEnableMob(218571) -- Shade of Eranikus mod:SetEncounterID(2959) +mod:SetAllowWin(true) mod:SetStage(1) -------------------------------------------------------------------------------- diff --git a/TheTaintedScar_Classic/Kazzak.lua b/TheTaintedScar_Classic/Kazzak.lua index ba6e81c..e1c8efc 100644 --- a/TheTaintedScar_Classic/Kazzak.lua +++ b/TheTaintedScar_Classic/Kazzak.lua @@ -5,6 +5,8 @@ local mod, CL = BigWigs:NewBoss("Lord Kazzak Season of Discovery", 2789) if not mod then return end mod:RegisterEnableMob(12397) +mod:SetEncounterID(3026) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/World_Classic/Azuregos.lua b/World_Classic/Azuregos.lua index 868f13c..6fe23ee 100644 --- a/World_Classic/Azuregos.lua +++ b/World_Classic/Azuregos.lua @@ -6,6 +6,7 @@ if BigWigsLoader.isSeasonOfDiscovery then return end local mod, CL = BigWigs:NewBoss("Azuregos", -1447) if not mod then return end mod:RegisterEnableMob(6109) +mod:SetAllowWin(true) mod.otherMenu = -947 mod.worldBoss = 6109 diff --git a/World_Classic/Emeriss.lua b/World_Classic/Emeriss.lua index 1784b1d..1169a49 100644 --- a/World_Classic/Emeriss.lua +++ b/World_Classic/Emeriss.lua @@ -5,6 +5,7 @@ local mod, CL = BigWigs:NewBoss("Emeriss", -1440) if not mod then return end mod:RegisterEnableMob(14889) +mod:SetAllowWin(true) mod.otherMenu = -947 mod.worldBoss = 14889 diff --git a/World_Classic/Kazzak.lua b/World_Classic/Kazzak.lua index e83e11f..248675c 100644 --- a/World_Classic/Kazzak.lua +++ b/World_Classic/Kazzak.lua @@ -6,6 +6,7 @@ if BigWigsLoader.isSeasonOfDiscovery then return end local mod, CL = BigWigs:NewBoss("Lord Kazzak", -1419) if not mod then return end mod:RegisterEnableMob(12397) +mod:SetAllowWin(true) mod.otherMenu = -947 mod.worldBoss = 12397 diff --git a/World_Classic/Lethon.lua b/World_Classic/Lethon.lua index 049d281..46534d2 100644 --- a/World_Classic/Lethon.lua +++ b/World_Classic/Lethon.lua @@ -5,6 +5,7 @@ local mod, CL = BigWigs:NewBoss("Lethon", -1425) if not mod then return end mod:RegisterEnableMob(14888) +mod:SetAllowWin(true) mod.otherMenu = -947 mod.worldBoss = 14888 diff --git a/World_Classic/Taerar.lua b/World_Classic/Taerar.lua index 1d6147c..b1b7d5a 100644 --- a/World_Classic/Taerar.lua +++ b/World_Classic/Taerar.lua @@ -5,6 +5,7 @@ local mod, CL = BigWigs:NewBoss("Taerar", -1431) if not mod then return end mod:RegisterEnableMob(14890) +mod:SetAllowWin(true) mod.otherMenu = -947 mod.worldBoss = 14890 diff --git a/World_Classic/Ysondre.lua b/World_Classic/Ysondre.lua index 12381f7..e0ae3e9 100644 --- a/World_Classic/Ysondre.lua +++ b/World_Classic/Ysondre.lua @@ -5,6 +5,7 @@ local mod, CL = BigWigs:NewBoss("Ysondre", -1444) if not mod then return end mod:RegisterEnableMob(14887) +mod:SetAllowWin(true) mod.otherMenu = -947 mod.worldBoss = 14887 diff --git a/ZulGurub_Classic/Arlokk.lua b/ZulGurub_Classic/Arlokk.lua index 1b09810..794b9a3 100644 --- a/ZulGurub_Classic/Arlokk.lua +++ b/ZulGurub_Classic/Arlokk.lua @@ -3,10 +3,11 @@ -- Module declaration -- -local mod = BigWigs:NewBoss("High Priestess Arlokk", 309, -791) +local mod = BigWigs:NewBoss("High Priestess Arlokk", 309) if not mod then return end mod:RegisterEnableMob(14515) mod:SetEncounterID(791) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/ZulGurub_Classic/EdgeOfMadness.lua b/ZulGurub_Classic/EdgeOfMadness.lua index 3cd3cca..580819d 100644 --- a/ZulGurub_Classic/EdgeOfMadness.lua +++ b/ZulGurub_Classic/EdgeOfMadness.lua @@ -3,10 +3,11 @@ -- Module declaration -- -local mod = BigWigs:NewBoss("Edge of Madness", 309, -788) +local mod = BigWigs:NewBoss("Edge of Madness", 309) if not mod then return end mod:RegisterEnableMob(15082, 15083, 15084, 15085) -- Gri'lek, Hazza'rah, Renataki, Wushoolay mod:SetEncounterID(788) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/ZulGurub_Classic/Gahzranka.lua b/ZulGurub_Classic/Gahzranka.lua index 3566104..86a3b1c 100644 --- a/ZulGurub_Classic/Gahzranka.lua +++ b/ZulGurub_Classic/Gahzranka.lua @@ -3,10 +3,11 @@ -- Module declaration -- -local mod = BigWigs:NewBoss("Gahz'ranka", 309, -790) +local mod = BigWigs:NewBoss("Gahz'ranka", 309) if not mod then return end mod:RegisterEnableMob(15114) mod:SetEncounterID(790) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/ZulGurub_Classic/Hakkar.lua b/ZulGurub_Classic/Hakkar.lua index 88903d2..bc1b21d 100644 --- a/ZulGurub_Classic/Hakkar.lua +++ b/ZulGurub_Classic/Hakkar.lua @@ -4,10 +4,11 @@ -- -- TODO Hard mode abilities -local mod, CL = BigWigs:NewBoss("Hakkar", 309, -793) +local mod, CL = BigWigs:NewBoss("Hakkar", 309) if not mod then return end mod:RegisterEnableMob(14834) mod:SetEncounterID(793) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/ZulGurub_Classic/Jeklik.lua b/ZulGurub_Classic/Jeklik.lua index 5f70519..f3330d3 100644 --- a/ZulGurub_Classic/Jeklik.lua +++ b/ZulGurub_Classic/Jeklik.lua @@ -3,10 +3,11 @@ -- Module declaration -- -local mod, CL = BigWigs:NewBoss("High Priestess Jeklik", 309, -785) +local mod, CL = BigWigs:NewBoss("High Priestess Jeklik", 309) if not mod then return end mod:RegisterEnableMob(14517) mod:SetEncounterID(785) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/ZulGurub_Classic/Jindo.lua b/ZulGurub_Classic/Jindo.lua index d726b1f..a9cd6a5 100644 --- a/ZulGurub_Classic/Jindo.lua +++ b/ZulGurub_Classic/Jindo.lua @@ -3,10 +3,11 @@ -- Module declaration -- -local mod = BigWigs:NewBoss("Jin'do the Hexxer", 309, -792) +local mod = BigWigs:NewBoss("Jin'do the Hexxer", 309) if not mod then return end mod:RegisterEnableMob(11380) mod:SetEncounterID(792) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/ZulGurub_Classic/Mandokir.lua b/ZulGurub_Classic/Mandokir.lua index acc1686..23a6387 100644 --- a/ZulGurub_Classic/Mandokir.lua +++ b/ZulGurub_Classic/Mandokir.lua @@ -3,10 +3,11 @@ -- Module declaration -- -local mod = BigWigs:NewBoss("Bloodlord Mandokir", 309, -787) +local mod = BigWigs:NewBoss("Bloodlord Mandokir", 309) if not mod then return end mod:RegisterEnableMob(11382, 14988) -- Bloodlord Mandokir, Ohgan mod:SetEncounterID(787) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/ZulGurub_Classic/Marli.lua b/ZulGurub_Classic/Marli.lua index df00c45..82e1426 100644 --- a/ZulGurub_Classic/Marli.lua +++ b/ZulGurub_Classic/Marli.lua @@ -3,10 +3,11 @@ -- Module declaration -- -local mod, CL = BigWigs:NewBoss("High Priestess Mar'li", 309, -786) +local mod, CL = BigWigs:NewBoss("High Priestess Mar'li", 309) if not mod then return end mod:RegisterEnableMob(14510) mod:SetEncounterID(786) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/ZulGurub_Classic/Thekal.lua b/ZulGurub_Classic/Thekal.lua index ed81284..52a2d1c 100644 --- a/ZulGurub_Classic/Thekal.lua +++ b/ZulGurub_Classic/Thekal.lua @@ -3,10 +3,11 @@ -- Module declaration -- -local mod, CL = BigWigs:NewBoss("High Priest Thekal", 309, -789) +local mod, CL = BigWigs:NewBoss("High Priest Thekal", 309) if not mod then return end mod:RegisterEnableMob(14509, 11347, 11348) mod:SetEncounterID(789) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization diff --git a/ZulGurub_Classic/Venoxis.lua b/ZulGurub_Classic/Venoxis.lua index 0adee2c..191cda2 100644 --- a/ZulGurub_Classic/Venoxis.lua +++ b/ZulGurub_Classic/Venoxis.lua @@ -3,10 +3,11 @@ -- Module declaration -- -local mod, CL = BigWigs:NewBoss("High Priest Venoxis", 309, -784) +local mod, CL = BigWigs:NewBoss("High Priest Venoxis", 309) if not mod then return end mod:RegisterEnableMob(14507) mod:SetEncounterID(784) +mod:SetAllowWin(true) -------------------------------------------------------------------------------- -- Localization