Added Setting that makes trainer-owned Pokémon give more Exp, other tweaks

This commit is contained in:
Maruno17
2022-07-03 17:39:44 +01:00
parent a2327c6280
commit 2976ee93ce
7 changed files with 24 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ class Battle
end
return if exp <= 0
# Pokémon gain more Exp from trainer battles
exp = (exp * 1.5).floor if trainerBattle?
exp = (exp * 1.5).floor if Settings::MORE_EXP_FROM_TRAINER_POKEMON && trainerBattle?
# Scale the gained Exp based on the gainer's level (or not)
if Settings::SCALED_EXP_FORMULA
exp /= 5