mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: better approximation message and players with 0 wins are omitted
This commit is contained in:
1 parent
bac39ca176
commit
63a8a67771
2 files changed
+5
-2
No files matched your search
+3
-1
@@ -26,7 +26,9 @@ files.forEach(async (file) => {
|
||||
|
||||
bundle: true,
|
||||
sourcemap: true,
|
||||
minify: true,
|
||||
minifyIdentifiers: false, // cause goofy errors
|
||||
minifySyntax: true,
|
||||
minifyWhitespace: true,
|
||||
|
||||
logLevel: 'info',
|
||||
});
|
||||
|
||||
@@ -78,6 +78,7 @@ export const clanEventCommand: CommandRegistry = {
|
||||
0,
|
||||
) / 2
|
||||
).toFixed(0)}\n${jointVictories
|
||||
.filter(({ joinVictory }) => joinVictory)
|
||||
.sort((a, b) => b.joinVictory - a.joinVictory)
|
||||
.map(
|
||||
({ id, joinVictory }) =>
|
||||
@@ -87,7 +88,7 @@ export const clanEventCommand: CommandRegistry = {
|
||||
|
||||
embedWarning(
|
||||
'This is an approximation!',
|
||||
'Wargaming provides use with little to no information about platoons. Platooning with mixed clans may inflate the number and platooning in non-regular battles may deflate.',
|
||||
"Wargaming provides very little information about platoons publicly. Caveats:\n- Players in two different clans platooning artificially inflates the total count\n- Game-mode battles aren't counted since Wargaming doesn't track them",
|
||||
),
|
||||
];
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user