Module:BTD6 stats: Difference between revisions

mNo edit summary
mNo edit summary
Line 120: Line 120:
if data["attacks"] then headingAttacks(data["attacks"]) end
if data["attacks"] then headingAttacks(data["attacks"]) end
if data["abilities"] then
if data["abilities"] then
for i, v in ipairs(abils["_order"]) do
for i, v in ipairs(data["abilities"]["_order"]) do
if abils[v]["projectiles"] then headingProjectiles(abils[v]["projectiles"]) end
if data["abilities"][v]["projectiles"] then headingProjectiles(data["abilities"][v]["projectiles"]) end
end
end
end
end