mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 10:28:04 +03:00
Add exceed gear support
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@
|
||||
"rimraf": "3.0.2",
|
||||
"safe-json-stringify": "1.2.0",
|
||||
"seq-logging": "1.1.1",
|
||||
"tachi-common": "0.6.8",
|
||||
"tachi-common": "0.6.8-exceed",
|
||||
"ts-node": "10.4.0",
|
||||
"tsconfig-paths": "3.12.0",
|
||||
"typescript": "4.5.5",
|
||||
|
||||
Generated
+4
-4
@@ -63,7 +63,7 @@ specifiers:
|
||||
safe-json-stringify: 1.2.0
|
||||
seq-logging: 1.1.1
|
||||
supertest: 6.2.2
|
||||
tachi-common: 0.6.8
|
||||
tachi-common: 0.6.8-exceed
|
||||
tap: 15.1.6
|
||||
ts-node: 10.4.0
|
||||
tsconfig-paths: 3.12.0
|
||||
@@ -108,7 +108,7 @@ dependencies:
|
||||
rimraf: 3.0.2
|
||||
safe-json-stringify: 1.2.0
|
||||
seq-logging: 1.1.1
|
||||
tachi-common: 0.6.8
|
||||
tachi-common: 0.6.8-exceed
|
||||
ts-node: 10.4.0_2615db9039ce432b4abf2fc39ef336ec
|
||||
tsconfig-paths: 3.12.0
|
||||
typescript: 4.5.5
|
||||
@@ -5291,8 +5291,8 @@ packages:
|
||||
engines: {node: '>= 0.4'}
|
||||
dev: true
|
||||
|
||||
/tachi-common/0.6.8:
|
||||
resolution: {integrity: sha512-QzGqWeMmC3/nUS76FX6qAPJWBlwz7kzT/QVcrgeuYo1RBkYShkpYl0do0zyRO62B/vKixqgNgsOqVT+cDUoTzw==}
|
||||
/tachi-common/0.6.8-exceed:
|
||||
resolution: {integrity: sha512-WZNQBUlKTkmOmSnReGhC3Vc5t5Z7cvSmlghfsgG2+xlVqXUgfVLIZNHinheBS0N8mKi75IlhS8JT+FaHazn/XA==}
|
||||
dependencies:
|
||||
'@types/mongodb': 3.6.18
|
||||
dev: false
|
||||
|
||||
@@ -113,7 +113,8 @@ t.test("#ConvertVersion", (t) => {
|
||||
t.equal(ConvertVersion(3), "gw");
|
||||
t.equal(ConvertVersion(4), "heaven");
|
||||
t.equal(ConvertVersion(5), "vivid");
|
||||
t.throws(() => ConvertVersion(6));
|
||||
t.equal(ConvertVersion(6), "exceed");
|
||||
t.throws(() => ConvertVersion(7));
|
||||
t.throws(() => ConvertVersion(0));
|
||||
|
||||
t.end();
|
||||
|
||||
@@ -132,6 +132,8 @@ export function ConvertVersion(ver: number) {
|
||||
return "heaven";
|
||||
case 5:
|
||||
return "vivid";
|
||||
case 6:
|
||||
return "exceed";
|
||||
}
|
||||
|
||||
throw new InvalidScoreFailure(`Unknown Game Version ${ver}.`);
|
||||
|
||||
Reference in New Issue
Block a user