koishi-plugin-ggcevo-game 1.6.80 → 1.6.82

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.
Files changed (2) hide show
  1. package/lib/index.js +4 -5
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -6457,13 +6457,12 @@ async function updateWeights(ctx, selectedId) {
6457
6457
  const allWeights = await ctx.database.get("ggcevo_boss_weights", {});
6458
6458
  for (const weight of allWeights) {
6459
6459
  if (weight.bossId === selectedId) {
6460
- const newWeight = Math.max(50, Math.floor(weight.weight / 2));
6461
6460
  await ctx.database.set("ggcevo_boss_weights", { bossId: weight.bossId }, {
6462
- weight: newWeight,
6461
+ weight: 50,
6463
6462
  lastSpawn: /* @__PURE__ */ new Date()
6464
6463
  });
6465
6464
  } else {
6466
- const newWeight = Math.min(200, Math.floor(weight.weight * 1.2));
6465
+ const newWeight = Math.min(500, Math.floor(weight.weight * 1.2));
6467
6466
  await ctx.database.set("ggcevo_boss_weights", { bossId: weight.bossId }, {
6468
6467
  weight: newWeight,
6469
6468
  lastSpawn: weight.lastSpawn
@@ -7429,7 +7428,7 @@ var spaceship = {
7429
7428
  description: "巨兽级歼星舰的小型化版本",
7430
7429
  miningbonus: 0,
7431
7430
  explorebonus: 30,
7432
- effect: "探索的成功率提高60%;探索发生掠夺的概率提高30%;掠夺其他飞船的成功率提高30%;被非庞兽号歼星舰掠夺的成功率降低30%",
7431
+ effect: "探索的成功率提高60%;探索发生掠夺的概率提高30%;掠夺其他飞船的成功率提高30%;被其他飞船掠夺的成功率降低30%",
7433
7432
  price: 6e3
7434
7433
  }
7435
7434
  };
@@ -12146,7 +12145,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
12146
12145
  return name2;
12147
12146
  }
12148
12147
  }
12149
- return "未知飞船型号";
12148
+ return "普通飞船";
12150
12149
  }
12151
12150
  __name(getSpaceshipNameById, "getSpaceshipNameById");
12152
12151
  ctx.command("ggcevo/探索 [galaxyName]").action(async ({ session }, galaxyName) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo-game",
3
3
  "description": "《星际争霸2》咕咕虫-evolved地图的专属游戏助手插件,集成天梯排行、抽奖系统、签到福利、兑换商城等丰富功能。",
4
- "version": "1.6.80",
4
+ "version": "1.6.82",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [