Anonymous

Module:Skills/Agility: Difference between revisions

From Melvor Idle
no edit summary
(_getObstacleLevel: Remove in favour of getRecipeLevel from Module:Skills)
No edit summary
Line 15: Line 15:
function p.getObstacle(name)
function p.getObstacle(name)
return GameData.getEntityByName(SkillData.Agility.obstacles, name)
return GameData.getEntityByName(SkillData.Agility.obstacles, name)
end
function p.getPillar(name)
local result = p.getPillars(
function(x)
return x.name == name
end
)
return result[1]
end
end


2,875

edits