17 214
contributi
m (Quick fix from devel branch) |
m (Fix to type average, directly from devel) |
||
--[[
string.find is used instead of plain equality
is checked first because it might be that
statistics data and Pokémon data are not updated
together consistently.
--]]
local typedPokes = table.keys(table.filter(pokes, function(poke, key)
return
and not string.parseInt(key)
and (poke.type1:find(type) or poke.type2:find(type))
end))
return boxStats(statsAvg(typedPokes), {type = type},
|
contributi