Editing Module:SoulUnlockGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 78: | Line 78: | ||
for key, value in pairs(data) do | for key, value in pairs(data) do | ||
local display_value = value | local display_value = value | ||
--Add | --Add 400 | ||
if key == "RequiredSouls" then | if key == "RequiredSouls" then | ||
display_value = display_value + 600 | display_value = display_value + 600 | ||
| Line 103: | Line 103: | ||
last_index = #accumulated_data | last_index = #accumulated_data | ||
last_value = accumulated_data[last_index][soul_unlock_key] | last_value = accumulated_data[last_index][soul_unlock_key] | ||
--Add | --Add 400 | ||
if soul_unlock_key == "RequiredSouls" then | if soul_unlock_key == "RequiredSouls" then | ||
return last_value + 600 | return last_value + 600 | ||
| Line 149: | Line 149: | ||
-- Retrieve souls agg_record | -- Retrieve souls agg_record | ||
local required_souls = agg_record['RequiredSouls'] | local required_souls = agg_record['RequiredSouls'] | ||
--Add | --Add 400 | ||
local souls_str = '{{Souls|' .. (required_souls + 600) .. '}}' | local souls_str = '{{Souls|' .. (required_souls + 600) .. '}}' | ||
tr = tr .. '<td>' .. souls_str .. '</td>' | tr = tr .. '<td>' .. souls_str .. '</td>' | ||