diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 17:19:30 +0100 |
|---|---|---|
| committer | BrokenTalentsFun CI <ci@brokentalents.fun> | 2018-12-27 13:02:21 +0100 |
| commit | 94d7cd69ee28f4881ebb52268861987be9c5291d (patch) | |
| tree | 735eb0d6ce1147f7c383e919089bc506c8d48ee5 | |
| parent | f3b431eab0f5be255f18cee399a87725151cfd99 (diff) | |
| download | brokentalents-94d7cd69ee28f4881ebb52268861987be9c5291d.tar.gz brokentalents-94d7cd69ee28f4881ebb52268861987be9c5291d.zip | |
Update 3.9: Magnus
| -rw-r--r-- | backend/config-brawl.js | 60 | ||||
| -rw-r--r-- | backend/config.js | 4 | ||||
| -rw-r--r-- | data/vainglory.json | 14 | ||||
| -rw-r--r-- | dist/assets/hero-icons/magnus.jpg | bin | 0 -> 12327 bytes | |||
| -rw-r--r-- | dist/assets/talent-icons-small/Magnus/Magnus_Epic.jpg | bin | 0 -> 9424 bytes | |||
| -rw-r--r-- | dist/assets/talent-icons-small/Magnus/Magnus_Legendary.jpg | bin | 0 -> 10463 bytes | |||
| -rw-r--r-- | dist/assets/talent-icons-small/Magnus/Magnus_Rare.jpg | bin | 0 -> 8018 bytes | |||
| -rw-r--r-- | src/maps/names.json | 5 |
8 files changed, 20 insertions, 63 deletions
diff --git a/backend/config-brawl.js b/backend/config-brawl.js deleted file mode 100644 index dc13956..0000000 --- a/backend/config-brawl.js +++ /dev/null @@ -1,60 +0,0 @@ -#!/usr/bin/node - -const crypto = require('crypto'); - -const sha256 = (x) => crypto.createHash('sha256').update(x, 'utf8').digest('hex'); - -const hashSettings = (config) => sha256( - config.api.regions + - config.api.modes + - config.api.requestsPerInterval + - config.api.interval + - config.api.intervalUnit -).substring(0, 8); - -module.exports = { - api: { - baseUrl: 'https://api.dc01.gamelockerapp.com', - timeout: 3, - /* available: eu, na, sg, cn, sa, ea */ - regions: ['sg', 'eu', 'na'], - /* available: casual, 5v5_pvp_casual, ranked, 5v5_pvp_ranked, blitz_pvp_ranked, casual_aral */ - modes: ['blitz_pvp_ranked', 'casual_aral'], - /* available: 2, 3, 4, 5 */ - matchesPerRequest: 5, - /* How many equidistant requests to create - * matchesPerRequest * requestsPerInterval = sample size for that interval - * currently requestsPerInterval <= API key rate limit but should work if it isn't significantly higher - * rough estimate of upper limits (na/eu/sg, depends on region and time of day): - * blitz: 240 - * battle royale: 30 - * 3v3 casual: 30 - * 3v3 ranked: 100 - * 5v5 casual: 30 - * 5v5 ranked: 40 - * if filtering for multiple game modes, use the sum of the upper limits */ - requestsPerInterval: 50, - /* the size of a batch */ - interval: 1, - intervalUnit: 'hours', - /* How many batches to request per minute - * requestsPerInterval * intervalsPer Minute <= API key rate limit */ - intervalsPerMinute: 1, - }, - etl: { - /* attributes to be extracted and renamed from main API data */ - participant: [ ['Winner', ['attributes', 'stats', 'winner']] ], - roster: [ ], - match: [ ['Mode', ['attributes', 'gameMode']] ], - }, - reduce: { - /* criteria or 'filters' */ - group: ['Actor', 'Talent', 'Mode'], - /* stats */ - sum: ['Level', 'Winner'], - }, - file: { - pattern: (moment) => `./data/${hashSettings(module.exports)}/${moment.toISOString()}.json`, - reportPattern: () => `./data/${hashSettings(module.exports)}/report.json`, - }, -}; diff --git a/backend/config.js b/backend/config.js index ebe4917..1e0ffa5 100644 --- a/backend/config.js +++ b/backend/config.js @@ -21,9 +21,9 @@ module.exports = { baseUrl: 'https://api.dc01.gamelockerapp.com', timeout: 3, /* available: 3.1, 3.2, 3.3, … */ - patchVersion: '3.8', + patchVersion: '3.9', /* moment js parsable string */ - startDate: '2018-10-17 18Z', + startDate: '2018-12-11 18Z', /* available: eu, na, sg, cn, sa, ea */ regions: ['sg', 'eu', 'na'], /* available: casual, 5v5_pvp_casual, ranked, 5v5_pvp_ranked, blitz_pvp_ranked, casual_aral */ diff --git a/data/vainglory.json b/data/vainglory.json index c33458e..90823c3 100644 --- a/data/vainglory.json +++ b/data/vainglory.json @@ -17146,6 +17146,20 @@ "team_utility" : 3, "mobility" : 9 } + }, + "magnus" : { + "name" : "Magnus", + "thumb" : "magnus.png", + "difficulty" : "Medium", + "attack_type" : "Ranged", + "description" : "", + "primary_role" : "Laner", + "ratings" : { + "offense" : 10, + "defense" : 3, + "team_utility" : 5, + "mobility" : 1 + } } } } diff --git a/dist/assets/hero-icons/magnus.jpg b/dist/assets/hero-icons/magnus.jpg Binary files differnew file mode 100644 index 0000000..a77b004 --- /dev/null +++ b/dist/assets/hero-icons/magnus.jpg diff --git a/dist/assets/talent-icons-small/Magnus/Magnus_Epic.jpg b/dist/assets/talent-icons-small/Magnus/Magnus_Epic.jpg Binary files differnew file mode 100644 index 0000000..ff39da9 --- /dev/null +++ b/dist/assets/talent-icons-small/Magnus/Magnus_Epic.jpg diff --git a/dist/assets/talent-icons-small/Magnus/Magnus_Legendary.jpg b/dist/assets/talent-icons-small/Magnus/Magnus_Legendary.jpg Binary files differnew file mode 100644 index 0000000..6a01385 --- /dev/null +++ b/dist/assets/talent-icons-small/Magnus/Magnus_Legendary.jpg diff --git a/dist/assets/talent-icons-small/Magnus/Magnus_Rare.jpg b/dist/assets/talent-icons-small/Magnus/Magnus_Rare.jpg Binary files differnew file mode 100644 index 0000000..13b50ab --- /dev/null +++ b/dist/assets/talent-icons-small/Magnus/Magnus_Rare.jpg diff --git a/src/maps/names.json b/src/maps/names.json index 32d04de..6b52b61 100644 --- a/src/maps/names.json +++ b/src/maps/names.json @@ -31,5 +31,8 @@ "*Talent_Yates_TalentC*": "Rapid Response", "*Talent_Inara_TalentA*": "Dance Of Mending", "*Talent_Inara_TalentB*": "Banishing Might", - "*Talent_Inara_TalentC*": "Sacred Warrior" + "*Talent_Inara_TalentC*": "Sacred Warrior", + "*Talent_Magnus_TalentA*": "Mystic Seer", + "*Talent_Magnus_TalentB*": "Arcane Alchemist", + "*Talent_Magnus_TalentC*": "Infinite Arcana" } |
