Module:Abilities/card: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) added scaling function |
Gammaton32 (talk | contribs) No edit summary |
||
| Line 22: | Line 22: | ||
} | } | ||
-- | -- get scaling attribute | ||
function p.get_scalar(frame) | function p.get_scalar(frame) | ||
local args = frame.args | local args = frame.args | ||
| Line 32: | Line 32: | ||
if scaling then | if scaling then | ||
return scaling[attribute] or | return scaling[attribute] or "{{Tooltip|?|Missing scaling type in Module:Abilities/card}}" | ||
end | end | ||