koishi-plugin-ggcevo-game 1.6.40 → 1.6.42

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 +9 -9
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -5822,7 +5822,7 @@ async function applyItemEffect(ctx, session, handle, itemConfig2, target) {
5822
5822
  if (itemConfig2.id === 9) {
5823
5823
  if (!target) return {
5824
5824
  success: false,
5825
- message: "使用燃烧弹需要指定目标",
5825
+ message: "使用燃烧弹需要指定目标。",
5826
5826
  isDefeated: false
5827
5827
  };
5828
5828
  const [targetBoss] = await ctx.database.get("ggcevo_boss", {
@@ -5831,14 +5831,14 @@ async function applyItemEffect(ctx, session, handle, itemConfig2, target) {
5831
5831
  });
5832
5832
  if (!targetBoss) return {
5833
5833
  success: false,
5834
- message: `目标「${target}」未存活或不存在`,
5834
+ message: `目标「${target}」未存活或不存在。`,
5835
5835
  isDefeated: false
5836
5836
  };
5837
5837
  const aerialTargets = ["吸血蝙蝠首领", "吸血蝙蝠", "猛毒异兽", "剧毒蝙蝠"];
5838
5838
  if (aerialTargets.includes(targetBoss.name)) {
5839
5839
  return {
5840
5840
  success: false,
5841
- message: "无法对空中目标使用",
5841
+ message: "无法对空中目标使用。",
5842
5842
  isDefeated: false
5843
5843
  };
5844
5844
  }
@@ -5848,7 +5848,7 @@ async function applyItemEffect(ctx, session, handle, itemConfig2, target) {
5848
5848
  );
5849
5849
  if (isImmune) return {
5850
5850
  success: false,
5851
- message: `目标「${target}」免疫燃烧效果`,
5851
+ message: `目标「${target}」免疫燃烧效果。`,
5852
5852
  isDefeated: false
5853
5853
  };
5854
5854
  const baseLayers = 5;
@@ -5883,7 +5883,7 @@ async function applyItemEffect(ctx, session, handle, itemConfig2, target) {
5883
5883
  if (itemConfig2.id === 10) {
5884
5884
  if (!target) return {
5885
5885
  success: false,
5886
- message: "使用铝热炸弹需要指定目标",
5886
+ message: "使用铝热炸弹需要指定目标。",
5887
5887
  isDefeated: false
5888
5888
  };
5889
5889
  const [targetBoss] = await ctx.database.get("ggcevo_boss", {
@@ -5892,14 +5892,14 @@ async function applyItemEffect(ctx, session, handle, itemConfig2, target) {
5892
5892
  });
5893
5893
  if (!targetBoss) return {
5894
5894
  success: false,
5895
- message: `目标「${target}」未存活或不存在`,
5895
+ message: `目标「${target}」未存活或不存在。`,
5896
5896
  isDefeated: false
5897
5897
  };
5898
5898
  const aerialTargets = ["吸血蝙蝠首领", "吸血蝙蝠", "猛毒异兽", "剧毒蝙蝠"];
5899
5899
  if (aerialTargets.includes(targetBoss.name)) {
5900
5900
  return {
5901
5901
  success: false,
5902
- message: "无法对空中目标使用",
5902
+ message: "无法对空中目标使用。",
5903
5903
  isDefeated: false
5904
5904
  };
5905
5905
  }
@@ -12674,7 +12674,7 @@ ${validBossNames.join("、")}`;
12674
12674
  });
12675
12675
  return [
12676
12676
  "💰 资源兑换商店 💰",
12677
- '使用 "兑换资源 物品名称 兑换次数" 进行兑换',
12677
+ '使用 "兑换资源 物品名称 数量" 进行兑换',
12678
12678
  `您当前持有: ${coupon?.quantity || 0}张资源兑换券`,
12679
12679
  "====================",
12680
12680
  ...Object.entries(resourceItems).map(([itemName, config2]) => `▸ ${itemName}:1张券兑换${config2.valuePerCoupon}${itemName === "金币" ? "金币" : "红晶"}`),
@@ -12806,7 +12806,7 @@ PK同玩家限战:1次/日
12806
12806
  30 资源兑换券
12807
12807
  3️⃣ 第3名:
12808
12808
  25 资源兑换券
12809
- 🎖️ 第4-10名:
12809
+ 🏅 第4-10名:
12810
12810
  20 资源兑换券
12811
12811
  🎖 第11-20名:
12812
12812
  15 资源兑换券
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.40",
4
+ "version": "1.6.42",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [