diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-07-12 11:34:43 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 17:09:25 +0100 |
| commit | 74d606bef1d0259fa28dee011db41de1fb236b98 (patch) | |
| tree | a5abff20f00e00fd1186c9169fe4f6787e440c22 /backend | |
| parent | b6a0e90753443e56e90be0c52fd65a7a3df2d2e4 (diff) | |
| download | brokentalents-74d606bef1d0259fa28dee011db41de1fb236b98.tar.gz brokentalents-74d606bef1d0259fa28dee011db41de1fb236b98.zip | |
Add Blitz Points statistics
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/config.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/backend/config.js b/backend/config.js index 72952a2..3fd675e 100644 --- a/backend/config.js +++ b/backend/config.js @@ -51,7 +51,14 @@ module.exports = { }, etl: { /* attributes to be extracted and renamed from main API data */ - participant: [ ['Winner', ['attributes', 'stats', 'winner']] ], + participant: [ + ['Winner', ['attributes', 'stats', 'winner']], + ['Kills', ['attributes', 'stats', 'kills']], + ['Deaths', ['attributes', 'stats', 'deaths']], + ['CrystalMinerKills', ['attributes', 'stats', 'crystalMineCaptures']], + ['GoldMinerKills', ['attributes', 'stats', 'goldMineCaptures']], + ['TurretKills', ['attributes', 'stats', 'turretCaptures']], + ], roster: [ ], match: [ ['Mode', ['attributes', 'gameMode']] ], }, @@ -67,7 +74,7 @@ module.exports = { /* criteria or 'filters' */ group: ['Actor', 'Talent', 'Mode', 'LevelBucket'], /* stats */ - sum: ['Winner'], + sum: ['Winner', 'Kills', 'Deaths', 'CrystalMinerKills', 'GoldMinerKills', 'TurretKills'], }, file: { pattern: (moment) => `./data/${hashSettings(module.exports)}/${moment.toISOString()}.json`, |
