Anonymous

Module:Items: Difference between revisions

From Melvor Idle
No change in size ,  25 October 2022
_getItemStat: Fix typo in skill level stat
(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.Level
                         result = requirement.level
                         break
                         break
                     end
                     end