Module:BTD6 stats: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 174: | Line 174: | ||
-- bird flight speed | -- bird flight speed | ||
local insertGyrfalconSpeed = function( | local insertGyrfalconSpeed = function() | ||
ret[#ret+1] = sformat("|%g units/s", | ret[#ret+1] = sformat("|%g units/s", data.speedRangeGyrfalcon + (data.speedRangeGyrfalcon*scale)) | ||
end | end | ||
| Line 229: | Line 229: | ||
-- calculations | -- calculations | ||
if data | if data.speedRangeGyrfalcon > 0 then insertGyrfalconSpeed() end | ||
if data | if data.attacks then parseAttacks(data.attacks) end | ||
if data.abilities then parseAbilities(data.abilities) end | |||
end | end | ||