mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: only allow d120 tanks
This commit is contained in:
1 parent
c6028b9868
commit
887d9b8017
1 file changed
+5
-2
+5
-2
@@ -130,13 +130,16 @@ times(THREADS, async () => {
|
||||
|
||||
async function postWork() {
|
||||
console.log(
|
||||
`Generating statistics based off ${samples.d_120.toLocaleString()} players (${samples.total.toLocaleString()} checked in total) and ${tankIds.length} tanks...`,
|
||||
`Generating statistics based on ${samples.d_120.toLocaleString()} players (${samples.total.toLocaleString()} checked in total) and ${tankIds.length} tanks...`,
|
||||
);
|
||||
|
||||
const averages: Record<number, AverageDefinitionsEntry> = {};
|
||||
|
||||
tankIds.forEach((id) => {
|
||||
const tanks = tanksSorted[id];
|
||||
const tanksSortedEntry = tanksSorted[id];
|
||||
const tanks = tanksSortedEntry.filter(
|
||||
(tank) => Date.now() - tank.last_battle_time * 1000 <= MAX_ACTIVITY_TIME,
|
||||
);
|
||||
const entry: AverageDefinitionsEntrySubPartial = {
|
||||
mu: {},
|
||||
sigma: {},
|
||||
|
||||
Reference in new issue
Block a user