diff --git a/src/config.preset.json b/src/config.preset.json index decf090..15075df 100644 --- a/src/config.preset.json +++ b/src/config.preset.json @@ -12,6 +12,7 @@ "experience": { "gain": 5, "startingRequirement": 50, + "multiplier": 1.25, "timeout": 60000 } } diff --git a/src/helpers.ts b/src/helpers.ts index 3da5644..e961808 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -27,7 +27,7 @@ const getRank = (experience: number): IRank => { while (tmpExperience >= expToNextRank) { rank++; tmpExperience -= expToNextRank; - expToNextRank = expToNextRank *= 1.2; + expToNextRank = expToNextRank *= config.app.experience.multiplier; } return {