diff options
Diffstat (limited to 'src/maps')
| -rw-r--r-- | src/maps/maps.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/maps/maps.js b/src/maps/maps.js index cc6ee4b..9bd252e 100644 --- a/src/maps/maps.js +++ b/src/maps/maps.js @@ -55,10 +55,20 @@ function getMode(mode) { return modes[mode]; } +function hasTalents(mode) { + return ['blitz_pvp_ranked', 'casual_aral'].includes(mode); +} + +function playersPerMatch(mode) { + return mode.includes('5v5')? 10 : 6; +} + module.exports = { getTalentName, getTalentRarity, getTalentRarityIndex, getHero, getMode, + hasTalents, + playersPerMatch, }; |
