hot patch: magic number cooldown
This commit is contained in:
parent
7e5215c07d
commit
07189888e4
|
@ -9,13 +9,17 @@ export const CanvasLib = new (class {
|
||||||
* @returns Seconds to take to give the pixel
|
* @returns Seconds to take to give the pixel
|
||||||
*/
|
*/
|
||||||
getPixelCooldown(pixelNumber: number, config: ClientConfig) {
|
getPixelCooldown(pixelNumber: number, config: ClientConfig) {
|
||||||
return pixelNumber * config.canvas.pixel.cooldown;
|
// return pixelNumber * config.canvas.pixel.cooldown;
|
||||||
// const factorial = (n: number) => (n == 0 ? 1 : n * factorial(n - 1));
|
// const factorial = (n: number): number => (n == 0 ? 1 : n * factorial(n - 1));
|
||||||
|
|
||||||
// return (
|
// return (
|
||||||
// config.canvas.pixel.cooldown *
|
// config.canvas.pixel.cooldown *
|
||||||
// config.canvas.pixel.multiplier *
|
// config.canvas.pixel.multiplier *
|
||||||
// (2 + pixelNumber + factorial(pixelNumber))
|
// (2 + pixelNumber + factorial(pixelNumber))
|
||||||
// );
|
// );
|
||||||
|
|
||||||
|
// oh god last minute change to match activity cooldown
|
||||||
|
// 100 = user count
|
||||||
|
return (2.5 * Math.sqrt(100 + 11.96) + 6.5) * 1 * pixelNumber;
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in New Issue