Module:Skills/Agility: Difference between revisions

Apply fixes
(Update for v1.1)
(Apply fixes)
Line 24: Line 24:
local keys = { 'pillars', 'elitePillars' }
local keys = { 'pillars', 'elitePillars' }
for i, key in ipairs(keys) do
for i, key in ipairs(keys) do
local pillars = GameData.getEntities(SkillData.Agility[key])
local pillars = GameData.getEntities(SkillData.Agility[key], checkFunc)
if result == nil then
if result == nil then
result = pillars
result = pillars
Line 47: Line 47:
end
end
else
else
local localID = GameData.getLocalID(obstacle.id)
local _, localID = GameData.getLocalID(obstacle.id)
if localID ~= nil then
if localID ~= nil then
if string.find(localID, '^Pillar') ~= nil then
if string.find(localID, '^Pillar') ~= nil then