BattleGroundEnemies
A enemy display for battlegrounds
An Addon to show you all enemies in a battleground. https://www.curseforge.com/wow/addons/battlegroundenemies
Classic Era 1.15.9 fork
This fork fixes several bugs that broke the addon entirely on WoW Classic Era 1.15.9. Fixed:
.tocreporting as out of date —Interface-Classicwas stuck at11505, four patches behind the11509client. (BattleGroundEnemies.toc)- Addon failed to load at all —
C_PvPandC_Maparenilon Classic Era, but were indexed unconditionally at file-load time (local IsInBrawl = C_PvP.IsInBrawl,local GetBestMapForUnit = C_Map.GetBestMapForUnit, etc.), throwing a Lua error before the addon's slash command or any event handlers could register. (Main.lua,PlayerButton.lua) - Options panel failed to open (
valuesexpected table, got 'nil') — the Blizzard globalDebuffTypeColordoesn't exist on Classic Era; a top-levelpairs(DebuffTypeColor)loop abortedData.luapartway through, silently leaving every table defined further down the file (includingData.HorizontalDirections/Data.VerticalDirections, used by the options UI) unset. (Data.lua) - Auras/debuffs didn't render in battlegrounds —
CompactAuraTemplate, a Retail-only XML template, doesn't exist on Classic Era, so creating aura buttons threw immediately. Aura buttons are now built manually (icon/count/cooldown) when the template isn't available. (Modules/Auras.lua) - Aura stack-count text errors (
Font not set, badMixin/SetFontarguments) — follow-on errors from the manual aura button fallback above; the stack-count font string now gets a real font and size applied. (Modules/Auras.lua) - Debuff border coloring crash (
attempt to index global 'DebuffTypeColor') — same missingDebuffTypeColorglobal as above, this time used directly to color debuff borders; added a local fallback color table matching Blizzard's Retail defaults. (Modules/Auras.lua)

