Added class GameData::GrowthRate

This commit is contained in:
Maruno17
2021-02-23 22:20:34 +00:00
parent f302d8346a
commit eda534f3be
24 changed files with 245 additions and 261 deletions

View File

@@ -210,7 +210,7 @@ def pbBalancedLevel(party)
sum = 0
party.each { |p| sum += p.level }
return 1 if sum == 0
mLevel = PBExperience.maxLevel
mLevel = GameData::GrowthRate.max_level
average = sum.to_f / party.length.to_f
# Calculate the standard deviation
varianceTimesN = 0