Anonymous

Module:Sandbox/Skills: Difference between revisions

From Melvor Idle
no edit summary
(Undo revision 63779 by Slash (talk))
Tag: Undo
No edit summary
Tag: Manual revert
 
(7 intermediate revisions by the same user not shown)
Line 56: Line 56:
local ns, localSkillID = GameData.getLocalID(skillID)
local ns, localSkillID = GameData.getLocalID(skillID)
if localSkillID == 'Agility' then
if localSkillID == 'Agility' then
if recipe.level ~= nil then
if recipe.category ~= nil then
-- Obstacle
-- Obstacle
return recipe.level
return SkillData.Agility.obstacleUnlockLevels[recipe.category+1]
else
else
-- Pillar
-- Pillar
463

edits