Module:Sandbox/LVL: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 375: | Line 375: | ||
for _, prop in ipairs(entry.Properties or {}) do | for _, prop in ipairs(entry.Properties or {}) do | ||
if prop ~= "AbilityCooldown" and prop ~= "AbilityChargeUpTime" and is_property_in_lang_data(prop) and not seen_props[prop] then | if prop ~= "AbilityCooldown" and prop ~= "AbilityChargeUpTime" and is_property_in_lang_data(prop) and not seen_props[prop] then | ||
local val = | local val = format_stat(item_name, prop, false, debug, false) | ||
if val then | if val then | ||
table.insert(lines, string.format("| passive%d_stat%d = %s", passive_counter, stat_index, val)) | table.insert(lines, string.format("| passive%d_stat%d = %s", passive_counter, stat_index, val)) | ||
| Line 462: | Line 462: | ||
for _, prop in ipairs(entry.Properties or {}) do | for _, prop in ipairs(entry.Properties or {}) do | ||
if prop ~= "AbilityCooldown" and prop ~= "AbilityChargeUpTime" and is_property_in_lang_data(prop) and not seen_props[prop] then | if prop ~= "AbilityCooldown" and prop ~= "AbilityChargeUpTime" and is_property_in_lang_data(prop) and not seen_props[prop] then | ||
local val = | local val = format_stat(item_name, prop, false, debug, false) | ||
if val then | if val then | ||
table.insert(lines, string.format("| active%d_stat%d = %s", active_index, stat_index, val)) | table.insert(lines, string.format("| active%d_stat%d = %s", active_index, stat_index, val)) | ||