Lower base
There's no reason a 2 hour duck should give 6,322,008.86 points.
This commit is contained in:
parent
42447c526b
commit
28587fd65f
|
@ -42,9 +42,10 @@ def deactivate_bun(channel):
|
|||
bungame_data["bun_time"]=time.time()
|
||||
bungame_data["bun_active"]=False
|
||||
|
||||
# Base is such that b^(1 hour in seconds) = 1000.
|
||||
# Base is such that b^(1 hour in seconds) = 100.
|
||||
# 2020-11-16 - A 2 hour bun awards 6,322,008.86 points, base is lowered from b^(1 hour in seconds) = 1000.
|
||||
# This is probably too much and too easily abused but hell we'll give it a shot.
|
||||
BASE = 1000**(1/(60*60))
|
||||
BASE = 100**(1/(60*60))
|
||||
def bun_score(time_delta):
|
||||
"""Generates the score for a bun."""
|
||||
return BASE**time_delta
|
||||
|
|
Loading…
Reference in New Issue