Lower base to 3

This commit is contained in:
Robert Miles 2020-12-15 02:43:15 +00:00
parent 8002db7a01
commit 2c52e1a498
1 changed files with 3 additions and 2 deletions

View File

@ -42,12 +42,13 @@ def deactivate_bun(channel):
bungame_data["bun_time"]=time.time()
bungame_data["bun_active"]=False
# Base is such that b^(1 hour in seconds) = 5.
# Base is such that b^(1 hour in seconds) = 3.
# 2020-11-16 - A 2 hour bun awards 6,322,008.86 points, base is lowered from b^(1 hour in seconds) = 1000.
# 2020-11-17 - A 4:46:01.66 bun awards 3 billion and a 6:08:09.27 awards over a trillion. Base is lowered from 100.
# 2020-12-03 - After some fun with really long buns, I decide enough is enough and lower the base even more. Base lowered from 10.
# 2020-12-14 - Late Monday night I decide to lower the base slightly, from 5.
# This is probably too much and too easily abused but hell we'll give it a shot.
BASE = 5**(1/(60*60))
BASE = 3**(1/(60*60))
def bun_score(time_delta):
"""Generates the score for a bun."""
return BASE**time_delta