17,030
edits
(Amend descriptions) |
(_getCategoryTable: Correct weapon & quiver item selection rules) |
||
Line 301: | Line 301: | ||
end | end | ||
if slot == 'Weapon' then --For quiver slot or weapon slot, 'other' is the ammo type | if slot == 'Weapon' then --For quiver slot or weapon slot, 'other' is the ammo type | ||
isMatch = other == item.ammoTypeRequired | |||
elseif slot == 'Quiver' then | elseif slot == 'Quiver' then | ||
if other == ' | if other == 'Thrown' and Shared.contains({'Javelins', 'ThrowingKnives'}, item.ammoType) then | ||
isMatch = true | |||
else | |||
isMatch = other == item.ammoType | |||
end | end | ||
end | end |