koishi-plugin-ggcevo-game 1.4.78 → 1.4.80

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 -6
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -3431,7 +3431,7 @@ var BattleEffectProcessor = {
3431
3431
  ).length;
3432
3432
  if (livingNestlings === 0) return null;
3433
3433
  const nerfMultiplier = livingNestlings * 0.2;
3434
- const messages = [`🐛 【虫巢思维】生效:存在${livingNestlings}只巢穴子代,受到的伤害-${nerfMultiplier * 100}%`];
3434
+ const messages = [`🐛 【虫巢思维】生效:存在${livingNestlings}只巢穴子代,受到的伤害-${Math.round(nerfMultiplier * 100)}%`];
3435
3435
  return { nerfMultiplier, messages };
3436
3436
  }, "handleHiveMind"),
3437
3437
  // 爆虫伏击 - 血量低于50%时,立即孵化巢穴子代直至上限(生效后移除)
@@ -3930,10 +3930,7 @@ function applyPassiveEffects(targetBoss, activeBosses, weaponName, damage, hasCr
3930
3930
  if (careerData?.career === "猩红杀手" && weaponName === "侦察步枪") {
3931
3931
  armorDamageReduction = 1;
3932
3932
  }
3933
- armor = targetBoss.armor - targetBoss.radiationLayers;
3934
- if (targetBoss.name === "测试假人") {
3935
- armor = targetBoss.armor;
3936
- }
3933
+ armor = targetBoss.armor - targetBoss.radiationLayers * 0.05;
3937
3934
  const armorReduction = armorDamageReduction * armor;
3938
3935
  if (armorReduction !== 0) {
3939
3936
  messages.push(`护甲减伤: ${armorReduction.toFixed(2)}点`);
@@ -4266,7 +4263,7 @@ var passiveConfig = {
4266
4263
  },
4267
4264
  "治愈虫群": {
4268
4265
  type: "",
4269
- description: "血量低于30%时,立即回复自身40%点生命值,同时回复所有存活异形10%点生命值(生效后移除)"
4266
+ description: "血量低于30%时,立即回复自身40%点生命值,同时回复所有其他存活异形10%点生命值(生效后移除)"
4270
4267
  },
4271
4268
  "释放信息素": {
4272
4269
  type: "",
@@ -5829,6 +5826,7 @@ async function createNestlingBosses(ctx, nestlingNames) {
5829
5826
  tags: foundMinion.tags,
5830
5827
  skills: [...foundMinion.passive],
5831
5828
  energy: foundMinion.maxEnergy,
5829
+ armor: foundMinion.armor,
5832
5830
  groupId,
5833
5831
  isActive: true,
5834
5832
  respawnTime: /* @__PURE__ */ new Date()
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.78",
4
+ "version": "1.4.80",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [