79 548
contributi
m (Removed min/max stats from typeAvg (as documented btw). If the Wiki crashes blame @Lucas992, it's him who convinced me to do this edit now) |
(Adding category to Pokémon with all base stats equal *** sovrascritto il testo esistente ***) |
||
catTotal = '[[Categoria:Pokémon con statistiche base totali di ${tot}|${display}]]',
catStatsEqual = '[[Categoria:Pokémon con lo stesso valore in tutte le statistiche base|${display}]]',
footer = [=[
table.insert(categories, interpCat(
strings.catStatsChanged, {gen = gendata[gen].ext}))
end
end
-- Category for Pokémon with all the base stats equal
do
local firstStat = mg.getGenValue(stats[poke].atk)
local equalFirst = function(val)
return mg.getGenValue(val) == firstStat
end
if table.all(stats[poke], equalFirst) then
table.insert(categories, interpCat(strings.catStatsEqual))
end
end
|