This commit is contained in:
2024-09-28 23:54:47 +09:00
parent 133369fd35
commit 65bfb8bb8f
3 changed files with 49 additions and 44 deletions

View File

@@ -48,6 +48,10 @@ end
function main.EEE(source, tier)
local item = table.deepcopy(data.raw[source.type][source.ref_name])
if not (item or item.name) then
assert('ERROR - trying to load ' .. source.type .. ' / ' .. source.ref_name)
end
item.name = source.name .. '-' .. tier
item.minable.result = item.name
item.max_health = item.max_health * (tier - source.min + 2)