4,951
edits
Falterfire (talk | contribs) (Added a getObstacles function which will be used by the in-progress ModifierTables module) |
Falterfire (talk | contribs) (Hopefully fixed issue with new agility obstacles not fitting into the table properly) |
||
Line 47: | Line 47: | ||
local catLog = {} | local catLog = {} | ||
local Obstacles = Shared.clone(SkillData.Agility.Obstacles) | |||
table.sort(Obstacles, function(a, b) return a.category < b.category end) | |||
for i, obst in Shared.skpairs( | for i, obst in Shared.skpairs(Obstacles) do | ||
result = result..'\r\n|-' | result = result..'\r\n|-' | ||
result = result..'\r\n|' | result = result..'\r\n|' |