Change approach to tracking the new Bounty Hunter stats

This commit is contained in:
David Meredith
2023-05-25 09:37:30 -05:00
parent 11391c90f2
commit a8cf1713af
4 changed files with 18 additions and 18 deletions

View File

@@ -106,10 +106,10 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
| Minigame | Param | | Minigame | Param |
| ------------------------------- | :---------------: | | ------------------------------- | :---------------: |
| Bounty Hunter (Rogue) | `rogueBH` | | Bounty Hunter (Legacy - Rogue) | `rogueBH` |
| Bounty Hunter (Hunter) | `hunterBH` | | Bounty Hunter (Legacy - Hunter) | `hunterBH` |
| Bounty Hunter (Legacy - Rogue) | `rogueLegacyBH` | | Bounty Hunter (Rogue) | `rogueBHV2` |
| Bounty Hunter (Legacy - Hunter) | `hunterLegacyBH` | | Bounty Hunter (Hunter) | `hunterBHV2` |
| Last Man Standing | `lastManStanding` | | Last Man Standing | `lastManStanding` |
| PvP Arena | `pvpArena` | | PvP Arena | `pvpArena` |
| Soul Wars Zeal | `soulWarsZeal` | | Soul Wars Zeal | `soulWarsZeal` |

View File

@@ -78,10 +78,10 @@ test('Parse CSV to json', () => {
810,99,37688883 810,99,37688883
92,99,32005622 92,99,32005622
23423,478 23423,478
99831,23
89912,37
89914,35 89914,35
99834,25 99834,25
99831,23
89912,37
32,12148 32,12148
3105,76 3105,76
1997,505 1997,505
@@ -177,10 +177,10 @@ test('Parse CSV to json', () => {
}, },
leaguePoints: { rank: 23423, score: 478 }, leaguePoints: { rank: 23423, score: 478 },
bountyHunter: { bountyHunter: {
hunterV2: { rank: 89914, score: 35 },
rogueV2: { rank: 99834, score: 25 },
hunter: { rank: 99831, score: 23 }, hunter: { rank: 99831, score: 23 },
rogue: { rank: 89912, score: 37 }, rogue: { rank: 89912, score: 37 },
legacyHunter: { rank: 89914, score: 35 },
legacyRogue: { rank: 99834, score: 25 }
}, },
lastManStanding: { rank: 4814, score: 898 }, lastManStanding: { rank: 4814, score: 898 },
pvpArena: { rank: 13, score: 4057 }, pvpArena: { rank: 13, score: 4057 },

View File

@@ -60,7 +60,7 @@ export type ClueType =
export type Clues = { [Type in ClueType]: Activity }; export type Clues = { [Type in ClueType]: Activity };
export type BHType = 'rogue' | 'hunter' | 'legacyRogue' | 'legacyHunter'; export type BHType = 'rogue' | 'hunter' | 'rogueV2' | 'hunterV2';
export type BH = { [Type in BHType]: Activity }; export type BH = { [Type in BHType]: Activity };
@@ -124,10 +124,10 @@ export type Bosses = { [Type in Boss]: Activity };
export type ActivityName = export type ActivityName =
| 'leaguePoints' | 'leaguePoints'
| 'hunterBHV2'
| 'rogueBHV2'
| 'hunterBH' | 'hunterBH'
| 'rogueBH' | 'rogueBH'
| 'hunterLegacyBH'
| 'rogueLegacyBH'
| 'lastManStanding' | 'lastManStanding'
| 'pvpArena' | 'pvpArena'
| 'soulWarsZeal' | 'soulWarsZeal'

View File

@@ -62,7 +62,7 @@ export const CLUES: ClueType[] = [
'elite', 'elite',
'master' 'master'
]; ];
export const BH_MODES: BHType[] = ['hunter', 'rogue', 'legacyHunter', 'legacyRogue']; export const BH_MODES: BHType[] = ['hunterV2', 'rogueV2', 'hunter', 'rogue'];
export const GAMEMODES: Gamemode[] = [ export const GAMEMODES: Gamemode[] = [
'main', 'main',
'ironman', 'ironman',
@@ -130,10 +130,10 @@ export const BOSSES: Boss[] = [
]; ];
export const ACTIVITIES: ActivityName[] = [ export const ACTIVITIES: ActivityName[] = [
'leaguePoints', 'leaguePoints',
'hunterBHV2',
'rogueBHV2',
'hunterBH', 'hunterBH',
'rogueBH', 'rogueBH',
'hunterLegacyBH',
'rogueLegacyBH',
'allClues', 'allClues',
'beginnerClues', 'beginnerClues',
'easyClues', 'easyClues',
@@ -259,10 +259,10 @@ export type FormattedBHNames = {
}; };
export const FORMATTED_BH_NAMES: FormattedBHNames = { export const FORMATTED_BH_NAMES: FormattedBHNames = {
rogue: 'Bounty Hunter - Rogue', rogue: 'Bounty Hunter (Legacy) - Rogue',
hunter: 'Bounty Hunter - Hunter', hunter: 'Bounty Hunter (Legacy) - Hunter',
legacyRogue: 'Bounty Hunter (Legacy) - Rogue', rogueV2: 'Bounty Hunter - Rogue',
legacyHunter: 'Bounty Hunter (Legacy) - Hunter' hunterV2: 'Bounty Hunter - Hunter'
}; };
export const FORMATTED_LMS = 'Last Man Standing'; export const FORMATTED_LMS = 'Last Man Standing';