Lower base again

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

View File

@ -42,11 +42,12 @@ def deactivate_bun(channel):
bungame_data["bun_time"]=time.time()
bungame_data["bun_active"]=False
# Base is such that b^(1 hour in seconds) = 10.
# Base is such that b^(1 hour in seconds) = 5.
# 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.
# This is probably too much and too easily abused but hell we'll give it a shot.
BASE = 10**(1/(60*60))
BASE = 5**(1/(60*60))
def bun_score(time_delta):
"""Generates the score for a bun."""
return BASE**time_delta