randomizer - trainer teams

This commit is contained in:
infinitefusion
2022-05-01 10:11:56 -04:00
parent dd05aa1f1c
commit 2365dfeb51
7 changed files with 155 additions and 118 deletions

View File

@@ -45,7 +45,7 @@ def generate_random_species(max_bst)
while (species==0) # Loop Start
bonus+= 5 #+ de chance de pogner un bon poke a chaque loop (permet d'eviter infinite loop)
species=rand(PBSpecies.maxValue)+1
bst = calcBaseStats(species)
bst = calcBaseStatsSum(species)
species=0 if bst > max_bst+additional_bst
end
return species