4,951
edits
Falterfire (talk | contribs) (Added ability to sort category tables by name and also added ability to get skillcape and non-skillcape tables) |
Falterfire (talk | contribs) (Fixed Cape of Completion being counted as a Skillcape) |
||
Line 320: | Line 320: | ||
if isMatch and other ~= nil then | if isMatch and other ~= nil then | ||
if slot == 'Cape' then | if slot == 'Cape' then | ||
local isSkillcape = Shared.contains(item.name, 'Skillcape') or item.name == 'Cape of Completion' | |||
if other == 'Skillcapes' then | |||
isMatch = isSkillcape | |||
elseif other == 'No Skillcapes' then | elseif other == 'No Skillcapes' then | ||
isMatch = not isSkillcape | |||
end | end | ||
end | end |