koishi-plugin-ggcevo-game 1.3.21 → 1.3.22

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 +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -3946,7 +3946,7 @@ ${achievementList.join("\n")}`;
3946
3946
  if (initiatorGold < 100) return "发起者需要至少100金币才能发起挑战。";
3947
3947
  if (targetGold < 100) return "对方金币不足100,无法应战。";
3948
3948
  const powerDiff = initiatorPower - targetPower;
3949
- let winRate = 50 + powerDiff / 200 * 0.1;
3949
+ let winRate = 50 + powerDiff / 50 * 0.1;
3950
3950
  winRate = Math.min(Math.max(winRate, 5), 95);
3951
3951
  const isWin = Math.random() * 100 < winRate;
3952
3952
  const stealPercentage = getRandomInt(1, 5);
@@ -5475,7 +5475,7 @@ ${passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
5475
5475
  `✅ 成功使用 ${itemNameConfirmed}`,
5476
5476
  `├ 剩余数量:${newQuantity}`,
5477
5477
  `└ 效果触发:${effectResult.message}`,
5478
- "─".repeat(25)
5478
+ "─".repeat(14)
5479
5479
  ].join("\n");
5480
5480
  } catch (error) {
5481
5481
  ctx.logger("GGCEVO").error(error);
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.3.21",
4
+ "version": "1.3.22",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [