Module:Sandbox/LVL: Difference between revisions

Jump to navigation Jump to search
LVL (talk | contribs)
No edit summary
LVL (talk | contribs)
No edit summary
Line 728: Line 728:
    tostring(type(base_value) == "number" and util_module.round_to_sig_fig(base_value, 3) or base_value),
    tostring(type(base_value) == "number" and util_module.round_to_sig_fig(base_value, 3) or base_value),
    tonumber(spirit_scale) or 0,
    tonumber(spirit_scale) or 0,
    tonumber(level_scale) or 0,
    (attr_key == "TechPower") and "0" or (tonumber(level_scale) or 0), -- Prevent double-counting
    innate_spirit_scale, -- Pass the scale (e.g., 1.1), not calculated value
    innate_spirit_scale,
    is_resist and ' data-is-resist="true"' or ''
    is_resist and ' data-is-resist="true"' or ''
)
)