mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
More tweaks from the Rubocop overlord
This commit is contained in:
@@ -133,7 +133,7 @@ GameData::GrowthRate.register({
|
||||
765275, 804997, 834809, 877201, 908905, 954084, 987754, 1035837, 1071552, 1122660,
|
||||
1160499, 1214753, 1254796, 1312322, 1354652, 1415577, 1460276, 1524731, 1571884, 1640000],
|
||||
:exp_formula => proc { |level|
|
||||
rate = [82 - (level - 100) / 2.0, 40].max
|
||||
rate = [82 - ((level - 100) / 2.0), 40].max
|
||||
next (level**4) * rate / 5000
|
||||
}
|
||||
})
|
||||
@@ -152,7 +152,7 @@ GameData::GrowthRate.register({
|
||||
360838, 377197, 394045, 411388, 429235, 447591, 466464, 485862, 505791, 526260,
|
||||
547274, 568841, 590969, 613664, 636935, 660787, 685228, 710266, 735907, 762160,
|
||||
789030, 816525, 844653, 873420, 902835, 932903, 963632, 995030, 1027103, 1059860],
|
||||
:exp_formula => proc { |level| next ((level**3) * 6 / 5) - 15 * (level**2) + 100 * level - 140 }
|
||||
:exp_formula => proc { |level| next ((level**3) * 6 / 5) - (15 * (level**2)) + (100 * level) - 140 }
|
||||
})
|
||||
|
||||
GameData::GrowthRate.register({
|
||||
|
||||
Reference in New Issue
Block a user