koishi-plugin-ggcevo-game 1.5.12 → 1.5.13

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.
@@ -660,6 +660,4 @@ export declare function applyPassiveEffects(targetBoss: any, activeBosses: any[]
660
660
  burnLayerAdded: boolean;
661
661
  drainFactor: number;
662
662
  reductionAmount: number;
663
- isLethal: boolean;
664
- revivalTriggered: boolean;
665
663
  };
package/lib/index.js CHANGED
@@ -1232,7 +1232,7 @@ var bossPool = [
1232
1232
  main: {
1233
1233
  name: "异齿猛兽首领",
1234
1234
  type: "主宰",
1235
- maxHP: 2e4,
1235
+ maxHP: 25e3,
1236
1236
  maxShield: 0,
1237
1237
  maxEnergy: 0,
1238
1238
  armor: 25,
@@ -1245,7 +1245,7 @@ var bossPool = [
1245
1245
  {
1246
1246
  name: "异齿猛兽",
1247
1247
  type: "子代",
1248
- maxHP: 1e4,
1248
+ maxHP: 7500,
1249
1249
  maxShield: 0,
1250
1250
  maxEnergy: 0,
1251
1251
  armor: 20,
@@ -1274,7 +1274,7 @@ var bossPool = [
1274
1274
  {
1275
1275
  name: "冰蛇",
1276
1276
  type: "子代",
1277
- maxHP: 5e3,
1277
+ maxHP: 7500,
1278
1278
  maxShield: 0,
1279
1279
  maxEnergy: 0,
1280
1280
  armor: 4,
@@ -4478,9 +4478,7 @@ function applyPassiveEffects(targetBoss, activeBosses, weaponName, damage, hasCr
4478
4478
  burnLayerAdded,
4479
4479
  // 新增燃烧叠加标记
4480
4480
  drainFactor,
4481
- reductionAmount,
4482
- isLethal,
4483
- revivalTriggered
4481
+ reductionAmount
4484
4482
  };
4485
4483
  }
4486
4484
  __name(applyPassiveEffects, "applyPassiveEffects");
@@ -4993,13 +4991,6 @@ var ggcevoUpdates = [
4993
4991
  content: `
4994
4992
  - 新增专属改装:氮气压缩核心
4995
4993
  `.trim()
4996
- },
4997
- {
4998
- version: "1.5.12",
4999
- time: "2025-07-02",
5000
- content: `
5001
- - 现在所有异形受到致命伤害后,若无复活技能,则会直接死亡
5002
- `.trim()
5003
4994
  }
5004
4995
  ];
5005
4996
  function compareVersions(a, b) {
@@ -6131,7 +6122,6 @@ async function handleBossDefeatRewards(ctx, targetBoss) {
6131
6122
  }
6132
6123
  __name(handleBossDefeatRewards, "handleBossDefeatRewards");
6133
6124
  async function handlePrimaryAttack(ctx, session, handle, config, equippedWeapon, targetBoss, activeBosses, weaponName, careerData) {
6134
- let currentHP = 0;
6135
6125
  const damageResult = await calculateTotalDamage(ctx, session, config, equippedWeapon, targetBoss, careerData);
6136
6126
  const ignoreReduction = await handleIgnoreReductionEffects(ctx, handle, weaponName, targetBoss);
6137
6127
  const EffectProcessor = applyPassiveEffects(targetBoss, activeBosses, weaponName, damageResult.damage, damageResult.hasCrit, ignoreReduction.ignoreRate, careerData, equippedWeapon);
@@ -6143,10 +6133,8 @@ async function handlePrimaryAttack(ctx, session, handle, config, equippedWeapon,
6143
6133
  }
6144
6134
  }
6145
6135
  const [currentboss] = await ctx.database.get("ggcevo_boss", { name: targetBoss.name });
6146
- const isDefeated = EffectProcessor.isLethal && !EffectProcessor.revivalTriggered;
6147
- if (!isDefeated) {
6148
- currentHP = currentboss.HP;
6149
- }
6136
+ const currentHP = currentboss.HP;
6137
+ const isDefeated = currentHP <= 0;
6150
6138
  return {
6151
6139
  initialDamage,
6152
6140
  currentHP,
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.5.12",
4
+ "version": "1.5.13",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [