koishi-plugin-ggcevo-game 1.4.53 → 1.4.54

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 +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -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(
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.54",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [