koishi-plugin-ggcevo-game 1.6.21 → 1.6.22
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.
- package/lib/index.js +7 -8
- package/lib/tasks.d.ts +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -599,7 +599,7 @@ var SyndicatedItems = {
|
|
|
599
599
|
description: "非致命军用炸药",
|
|
600
600
|
price: 75,
|
|
601
601
|
redCrystalCost: 0,
|
|
602
|
-
condition: "
|
|
602
|
+
condition: "无法对建筑目标,重型目标和具有免疫闪光技能的目标使用",
|
|
603
603
|
effects: "使目标的技能层数减少10层"
|
|
604
604
|
},
|
|
605
605
|
"CRED-17": {
|
|
@@ -617,7 +617,7 @@ var SyndicatedItems = {
|
|
|
617
617
|
description: "电磁脉冲干扰机械目标和灵能目标",
|
|
618
618
|
price: 75,
|
|
619
619
|
redCrystalCost: 0,
|
|
620
|
-
condition: "
|
|
620
|
+
condition: "无法对没有能量的目标使用",
|
|
621
621
|
effects: "消耗目标500点能量"
|
|
622
622
|
},
|
|
623
623
|
"MP3播放器": {
|
|
@@ -662,7 +662,7 @@ var SyndicatedItems = {
|
|
|
662
662
|
description: "一种轻型手榴弹,含有易燃物质",
|
|
663
663
|
price: 0,
|
|
664
664
|
redCrystalCost: 0,
|
|
665
|
-
condition: "
|
|
665
|
+
condition: "无法对免疫燃烧的目标使用",
|
|
666
666
|
effects: "使目标的燃烧层数增加5层"
|
|
667
667
|
},
|
|
668
668
|
"铝热炸弹": {
|
|
@@ -671,7 +671,7 @@ var SyndicatedItems = {
|
|
|
671
671
|
description: "铝热炸弹能够轻易破坏安全门",
|
|
672
672
|
price: 0,
|
|
673
673
|
redCrystalCost: 0,
|
|
674
|
-
condition: "
|
|
674
|
+
condition: "无法对空中目标使用",
|
|
675
675
|
effects: "造成100伤害;对建筑目标造成3倍伤害"
|
|
676
676
|
}
|
|
677
677
|
};
|
|
@@ -1355,7 +1355,7 @@ var Tasklist = {
|
|
|
1355
1355
|
target: 1,
|
|
1356
1356
|
price: 25,
|
|
1357
1357
|
redCrystalCost: 0,
|
|
1358
|
-
condition: "
|
|
1358
|
+
condition: "使用【焚烧枪】或【龙息霰弹枪】攻击目标或对目标使用【莫洛托夫燃烧弹】并成功增加其1层[燃烧]"
|
|
1359
1359
|
}
|
|
1360
1360
|
};
|
|
1361
1361
|
|
|
@@ -12079,7 +12079,6 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
12079
12079
|
`🌌 星系:${record.galaxy}`,
|
|
12080
12080
|
`🔮 实际成功率:${(successRate * 100).toFixed(1)}%`,
|
|
12081
12081
|
coinDisplay,
|
|
12082
|
-
`📦 可探索物品:${availableItemsDisplay}`,
|
|
12083
12082
|
...itemRewards.length > 0 ? [`🎁 获得物品:${itemRewards.join("、")}`] : [],
|
|
12084
12083
|
...bonusEffects.length > 0 ? [
|
|
12085
12084
|
"",
|
|
@@ -12216,7 +12215,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
12216
12215
|
`⏱️ 开始时间:${(/* @__PURE__ */ new Date()).toLocaleString("zh-CN", { hour12: false })}`,
|
|
12217
12216
|
`⏳ 持续时间:12小时`,
|
|
12218
12217
|
`📊 预计成功率:${estimatedRate.toFixed(0)}%`,
|
|
12219
|
-
`📦
|
|
12218
|
+
`📦 可获得物品:${galaxyData.available.join("、") || "无"}`,
|
|
12220
12219
|
"💰 预计可获得50-100金币"
|
|
12221
12220
|
].join("\n");
|
|
12222
12221
|
});
|
|
@@ -12250,7 +12249,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
12250
12249
|
`📅 获得时间:${shipRecord.createTime.toLocaleString("zh-CN", { hour12: false })}`
|
|
12251
12250
|
].join("\n");
|
|
12252
12251
|
});
|
|
12253
|
-
ctx.command("ggcevo/购买飞船 [shipName]").action(async ({ session }, shipName) => {
|
|
12252
|
+
ctx.command("ggcevo/购买飞船 [shipName]").alias("飞船").action(async ({ session }, shipName) => {
|
|
12254
12253
|
const [profile] = await ctx.database.get("sc2arcade_player", { userId: session.userId });
|
|
12255
12254
|
if (!profile) return "🔒 需要先绑定游戏句柄。";
|
|
12256
12255
|
const handle = `${profile.regionId}-S2-${profile.realmId}-${profile.profileId}`;
|
package/lib/tasks.d.ts
CHANGED