koishi-plugin-ggcevo-game 1.3.58 → 1.3.59

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 +5 -5
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -556,11 +556,11 @@ function apply(ctx, config) {
556
556
  common: [
557
557
  {
558
558
  name: "蚱蜢优购",
559
- effect: "下一次购买武器的价格变为80%"
559
+ effect: "下一次购买武器享有20%的折扣"
560
560
  },
561
561
  {
562
562
  name: "灵狐升运",
563
- effect: "下一次升级武器的价格变为80%"
563
+ effect: "下一次升级武器享有20%的折扣"
564
564
  },
565
565
  {
566
566
  name: "王权增幅",
@@ -4492,7 +4492,7 @@ ${items.join("、")}
4492
4492
  const initiatorPower = await calculateTotalPower(initiatorHandle);
4493
4493
  const targetPower = await calculateTotalPower(targetHandle);
4494
4494
  const initiatorRankname = session.username;
4495
- const targetRankname = targetUsername.nick || targetUsername.name;
4495
+ const targetRankname = targetUsername.nick || targetUsername.user.name;
4496
4496
  const [initiatorCareer] = await ctx.database.get("ggcevo_careers", {
4497
4497
  handle: initiatorHandle
4498
4498
  });
@@ -4707,10 +4707,10 @@ ${items.join("、")}
4707
4707
  const result = [
4708
4708
  `⚔️【对战结果】${isWin ? "胜利" : "失败"}`,
4709
4709
  `🏅 挑战者:${initiatorRankname}(战斗力 ${initiatorPower})`,
4710
- ` 👨‍💼 职业:${initiatorCareer?.career || "无"}`,
4710
+ `💼 职业:${initiatorCareer?.career || "无"}`,
4711
4711
  // 显示职业
4712
4712
  `🛡️ 应战者:${targetRankname}(战斗力 ${targetPower})`,
4713
- ` 👨‍💼 职业:${targetCareer?.career || "无"}`,
4713
+ `💼 职业:${targetCareer?.career || "无"}`,
4714
4714
  // 显示职业
4715
4715
  `📊 胜率预测:${winRate.toFixed(1)}%`,
4716
4716
  `🎰 金币变动:${stealPercentage}%`
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.58",
4
+ "version": "1.3.59",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [