Anonymous

Module:Items/ComparisonTables: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 81: Line 81:
end
end
end
end
 
if slotLocalID == 'Weapon' then --For quiver slot or weapon slot, 'other' is the ammo type
-- Don't leap in one handed weapons with two handed.
return other == item.ammoTypeRequired
if slotLocalID == 'Weapon' and Items._getItemStat(item, 'isTwoHanded') then
elseif slotLocalID == 'Quiver' then
return false
if other == 'Thrown' and Shared.contains({'Javelins', 'ThrowingKnives'}, item.ammoType) then
end
return true
else
if slotLocalID == 'Quiver' then
return other == item.ammoType
if Shared.contains({'Javelins', 'ThrowingKnives'}, item.ammoType) then
return false
end
end
end
end
2,875

edits