Dev Build 2.0.1
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user