Slowed the tick rate
This commit is contained in:
@@ -18,10 +18,10 @@ const statisticsRequest = (connection) => (req, res) => {
|
||||
//determine the correct tick rate based on the current gold average
|
||||
//NOTE: copy/pasted
|
||||
let tickRate = (() => {
|
||||
if (results[0].goldAverage < 120) return 10;
|
||||
if (results[0].goldAverage < 130) return 20;
|
||||
if (results[0].goldAverage < 140) return 30;
|
||||
return 60; //slow it way down
|
||||
if (results[0].goldAverage < 120) return 30;
|
||||
if (results[0].goldAverage < 130) return 60;
|
||||
if (results[0].goldAverage < 140) return 120;
|
||||
return 180; //slow it way down
|
||||
})();
|
||||
|
||||
let nextTick = Math.abs(tickRate) - (new Date()).getMinutes() % Math.abs(tickRate);
|
||||
|
||||
Reference in New Issue
Block a user