Anonymous

Module:Calculator/AgilityObstacle: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 240: Line 240:
local bonuses = {}
local bonuses = {}
for _, obstacle in pairs(obstacles) do
for _, obstacle in pairs(obstacles) do
for bonusName, bonusValue in pairs(obstacle.modifiers) do
for bonusName, bonusValue in pairs(obstacle.Obstacle.modifiers) do
Shared.addOrUpdate(bonuses, bonusName,  
Shared.addOrUpdate(bonuses, bonusName,  
function(x)
function(x)
2,875

edits