koishi-plugin-ggcevo-game 1.3.1 → 1.3.3
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 -7
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -407,7 +407,7 @@ function apply(ctx, config) {
|
|
|
407
407
|
},
|
|
408
408
|
"伽马枪": {
|
|
409
409
|
id: 10,
|
|
410
|
-
type: "
|
|
410
|
+
type: "热能武器",
|
|
411
411
|
damage: 24,
|
|
412
412
|
description: "一种高度危险性的武器,设计用辐射照射并伤害敌人",
|
|
413
413
|
price: 825,
|
|
@@ -763,7 +763,7 @@ function apply(ctx, config) {
|
|
|
763
763
|
effect: "升级空间站科技花费的金币是原价的80%",
|
|
764
764
|
requirements: "将一个空间站科技升至3级或以上",
|
|
765
765
|
Jobtransfer: true,
|
|
766
|
-
costcoins:
|
|
766
|
+
costcoins: 5e3
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
769
|
professionName: "总工程师",
|
|
@@ -1373,7 +1373,7 @@ function apply(ctx, config) {
|
|
|
1373
1373
|
skillUpdates,
|
|
1374
1374
|
messages: [
|
|
1375
1375
|
`❄️ ${targetBoss.name} 触发【冰霜环绕】,自身回复45%最大生命值(+${healAmount}HP)`,
|
|
1376
|
-
`🌪️
|
|
1376
|
+
`🌪️ 【寒霜地狱】降临!主宰和所有存活的子代将获得30%减伤效果`
|
|
1377
1377
|
]
|
|
1378
1378
|
};
|
|
1379
1379
|
}, "handleFrostSurround"),
|
|
@@ -2071,15 +2071,15 @@ function apply(ctx, config) {
|
|
|
2071
2071
|
if (itemConfig2.id === 2) {
|
|
2072
2072
|
if (!target) return {
|
|
2073
2073
|
success: false,
|
|
2074
|
-
message: "
|
|
2074
|
+
message: "您未选择合适的目标。"
|
|
2075
2075
|
};
|
|
2076
2076
|
const targetboss = await ctx.database.get("ggcevo_boss", {
|
|
2077
2077
|
name: target,
|
|
2078
2078
|
isActive: true
|
|
2079
2079
|
});
|
|
2080
|
-
if (!targetboss.length || targetboss[0].Skillcountpoints === 0) return {
|
|
2080
|
+
if (!targetboss.length || targetboss[0].Skillcountpoints === 0 || targetboss[0].tags.includes("建筑")) return {
|
|
2081
2081
|
success: false,
|
|
2082
|
-
message: "您选择的不是合法目标(
|
|
2082
|
+
message: "您选择的不是合法目标(目标已死亡/目标的技能计数为0/目标拥有“建筑”标签)。"
|
|
2083
2083
|
};
|
|
2084
2084
|
await ctx.database.set(
|
|
2085
2085
|
"ggcevo_boss",
|
|
@@ -2088,7 +2088,7 @@ function apply(ctx, config) {
|
|
|
2088
2088
|
);
|
|
2089
2089
|
return {
|
|
2090
2090
|
success: true,
|
|
2091
|
-
message:
|
|
2091
|
+
message: `成功使用 ${itemName},已重置 ${target} 的技能计数`
|
|
2092
2092
|
};
|
|
2093
2093
|
}
|
|
2094
2094
|
return {
|