Skip to content

Commit

Permalink
Be more generous
Browse files Browse the repository at this point in the history
  • Loading branch information
paris-ci committed Dec 11, 2023
1 parent 7e41a98 commit 1112495
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/cogs/prestige_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,18 @@ async def daily(self, ctx: MyContext):
)
return False

max_experience = int(3 * log(db_hunter.prestige ** 20)) * (1 + db_hunter.prestige // 100)
if db_hunter.prestige < 10:
exp_modifier = 1
elif db_hunter.prestige < 20:
exp_modifier = 2
elif db_hunter.prestige < 50:
exp_modifier = 3
elif db_hunter.prestige < 100:
exp_modifier = 4
else:
exp_modifier = 4 + db_hunter.prestige // 100

max_experience = int(3 * log(db_hunter.prestige ** 20)) * exp_modifier
distrib = statistics.NormalDist(max_experience / 2, max_experience / 6)
added_experience = int(distrib.samples(1)[0])

Expand Down

0 comments on commit 1112495

Please sign in to comment.