Dev Build 2.0.1

This commit is contained in:
Torsten Brendgen
2026-04-22 16:20:47 +02:00
parent 8c37da2d38
commit 258cadeba5
4 changed files with 195 additions and 12 deletions

View File

@@ -1077,6 +1077,18 @@ function HMGT_SpellData.RebuildLookups()
for _, entry in ipairs(HMGT_SpellData.Interrupts or {}) do
entry._hmgtDataset = "Interrupts"
HMGT_SpellData.InterruptLookup[entry.spellId] = entry
if type(entry.aliases) == "table" then
for _, aliasId in ipairs(entry.aliases) do
local sid = tonumber(aliasId)
if sid and sid > 0 then
HMGT_SpellData.InterruptLookup[sid] = entry
end
end
end
local petSpellId = tonumber(entry.petSpellId)
if petSpellId and petSpellId > 0 then
HMGT_SpellData.InterruptLookup[petSpellId] = entry
end
end
HMGT_SpellData.CooldownLookup = {}