Anonymous

Module:Skills/Summoning: Difference between revisions

From Melvor Idle
no edit summary
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
2,875

edits