Module:Calculator/AgilityObstacle: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 234: Line 234:
     end
     end
return table.concat(res, '<br/>')
return table.concat(res, '<br/>')
end
local function getTotalBonuses(obstacles)
local bonuses = {}
for _, obstacle in pairs(obstables) do
for bonusName, bonusValue in pairs(obstacle.modifiers) do
bonuses[bonusName] = bonusValue
end
end
end
end
Line 289: Line 299:
end
end


function p.test()
local obs = getObstacle('pipe crawl')
Debug.log(obs)
end
return p
return p
918

edits