koishi-plugin-ggcevo-game 1.4.67 → 1.4.69
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 +23 -10
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -279,7 +279,7 @@ var weaponConfig = {
|
|
|
279
279
|
redCrystalCost: 17,
|
|
280
280
|
isantiair: true,
|
|
281
281
|
tagEffects: {
|
|
282
|
-
"生物": 1.
|
|
282
|
+
"生物": 1.2,
|
|
283
283
|
"护盾": 0.5
|
|
284
284
|
}
|
|
285
285
|
},
|
|
@@ -351,7 +351,7 @@ var weaponConfig = {
|
|
|
351
351
|
damage: 75,
|
|
352
352
|
armorDamageReduction: -1,
|
|
353
353
|
description: "一件传奇武器",
|
|
354
|
-
specialeffect: "暴击率+25
|
|
354
|
+
specialeffect: "暴击率+25%;若连续3次攻击没暴击,则第四次攻击必定暴击",
|
|
355
355
|
price: 6400,
|
|
356
356
|
redCrystalCost: 200,
|
|
357
357
|
isantiair: true,
|
|
@@ -423,15 +423,15 @@ var weaponConfig = {
|
|
|
423
423
|
id: 107,
|
|
424
424
|
type: "能量武器",
|
|
425
425
|
category: "传奇武器",
|
|
426
|
-
damage:
|
|
426
|
+
damage: 70,
|
|
427
427
|
armorDamageReduction: 0,
|
|
428
428
|
description: "一件传奇武器",
|
|
429
|
-
specialeffect: "
|
|
429
|
+
specialeffect: "每连续攻击三次将使用特殊榴弹对目标额外造成50%伤害并降低目标1点护甲",
|
|
430
430
|
price: 6400,
|
|
431
431
|
redCrystalCost: 200,
|
|
432
432
|
isantiair: true,
|
|
433
433
|
tagEffects: {
|
|
434
|
-
"重甲":
|
|
434
|
+
"重甲": 1.5
|
|
435
435
|
}
|
|
436
436
|
},
|
|
437
437
|
"核聚变重炮": {
|
|
@@ -3289,13 +3289,14 @@ var BattleEffectProcessor = {
|
|
|
3289
3289
|
vulnerableType = "实弹武器";
|
|
3290
3290
|
break;
|
|
3291
3291
|
}
|
|
3292
|
-
messages.push(`🛢️
|
|
3292
|
+
messages.push(`🛢️ 本次触发的【酸蚀池】:${acidName}`);
|
|
3293
3293
|
if (enhanced) {
|
|
3294
3294
|
if (weaponType === resistType) {
|
|
3295
3295
|
nerfMultiplier = 1;
|
|
3296
3296
|
messages.push(`💪 【酸蚀池·强化】生效:受到${resistType}伤害-100%`);
|
|
3297
3297
|
} else if (weaponType === vulnerableType) {
|
|
3298
|
-
|
|
3298
|
+
buffMultiplier = 1;
|
|
3299
|
+
messages.push(`💪 【酸蚀池·强化】生效:受到${vulnerableType}伤害+100%`);
|
|
3299
3300
|
}
|
|
3300
3301
|
} else {
|
|
3301
3302
|
if (weaponType === resistType) {
|
|
@@ -3339,7 +3340,7 @@ var BattleEffectProcessor = {
|
|
|
3339
3340
|
}
|
|
3340
3341
|
};
|
|
3341
3342
|
const newAssaultCount = currentAssaultCount + addAssaultCount;
|
|
3342
|
-
messages.push(
|
|
3343
|
+
messages.push(`☠️ 【剧毒突袭】触发:消耗20层「毒性唾液」,强化下${newAssaultCount}次「酸蚀池」`);
|
|
3343
3344
|
return {
|
|
3344
3345
|
messages,
|
|
3345
3346
|
targetUpdates
|
|
@@ -3934,7 +3935,7 @@ var passiveConfig = {
|
|
|
3934
3935
|
},
|
|
3935
3936
|
"剧毒突袭": {
|
|
3936
3937
|
type: "强化效果",
|
|
3937
|
-
description: "「毒性唾液」≥20层时,受击消耗所有层数并强化下5
|
|
3938
|
+
description: "「毒性唾液」≥20层时,受击消耗所有层数并强化下5次触发的「酸蚀池」(武器类型对应的增伤和减伤效果翻倍)"
|
|
3938
3939
|
}
|
|
3939
3940
|
};
|
|
3940
3941
|
|
|
@@ -8105,7 +8106,7 @@ ${validTypes.join("、")}`;
|
|
|
8105
8106
|
cleanerRewardBroadcast
|
|
8106
8107
|
);
|
|
8107
8108
|
});
|
|
8108
|
-
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> 状态层数").action(async (argv) => {
|
|
8109
|
+
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> 护甲").action(async (argv) => {
|
|
8109
8110
|
const session = argv.session;
|
|
8110
8111
|
const { options } = argv;
|
|
8111
8112
|
let hp = 1e4;
|
|
@@ -8116,6 +8117,10 @@ ${validTypes.join("、")}`;
|
|
|
8116
8117
|
if (typeof options.energy === "number") {
|
|
8117
8118
|
energy = Math.max(0, Math.min(options.energy, 1e3));
|
|
8118
8119
|
}
|
|
8120
|
+
let armor = 0;
|
|
8121
|
+
if (typeof options.armor === "number") {
|
|
8122
|
+
armor = Math.max(0, Math.min(options.armor, 100));
|
|
8123
|
+
}
|
|
8119
8124
|
const clampLayer = /* @__PURE__ */ __name((value, max = 100) => typeof value === "number" ? Math.max(0, Math.min(value, max)) : 0, "clampLayer");
|
|
8120
8125
|
const skillStacks = clampLayer(options.skillStacks);
|
|
8121
8126
|
const radiationLayers = clampLayer(options.radiation);
|
|
@@ -8149,6 +8154,7 @@ ${validTypes.join("、")}`;
|
|
|
8149
8154
|
coldLayers,
|
|
8150
8155
|
// 使用自定义寒冷层数
|
|
8151
8156
|
energy,
|
|
8157
|
+
armor,
|
|
8152
8158
|
isActive: true,
|
|
8153
8159
|
lastWeaponName: ""
|
|
8154
8160
|
};
|
|
@@ -8178,6 +8184,7 @@ ${validTypes.join("、")}`;
|
|
|
8178
8184
|
`🎯 使用武器 ${weaponName} 攻击 ${dummyBoss.name}`,
|
|
8179
8185
|
`❤️ 假人血量:${dummyBoss.HP}/10000`,
|
|
8180
8186
|
`🔋 假人能量:${dummyBoss.energy}/1000`,
|
|
8187
|
+
`🛡️ 假人护甲:${dummyBoss.armor}`,
|
|
8181
8188
|
options.tags?.length && `🏷️ 模拟标签:${tags.join(", ")}`,
|
|
8182
8189
|
options.passives?.length && `✨ 模拟被动:${passives.join(", ")}`,
|
|
8183
8190
|
layerDisplay,
|
|
@@ -8268,6 +8275,9 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
|
|
|
8268
8275
|
if (mainBoss.skills.includes("冷适应")) {
|
|
8269
8276
|
result.push(`🛡️ 冷适应:${mainBoss.statusLayers}层`);
|
|
8270
8277
|
}
|
|
8278
|
+
if (mainBoss.skills.includes("剧毒突袭")) {
|
|
8279
|
+
result.push(`☠️ 剧毒突袭:${mainBoss.statusLayers}层`);
|
|
8280
|
+
}
|
|
8271
8281
|
if (mainBoss.skills.includes("酸蚀池")) {
|
|
8272
8282
|
let acidText;
|
|
8273
8283
|
switch (mainBoss.skillStatus) {
|
|
@@ -8323,6 +8333,9 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
|
|
|
8323
8333
|
if (minion.skills.includes("冷适应")) {
|
|
8324
8334
|
minionInfo.push(`🛡️ 冷适应:${minion.statusLayers}层`);
|
|
8325
8335
|
}
|
|
8336
|
+
if (minion.skills.includes("剧毒突袭")) {
|
|
8337
|
+
minionInfo.push(`☠️ 剧毒突袭:${minion.statusLayers}层`);
|
|
8338
|
+
}
|
|
8326
8339
|
if (minion.skills.includes("酸蚀池")) {
|
|
8327
8340
|
let acidText;
|
|
8328
8341
|
switch (minion.skillStatus) {
|