Module:Skill List/Header: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 29: Line 29:
local usedColumns = ""
local usedColumns = ""
for i, columnId in ipairs(columnIds) do
for i, columnId in ipairs(columnIds) do
if getSkill.skill[exampleSkill][columnId] and getSkill.skill[exampleSkill]["attribute"] ~= "passive" then
if getSkill.skill[exampleSkill][columnId] then
usedColumns = usedColumns .. "! " .. columnLabels[i] .. "\n"
if not (columnId == "cost" and getSkill.skill[exampleSkill]["attribute"] == "passive") then
usedColumns = usedColumns .. "! " .. columnLabels[i] .. "\n"
end
end
end
end
end