mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: start of math
This commit is contained in:
1 parent
0558f27347
commit
bdbc0073a8
2 files changed
+40
-101
No files matched your search
+2
-19
@@ -1,4 +1,5 @@
|
||||
import { AllStats } from '../core/blitz/getAccountInfo';
|
||||
import { emptyAllStats } from '../core/blitzstars/getStatsInPeriod/constants';
|
||||
|
||||
export interface IndividualTankStats {
|
||||
all: AllStats;
|
||||
@@ -23,25 +24,7 @@ export interface NormalizedTankStats {
|
||||
}
|
||||
|
||||
export const emptyIndividualTankStats: IndividualTankStats = {
|
||||
all: {
|
||||
battles: 0,
|
||||
capture_points: 0,
|
||||
damage_dealt: 0,
|
||||
damage_received: 0,
|
||||
dropped_capture_points: 0,
|
||||
frags: 0,
|
||||
frags8p: 0,
|
||||
hits: 0,
|
||||
losses: 0,
|
||||
max_frags: 0,
|
||||
max_xp: 0,
|
||||
shots: 0,
|
||||
spotted: 0,
|
||||
survived_battles: 0,
|
||||
xp: 0,
|
||||
win_and_survived: 0,
|
||||
wins: 0,
|
||||
},
|
||||
all: emptyAllStats,
|
||||
last_battle_time: 0,
|
||||
account_id: 0,
|
||||
max_xp: 0,
|
||||
|
||||
Reference in new issue
Block a user