Add Tombs of Amascut.

This commit is contained in:
maxswa
2022-08-24 07:48:05 -04:00
parent 08ecf68689
commit 1ef73b6b0c
5 changed files with 18 additions and 2 deletions

View File

@@ -163,6 +163,8 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
| Theatre Of Blood | `theatreOfBlood` | | Theatre Of Blood | `theatreOfBlood` |
| Theatre Of Blood: Hard Mode | `theatreOfBloodHardMode` | | Theatre Of Blood: Hard Mode | `theatreOfBloodHardMode` |
| Thermonuclear Smoke Devil | `thermonuclearSmokeDevil` | | Thermonuclear Smoke Devil | `thermonuclearSmokeDevil` |
| Tombs of Amascut | `tombsOfAmascut` |
| Tombs of Amascut: Expert Mode | `tombsOfAmascutExpertMode` |
| TzKal-Zuk | `tzKalZuk` | | TzKal-Zuk | `tzKalZuk` |
| TzTok-Jad | `tzTokJad` | | TzTok-Jad | `tzTokJad` |
| Venenatis | `venenatis` | | Venenatis | `venenatis` |

View File

@@ -130,6 +130,8 @@ test('Parse CSV to json', () => {
6984,138 6984,138
23,923141 23,923141
4043,2000 4043,2000
4073,1020
289,13070
489,8 489,8
967,47 967,47
11155,223 11155,223
@@ -225,6 +227,8 @@ test('Parse CSV to json', () => {
theatreOfBlood: { rank: 6984, score: 138 }, theatreOfBlood: { rank: 6984, score: 138 },
theatreOfBloodHardMode: { rank: 23, score: 923141 }, theatreOfBloodHardMode: { rank: 23, score: 923141 },
thermonuclearSmokeDevil: { rank: 4043, score: 2000 }, thermonuclearSmokeDevil: { rank: 4043, score: 2000 },
tombsOfAmascut: { rank: 4073, score: 1020 },
tombsOfAmascutExpertMode: { rank: 289, score: 13070 },
tzKalZuk: { rank: 489, score: 8 }, tzKalZuk: { rank: 489, score: 8 },
tzTokJad: { rank: 967, score: 47 }, tzTokJad: { rank: 967, score: 47 },
venenatis: { rank: 11155, score: 223 }, venenatis: { rank: 11155, score: 223 },
@@ -240,9 +244,11 @@ test('Parse CSV to json', () => {
}); });
test('Parse CSV with unknown activity', () => { test('Parse CSV with unknown activity', () => {
const statsWithUnknownActivity = lynxTitanStats + ` const statsWithUnknownActivity = `${lynxTitanStats}
-1,-1`; -1,-1`;
expect(() => parseStats(statsWithUnknownActivity)).toThrow(INVALID_FORMAT_ERROR); expect(() => parseStats(statsWithUnknownActivity)).toThrow(
INVALID_FORMAT_ERROR
);
}); });
test('Parse invalid CSV', () => { test('Parse invalid CSV', () => {

View File

@@ -83,4 +83,6 @@
-1,-1 -1,-1
-1,-1 -1,-1
-1,-1 -1,-1
-1,-1
-1,-1
-1,-1 -1,-1
Can't render this file because it has a wrong number of fields in line 25.

View File

@@ -102,6 +102,8 @@ export type Boss =
| 'theatreOfBlood' | 'theatreOfBlood'
| 'theatreOfBloodHardMode' | 'theatreOfBloodHardMode'
| 'thermonuclearSmokeDevil' | 'thermonuclearSmokeDevil'
| 'tombsOfAmascut'
| 'tombsOfAmascutExpertMode'
| 'tzKalZuk' | 'tzKalZuk'
| 'tzTokJad' | 'tzTokJad'
| 'venenatis' | 'venenatis'

View File

@@ -110,6 +110,8 @@ export const BOSSES: Boss[] = [
'theatreOfBlood', 'theatreOfBlood',
'theatreOfBloodHardMode', 'theatreOfBloodHardMode',
'thermonuclearSmokeDevil', 'thermonuclearSmokeDevil',
'tombsOfAmascut',
'tombsOfAmascutExpertMode',
'tzKalZuk', 'tzKalZuk',
'tzTokJad', 'tzTokJad',
'venenatis', 'venenatis',
@@ -182,6 +184,8 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = {
theatreOfBlood: 'Theatre of Blood', theatreOfBlood: 'Theatre of Blood',
theatreOfBloodHardMode: 'Theatre of Blood: Hard Mode', theatreOfBloodHardMode: 'Theatre of Blood: Hard Mode',
thermonuclearSmokeDevil: 'Thermonuclear Smoke Devil', thermonuclearSmokeDevil: 'Thermonuclear Smoke Devil',
tombsOfAmascut: 'Tombs of Amascut',
tombsOfAmascutExpertMode: 'Tombs of Amascut: Expert Mode',
tzKalZuk: 'TzKal-Zuk', tzKalZuk: 'TzKal-Zuk',
tzTokJad: 'TzTok-Jad', tzTokJad: 'TzTok-Jad',
venenatis: 'Venenatis', venenatis: 'Venenatis',