17,105
edits
(getPotionTable: Move to Module:Skills/Artisan) |
(_getItemStat: Fix typo in skill level stat) |
||
Line 58: | Line 58: | ||
for i, requirement in ipairs(item.equipRequirements) do | for i, requirement in ipairs(item.equipRequirements) do | ||
if requirement.type == "SkillLevel" and requirement.skillID == skillID then | if requirement.type == "SkillLevel" and requirement.skillID == skillID then | ||
result = requirement. | result = requirement.level | ||
break | break | ||
end | end |