koishi-plugin-ggcevo-game 1.4.53 → 1.4.55

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 +40 -4
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -3730,7 +3730,7 @@ var passiveConfig = {
3730
3730
  },
3731
3731
  "酸蚀池": {
3732
3732
  type: "随机抗性",
3733
- description: "每次受击将会从3种酸液中随机选择一种释放(脓蚀酸池:受到实弹武器伤害降低80%,受到能量武器伤害提高50%;蚀骨酸池:受到能量武器伤害降低80%,受到热能武器伤害提高50%;焦熔酸池:受到热能武器的伤害降低80%,受到实弹武器伤害提高50%)"
3733
+ description: "每次受击将会从3种酸液中顺序选择一种释放(脓蚀酸池:受到实弹武器伤害降低80%,受到能量武器伤害提高50%;蚀骨酸池:受到能量武器伤害降低80%,受到热能武器伤害提高50%;焦熔酸池:受到热能武器的伤害降低80%,受到实弹武器伤害提高50%)"
3734
3734
  },
3735
3735
  "剧毒突袭": {
3736
3736
  type: "强化效果",
@@ -7785,7 +7785,7 @@ ${validTypes.join("、")}`;
7785
7785
  if (!equippedWeapon) return '请先输入"装备 武器名称"后再攻击。';
7786
7786
  const weaponConfigEntry = Object.entries(weaponConfig).find(([_, c]) => c.id === equippedWeapon.weaponId);
7787
7787
  const [weaponName, weaponData] = weaponConfigEntry;
7788
- if (!weaponData.isantiair && targetBoss.groupId === 5) {
7788
+ if (!weaponData.isantiair && (targetBoss.groupId === 5 || targetBoss.groupId === 10)) {
7789
7789
  return "您当前装备的武器无法攻击空中目标!";
7790
7790
  }
7791
7791
  const primaryAttackResult = await handlePrimaryAttack(
@@ -8037,10 +8037,28 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
8037
8037
  } else {
8038
8038
  result.push("➤ 无");
8039
8039
  }
8040
- const countingSkill = mainBoss.skills?.find((s) => ["冷适应", "岗哨机枪", "吸血唾液", "灼烧粘液", "光影之刃"].includes(s));
8040
+ const countingSkill = mainBoss.skills?.find((s) => ["冷适应", "岗哨机枪", "吸血唾液", "灼烧粘液", "光影之刃", "毒性唾液"].includes(s));
8041
8041
  if (countingSkill) {
8042
8042
  result.push(`📈 ${countingSkill}:${mainBoss.skillStacks}层`);
8043
8043
  }
8044
+ if (mainBoss.skills.includes("酸蚀池")) {
8045
+ let acidText;
8046
+ switch (mainBoss.skillStatus) {
8047
+ case 0:
8048
+ case 1:
8049
+ acidText = "脓蚀酸池";
8050
+ break;
8051
+ case 2:
8052
+ acidText = "蚀骨酸池";
8053
+ break;
8054
+ case 3:
8055
+ acidText = "焦熔酸池";
8056
+ break;
8057
+ default:
8058
+ acidText = "未知状态";
8059
+ }
8060
+ result.push(`🧪 酸蚀池:${acidText}`);
8061
+ }
8044
8062
  if (mainBoss.lastWeaponName) {
8045
8063
  result.push(`🎭 记录武器:${mainBoss.lastWeaponName}`);
8046
8064
  }
@@ -8070,10 +8088,28 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
8070
8088
  } else {
8071
8089
  minionInfo.push("➤ 无");
8072
8090
  }
8073
- const minionCountingSkill = minion.skills?.find((s) => ["冷适应", "岗哨机枪", "吸血唾液", "灼烧粘液", "光影之刃"].includes(s));
8091
+ const minionCountingSkill = minion.skills?.find((s) => ["冷适应", "岗哨机枪", "吸血唾液", "灼烧粘液", "光影之刃", "毒性唾液"].includes(s));
8074
8092
  if (minionCountingSkill) {
8075
8093
  minionInfo.push(`📈 ${minionCountingSkill}:${minion.skillStacks}层`);
8076
8094
  }
8095
+ if (minion.skills.includes("酸蚀池")) {
8096
+ let acidText;
8097
+ switch (minion.skillStatus) {
8098
+ case 0:
8099
+ case 1:
8100
+ acidText = "脓蚀酸池";
8101
+ break;
8102
+ case 2:
8103
+ acidText = "蚀骨酸池";
8104
+ break;
8105
+ case 3:
8106
+ acidText = "焦熔酸池";
8107
+ break;
8108
+ default:
8109
+ acidText = "未知状态";
8110
+ }
8111
+ minionInfo.push(`🧪 酸蚀池:${acidText}`);
8112
+ }
8077
8113
  if (minion.lastWeaponName) {
8078
8114
  minionInfo.push(`🎭 记录武器:${minion.lastWeaponName}`);
8079
8115
  }
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.4.53",
4
+ "version": "1.4.55",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [