2,869
edits
No edit summary |
No edit summary |
||
Line 100: | Line 100: | ||
local shardCosts = {} | local shardCosts = {} | ||
for _, shard in ipairs(familiar.itemCosts) do | for _, shard in ipairs(familiar.itemCosts) do | ||
local shopItem = Shop.getPurchaseByID(shard) | local shopItem = Shop.getPurchaseByID(shard.id) | ||
for _, shardCost in ipairs(shopItem.cost.currencies) do | for _, shardCost in ipairs(shopItem.cost.currencies) do | ||
if shardCosts[shardCost.currency] then | if shardCosts[shardCost.currency] then |
edits