koishi-plugin-ggcevo-game 1.4.93 → 1.4.95
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/boss/passive.d.ts +150 -79
- package/lib/index.js +372 -196
- package/lib/tasks.d.ts +5 -5
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1148,9 +1148,9 @@ var Tasklist = {
|
|
|
1148
1148
|
id: 1,
|
|
1149
1149
|
type: "可重复任务",
|
|
1150
1150
|
target: 1,
|
|
1151
|
-
price:
|
|
1151
|
+
price: 50,
|
|
1152
1152
|
redCrystalCost: 0,
|
|
1153
|
-
condition: "
|
|
1153
|
+
condition: "使用【伽马枪】攻击目标并成功增加其1层[辐射]"
|
|
1154
1154
|
},
|
|
1155
1155
|
"绝对零度": {
|
|
1156
1156
|
id: 2,
|
|
@@ -1158,7 +1158,7 @@ var Tasklist = {
|
|
|
1158
1158
|
target: 1,
|
|
1159
1159
|
price: 50,
|
|
1160
1160
|
redCrystalCost: 0,
|
|
1161
|
-
condition: "
|
|
1161
|
+
condition: "使用【零度之下】攻击目标并成功增加其1层[寒冷]"
|
|
1162
1162
|
},
|
|
1163
1163
|
"胆汁引爆": {
|
|
1164
1164
|
id: 3,
|
|
@@ -1166,7 +1166,7 @@ var Tasklist = {
|
|
|
1166
1166
|
target: 1,
|
|
1167
1167
|
price: 200,
|
|
1168
1168
|
redCrystalCost: 0,
|
|
1169
|
-
condition: "
|
|
1169
|
+
condition: "使用【焚烧枪】引爆具有10层及以上[灼烧粘液]的目标"
|
|
1170
1170
|
},
|
|
1171
1171
|
"脉冲干扰": {
|
|
1172
1172
|
id: 4,
|
|
@@ -1198,7 +1198,7 @@ var Tasklist = {
|
|
|
1198
1198
|
target: 1,
|
|
1199
1199
|
price: 50,
|
|
1200
1200
|
redCrystalCost: 0,
|
|
1201
|
-
condition: "
|
|
1201
|
+
condition: "使用【焚烧枪】或【龙息霰弹枪】攻击目标并成功增加其1层[燃烧]"
|
|
1202
1202
|
}
|
|
1203
1203
|
};
|
|
1204
1204
|
|
|
@@ -1229,7 +1229,7 @@ var bossPool = [
|
|
|
1229
1229
|
shieldArmor: 0,
|
|
1230
1230
|
maxStacks: 0,
|
|
1231
1231
|
tags: ["重甲", "生物", "重型", "异形"],
|
|
1232
|
-
passive: ["
|
|
1232
|
+
passive: ["异形甲壳"]
|
|
1233
1233
|
}
|
|
1234
1234
|
]
|
|
1235
1235
|
},
|
|
@@ -1258,7 +1258,7 @@ var bossPool = [
|
|
|
1258
1258
|
shieldArmor: 0,
|
|
1259
1259
|
maxStacks: 0,
|
|
1260
1260
|
tags: ["生物", "惧热", "异形"],
|
|
1261
|
-
passive: ["
|
|
1261
|
+
passive: ["冰霜回复", "冰霜进化"]
|
|
1262
1262
|
}
|
|
1263
1263
|
]
|
|
1264
1264
|
},
|
|
@@ -1287,7 +1287,7 @@ var bossPool = [
|
|
|
1287
1287
|
shieldArmor: 0,
|
|
1288
1288
|
maxStacks: 0,
|
|
1289
1289
|
tags: ["重甲", "生物", "重型", "极地", "异形"],
|
|
1290
|
-
passive: ["
|
|
1290
|
+
passive: ["应激甲壳I", "求生本能I", "冷适应"]
|
|
1291
1291
|
},
|
|
1292
1292
|
{
|
|
1293
1293
|
name: "剧毒畸变体",
|
|
@@ -1299,7 +1299,7 @@ var bossPool = [
|
|
|
1299
1299
|
shieldArmor: 0,
|
|
1300
1300
|
maxStacks: 0,
|
|
1301
1301
|
tags: ["重甲", "生物", "重型", "极地", "异形"],
|
|
1302
|
-
passive: ["
|
|
1302
|
+
passive: ["应激甲壳I", "求生本能I", "冷适应"]
|
|
1303
1303
|
}
|
|
1304
1304
|
]
|
|
1305
1305
|
},
|
|
@@ -1328,7 +1328,7 @@ var bossPool = [
|
|
|
1328
1328
|
shieldArmor: 0,
|
|
1329
1329
|
maxStacks: 0,
|
|
1330
1330
|
tags: ["重甲", "生物", "机械", "异形"],
|
|
1331
|
-
passive: ["
|
|
1331
|
+
passive: ["病毒云", "霉菌滋生"]
|
|
1332
1332
|
},
|
|
1333
1333
|
{
|
|
1334
1334
|
name: "空间站哨枪塔",
|
|
@@ -1369,7 +1369,7 @@ var bossPool = [
|
|
|
1369
1369
|
shieldArmor: 0,
|
|
1370
1370
|
maxStacks: 20,
|
|
1371
1371
|
tags: ["生物", "异形"],
|
|
1372
|
-
passive: ["
|
|
1372
|
+
passive: ["吸血唾液", "进食", "吐血"]
|
|
1373
1373
|
}
|
|
1374
1374
|
]
|
|
1375
1375
|
},
|
|
@@ -1398,7 +1398,7 @@ var bossPool = [
|
|
|
1398
1398
|
shieldArmor: 4,
|
|
1399
1399
|
maxStacks: 0,
|
|
1400
1400
|
tags: ["重甲", "灵能", "异形"],
|
|
1401
|
-
passive: ["
|
|
1401
|
+
passive: ["超导体", "能量虹吸", "能量黑洞"]
|
|
1402
1402
|
}
|
|
1403
1403
|
]
|
|
1404
1404
|
},
|
|
@@ -1427,7 +1427,7 @@ var bossPool = [
|
|
|
1427
1427
|
shieldArmor: 15,
|
|
1428
1428
|
maxStacks: 20,
|
|
1429
1429
|
tags: ["重甲", "生物", "惧寒", "异形"],
|
|
1430
|
-
passive: ["
|
|
1430
|
+
passive: ["火焰异形", "灼烧粘液", "腐蚀胆汁", "燃烧潜地"]
|
|
1431
1431
|
}
|
|
1432
1432
|
]
|
|
1433
1433
|
},
|
|
@@ -1456,7 +1456,7 @@ var bossPool = [
|
|
|
1456
1456
|
shieldArmor: 0,
|
|
1457
1457
|
maxStacks: 0,
|
|
1458
1458
|
tags: ["生物", "异形"],
|
|
1459
|
-
passive: ["
|
|
1459
|
+
passive: ["猎手异形", "狂暴", "伪装"]
|
|
1460
1460
|
},
|
|
1461
1461
|
{
|
|
1462
1462
|
name: "狂猎猛禽2",
|
|
@@ -1468,7 +1468,7 @@ var bossPool = [
|
|
|
1468
1468
|
shieldArmor: 0,
|
|
1469
1469
|
maxStacks: 0,
|
|
1470
1470
|
tags: ["生物", "异形"],
|
|
1471
|
-
passive: ["
|
|
1471
|
+
passive: ["猎手异形", "狂暴", "伪装"]
|
|
1472
1472
|
}
|
|
1473
1473
|
]
|
|
1474
1474
|
},
|
|
@@ -1497,7 +1497,7 @@ var bossPool = [
|
|
|
1497
1497
|
shieldArmor: 0,
|
|
1498
1498
|
maxStacks: 0,
|
|
1499
1499
|
tags: ["重甲", "生物", "灵能", "异形"],
|
|
1500
|
-
passive: ["
|
|
1500
|
+
passive: ["心灵狂热", "星界之风"]
|
|
1501
1501
|
}
|
|
1502
1502
|
]
|
|
1503
1503
|
},
|
|
@@ -1526,7 +1526,7 @@ var bossPool = [
|
|
|
1526
1526
|
shieldArmor: 0,
|
|
1527
1527
|
maxStacks: 20,
|
|
1528
1528
|
tags: ["轻甲", "生物", "异形"],
|
|
1529
|
-
passive: ["
|
|
1529
|
+
passive: ["毒性唾液", "毒气波", "淬毒撕咬", "酸蚀池"]
|
|
1530
1530
|
}
|
|
1531
1531
|
]
|
|
1532
1532
|
},
|
|
@@ -1602,7 +1602,7 @@ var bossPool = [
|
|
|
1602
1602
|
type: "主宰",
|
|
1603
1603
|
maxHP: 2e4,
|
|
1604
1604
|
maxShield: 0,
|
|
1605
|
-
maxEnergy:
|
|
1605
|
+
maxEnergy: 1e3,
|
|
1606
1606
|
armor: 3,
|
|
1607
1607
|
shieldArmor: 0,
|
|
1608
1608
|
maxStacks: 20,
|
|
@@ -3123,9 +3123,7 @@ var BattleEffectProcessor = {
|
|
|
3123
3123
|
}
|
|
3124
3124
|
let targetUpdates = null;
|
|
3125
3125
|
if (weaponName === "伽马枪" && !targetBoss.tags.includes("机械") && targetBoss.tags.includes("生物")) {
|
|
3126
|
-
const hasRadiationCore = equippedWeapon
|
|
3127
|
-
(mod) => mod.name === "辐射充能核心"
|
|
3128
|
-
);
|
|
3126
|
+
const hasRadiationCore = equippedWeapon.installedMods?.includes("辐射充能核心");
|
|
3129
3127
|
const layerIncrement = hasRadiationCore ? 2 : 1;
|
|
3130
3128
|
targetUpdates = {
|
|
3131
3129
|
name: targetBoss.name,
|
|
@@ -4153,309 +4151,392 @@ __name(applyPassiveEffects, "applyPassiveEffects");
|
|
|
4153
4151
|
|
|
4154
4152
|
// src/boss/passive.ts
|
|
4155
4153
|
var passiveConfig = {
|
|
4156
|
-
"弱化形态": {
|
|
4157
|
-
type: "伤害易伤",
|
|
4158
|
-
description: "子代防御脆弱,受到的伤害提高10%"
|
|
4159
|
-
},
|
|
4160
4154
|
"异形甲壳": {
|
|
4161
|
-
|
|
4162
|
-
|
|
4155
|
+
description: "拥有厚重的甲壳,受到的伤害降低20%",
|
|
4156
|
+
belong: ["异齿猛兽首领", "异齿猛兽"],
|
|
4157
|
+
derivedSkills: []
|
|
4163
4158
|
},
|
|
4164
4159
|
"冰霜回复": {
|
|
4165
|
-
|
|
4166
|
-
|
|
4160
|
+
description: "生命值≤30%时,立即回复自身40%最大生命值,并为所有其他存活异形回复10%最大生命值(生效后移除)",
|
|
4161
|
+
belong: ["冰蛇"],
|
|
4162
|
+
derivedSkills: []
|
|
4167
4163
|
},
|
|
4168
4164
|
"冰霜进化": {
|
|
4169
|
-
|
|
4170
|
-
|
|
4165
|
+
description: "免疫寒冷伤害,受到寒冷攻击时回复等量生命值",
|
|
4166
|
+
belong: ["寒冰王蛇", "冰蛇"],
|
|
4167
|
+
derivedSkills: []
|
|
4171
4168
|
},
|
|
4172
4169
|
"冰霜环绕": {
|
|
4173
|
-
|
|
4174
|
-
|
|
4170
|
+
description: "生命值≤30%时,立即回复自身45%最大生命值,并使所有存活异形获得「寒霜地狱」技能(生效后移除)",
|
|
4171
|
+
belong: ["寒冰王蛇"],
|
|
4172
|
+
derivedSkills: ["寒霜地狱"]
|
|
4175
4173
|
},
|
|
4176
4174
|
"寒霜地狱": {
|
|
4177
|
-
|
|
4178
|
-
|
|
4175
|
+
description: "受到的伤害降低30%",
|
|
4176
|
+
belong: [],
|
|
4177
|
+
derivedSkills: []
|
|
4179
4178
|
},
|
|
4180
4179
|
"应激甲壳I": {
|
|
4181
|
-
|
|
4182
|
-
|
|
4180
|
+
description: "受到的伤害降低20%",
|
|
4181
|
+
belong: ["狂暴畸变体", "剧毒畸变体"],
|
|
4182
|
+
derivedSkills: []
|
|
4183
4183
|
},
|
|
4184
4184
|
"应激甲壳II": {
|
|
4185
|
-
|
|
4186
|
-
|
|
4185
|
+
description: "受到的伤害降低25%",
|
|
4186
|
+
belong: ["莽兽"],
|
|
4187
|
+
derivedSkills: []
|
|
4187
4188
|
},
|
|
4188
4189
|
"求生本能I": {
|
|
4189
|
-
|
|
4190
|
-
|
|
4190
|
+
description: "濒死时立即回复自身30%最大生命值(生效后移除)",
|
|
4191
|
+
belong: ["狂暴畸变体", "剧毒畸变体"],
|
|
4192
|
+
derivedSkills: []
|
|
4191
4193
|
},
|
|
4192
4194
|
"求生本能II": {
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
+
description: "濒死时立即回复自身50%最大生命值(生效后移除)",
|
|
4196
|
+
belong: ["莽兽"],
|
|
4197
|
+
derivedSkills: []
|
|
4195
4198
|
},
|
|
4196
4199
|
"冷适应": {
|
|
4197
|
-
|
|
4198
|
-
|
|
4200
|
+
description: "累计承受10次寒冷伤害后,获得「惧热」标签并永久免疫寒冷伤害",
|
|
4201
|
+
belong: ["莽兽", "狂暴畸变体", "剧毒畸变体"],
|
|
4202
|
+
derivedSkills: []
|
|
4199
4203
|
},
|
|
4200
4204
|
"感染空间站": {
|
|
4201
|
-
|
|
4202
|
-
|
|
4205
|
+
description: "当空间站哨枪塔存活时,自身受到的伤害降低50%",
|
|
4206
|
+
belong: ["空间站感染虫"],
|
|
4207
|
+
derivedSkills: []
|
|
4203
4208
|
},
|
|
4204
4209
|
"病毒云": {
|
|
4205
|
-
|
|
4206
|
-
|
|
4210
|
+
description: "受到的伤害降低10%",
|
|
4211
|
+
belong: ["空间站感染虫", "机械感染虫"],
|
|
4212
|
+
derivedSkills: []
|
|
4207
4213
|
},
|
|
4208
4214
|
"霉菌滋生": {
|
|
4209
|
-
|
|
4210
|
-
|
|
4215
|
+
description: "受击后,若空间站哨枪塔存活,为其回复1%最大生命值",
|
|
4216
|
+
belong: ["空间站感染虫", "机械感染虫"],
|
|
4217
|
+
derivedSkills: []
|
|
4211
4218
|
},
|
|
4212
4219
|
"岗哨机枪": {
|
|
4213
|
-
|
|
4214
|
-
|
|
4220
|
+
description: "每累计承受10次攻击,为所有其他存活异形回复10%最大生命值",
|
|
4221
|
+
belong: ["空间站哨枪塔"],
|
|
4222
|
+
derivedSkills: []
|
|
4215
4223
|
},
|
|
4216
4224
|
"结构装甲": {
|
|
4217
|
-
|
|
4218
|
-
|
|
4225
|
+
description: "受实弹/能量武器伤害降低20%,受热能武器伤害降低40%",
|
|
4226
|
+
belong: ["空间站哨枪塔"],
|
|
4227
|
+
derivedSkills: []
|
|
4219
4228
|
},
|
|
4220
4229
|
"吸血唾液": {
|
|
4221
|
-
|
|
4222
|
-
|
|
4230
|
+
description: "受击获得1层「吸血唾液」(上限20层),每层使受到的伤害降低5%",
|
|
4231
|
+
belong: ["吸血蝙蝠首领", "吸血蝙蝠"],
|
|
4232
|
+
derivedSkills: []
|
|
4223
4233
|
},
|
|
4224
4234
|
"进食": {
|
|
4225
|
-
|
|
4226
|
-
|
|
4235
|
+
description: "「吸血唾液」≥20层时,下次受击消耗所有层数并回复自身20%最大生命值",
|
|
4236
|
+
belong: ["吸血蝙蝠首领", "吸血蝙蝠"],
|
|
4237
|
+
derivedSkills: []
|
|
4227
4238
|
},
|
|
4228
4239
|
"嗜血狂暴": {
|
|
4229
|
-
|
|
4230
|
-
|
|
4240
|
+
description: "生命值≤50%时,受击额外获得1层「吸血唾液」且受到的伤害降低20%",
|
|
4241
|
+
belong: ["吸血蝙蝠首领"],
|
|
4242
|
+
derivedSkills: []
|
|
4231
4243
|
},
|
|
4232
4244
|
"吐血": {
|
|
4233
|
-
|
|
4234
|
-
|
|
4245
|
+
description: "无「吸血唾液」层数时,受到的伤害提高20%",
|
|
4246
|
+
belong: ["吸血蝙蝠首领", "吸血蝙蝠"],
|
|
4247
|
+
derivedSkills: []
|
|
4235
4248
|
},
|
|
4236
4249
|
"超导体": {
|
|
4237
|
-
|
|
4238
|
-
|
|
4250
|
+
description: "生命值≤10%时,护盾标签永久转换为重甲标签",
|
|
4251
|
+
belong: ["亚电主宰者", "亚电能者"],
|
|
4252
|
+
derivedSkills: []
|
|
4239
4253
|
},
|
|
4240
4254
|
"能量虹吸": {
|
|
4241
|
-
|
|
4242
|
-
|
|
4255
|
+
description: "生命值≥70%时伤害降低40%,30%-70%时伤害降低20%",
|
|
4256
|
+
belong: ["亚电能者"],
|
|
4257
|
+
derivedSkills: []
|
|
4243
4258
|
},
|
|
4244
4259
|
"能源虹吸": {
|
|
4245
|
-
|
|
4246
|
-
|
|
4260
|
+
description: "能量值≥80%时伤害降低50%,50%-80%时伤害降低30%",
|
|
4261
|
+
belong: ["亚电主宰者"],
|
|
4262
|
+
derivedSkills: []
|
|
4247
4263
|
},
|
|
4248
4264
|
"电能立场": {
|
|
4249
|
-
|
|
4250
|
-
|
|
4265
|
+
description: "能量值≥30%时,55%概率免疫非热能伤害(每层寒冷降低5%触发概率)",
|
|
4266
|
+
belong: ["亚电主宰者"],
|
|
4267
|
+
derivedSkills: []
|
|
4251
4268
|
},
|
|
4252
4269
|
"电能冲击波": {
|
|
4253
|
-
|
|
4254
|
-
|
|
4270
|
+
description: "受击后回复100点能量",
|
|
4271
|
+
belong: ["亚电主宰者"],
|
|
4272
|
+
derivedSkills: []
|
|
4255
4273
|
},
|
|
4256
4274
|
"脉冲": {
|
|
4257
|
-
|
|
4258
|
-
|
|
4275
|
+
description: "能量值≥30%时,60%概率为所有存活异形回复100点生命(每层寒冷降低5%触发概率)",
|
|
4276
|
+
belong: ["亚电主宰者"],
|
|
4277
|
+
derivedSkills: []
|
|
4259
4278
|
},
|
|
4260
4279
|
"能量黑洞": {
|
|
4261
|
-
|
|
4262
|
-
|
|
4280
|
+
description: "存在能量黑洞时,受到的伤害降低20%",
|
|
4281
|
+
belong: ["亚电主宰者", "亚电能者"],
|
|
4282
|
+
derivedSkills: []
|
|
4263
4283
|
},
|
|
4264
4284
|
"火焰异形": {
|
|
4265
|
-
|
|
4266
|
-
|
|
4285
|
+
description: "免疫火焰伤害,受到火焰攻击时回复等量生命值",
|
|
4286
|
+
belong: ["烈焰庞兽", "火焰甲虫"],
|
|
4287
|
+
derivedSkills: []
|
|
4267
4288
|
},
|
|
4268
4289
|
"庞兽狂暴": {
|
|
4269
|
-
|
|
4270
|
-
|
|
4290
|
+
description: "生命值≤50%时,受到的伤害降低50%",
|
|
4291
|
+
belong: ["烈焰庞兽"],
|
|
4292
|
+
derivedSkills: []
|
|
4271
4293
|
},
|
|
4272
4294
|
"灼烧粘液": {
|
|
4273
|
-
|
|
4274
|
-
|
|
4295
|
+
description: "受击获得1层「灼烧粘液」(上限20层);受火焰攻击时消耗所有层数并回复(层数×10)点生命",
|
|
4296
|
+
belong: ["烈焰庞兽", "火焰甲虫"],
|
|
4297
|
+
derivedSkills: []
|
|
4275
4298
|
},
|
|
4276
4299
|
"腐蚀胆汁": {
|
|
4277
|
-
|
|
4278
|
-
|
|
4300
|
+
description: "「灼烧粘液」≥10层时,下次受击消耗所有层数并为所有存活异形回复1000点生命",
|
|
4301
|
+
belong: ["火焰甲虫"],
|
|
4302
|
+
derivedSkills: []
|
|
4279
4303
|
},
|
|
4280
4304
|
"火焰吐息": {
|
|
4281
|
-
|
|
4282
|
-
|
|
4305
|
+
description: "「灼烧粘液」≥20层时,下次攻击消耗所有层数并为所有存活异形回复20%最大生命值",
|
|
4306
|
+
belong: ["烈焰庞兽"],
|
|
4307
|
+
derivedSkills: []
|
|
4283
4308
|
},
|
|
4284
4309
|
"太阳耀斑": {
|
|
4285
|
-
|
|
4286
|
-
|
|
4310
|
+
description: "所有子代阵亡后,移除惧寒标签和孤立无援状态,并永久免疫寒冷伤害",
|
|
4311
|
+
belong: ["烈焰庞兽"],
|
|
4312
|
+
derivedSkills: []
|
|
4287
4313
|
},
|
|
4288
4314
|
"燃烧潜地": {
|
|
4289
|
-
|
|
4290
|
-
|
|
4315
|
+
description: "生命值≤10%时立即回复50%最大生命值(生效后移除)",
|
|
4316
|
+
belong: ["火焰甲虫"],
|
|
4317
|
+
derivedSkills: []
|
|
4291
4318
|
},
|
|
4292
4319
|
"炼狱爆弹": {
|
|
4293
|
-
|
|
4294
|
-
|
|
4320
|
+
description: "每层「灼烧粘液」使受到的伤害降低5%,存活子代存在时每层额外降低5%",
|
|
4321
|
+
belong: ["烈焰庞兽"],
|
|
4322
|
+
derivedSkills: []
|
|
4295
4323
|
},
|
|
4296
4324
|
"猎手异形": {
|
|
4297
|
-
|
|
4298
|
-
|
|
4325
|
+
description: "存在其他存活异形时伤害降低20%,无其他存活异形时伤害提高20%;免疫火焰及寒冷伤害",
|
|
4326
|
+
belong: ["狂猎猛禽首领", "狂猎猛禽1", "狂猎猛禽2"],
|
|
4327
|
+
derivedSkills: []
|
|
4299
4328
|
},
|
|
4300
4329
|
"狂暴": {
|
|
4301
|
-
|
|
4302
|
-
|
|
4330
|
+
description: "生命值≤50%时,受到的伤害降低50%",
|
|
4331
|
+
belong: ["狂猎猛禽1", "狂猎猛禽2"],
|
|
4332
|
+
derivedSkills: []
|
|
4303
4333
|
},
|
|
4304
4334
|
"伪装": {
|
|
4305
|
-
|
|
4306
|
-
|
|
4335
|
+
description: "受击记录伤害来源武器名称,下次被同名武器攻击时伤害降低80%",
|
|
4336
|
+
belong: ["狂猎猛禽首领", "狂猎猛禽1", "狂猎猛禽2"],
|
|
4337
|
+
derivedSkills: []
|
|
4307
4338
|
},
|
|
4308
4339
|
"致命一击": {
|
|
4309
|
-
|
|
4310
|
-
|
|
4340
|
+
description: "受击时5%概率免疫该次伤害",
|
|
4341
|
+
belong: ["狂猎猛禽首领"],
|
|
4342
|
+
derivedSkills: []
|
|
4311
4343
|
},
|
|
4312
4344
|
"星界之风": {
|
|
4313
|
-
|
|
4314
|
-
|
|
4345
|
+
description: "受击时5%概率为所有存活异形回复200点生命",
|
|
4346
|
+
belong: ["宇宙界主", "宇宙战将"],
|
|
4347
|
+
derivedSkills: []
|
|
4315
4348
|
},
|
|
4316
4349
|
"心灵狂热": {
|
|
4317
|
-
|
|
4318
|
-
|
|
4350
|
+
description: "生命值<50%时伤害降低20%且「星界之风」触发概率翻倍",
|
|
4351
|
+
belong: ["宇宙战将"],
|
|
4352
|
+
derivedSkills: []
|
|
4319
4353
|
},
|
|
4320
4354
|
"宇宙能量": {
|
|
4321
|
-
|
|
4322
|
-
|
|
4355
|
+
description: "受击回复等量能量值,能量溢出时转换为生命回复",
|
|
4356
|
+
belong: ["宇宙界主"],
|
|
4357
|
+
derivedSkills: []
|
|
4323
4358
|
},
|
|
4324
4359
|
"复苏": {
|
|
4325
|
-
|
|
4326
|
-
|
|
4360
|
+
description: "免疫致命伤害,回复60%最大生命与100%能量值,并获得「灵能构造炉」技能(生效后移除)",
|
|
4361
|
+
belong: ["宇宙界主"],
|
|
4362
|
+
derivedSkills: ["灵能构造炉"]
|
|
4327
4363
|
},
|
|
4328
4364
|
"光影之刃": {
|
|
4329
|
-
|
|
4330
|
-
|
|
4365
|
+
description: "受击获得1层「光影之刃」(上限50层)",
|
|
4366
|
+
belong: ["宇宙界主"],
|
|
4367
|
+
derivedSkills: []
|
|
4331
4368
|
},
|
|
4332
4369
|
"远古预兆": {
|
|
4333
|
-
|
|
4334
|
-
|
|
4370
|
+
description: "受击时1%概率免疫非热能伤害并回复100点能量,每层「光影之刃」使触发概率提升0.5%",
|
|
4371
|
+
belong: ["宇宙界主"],
|
|
4372
|
+
derivedSkills: []
|
|
4335
4373
|
},
|
|
4336
4374
|
"超视距穿梭": {
|
|
4337
|
-
|
|
4338
|
-
|
|
4375
|
+
description: "能量≥60%时每层「光影之刃」使伤害降低10%,30%-60%时每层降低5%,能量≤10%时每层提高5%",
|
|
4376
|
+
belong: ["宇宙界主"],
|
|
4377
|
+
derivedSkills: []
|
|
4339
4378
|
},
|
|
4340
4379
|
"灵能构造炉": {
|
|
4341
|
-
|
|
4342
|
-
|
|
4380
|
+
description: "受击时5%概率随机获得以下技能之一:天启超载护盾/塌缩脉冲/地毯式轰炸/轰炸引导",
|
|
4381
|
+
belong: [],
|
|
4382
|
+
derivedSkills: ["天启超载护盾", "塌缩脉冲", "地毯式轰炸", "轰炸引导"]
|
|
4343
4383
|
},
|
|
4344
4384
|
"天启超载护盾": {
|
|
4345
|
-
|
|
4346
|
-
|
|
4385
|
+
description: "受击时10%概率触发,消耗当前「光影之刃」层数的一半(向下取整),并为所有存活异形回复(消耗层数×10)点生命",
|
|
4386
|
+
belong: [],
|
|
4387
|
+
derivedSkills: []
|
|
4347
4388
|
},
|
|
4348
4389
|
"塌缩脉冲": {
|
|
4349
|
-
|
|
4350
|
-
|
|
4390
|
+
description: "受击后额外获得1层「光影之刃」",
|
|
4391
|
+
belong: [],
|
|
4392
|
+
derivedSkills: []
|
|
4351
4393
|
},
|
|
4352
4394
|
"地毯式轰炸": {
|
|
4353
|
-
|
|
4354
|
-
|
|
4395
|
+
description: "移除孤立无援状态,受到的伤害降低80%",
|
|
4396
|
+
belong: [],
|
|
4397
|
+
derivedSkills: []
|
|
4355
4398
|
},
|
|
4356
4399
|
"轰炸引导": {
|
|
4357
|
-
|
|
4358
|
-
|
|
4400
|
+
description: "受击时10%概率触发,消耗当前「光影之刃」层数的一半(向下取整),并回复(消耗层数×10)点能量",
|
|
4401
|
+
belong: [],
|
|
4402
|
+
derivedSkills: []
|
|
4359
4403
|
},
|
|
4360
4404
|
"毒性唾液": {
|
|
4361
|
-
|
|
4362
|
-
|
|
4405
|
+
description: "受击获得1层「毒性唾液」(上限20层),每层使受到的伤害降低5%",
|
|
4406
|
+
belong: ["猛毒异兽", "剧毒蝙蝠"],
|
|
4407
|
+
derivedSkills: []
|
|
4363
4408
|
},
|
|
4364
4409
|
"剧毒狂暴": {
|
|
4365
|
-
|
|
4366
|
-
|
|
4410
|
+
description: "生命值≤50%时,受击额外获得1层「毒性唾液」且受到的伤害降低20%",
|
|
4411
|
+
belong: ["猛毒异兽"],
|
|
4412
|
+
derivedSkills: []
|
|
4367
4413
|
},
|
|
4368
4414
|
"毒气波": {
|
|
4369
|
-
|
|
4370
|
-
|
|
4415
|
+
description: "受击时,有20%概率获得5层「毒性唾液」",
|
|
4416
|
+
belong: ["猛毒异兽", "剧毒蝙蝠"],
|
|
4417
|
+
derivedSkills: []
|
|
4371
4418
|
},
|
|
4372
4419
|
"淬毒撕咬": {
|
|
4373
|
-
|
|
4374
|
-
|
|
4420
|
+
description: "「毒性唾液」≥5层时,受击会回复50点生命值;「毒性唾液」≥10层时,受击会回复100点生命值;「毒性唾液」≥15层时,受击会回复150点生命值",
|
|
4421
|
+
belong: ["猛毒异兽", "剧毒蝙蝠"],
|
|
4422
|
+
derivedSkills: []
|
|
4375
4423
|
},
|
|
4376
4424
|
"酸蚀池": {
|
|
4377
|
-
|
|
4378
|
-
|
|
4425
|
+
description: "每次受击将会从3种酸液中顺序选择一种释放(脓蚀酸池:受到实弹武器伤害降低50%,受到能量武器伤害提高50%;蚀骨酸池:受到能量武器伤害降低50%,受到热能武器伤害提高50%;焦熔酸池:受到热能武器的伤害降低50%,受到实弹武器伤害提高50%)",
|
|
4426
|
+
belong: ["猛毒异兽", "剧毒蝙蝠"],
|
|
4427
|
+
derivedSkills: []
|
|
4379
4428
|
},
|
|
4380
4429
|
"剧毒突袭": {
|
|
4381
|
-
|
|
4382
|
-
|
|
4430
|
+
description: "「毒性唾液」≥20层时,受击消耗所有层数并强化下5次触发的「酸蚀池」(武器类型对应的增伤和减伤效果翻倍)",
|
|
4431
|
+
belong: ["猛毒异兽"],
|
|
4432
|
+
derivedSkills: []
|
|
4383
4433
|
},
|
|
4384
4434
|
"虫巢思维": {
|
|
4385
|
-
|
|
4386
|
-
|
|
4435
|
+
description: "每有一只巢穴子代,则受到的伤害降低20%;巢穴子代受到的伤害提高20%",
|
|
4436
|
+
belong: ["虫群女王"],
|
|
4437
|
+
derivedSkills: []
|
|
4387
4438
|
},
|
|
4388
4439
|
"爆虫伏击": {
|
|
4389
|
-
|
|
4390
|
-
|
|
4440
|
+
description: "血量低于50%时,立即孵化巢穴子代直至上限(生效后移除)",
|
|
4441
|
+
belong: ["虫群女王"],
|
|
4442
|
+
derivedSkills: []
|
|
4391
4443
|
},
|
|
4392
4444
|
"虚弱喷吐": {
|
|
4393
|
-
|
|
4394
|
-
|
|
4445
|
+
description: "当孵化场存活时,受到的伤害降低80%",
|
|
4446
|
+
belong: ["虫群女王"],
|
|
4447
|
+
derivedSkills: []
|
|
4395
4448
|
},
|
|
4396
4449
|
"治愈虫群": {
|
|
4397
|
-
|
|
4398
|
-
|
|
4450
|
+
description: "血量低于30%时,立即回复自身40%点生命值,同时回复所有其他存活异形10%点生命值(生效后移除)",
|
|
4451
|
+
belong: ["虫群女王"],
|
|
4452
|
+
derivedSkills: []
|
|
4399
4453
|
},
|
|
4400
4454
|
"释放信息素": {
|
|
4401
|
-
|
|
4402
|
-
|
|
4455
|
+
description: "所有存活的异形受到的伤害降低20%",
|
|
4456
|
+
belong: ["虫群女王"],
|
|
4457
|
+
derivedSkills: []
|
|
4403
4458
|
},
|
|
4404
4459
|
"恐吓尖啸": {
|
|
4405
|
-
|
|
4406
|
-
|
|
4460
|
+
description: "每受到10次攻击,如果没有存活的巢穴子代,则随机孵化1只巢穴子代(巢穴雷兽,巢穴战士,巢穴甲虫)",
|
|
4461
|
+
belong: ["虫群女王"],
|
|
4462
|
+
derivedSkills: []
|
|
4407
4463
|
},
|
|
4408
4464
|
"孵化": {
|
|
4409
|
-
|
|
4410
|
-
|
|
4465
|
+
description: "每受到10次攻击,如果没有存活的巢穴子代,则随机孵化1只巢穴子代(巢穴雷兽,巢穴战士,巢穴甲虫)",
|
|
4466
|
+
belong: ["孵化场"],
|
|
4467
|
+
derivedSkills: []
|
|
4411
4468
|
},
|
|
4412
4469
|
"基因变异": {
|
|
4413
|
-
|
|
4414
|
-
|
|
4470
|
+
description: "移除孤立无援状态;每次受击叠加1层「基因变异」;每受击3次随机获得1个基因技能,累计获得4个基因后再次触发则移除全部基因技能",
|
|
4471
|
+
belong: ["坏兄弟"],
|
|
4472
|
+
derivedSkills: [
|
|
4473
|
+
"优化冗余片段",
|
|
4474
|
+
"开天眼",
|
|
4475
|
+
"环境适应",
|
|
4476
|
+
"加快分化",
|
|
4477
|
+
"耐力强化",
|
|
4478
|
+
"稳定DNA",
|
|
4479
|
+
"增厚甲壳",
|
|
4480
|
+
"质粒增殖",
|
|
4481
|
+
"加速代谢",
|
|
4482
|
+
"组织增生",
|
|
4483
|
+
"模仿生物签名"
|
|
4484
|
+
]
|
|
4415
4485
|
},
|
|
4416
4486
|
"优化冗余片段": {
|
|
4417
|
-
|
|
4418
|
-
|
|
4487
|
+
description: "免疫辐射伤害;清空自身的辐射层数",
|
|
4488
|
+
belong: [],
|
|
4489
|
+
derivedSkills: []
|
|
4419
4490
|
},
|
|
4420
4491
|
"开天眼": {
|
|
4421
|
-
|
|
4422
|
-
|
|
4492
|
+
description: "免疫闪光弹",
|
|
4493
|
+
belong: [],
|
|
4494
|
+
derivedSkills: []
|
|
4423
4495
|
},
|
|
4424
4496
|
"环境适应": {
|
|
4425
|
-
|
|
4426
|
-
|
|
4497
|
+
description: "免疫火焰伤害和寒冷伤害;清空自身的寒冷层数和燃烧层数",
|
|
4498
|
+
belong: [],
|
|
4499
|
+
derivedSkills: []
|
|
4427
4500
|
},
|
|
4428
4501
|
"加快分化": {
|
|
4429
|
-
|
|
4430
|
-
|
|
4502
|
+
description: "每次受击回复X点血量(X为「基因变异」层数 x 10)",
|
|
4503
|
+
belong: [],
|
|
4504
|
+
derivedSkills: []
|
|
4431
4505
|
},
|
|
4432
4506
|
"耐力强化": {
|
|
4433
|
-
|
|
4434
|
-
|
|
4507
|
+
description: "当能量≥80%时,受到的伤害降低80%;当能量≥50%时,受到的伤害降低50%;当能量≥30%时,受到的伤害降低30%",
|
|
4508
|
+
belong: [],
|
|
4509
|
+
derivedSkills: []
|
|
4435
4510
|
},
|
|
4436
4511
|
"稳定DNA": {
|
|
4437
|
-
|
|
4438
|
-
|
|
4512
|
+
description: "伤害来源的武器不受标签影响",
|
|
4513
|
+
belong: [],
|
|
4514
|
+
derivedSkills: []
|
|
4439
4515
|
},
|
|
4440
4516
|
"增厚甲壳": {
|
|
4441
|
-
|
|
4442
|
-
|
|
4517
|
+
description: "每层「基因变异」使受到的伤害降低5%",
|
|
4518
|
+
belong: [],
|
|
4519
|
+
derivedSkills: []
|
|
4443
4520
|
},
|
|
4444
4521
|
"质粒增殖": {
|
|
4445
|
-
|
|
4446
|
-
|
|
4522
|
+
description: "每次受击回复100点能量;免疫脉冲手雷",
|
|
4523
|
+
belong: [],
|
|
4524
|
+
derivedSkills: []
|
|
4447
4525
|
},
|
|
4448
4526
|
"加速代谢": {
|
|
4449
|
-
|
|
4450
|
-
|
|
4527
|
+
description: "每次受击叠加X层「基因变异」(X为当前拥有的技能数量)",
|
|
4528
|
+
belong: [],
|
|
4529
|
+
derivedSkills: []
|
|
4451
4530
|
},
|
|
4452
4531
|
"组织增生": {
|
|
4453
|
-
|
|
4454
|
-
|
|
4532
|
+
description: "每层「基因变异」使护甲值提高1点",
|
|
4533
|
+
belong: [],
|
|
4534
|
+
derivedSkills: []
|
|
4455
4535
|
},
|
|
4456
4536
|
"模仿生物签名": {
|
|
4457
|
-
|
|
4458
|
-
|
|
4537
|
+
description: "受击时5%概率免疫该次伤害,每层「基因变异」提高1%的概率",
|
|
4538
|
+
belong: [],
|
|
4539
|
+
derivedSkills: []
|
|
4459
4540
|
}
|
|
4460
4541
|
};
|
|
4461
4542
|
|
|
@@ -5675,7 +5756,9 @@ async function handleScatterAttack(ctx, session, handle, config, equippedWeapon,
|
|
|
5675
5756
|
damage: actualDamage
|
|
5676
5757
|
});
|
|
5677
5758
|
if (EffectProcessor.radiationLayerAdded) {
|
|
5678
|
-
|
|
5759
|
+
const hasRadiationCore = equippedWeapon.installedMods?.includes("辐射充能核心");
|
|
5760
|
+
const count = hasRadiationCore ? 2 : 1;
|
|
5761
|
+
taskUpdates.push({ taskId: 1, count });
|
|
5679
5762
|
}
|
|
5680
5763
|
if (EffectProcessor.coldLayerAdded) {
|
|
5681
5764
|
taskUpdates.push({ taskId: 2, count: 1 });
|
|
@@ -5819,7 +5902,7 @@ function buildResultMessage(session, weaponName, targetBoss, primaryResult, scat
|
|
|
5819
5902
|
${primaryResult.effectMessage.map((m) => `▸ ${m}`).join("\n")}`
|
|
5820
5903
|
] : [],
|
|
5821
5904
|
...primaryResult.ignoreMessage.length > 0 ? [
|
|
5822
|
-
`🗡️
|
|
5905
|
+
`🗡️ 无视伤害减免:
|
|
5823
5906
|
${primaryResult.ignoreMessage.map((m) => `▸ ${m}`).join("\n")}`
|
|
5824
5907
|
] : [],
|
|
5825
5908
|
...primaryResult.passiveMessages.length > 0 ? [
|
|
@@ -5978,13 +6061,13 @@ async function handleIgnoreReductionEffects(ctx, handle, weaponName, targetBoss)
|
|
|
5978
6061
|
const handleWeaponEffect = /* @__PURE__ */ __name(() => {
|
|
5979
6062
|
if (weaponName === "光剑") {
|
|
5980
6063
|
ignoreEffects.push(1);
|
|
5981
|
-
messages.push(`⚔️ 【光剑】武器效果:无视100
|
|
6064
|
+
messages.push(`⚔️ 【光剑】武器效果:无视100%伤害减免`);
|
|
5982
6065
|
} else if (weaponName === "M4AE脉冲步枪") {
|
|
5983
6066
|
ignoreEffects.push(0.5);
|
|
5984
|
-
messages.push(`🔫 【M4AE脉冲步枪】武器效果:无视50
|
|
6067
|
+
messages.push(`🔫 【M4AE脉冲步枪】武器效果:无视50%伤害减免`);
|
|
5985
6068
|
} else if (weaponName === "粒子相位枪" && targetBoss?.tags.includes("护盾")) {
|
|
5986
6069
|
ignoreEffects.push(0.5);
|
|
5987
|
-
messages.push(`⚡ 【粒子相位枪】武器效果:无视50
|
|
6070
|
+
messages.push(`⚡ 【粒子相位枪】武器效果:无视50%伤害减免`);
|
|
5988
6071
|
}
|
|
5989
6072
|
}, "handleWeaponEffect");
|
|
5990
6073
|
const handlePiercingMod = /* @__PURE__ */ __name(async () => {
|
|
@@ -5998,15 +6081,15 @@ async function handleIgnoreReductionEffects(ctx, handle, weaponName, targetBoss)
|
|
|
5998
6081
|
if (!equippedWeapon?.installedMods) return;
|
|
5999
6082
|
if (equippedWeapon.installedMods.includes("破甲模块")) {
|
|
6000
6083
|
ignoreEffects.push(0.1);
|
|
6001
|
-
messages.push(`⚡ 【破甲模块】生效:无视10
|
|
6084
|
+
messages.push(`⚡ 【破甲模块】生效:无视10%伤害减免`);
|
|
6002
6085
|
}
|
|
6003
6086
|
if (weaponName === "高斯步枪" && equippedWeapon.installedMods.includes("裂甲核心")) {
|
|
6004
6087
|
ignoreEffects.push(0.4);
|
|
6005
|
-
messages.push(`💥 【裂甲核心】生效:无视40
|
|
6088
|
+
messages.push(`💥 【裂甲核心】生效:无视40%伤害减免`);
|
|
6006
6089
|
}
|
|
6007
6090
|
if (weaponName === "侦察步枪" && equippedWeapon.installedMods.includes("金刚石瞄准镜")) {
|
|
6008
6091
|
ignoreEffects.push(0.2);
|
|
6009
|
-
messages.push(`💥 【金刚石瞄准镜】生效:无视20
|
|
6092
|
+
messages.push(`💥 【金刚石瞄准镜】生效:无视20%伤害减免`);
|
|
6010
6093
|
}
|
|
6011
6094
|
}, "handlePiercingMod");
|
|
6012
6095
|
handleWeaponEffect();
|
|
@@ -6020,7 +6103,7 @@ async function handleIgnoreReductionEffects(ctx, handle, weaponName, targetBoss)
|
|
|
6020
6103
|
});
|
|
6021
6104
|
if (radarMask?.quantity > 0) {
|
|
6022
6105
|
ignoreEffects.push(0.1);
|
|
6023
|
-
messages.push(`🛰️ 【雷达面罩】生效:无视10
|
|
6106
|
+
messages.push(`🛰️ 【雷达面罩】生效:无视10%伤害减免`);
|
|
6024
6107
|
}
|
|
6025
6108
|
}, "handleCareerEffects");
|
|
6026
6109
|
await handleCareerEffects();
|
|
@@ -8764,9 +8847,7 @@ ${validTypes.join("、")}`;
|
|
|
8764
8847
|
await updateSignRecord(ctx, handle, finalReward);
|
|
8765
8848
|
const taskUpdates = [];
|
|
8766
8849
|
if (primaryAttackResult.radiationApplied) {
|
|
8767
|
-
const hasRadiationCore = equippedWeapon.installedMods?.
|
|
8768
|
-
(mod) => mod.name === "辐射充能核心"
|
|
8769
|
-
);
|
|
8850
|
+
const hasRadiationCore = equippedWeapon.installedMods?.includes("辐射充能核心");
|
|
8770
8851
|
const count = hasRadiationCore ? 2 : 1;
|
|
8771
8852
|
taskUpdates.push({ taskId: 1, count });
|
|
8772
8853
|
}
|
|
@@ -8844,7 +8925,7 @@ ${validTypes.join("、")}`;
|
|
|
8844
8925
|
cleanerRewardBroadcast
|
|
8845
8926
|
);
|
|
8846
8927
|
});
|
|
8847
|
-
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) => {
|
|
8928
|
+
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) => {
|
|
8848
8929
|
const session = argv.session;
|
|
8849
8930
|
const { options } = argv;
|
|
8850
8931
|
let hp = 1e4;
|
|
@@ -8864,6 +8945,7 @@ ${validTypes.join("、")}`;
|
|
|
8864
8945
|
const radiationLayers = clampLayer(options.radiation);
|
|
8865
8946
|
const coldLayers = clampLayer(options.cold);
|
|
8866
8947
|
const skillStatus = clampLayer(options.status);
|
|
8948
|
+
const burnLayers = clampLayer(options.burn);
|
|
8867
8949
|
const parseList = /* @__PURE__ */ __name((str) => str ? str.split(",").map((s) => s.trim()).filter(Boolean) : [], "parseList");
|
|
8868
8950
|
const tags = parseList(options.tags);
|
|
8869
8951
|
const passives = parseList(options.passives);
|
|
@@ -8885,12 +8967,11 @@ ${validTypes.join("、")}`;
|
|
|
8885
8967
|
tags: tags || [],
|
|
8886
8968
|
skills: passives || [],
|
|
8887
8969
|
skillStacks,
|
|
8888
|
-
// 使用自定义技能层数
|
|
8889
8970
|
skillStatus,
|
|
8890
8971
|
radiationLayers,
|
|
8891
|
-
// 使用自定义辐射层数
|
|
8892
8972
|
coldLayers,
|
|
8893
|
-
//
|
|
8973
|
+
// 添加燃烧层数
|
|
8974
|
+
burnLayers,
|
|
8894
8975
|
energy,
|
|
8895
8976
|
armor,
|
|
8896
8977
|
isActive: true,
|
|
@@ -8917,6 +8998,7 @@ ${validTypes.join("、")}`;
|
|
|
8917
8998
|
if (radiationLayers > 0) layerInfo.push(`辐射层数: ${radiationLayers}`);
|
|
8918
8999
|
if (coldLayers > 0) layerInfo.push(`寒冷层数: ${coldLayers}`);
|
|
8919
9000
|
if (skillStatus > 0) layerInfo.push(`状态层数: ${skillStatus}`);
|
|
9001
|
+
if (burnLayers > 0) layerInfo.push(`燃烧层数: ${burnLayers}`);
|
|
8920
9002
|
const layerDisplay = layerInfo.length > 0 ? `📊 层数状态: ${layerInfo.join(" | ")}` : "";
|
|
8921
9003
|
return [
|
|
8922
9004
|
`🎯 使用武器 ${weaponName} 攻击 ${dummyBoss.name}`,
|
|
@@ -8926,7 +9008,6 @@ ${validTypes.join("、")}`;
|
|
|
8926
9008
|
options.tags?.length && `🏷️ 模拟标签:${tags.join(", ")}`,
|
|
8927
9009
|
options.passives?.length && `✨ 模拟被动:${passives.join(", ")}`,
|
|
8928
9010
|
layerDisplay,
|
|
8929
|
-
// 添加层数显示
|
|
8930
9011
|
...testResult.effectMessage.length > 0 ? [
|
|
8931
9012
|
`⚡ 攻击效果:
|
|
8932
9013
|
${testResult.effectMessage.map((m) => `▸ ${m}`).join("\n")}`
|
|
@@ -8941,7 +9022,7 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
|
|
|
8941
9022
|
] : [],
|
|
8942
9023
|
`📊 理论伤害值:${testResult.initialDamage}${testResult.hasCrit ? "(✨ 暴击)" : ""}`,
|
|
8943
9024
|
"💡 参数添加:可添加标签(-t)、被动(-p)、血量(-l)、能量(-e)、护甲(-d)",
|
|
8944
|
-
"💡 层数选项:技能层数(-s)、辐射层数(-r)、寒冷层数(-c)、状态层数(-a)"
|
|
9025
|
+
"💡 层数选项:技能层数(-s)、辐射层数(-r)、寒冷层数(-c)、状态层数(-a)、燃烧层数(-b)"
|
|
8945
9026
|
].filter((line) => line).join("\n");
|
|
8946
9027
|
} finally {
|
|
8947
9028
|
Object.keys("测试假人").forEach((key) => delete battleStatsMap[key]);
|
|
@@ -9000,6 +9081,9 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
|
|
|
9000
9081
|
if (mainBoss.coldLayers > 0) {
|
|
9001
9082
|
result.push(`❄️ 寒冷:${mainBoss.coldLayers}层`);
|
|
9002
9083
|
}
|
|
9084
|
+
if (mainBoss.burnLayers > 0) {
|
|
9085
|
+
result.push(`🔥 燃烧:${mainBoss.burnLayers}层`);
|
|
9086
|
+
}
|
|
9003
9087
|
result.push(`✨ 被动:`);
|
|
9004
9088
|
if (mainBoss.skills.length > 0) {
|
|
9005
9089
|
result.push(...mainBoss.skills.map((p) => `➤ ${p}:${passiveConfig[p]?.description}`));
|
|
@@ -9064,6 +9148,9 @@ ${testResult.passiveMessages.map((m) => `▸ ${m}`).join("\n")}`
|
|
|
9064
9148
|
if (minion.coldLayers > 0) {
|
|
9065
9149
|
minionInfo.push(`❄️ 寒冷:${minion.coldLayers}层`);
|
|
9066
9150
|
}
|
|
9151
|
+
if (minion.burnLayers > 0) {
|
|
9152
|
+
minionInfo.push(`🔥 燃烧:${minion.burnLayers}层`);
|
|
9153
|
+
}
|
|
9067
9154
|
minionInfo.push(`✨ 被动:`);
|
|
9068
9155
|
if (minion.skills.length > 0) {
|
|
9069
9156
|
minionInfo.push(...minion.skills.map((p) => `➤ ${p}:${passiveConfig[p]?.description}`));
|
|
@@ -10192,7 +10279,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
10192
10279
|
return "处理任务时发生错误,请稍后重试。";
|
|
10193
10280
|
}
|
|
10194
10281
|
});
|
|
10195
|
-
ctx.command("ggcevo/购买保护卡", "花费600金币购买一周PK保护卡").action(async ({ session }) => {
|
|
10282
|
+
ctx.command("ggcevo/购买保护卡", "花费600金币购买一周PK保护卡").alias("购买pk保护卡").action(async ({ session }) => {
|
|
10196
10283
|
try {
|
|
10197
10284
|
const userId = session.userId;
|
|
10198
10285
|
const [profile] = await ctx.database.get("sc2arcade_player", { userId });
|
|
@@ -10265,9 +10352,9 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
10265
10352
|
if (!careerData || careerData.group !== "人类联盟") {
|
|
10266
10353
|
return "⚠️ 您不属于人类阵营,无法执行此操作";
|
|
10267
10354
|
}
|
|
10268
|
-
const validCareers = ["
|
|
10355
|
+
const validCareers = ["警卫员下士", "警卫长", "情报副官"];
|
|
10269
10356
|
if (!careerData.career || !validCareers.includes(careerData.career)) {
|
|
10270
|
-
return `⚠️ 您的职业(${careerData.career || "未设置"})
|
|
10357
|
+
return `⚠️ 您的职业(${careerData.career || "未设置"})不是警卫员下士、警卫长或情报副官`;
|
|
10271
10358
|
}
|
|
10272
10359
|
const [permission] = await ctx.database.get("ggcevo_permissions", { handle });
|
|
10273
10360
|
if (!permission || !permission.explosiondoorauthority || permission.explosiondoorauthority < 1) {
|
|
@@ -10304,6 +10391,95 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
10304
10391
|
`📖 描述:${awardedWeapon.description}`
|
|
10305
10392
|
].join("\n");
|
|
10306
10393
|
});
|
|
10394
|
+
ctx.command("技能 [异形名称]").usage('查询异形技能,输入"技能"查看所有异形,输入"技能 异形名称"查询详细技能').action(async ({ session }, unitName) => {
|
|
10395
|
+
const allUnits = /* @__PURE__ */ new Set();
|
|
10396
|
+
bossPool.forEach((boss) => {
|
|
10397
|
+
allUnits.add(boss.main.name);
|
|
10398
|
+
boss.minions.forEach((minion) => allUnits.add(minion.name));
|
|
10399
|
+
});
|
|
10400
|
+
const sortedUnits = [...allUnits].sort();
|
|
10401
|
+
if (!unitName) {
|
|
10402
|
+
return [
|
|
10403
|
+
"🦠 可查询技能的异形列表 🦠",
|
|
10404
|
+
"使用「技能 异形名称」查看详细技能",
|
|
10405
|
+
"====================",
|
|
10406
|
+
...sortedUnits.map((name2) => `▸ ${name2}`),
|
|
10407
|
+
"===================="
|
|
10408
|
+
].join("\n");
|
|
10409
|
+
}
|
|
10410
|
+
const searchName = unitName.trim().toLowerCase();
|
|
10411
|
+
const matchedUnits = sortedUnits.filter(
|
|
10412
|
+
(name2) => name2.toLowerCase().includes(searchName)
|
|
10413
|
+
);
|
|
10414
|
+
if (matchedUnits.length === 0) {
|
|
10415
|
+
return `未找到名称包含"${unitName}"的异形,请输入完整名称或部分关键词`;
|
|
10416
|
+
}
|
|
10417
|
+
if (matchedUnits.length > 1) {
|
|
10418
|
+
return [
|
|
10419
|
+
`找到多个包含"${unitName}"的异形:`,
|
|
10420
|
+
...matchedUnits.map((name2) => `▸ ${name2}`),
|
|
10421
|
+
"请选择具体异形名称查询"
|
|
10422
|
+
].join("\n");
|
|
10423
|
+
}
|
|
10424
|
+
const targetUnit = matchedUnits[0];
|
|
10425
|
+
let skills = [];
|
|
10426
|
+
let foundUnitType = null;
|
|
10427
|
+
bossPool.some((boss) => {
|
|
10428
|
+
if (boss.main.name === targetUnit) {
|
|
10429
|
+
skills = boss.main.passive || [];
|
|
10430
|
+
foundUnitType = "主宰";
|
|
10431
|
+
return true;
|
|
10432
|
+
}
|
|
10433
|
+
const minion = boss.minions.find((m) => m.name === targetUnit);
|
|
10434
|
+
if (minion) {
|
|
10435
|
+
skills = minion.passive || [];
|
|
10436
|
+
foundUnitType = "子代";
|
|
10437
|
+
return true;
|
|
10438
|
+
}
|
|
10439
|
+
return false;
|
|
10440
|
+
});
|
|
10441
|
+
if (!foundUnitType) {
|
|
10442
|
+
return `「${targetUnit}」未配置任何被动技能`;
|
|
10443
|
+
}
|
|
10444
|
+
const expandedSkills = /* @__PURE__ */ new Set();
|
|
10445
|
+
const allSkillDetails = [];
|
|
10446
|
+
const addSkillDetail = /* @__PURE__ */ __name((skillName, indentLevel = 0, visited = /* @__PURE__ */ new Set()) => {
|
|
10447
|
+
if (visited.has(skillName)) {
|
|
10448
|
+
allSkillDetails.push(`${" ".repeat(indentLevel)}▸ ${skillName}:[递归终止 - 避免循环引用]`);
|
|
10449
|
+
return;
|
|
10450
|
+
}
|
|
10451
|
+
visited.add(skillName);
|
|
10452
|
+
const config2 = passiveConfig[skillName];
|
|
10453
|
+
if (!config2) {
|
|
10454
|
+
allSkillDetails.push(`${" ".repeat(indentLevel)}▸ ${skillName}:技能未定义`);
|
|
10455
|
+
return;
|
|
10456
|
+
}
|
|
10457
|
+
expandedSkills.add(skillName);
|
|
10458
|
+
let desc = config2.description.replace(/《([^》]+)》/g, "$1").replace(/\n/g, "\n ").replace(/(;|。)/g, "$1\n ");
|
|
10459
|
+
const indent = " ".repeat(indentLevel);
|
|
10460
|
+
allSkillDetails.push(`${indent}▸ ${skillName}:
|
|
10461
|
+
${desc}`);
|
|
10462
|
+
const derivedSkills = config2.derivedSkills || [];
|
|
10463
|
+
if (derivedSkills.length > 0) {
|
|
10464
|
+
const derivedTitle = indentLevel === 0 ? "↓ 一级衍生技能 ↓" : indentLevel === 1 ? "↓ 二级衍生技能 ↓" : "↓ 衍生技能 ↓";
|
|
10465
|
+
allSkillDetails.push(`${indent} ${derivedTitle}`);
|
|
10466
|
+
derivedSkills.forEach((derivedSkill) => {
|
|
10467
|
+
addSkillDetail(derivedSkill, indentLevel + 1, new Set(visited));
|
|
10468
|
+
});
|
|
10469
|
+
}
|
|
10470
|
+
}, "addSkillDetail");
|
|
10471
|
+
skills.forEach((skill) => addSkillDetail(skill));
|
|
10472
|
+
if (allSkillDetails.length === 0) {
|
|
10473
|
+
return `「${targetUnit}」未配置任何被动技能`;
|
|
10474
|
+
}
|
|
10475
|
+
return [
|
|
10476
|
+
`🦠 ${targetUnit} - ${foundUnitType} (${expandedSkills.size} 个被动技能) 🦠`,
|
|
10477
|
+
"====================",
|
|
10478
|
+
...allSkillDetails,
|
|
10479
|
+
"====================",
|
|
10480
|
+
`注:部分技能可触发衍生技能,最多显示二级衍生技能`
|
|
10481
|
+
].join("\n");
|
|
10482
|
+
});
|
|
10307
10483
|
}
|
|
10308
10484
|
__name(apply, "apply");
|
|
10309
10485
|
// Annotate the CommonJS export names for ESM import in node:
|