4,951
edits
Falterfire (talk | contribs) (accounting for perfect items) |
Falterfire (talk | contribs) (exception swapped to 'maximum skillcape') |
||
Line 280: | Line 280: | ||
--Skillcapes are tied to the appropriate skill | --Skillcapes are tied to the appropriate skill | ||
--Except | --Except Maximum Skillcape, which is tied to all skills. (And so is the Signet Ring) | ||
--And combat skillcapes, since combat skills don't get special treatment | --And combat skillcapes, since combat skills don't get special treatment | ||
local ignoreCapes = {'Ranged Skillcape', 'Attack Skillcape', 'Strength Skillcape', 'Hitpoints Skillcape', 'Defence Skillcape'} | local ignoreCapes = {'Ranged Skillcape', 'Attack Skillcape', 'Strength Skillcape', 'Hitpoints Skillcape', 'Defence Skillcape'} | ||
if Shared.contains({' | if Shared.contains({'Maximum Skillcape', 'Aorpheat's Signet Ring', 'Cape of Completion'}, item.name) then | ||
table.insert(useArray, chr..'All skills') | table.insert(useArray, chr..'All skills') | ||
elseif item.name == 'Magic Skillcape' then | elseif item.name == 'Magic Skillcape' then |