koishi-plugin-tmp-bot 1.8.3 → 1.8.4

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.
@@ -141,10 +141,10 @@
141
141
  }
142
142
  },
143
143
  promods: {
144
- tileUrl: 'https://tiles.truckyapp.com/promods/05102019/{z}/{x}/{y}.png',
144
+ tileUrl: 'https://ets-map.oss-cn-beijing.aliyuncs.com/promods/05102019/{z}/{x}/{y}.png',
145
145
  multipliers: {
146
- x: 41828,
147
- y: 77369
146
+ x: 51953,
147
+ y: 76024
148
148
  },
149
149
  breakpoints: {
150
150
  uk: {
@@ -161,8 +161,8 @@
161
161
  // 游戏地转地图坐标
162
162
  calculateMapCoordinate (x, y) {
163
163
  return [
164
- x / 2.303589 + mapConfig.promods.multipliers.x,
165
- y / 2.303589 + mapConfig.promods.multipliers.y
164
+ x / 2.598541 + mapConfig.promods.multipliers.x,
165
+ y / 2.598541 + mapConfig.promods.multipliers.y
166
166
  ]
167
167
  }
168
168
  }
@@ -109,10 +109,10 @@
109
109
  }
110
110
  },
111
111
  promods: {
112
- tileUrl: 'https://tiles.truckyapp.com/promods/05102019/{z}/{x}/{y}.png',
112
+ tileUrl: 'https://ets-map.oss-cn-beijing.aliyuncs.com/promods/05102019/{z}/{x}/{y}.png',
113
113
  multipliers: {
114
- x: 41828,
115
- y: 77369
114
+ x: 51953,
115
+ y: 76024
116
116
  },
117
117
  breakpoints: {
118
118
  uk: {
@@ -129,8 +129,8 @@
129
129
  // 游戏地转地图坐标
130
130
  calculateMapCoordinate (x, y) {
131
131
  return [
132
- x / 2.303589 + mapConfig.promods.multipliers.x,
133
- y / 2.303589 + mapConfig.promods.multipliers.y
132
+ x / 2.598541 + mapConfig.promods.multipliers.x,
133
+ y / 2.598541 + mapConfig.promods.multipliers.y
134
134
  ]
135
135
  }
136
136
  }
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.8.3",
4
+ "version": "1.8.4",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "homepage": "https://github.com/79887143/koishi-plugin-tmp-bot",