Anonymous

Module:Items/ComparisonTables: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 225: Line 225:
if slot == nil then
if slot == nil then
local fl = FL.new(itemList)
local fl = FL.new(itemList)
if fl:any(function(x) return Shared.contains(item.validSlots, 'Weapon') end) then
if fl:any(function(x) return Shared.contains(x.validSlots, 'Weapon') end) then
slot = 'Weapon'
slot = 'Weapon'
end
end
2,873

edits