Add talent, spec, risk, and instance type load conditions

This commit is contained in:
andrew6180
2025-10-17 12:20:04 -07:00
parent 72b01063bc
commit 0f04c2ba3b
8 changed files with 199 additions and 143 deletions
@@ -1137,22 +1137,6 @@ local function handleItem(item)
end
end
end
if (item.talent) then
item.load = item.load or {};
if type(item.talent) == "table" then
item.load.talent = { multi = {} };
for _,v in pairs(item.talent) do
item.load.talent.multi[v] = true;
end
item.load.use_talent = false;
else
item.load.talent = {
single = item.talent,
multi = {},
};
item.load.use_talent = true;
end
end
if (item.pvptalent) then
item.load = item.load or {};
item.load.use_pvptalent = true;