Code tidying with Rubocop

This commit is contained in:
Maruno17
2023-07-18 22:42:10 +01:00
parent 6053363715
commit a5734eaf46
68 changed files with 276 additions and 232 deletions

View File

@@ -126,7 +126,7 @@ class Battle
if Settings::SCALED_EXP_FORMULA
exp /= 5
levelAdjust = ((2 * level) + 10.0) / (pkmn.level + level + 10.0)
levelAdjust = levelAdjust**5
levelAdjust **= 5
levelAdjust = Math.sqrt(levelAdjust)
exp *= levelAdjust
exp = exp.floor