feat: Remove Personal Auras module and related options from the addon

- Deleted Personal Auras module files and options
- Updated localization files to remove references to Personal Auras
- Adjusted README to reflect the removal of Personal Auras functionality
This commit is contained in:
Torsten Brendgen
2026-04-15 18:26:30 +02:00
parent 649d93a455
commit dca24c77c9
8 changed files with 2 additions and 1042 deletions

View File

@@ -223,17 +223,6 @@ local defaults = {
announceAtSec = 5,
trackedBuffs = {},
},
personalAuras = {
enabled = false,
unlocked = false,
posX = 0,
posY = 120,
width = 260,
rowHeight = 24,
iconSize = 20,
fontSize = 12,
trackedDebuffs = {},
},
raidTimeline = {
enabled = false,
leadTime = 5,
@@ -1265,30 +1254,6 @@ local function NormalizeBuffEndingAnnouncerSettings(settings)
settings.trackedBuffs = normalized
end
local function NormalizePersonalAurasSettings(settings)
if type(settings) ~= "table" then return end
if settings.enabled == nil then settings.enabled = false end
settings.unlocked = settings.unlocked == true
settings.posX = NormalizeLayoutValue(settings.posX, -2000, 2000, 0)
settings.posY = NormalizeLayoutValue(settings.posY, -2000, 2000, 120)
settings.width = math.floor(NormalizeLayoutValue(settings.width, 160, 420, 260) + 0.5)
settings.rowHeight = math.floor(NormalizeLayoutValue(settings.rowHeight, 18, 42, 24) + 0.5)
settings.iconSize = math.floor(NormalizeLayoutValue(settings.iconSize, 14, 32, 20) + 0.5)
settings.fontSize = math.floor(NormalizeLayoutValue(settings.fontSize, 8, 24, 12) + 0.5)
if type(settings.trackedDebuffs) ~= "table" then
settings.trackedDebuffs = {}
return
end
local normalized = {}
for sid, value in pairs(settings.trackedDebuffs) do
local id = tonumber(sid)
if id and id > 0 and value ~= false and value ~= nil then
normalized[id] = true
end
end
settings.trackedDebuffs = normalized
end
local function NormalizeRaidTimelineSettings(settings)
if type(settings) ~= "table" then return end
if settings.enabled == nil then settings.enabled = false end
@@ -1726,8 +1691,7 @@ function HMGT:MigrateProfileSettings()
NormalizeMapOverlaySettings(p.mapOverlay)
p.buffEndingAnnouncer = p.buffEndingAnnouncer or {}
NormalizeBuffEndingAnnouncerSettings(p.buffEndingAnnouncer)
p.personalAuras = p.personalAuras or {}
NormalizePersonalAurasSettings(p.personalAuras)
p.personalAuras = nil
p.raidTimeline = p.raidTimeline or {}
NormalizeRaidTimelineSettings(p.raidTimeline)
p.notes = p.notes or {}