koishi-plugin-ggcevo-game 1.2.21 → 1.2.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 +4 -5
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -362,7 +362,6 @@ function apply(ctx, config) {
362
362
  },
363
363
  {
364
364
  name: "王权增幅",
365
- type: "buff",
366
365
  effect: "攻击伤害+10%"
367
366
  },
368
367
  {
@@ -527,7 +526,7 @@ function apply(ctx, config) {
527
526
  );
528
527
  damage *= 1 + totalModAdd;
529
528
  if (critRhythmEffect) {
530
- effectMessage.push("🎵 暴击韵律生效(暴击率+20%)");
529
+ effectMessage.push("🎵 暴击韵律祈愿生效(暴击率+20%)");
531
530
  }
532
531
  const targetBossConfig = targetBoss.type === "主宰" ? bossPool.find((g) => g.main.name === targetBoss.name).main : bossPool.find((g) => g.minions.some((m) => m.name === targetBoss.name)).minions[0];
533
532
  const tagMultiplier = calculateTagEffects(weaponData, targetBossConfig, equippedWeapon);
@@ -553,12 +552,12 @@ function apply(ctx, config) {
553
552
  });
554
553
  if (sovereignEffect) {
555
554
  damage *= 1.1;
556
- effectMessage.push(`👑 王权增幅生效(攻击伤害+10%)`);
555
+ effectMessage.push(`👑 王权增幅祈愿生效(攻击伤害+10%)`);
557
556
  }
558
557
  if (lamentEffect) {
559
558
  const levelBonus = 0.1 * (equippedWeapon.level + 1);
560
559
  damage *= 1 + levelBonus;
561
- effectMessage.push(`🗡️ 悲鸣之锋触发(+${(levelBonus * 100).toFixed(0)}%等级加成)`);
560
+ effectMessage.push(`🗡️ 悲鸣之锋祈愿触发(+${(levelBonus * 100).toFixed(0)}%等级加成)`);
562
561
  }
563
562
  const [rankRecord] = await ctx2.database.get("ggcevo_rank", { handle: session.handle });
564
563
  const rankBonus = calculateRankBonus(rankRecord);
@@ -965,7 +964,7 @@ ${itemDetails.join("\n")}`;
965
964
  if (meowEffect) {
966
965
  tickets *= 2;
967
966
  points *= 2;
968
- effectMessage = "\n🐾 喵喵财源生效,获得双倍奖励!";
967
+ effectMessage = "\n🐾 喵喵财源祈愿生效,获得双倍奖励!";
969
968
  }
970
969
  await ctx.database.upsert("ggcevo_sign", [{
971
970
  handle,
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.2.21",
4
+ "version": "1.2.22",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [