Skip to content

Commit aaea106

Browse files
committed
feat(Core): Complete re-write
- Re-written into a more coherent codebase
1 parent a7cce59 commit aaea106

11 files changed

Lines changed: 1516 additions & 891 deletions

Core.lua

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
-- Core.lua
2+
-- Main addon initialization and namespace
3+
4+
local ADDON_NAME, LSS = ...
5+
6+
-- Addon info
7+
LSS.version = C_AddOns.GetAddOnMetadata(ADDON_NAME, "Version")
8+
LSS.author = C_AddOns.GetAddOnMetadata(ADDON_NAME, "Author")
9+
10+
-- Module references (will be populated by modules)
11+
LSS.db = nil
12+
LSS.specManager = nil
13+
LSS.eventHandler = nil
14+
LSS.commands = nil
15+
LSS.ui = nil
16+
LSS.config = nil
17+
18+
-- Constants
19+
LSS.DIFFICULTY_NAMES = {
20+
[1] = "Dungeon Normal",
21+
[2] = "Dungeon Heroic",
22+
[14] = "Raid Normal",
23+
[15] = "Raid Heroic",
24+
[16] = "Raid Mythic",
25+
[17] = "Raid LFR",
26+
[23] = "Dungeon Mythic",
27+
}
28+
29+
-- Utility functions
30+
function LSS:Print(msg, ...)
31+
if not self.db or not self.db:IsSilenced() then
32+
print("|cff00ff00[LSS]|r", string.format(msg, ...))
33+
end
34+
end
35+
36+
function LSS:Debug(msg, ...)
37+
if self.db and self.db:IsDebugMode() then
38+
print("|cffff8800[LSS Debug]|r", string.format(msg, ...))
39+
end
40+
end
41+
42+
function LSS:Error(msg, ...)
43+
print("|cffff0000[LSS Error]|r", string.format(msg, ...))
44+
end
45+
46+
-- Global accessor
47+
_G[ADDON_NAME] = LSS

Data/BossFixes.lua

Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
-- Data\BossFixes.lua
2+
-- Maps actual in-game boss names to Encounter Journal names
3+
4+
local _, LSS = ...
5+
6+
LSS.BossFixes = {
7+
----- Dungeons -----
8+
9+
-- Cataclysm
10+
["Asaad"] = "Asaad, Caliph of Zephyrs",
11+
12+
-- Legion
13+
["Dargrul"] = "Dargrul the Underking",
14+
15+
-- Battle for Azeroth
16+
["Captain Eudora"] = "Council o' Captains",
17+
["Captain Jolly"] = "Council o' Captains",
18+
["Captain Raoul"] = "Council o' Captains",
19+
["Shark Puncher"] = "Ring of Booty",
20+
["The Platinum Puncher"] = "Tussle Tonks",
21+
["Gnomercy 4.U."] = "Tussle Tonks",
22+
["Head Machinist Sparkflux"] = "Machinist's Garden",
23+
24+
-- Shadowlands
25+
["Milificent Manastorm"] = "The Manastorms",
26+
["Millhouse Manastorm"] = "The Manastorms",
27+
["Halkias"] = "Halkias, the Sin-Stained Goliath",
28+
["Azules"] = "Kin-Tara",
29+
["Devos"] = "Devos, Paragon of Doubt",
30+
["Stitchflesh's Creation"] = "Surgeon Stitchflesh",
31+
["Dessia the Decapitator"] = "An Affront of Challengers",
32+
["Paceran the Virulent"] = "An Affront of Challengers",
33+
["Sathel the Accursed"] = "An Affront of Challengers",
34+
["Mordretha"] = "Mordretha, the Endless Empress",
35+
36+
-- Dragonflight
37+
["Rira Hackclaw"] = "Hackclaw's War-Band",
38+
["Gashtooth"] = "Hackclaw's War-Band",
39+
["Tricktotem"] = "Hackclaw's War-Band",
40+
["Erkhart Stormvein"] = "Kyrakka and Erkhart Stormvein",
41+
["Teera"] = "Teera and Maruuk",
42+
["Maruuk"] = "Teera and Maruuk",
43+
["Baelog"] = "The Lost Dwarves",
44+
["Eric \"The Swift\""] = "The Lost Dwarves",
45+
["Olaf"] = "The Lost Dwarves",
46+
47+
-- The War Within
48+
["Nx"] = "Fangs of the Queen",
49+
["Vx"] = "Fangs of the Queen",
50+
["Starved Crawler"] = "Avanoxx",
51+
["Thirsty Patron"] = "Brew Master Aldryr",
52+
["Brew Drop"] = "I'pa",
53+
["Cindy"] = "Benk Buzzbee",
54+
["Ravenous Cinderbee"] = "Benk Buzzbee",
55+
["Yes Man"] = "Goldie Baronbottom",
56+
["Elaena Emberlanz"] = "Captain Dailcry",
57+
["Sergeant Shaynemail"] = "Captain Dailcry",
58+
["Taener Duelmal"] = "Captain Dailcry",
59+
["E.D.N.A"] = "E.D.N.A.",
60+
["Speaker Dorlita"] = "Master Machinists",
61+
["Speaker Brokk"] = "Master Machinists",
62+
["Keeza Quickfuse"] = "Demolition Duo",
63+
["Bront"] = "Demolition Duo",
64+
["A'wazj"] = "Taah'bat and A'wazj",
65+
["Taah'bat"] = "Taah'bat and A'wazj",
66+
67+
-- Midnight
68+
["Muro'jin"] = "Muro'jin and Nekraxx",
69+
["Nekraxx"] = "Muro'jin and Nekraxx",
70+
["Rak'tul"] = "Rak'tul, Vessel of Souls",
71+
["Meittik"] = "Lightblossom Trinity",
72+
["Lekshi"] = "Lightblossom Trinity",
73+
["Kezkitt"] = "Lightblossom Trinity",
74+
["Kalis"] = "Derelict Duo",
75+
["Latch"] = "Derelict Duo",
76+
["Restless Heart"] = "The Restless Heart",
77+
78+
----- Raids -----
79+
80+
-- Shadowlands World Bosses
81+
["Valinor"] = "Valinor, the Light of Eons",
82+
["Mor'geth"] = "Mor'geth, Tormentor of the Damned",
83+
["Sav'thul"] = "Antros",
84+
85+
-- Castle Nathria
86+
["Margore"] = "Huntsman Altimor",
87+
["Kael'thas Sunstrider"] = "Sun King's Salvation",
88+
["High Torturor Darithos"] = "Sun King's Salvation",
89+
["Bleakwing Assassin"] = "Sun King's Salvation",
90+
["Vile Occultist"] = "Sun King's Salvation",
91+
["Castellan Niklaus"] = "The Council of Blood",
92+
["Baroness Frieda"] = "The Council of Blood",
93+
["Lord Stavros"] = "The Council of Blood",
94+
["General Kaal"] = "Stone Legion Generals",
95+
["General Grashaal"] = "Stone Legion Generals",
96+
97+
-- Sanctum of Domination
98+
["Eye of the Jailer"] = "The Eye of the Jailer",
99+
["Kyra"] = "The Nine",
100+
["Signe"] = "The Nine",
101+
["Skyja"] = "The Nine",
102+
103+
-- Sepulcher of the First Ones
104+
["Vigilant Custodian"] = "Vigilant Guardian",
105+
["Skolex"] = "Skolex, the Insatiable Ravener",
106+
["Dausegne"] = "Dausegne, the Fallen Oracle",
107+
["Prototype of War"] = "Prototype Pantheon",
108+
["Prototype of Duty"] = "Prototype Pantheon",
109+
["Lihuvim"] = "Lihuvim, Principal Architect",
110+
["Halondrus"] = "Halondrus the Reclaimer",
111+
["Mal'Ganis"] = "Lords of Dread",
112+
["Kin'tessa"] = "Lords of Dread",
113+
114+
-- Dragonflight World Bosses
115+
["Strunraan"] = "Strunraan, The Sky's Misery",
116+
["Basrikron"] = "Basrikron, The Shale Wing",
117+
["Bazual"] = "Bazual, The Dreaded Flame",
118+
["Liskanoth"] = "Liskanoth, The Futurebane",
119+
120+
-- Vault of the Incarnates
121+
["Kadros Icewrath"] = "The Primal Council",
122+
["Dathea Stormlash"] = "The Primal Council",
123+
["Opalfang"] = "The Primal Council",
124+
["Embar Firepath"] = "The Primal Council",
125+
["Sennarth"] = "Sennarth, the Cold Breath",
126+
127+
-- Aberrus, the Shadowed Crucible
128+
["Kazzara"] = "Kazzara, the Hellforged",
129+
["Essence of Shadow"] = "The Amalgamation Chamber",
130+
["Eternal Blaze"] = "The Amalgamation Chamber",
131+
["Neldris"] = "The Forgotten Experiments",
132+
["Thadrion"] = "The Forgotten Experiments",
133+
["Rionthus"] = "The Forgotten Experiments",
134+
["Rashok"] = "Rashok, the Elder",
135+
["Warlord Kagni"] = "Assault of the Zaqali",
136+
["Zskarn"] = "The Vigilant Steward, Zskarn",
137+
["Neltharion"] = "Echo of Neltharion",
138+
["Sarkareth"] = "Scalecommander Sarkareth",
139+
140+
-- Amidrassil
141+
["Urctos"] = "Council of Dreams",
142+
["Aerwynn"] = "Council of Dreams",
143+
["Pip"] = "Council of Dreams",
144+
["Nymue"] = "Nymue, Weaver of the Cycle",
145+
["Tindral Sageswift"] = "Tindral Sageswift, Seer of the Flame",
146+
["Fyrakk"] = "Fyrakk the Blazing",
147+
148+
-- The War Within World Bosses
149+
["Kordac"] = "Kordac, the Dormant Protector",
150+
["Shurrai"] = "Shurrai, Atrocity of the Undersea",
151+
["Orta"] = "Orta, the Broken Mountain",
152+
["Reshanor"] = "Reshanor, The Untethered",
153+
154+
-- Nerub-ar Palace
155+
["Sikran"] = "Sikran, Captain of the Sureki",
156+
["Anum'arash"] = "The Silken Court",
157+
["Skeinspinner Takazj"] = "The Silken Court",
158+
["Shattershell Scarab"] = "The Silken Court",
159+
160+
-- Liberation of Undermine
161+
["The Geargrinder"] = "Vexie and the Geargrinders",
162+
["Vexie Fullthrottle"] = "Vexie and the Geargrinders",
163+
["Flarendo the Furious"] = "Cauldron of Carnage",
164+
["Flarendo"] = "Cauldron of Carnage",
165+
["Torq the Tempest"] = "Cauldron of Carnage",
166+
["Torq"] = "Cauldron of Carnage",
167+
["One-Armed Bandit"] = "The One-Armed Bandit",
168+
["Mug'Zee"] = "Mug'Zee, Heads of Security",
169+
170+
-- Manaforge Omega
171+
["Ilyssa Darksorrow"] = "The Soul Hunters",
172+
["Velaryn Bloodwrath"] = "The Soul Hunters",
173+
["Adarus Duskblaze"] = "The Soul Hunters",
174+
["Dimensius"] = "Dimensius, the All-Devouring",
175+
176+
-- Midnight World Bosses
177+
["Belo'ren"] = "Belo'ren, Child of Al'ar",
178+
["L'ura"] = "Midnight Falls",
179+
["Midnight Crystal"] = "Midnight Falls",
180+
["Dusk Crystal"] = "Midnight Falls",
181+
["Dawn Crystal"] = "Midnight Falls",
182+
183+
-- The Dreamrift
184+
["chimaerus"] = "Chimaerus the Undreamt God",
185+
186+
-- The Voidspire
187+
["Vaelgor"] = "Vaelgor & Ezzorak",
188+
["Ezzorak"] = "Vaelgor & Ezzorak",
189+
["War Champion Senn"] = "Lightblinded Vanguard",
190+
["General Amias Bellamy"] = "Lightblinded Vanguard",
191+
["Command Venel Lightblood"] = "Lightblinded Vanguard",
192+
["Alleria Windrunner"] = "Crown of the Cosmos",
193+
}

0 commit comments

Comments
 (0)