Lower the base for a second time

This commit is contained in:
Robert Miles 2020-11-17 17:49:05 +00:00
parent 28587fd65f
commit 00cb781099
1 changed files with 3 additions and 2 deletions

View File

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