Module:Sandbox/Monster Domosed/AbilityTable/ComplexRenderers: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
Undo Tag: Undo |
||
| Line 402: | Line 402: | ||
return cells | return cells | ||
end | end | ||
| Line 449: | Line 422: | ||
and type(scale["Value"]) == "number" | and type(scale["Value"]) == "number" | ||
and scale["Value"] ~= 0 then | and scale["Value"] ~= 0 then | ||
local label = | local label = type(v["Name"]) == "string" and v["Name"] or k | ||
table.insert(props, { key = k, value = scale["Value"], name = label }) | table.insert(props, { key = k, value = scale["Value"], name = label }) | ||
end | end | ||