koishi-plugin-ggcevo-game 1.6.9 → 1.6.11
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 -9
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -580,7 +580,7 @@ var SyndicatedItems = {
|
|
|
580
580
|
type: "设备工具",
|
|
581
581
|
description: "一个小型辛迪加机器人,可以破坏电子银行账户",
|
|
582
582
|
price: 0,
|
|
583
|
-
redCrystalCost:
|
|
583
|
+
redCrystalCost: 50,
|
|
584
584
|
condition: "辛迪加海盗阵营",
|
|
585
585
|
effects: "每日签到金币奖励+50%;可使用红晶升级"
|
|
586
586
|
},
|
|
@@ -598,7 +598,7 @@ var SyndicatedItems = {
|
|
|
598
598
|
type: "设备工具",
|
|
599
599
|
description: "这是一款未来派音乐设备",
|
|
600
600
|
price: 0,
|
|
601
|
-
redCrystalCost:
|
|
601
|
+
redCrystalCost: 20,
|
|
602
602
|
condition: "辛迪加海盗阵营",
|
|
603
603
|
effects: "主动发起的PK对战结果为失败时上交给对方的金币-50%"
|
|
604
604
|
},
|
|
@@ -9809,7 +9809,7 @@ ${validTypes.join("、")}`;
|
|
|
9809
9809
|
cleanerRewardBroadcast
|
|
9810
9810
|
);
|
|
9811
9811
|
});
|
|
9812
|
-
ctx.command("ggcevo/攻击假人 [name]").option("tags", "-t <tags:string> 添加BOSS标签(逗号分隔)").option("passives", "-p <passives:string> 添加被动技能(逗号分隔)").option("hp", "-l <hp:number> 模拟假人血量").option("energy", "-e <energy:number> 模拟假人能量").option("skillStacks", "-s <stacks:number> 技能层数").option("
|
|
9812
|
+
ctx.command("ggcevo/攻击假人 [name]").option("tags", "-t <tags:string> 添加BOSS标签(逗号分隔)").option("passives", "-p <passives:string> 添加被动技能(逗号分隔)").option("hp", "-l <hp:number> 模拟假人血量").option("energy", "-e <energy:number> 模拟假人能量").option("skillStacks", "-s <stacks:number> 技能层数").option("cold", "-c <cold:number> 寒冷层数").option("status", "-a <status:number> 状态层数").option("armor", "-d <armor:number> 护甲").option("burn", "-b <burn:number> 燃烧层数").action(async (argv, name2) => {
|
|
9813
9813
|
const session = argv.session;
|
|
9814
9814
|
const { options } = argv;
|
|
9815
9815
|
if (!name2) {
|
|
@@ -9825,11 +9825,10 @@ ${validTypes.join("、")}`;
|
|
|
9825
9825
|
}
|
|
9826
9826
|
let armor = 0;
|
|
9827
9827
|
if (typeof options.armor === "number") {
|
|
9828
|
-
armor = Math.max(
|
|
9828
|
+
armor = Math.max(-100, Math.min(options.armor, 100));
|
|
9829
9829
|
}
|
|
9830
9830
|
const clampLayer = /* @__PURE__ */ __name((value, max = 100) => typeof value === "number" ? Math.max(0, Math.min(value, max)) : 0, "clampLayer");
|
|
9831
9831
|
const skillStacks = clampLayer(options.skillStacks);
|
|
9832
|
-
const radiationLayers = clampLayer(options.radiation);
|
|
9833
9832
|
const coldLayers = clampLayer(options.cold);
|
|
9834
9833
|
const skillStatus = clampLayer(options.status);
|
|
9835
9834
|
const burnLayers = clampLayer(options.burn);
|
|
@@ -9855,7 +9854,7 @@ ${validTypes.join("、")}`;
|
|
|
9855
9854
|
skills: passives || [],
|
|
9856
9855
|
skillStacks,
|
|
9857
9856
|
skillStatus,
|
|
9858
|
-
radiationLayers,
|
|
9857
|
+
radiationLayers: 0,
|
|
9859
9858
|
coldLayers,
|
|
9860
9859
|
// 添加燃烧层数
|
|
9861
9860
|
burnLayers,
|
|
@@ -9883,7 +9882,6 @@ ${validTypes.join("、")}`;
|
|
|
9883
9882
|
);
|
|
9884
9883
|
const layerInfo = [];
|
|
9885
9884
|
if (skillStacks > 0) layerInfo.push(`技能层数: ${skillStacks}`);
|
|
9886
|
-
if (radiationLayers > 0) layerInfo.push(`辐射层数: ${radiationLayers}`);
|
|
9887
9885
|
if (coldLayers > 0) layerInfo.push(`寒冷层数: ${coldLayers}`);
|
|
9888
9886
|
if (skillStatus > 0) layerInfo.push(`状态层数: ${skillStatus}`);
|
|
9889
9887
|
if (burnLayers > 0) layerInfo.push(`燃烧层数: ${burnLayers}`);
|
|
@@ -9910,7 +9908,7 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
|
|
|
9910
9908
|
] : [],
|
|
9911
9909
|
`📊 理论伤害值:${testResult.initialDamage}${testResult.hasCrit ? "(✨ 暴击)" : ""}`,
|
|
9912
9910
|
"💡 参数添加:可添加标签(-t)、被动(-p)、血量(-l)、能量(-e)、护甲(-d)",
|
|
9913
|
-
"💡 层数选项:技能层数(-s)
|
|
9911
|
+
"💡 层数选项:技能层数(-s)、寒冷层数(-c)、状态层数(-a)、燃烧层数(-b)"
|
|
9914
9912
|
].filter((line) => line).join("\n");
|
|
9915
9913
|
} finally {
|
|
9916
9914
|
Object.keys("测试假人").forEach((key) => delete battleStatsMap[key]);
|
|
@@ -11339,7 +11337,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
11339
11337
|
`📖 描述:${awardedWeapon.description}`
|
|
11340
11338
|
].join("\n");
|
|
11341
11339
|
});
|
|
11342
|
-
ctx.command("
|
|
11340
|
+
ctx.command("ggcevo/技能 [异形名称]").usage('查询异形技能,输入"技能"查看所有异形,输入"技能 异形名称"查询详细技能').action(async ({ session }, unitName) => {
|
|
11343
11341
|
const allUnits = /* @__PURE__ */ new Set();
|
|
11344
11342
|
bossPool.forEach((boss) => {
|
|
11345
11343
|
allUnits.add(boss.main.name);
|