koishi-plugin-ggcevo-game 1.6.79 → 1.6.81

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 +10 -3
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -2893,12 +2893,14 @@ var BattleEffectProcessor = {
2893
2893
  return null;
2894
2894
  }
2895
2895
  const isFireDamage = weaponName === "焚烧枪";
2896
+ const isDragonBreathShotgun = weaponName === "龙息霰弹枪";
2896
2897
  const isColdDamage = weaponName === "零度之下";
2897
2898
  if (isFireDamage || isColdDamage) {
2898
2899
  isImmune = true;
2899
2900
  if (isFireDamage) {
2900
2901
  immuneFire = true;
2901
- } else if (isColdDamage) {
2902
+ }
2903
+ if (isColdDamage) {
2902
2904
  immuneCold = true;
2903
2905
  }
2904
2906
  messages.push(`🦖 【猎手异形】生效:免疫${isFireDamage ? "火焰" : "寒冷"}伤害`);
@@ -2913,6 +2915,11 @@ var BattleEffectProcessor = {
2913
2915
  buffMultiplier = 0.2;
2914
2916
  messages.push(`🦖 【猎手异形】生效:无其他存活异形,受到的伤害+20%`);
2915
2917
  }
2918
+ if (isDragonBreathShotgun) {
2919
+ immuneFire = true;
2920
+ nerfMultiplier += 0.2;
2921
+ messages.push(`🦖 【猎手异形】生效:免疫龙息霰弹枪造成的20%火焰伤害`);
2922
+ }
2916
2923
  return {
2917
2924
  buffMultiplier,
2918
2925
  nerfMultiplier,
@@ -7422,7 +7429,7 @@ var spaceship = {
7422
7429
  description: "巨兽级歼星舰的小型化版本",
7423
7430
  miningbonus: 0,
7424
7431
  explorebonus: 30,
7425
- effect: "探索的成功率提高60%;探索发生掠夺的概率提高30%;掠夺其他飞船的成功率提高30%;被非庞兽号歼星舰掠夺的成功率降低30%",
7432
+ effect: "探索的成功率提高60%;探索发生掠夺的概率提高30%;掠夺其他飞船的成功率提高30%;被其他飞船掠夺的成功率降低30%",
7426
7433
  price: 6e3
7427
7434
  }
7428
7435
  };
@@ -12139,7 +12146,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
12139
12146
  return name2;
12140
12147
  }
12141
12148
  }
12142
- return "未知飞船型号";
12149
+ return "普通飞船";
12143
12150
  }
12144
12151
  __name(getSpaceshipNameById, "getSpaceshipNameById");
12145
12152
  ctx.command("ggcevo/探索 [galaxyName]").action(async ({ session }, galaxyName) => {
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.6.79",
4
+ "version": "1.6.81",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [