Module:Abilities/details table: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
m fixed "other" prop key |
||
| Line 49: | Line 49: | ||
-- then other data that is hidden on the ability card | -- then other data that is hidden on the ability card | ||
if ability.Other then | if ability.Other then | ||
for | for attr, prop in pairs(ability.Other) do | ||
local scale_type = prop.Scale and prop.Scale.Type or nil | local scale_type = prop.Scale and prop.Scale.Type or nil | ||
local scale_value = prop.Scale and prop.Scale.Value or nil | local scale_value = prop.Scale and prop.Scale.Value or nil | ||
rows = rows .. create_row( | rows = rows .. create_row(attr, prop.Value, scale_type, scale_value) | ||
end | end | ||
end | end | ||