4,670
edits
No edit summary |
No edit summary |
||
Line 97: | Line 97: | ||
result = false | result = false | ||
end | end | ||
elseif string.find(StatName, '^(.+)LevelRequired$') ~= nil and item.equipRequirements ~= nil then | elseif (string.find(StatName, '^(.+)LevelRequired$') ~= nil or string.find(StatName, '^(.+)AbyssalLevel$') ~= nil) and item.equipRequirements ~= nil then | ||
local skillName = nil | local skillName = nil | ||
if | if string.find(StatName, '^(.+)AbyssalLevel$') then | ||
skillName = Shared.titleCase(string.match(StatName, '^(.+) | skillName = Shared.titleCase(string.match(StatName, '^(.+)AbyssalLevel$')) | ||
else | else | ||
skillName = Shared.titleCase(string.match(StatName, '^(.+)LevelRequired$')) | skillName = Shared.titleCase(string.match(StatName, '^(.+)LevelRequired$')) |