koishi-plugin-ggcevo-game 1.5.9 → 1.5.10
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 +12 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -4970,6 +4970,13 @@ var ggcevoUpdates = [
|
|
|
4970
4970
|
- 赛季奖励中新增辛迪加海盗阵营的排名奖励
|
|
4971
4971
|
- 王权增幅祈愿的伤害加成更改为+5%
|
|
4972
4972
|
`.trim()
|
|
4973
|
+
},
|
|
4974
|
+
{
|
|
4975
|
+
version: "1.5.10",
|
|
4976
|
+
time: "2025-07-02",
|
|
4977
|
+
content: `
|
|
4978
|
+
- 新增攻击假人指令可自定义假人名称
|
|
4979
|
+
`.trim()
|
|
4973
4980
|
}
|
|
4974
4981
|
];
|
|
4975
4982
|
function compareVersions(a, b) {
|
|
@@ -9426,9 +9433,12 @@ ${validTypes.join("、")}`;
|
|
|
9426
9433
|
cleanerRewardBroadcast
|
|
9427
9434
|
);
|
|
9428
9435
|
});
|
|
9429
|
-
ctx.command("ggcevo/攻击假人").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("radiation", "-r <rad:number> 辐射层数").option("cold", "-c <cold:number> 寒冷层数").option("status", "-a <status:number> 状态层数").option("armor", "-d <armor:number> 护甲").option("burn", "-b <burn:number> 燃烧层数").action(async (argv) => {
|
|
9436
|
+
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("radiation", "-r <rad: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) => {
|
|
9430
9437
|
const session = argv.session;
|
|
9431
9438
|
const { options } = argv;
|
|
9439
|
+
if (!name2) {
|
|
9440
|
+
name2 = "测试假人";
|
|
9441
|
+
}
|
|
9432
9442
|
let hp = 1e4;
|
|
9433
9443
|
if (typeof options.hp === "number") {
|
|
9434
9444
|
hp = Math.max(1, Math.min(options.hp, 1e4));
|
|
@@ -9461,7 +9471,7 @@ ${validTypes.join("、")}`;
|
|
|
9461
9471
|
});
|
|
9462
9472
|
if (!equippedWeapon) return '请先输入"装备 武器名称"后再测试。';
|
|
9463
9473
|
const dummyBoss = {
|
|
9464
|
-
name:
|
|
9474
|
+
name: name2,
|
|
9465
9475
|
HP: hp,
|
|
9466
9476
|
type: "主宰",
|
|
9467
9477
|
groupId: 0,
|