koishi-plugin-ggcevo-game 1.3.38 → 1.3.39

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 -4
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -499,7 +499,7 @@ function apply(ctx, config) {
499
499
  description: "电磁脉冲干扰机械目标和灵能目标",
500
500
  price: 75,
501
501
  redCrystalCost: 0,
502
- effects: "对目标使用后,消耗其100点能量"
502
+ effects: "对目标使用后,消耗其所有能量"
503
503
  }
504
504
  };
505
505
  const modConfig = {
@@ -846,7 +846,7 @@ function apply(ctx, config) {
846
846
  maxHP: 2e4,
847
847
  energy: 1e3,
848
848
  tags: asBossTags(["护盾", "灵能", "重型", "异形"]),
849
- passive: asPassives(["超导体", "电能冲击波", "电能立场", "能源虹吸", "脉冲", "能量黑洞"])
849
+ passive: asPassives(["超导体", "能源虹吸", "电能冲击波", "电能立场", "脉冲", "能量黑洞"])
850
850
  },
851
851
  minions: [
852
852
  {
@@ -2747,11 +2747,11 @@ function apply(ctx, config) {
2747
2747
  await ctx.database.set(
2748
2748
  "ggcevo_boss",
2749
2749
  { name: target },
2750
- { energy: targetboss[0].energy - 100 }
2750
+ { energy: 0 }
2751
2751
  );
2752
2752
  return {
2753
2753
  success: true,
2754
- message: `成功使用 ${itemName},消耗 ${target} 100点能量`
2754
+ message: `成功使用 ${itemName},消耗 ${target} 的所有能量`
2755
2755
  };
2756
2756
  }
2757
2757
  return {
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.3.38",
4
+ "version": "1.3.39",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [