koishi-plugin-tmp-bot 1.19.2 → 1.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -148,8 +148,9 @@
|
|
|
148
148
|
const prev = points[i - 1];
|
|
149
149
|
const curr = points[i];
|
|
150
150
|
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
let dist = calculateDistance(prev, curr);
|
|
152
|
+
dist = dist * 19;
|
|
153
|
+
const isDistJump = dist > 50000; // > 50km
|
|
153
154
|
|
|
154
155
|
let timeDiff = 0;
|
|
155
156
|
try {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-tmp-bot",
|
|
3
3
|
"description": "欧洲卡车模拟2 TMP查询插件,不会部署的可以直接使用此机器人->QQ:3523283907",
|
|
4
|
-
"version": "1.19.
|
|
4
|
+
"version": "1.19.3",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
7
|
"homepage": "https://github.com/79887143/koishi-plugin-tmp-bot",
|