Dev Build 2.0.1
This commit is contained in:
@@ -97,14 +97,23 @@ HMGT_SpellData.Interrupts = {
|
||||
-- WARLOCK
|
||||
Spell(19647, "Spell Lock", {
|
||||
classes = {"WARLOCK"},
|
||||
specs = {2},
|
||||
specs = {1, 3},
|
||||
category = "interrupt",
|
||||
state = { kind = "cooldown", cooldown = 24 },
|
||||
}),
|
||||
Spell(119914, "Axe Toss", {
|
||||
classes = {"WARLOCK"},
|
||||
specs = {2},
|
||||
category = "interrupt",
|
||||
aliases = { 89766 },
|
||||
petSpellId = 89766,
|
||||
state = { kind = "cooldown", cooldown = 30 },
|
||||
}),
|
||||
Spell(132409, "Spell Lock (Grimoire)", {
|
||||
classes = {"WARLOCK"},
|
||||
specs = {1, 3},
|
||||
category = "interrupt",
|
||||
aliases = { 1276467 },
|
||||
state = { kind = "cooldown", cooldown = 24 },
|
||||
}),
|
||||
|
||||
|
||||
@@ -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