Module:Items/ComparisonTables: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 83: Line 83:
-- Don't leap in one handed weapons with two handed.
-- Don't leap in one handed weapons with two handed.
if slotLocalID == 'Weapon' and Items._getItemStat(item, 'isTwoHanded') then
-- Include throwables with one handed weapons
return false
if slotLocalID == 'Weapon' then
end
if Items._getItemStat(item, 'isTwoHanded') then
return false
if slotLocalID == 'Quiver' then
end
if Shared.contains({'Javelins', 'ThrowingKnives'}, item.ammoType) then
return true
end
-- Exclude throwables from ammo.
elseif slotLocalID == 'Quiver' then
if Shared.contains({'Javelins', 'ThrowingKnives'}, item.ammoType) then
if Shared.contains({'Javelins', 'ThrowingKnives'}, item.ammoType) then
return false
return false
2,875

edits