mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Added Setting that makes trainer-owned Pokémon give more Exp, other tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user