adjust void speed
This commit is contained in:
parent
a9fcd04eef
commit
cccb49df43
|
@ -45,7 +45,8 @@ class Void {
|
||||||
const area = TARGET_RADIUS ** 2 * Math.PI;
|
const area = TARGET_RADIUS ** 2 * Math.PI;
|
||||||
const online = socketEvents.onlineCounter.total || 0;
|
const online = socketEvents.onlineCounter.total || 0;
|
||||||
// adjusted from 1.8 to 2.0 on 2022.04.26
|
// adjusted from 1.8 to 2.0 on 2022.04.26
|
||||||
const requiredSpeed = Math.floor(online / 2.0);
|
// adjusted back to 1.8 on 2022.08.12
|
||||||
|
const requiredSpeed = Math.floor(online / 1.8);
|
||||||
const ppm = Math.ceil(area / targetDuration + requiredSpeed);
|
const ppm = Math.ceil(area / targetDuration + requiredSpeed);
|
||||||
this.msTimeout = 60 * 1000 / ppm;
|
this.msTimeout = 60 * 1000 / ppm;
|
||||||
this.area = new Uint8Array(TILE_SIZE * 3 * TILE_SIZE * 3);
|
this.area = new Uint8Array(TILE_SIZE * 3 * TILE_SIZE * 3);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user