koishi-plugin-ggcevo-game 1.3.9 → 1.3.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 +12 -12
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -654,7 +654,7 @@ function apply(ctx, config) {
|
|
|
654
654
|
id: 2,
|
|
655
655
|
name: "寒冰王蛇",
|
|
656
656
|
type: "主宰",
|
|
657
|
-
maxHP:
|
|
657
|
+
maxHP: 15e3,
|
|
658
658
|
tags: asBossTags(["重甲", "惧热", "生物", "异形"]),
|
|
659
659
|
passive: asPassives(["冰霜环绕", "冰霜进化"])
|
|
660
660
|
},
|
|
@@ -662,7 +662,7 @@ function apply(ctx, config) {
|
|
|
662
662
|
{
|
|
663
663
|
name: "冰蛇",
|
|
664
664
|
type: "子代",
|
|
665
|
-
maxHP:
|
|
665
|
+
maxHP: 5e3,
|
|
666
666
|
tags: asBossTags(["惧热", "生物", "异形"]),
|
|
667
667
|
passive: asPassives(["弱化形态", "冰霜回复", "冰霜进化"])
|
|
668
668
|
}
|
|
@@ -673,7 +673,7 @@ function apply(ctx, config) {
|
|
|
673
673
|
id: 3,
|
|
674
674
|
name: "莽兽",
|
|
675
675
|
type: "主宰",
|
|
676
|
-
maxHP:
|
|
676
|
+
maxHP: 12e3,
|
|
677
677
|
tags: asBossTags(["重甲", "生物", "异形"]),
|
|
678
678
|
passive: asPassives(["应激甲壳II", "求生本能II", "冷适应"])
|
|
679
679
|
},
|
|
@@ -681,14 +681,14 @@ function apply(ctx, config) {
|
|
|
681
681
|
{
|
|
682
682
|
name: "狂暴畸变体",
|
|
683
683
|
type: "子代",
|
|
684
|
-
maxHP:
|
|
684
|
+
maxHP: 4e3,
|
|
685
685
|
tags: asBossTags(["重甲", "生物", "异形"]),
|
|
686
686
|
passive: asPassives(["弱化形态", "应激甲壳I", "求生本能I", "冷适应"])
|
|
687
687
|
},
|
|
688
688
|
{
|
|
689
689
|
name: "剧毒畸变体",
|
|
690
690
|
type: "子代",
|
|
691
|
-
maxHP:
|
|
691
|
+
maxHP: 4e3,
|
|
692
692
|
tags: asBossTags(["重甲", "生物", "异形"]),
|
|
693
693
|
passive: asPassives(["弱化形态", "应激甲壳I", "求生本能I", "冷适应"])
|
|
694
694
|
}
|
|
@@ -725,7 +725,7 @@ function apply(ctx, config) {
|
|
|
725
725
|
id: 5,
|
|
726
726
|
name: "吸血蝙蝠首领",
|
|
727
727
|
type: "主宰",
|
|
728
|
-
maxHP:
|
|
728
|
+
maxHP: 12e3,
|
|
729
729
|
tags: asBossTags(["生物", "异形"]),
|
|
730
730
|
passive: asPassives(["吸血唾液", "进食", "吐血", "嗜血狂暴"])
|
|
731
731
|
},
|
|
@@ -733,7 +733,7 @@ function apply(ctx, config) {
|
|
|
733
733
|
{
|
|
734
734
|
name: "吸血蝙蝠",
|
|
735
735
|
type: "子代",
|
|
736
|
-
maxHP:
|
|
736
|
+
maxHP: 4e3,
|
|
737
737
|
tags: asBossTags(["生物", "异形"]),
|
|
738
738
|
passive: asPassives(["弱化形态", "吸血唾液", "进食", "吐血"])
|
|
739
739
|
}
|
|
@@ -1675,7 +1675,7 @@ function apply(ctx, config) {
|
|
|
1675
1675
|
return {
|
|
1676
1676
|
damage: amplifiedDamage,
|
|
1677
1677
|
messages: radiationLayers > 0 ? [
|
|
1678
|
-
`☢️ 【辐射】生效:当前${radiationLayers}
|
|
1678
|
+
`☢️ 【辐射】生效:当前${radiationLayers}层辐射,本次攻击受到伤害+${radiationLayers}%`
|
|
1679
1679
|
] : []
|
|
1680
1680
|
};
|
|
1681
1681
|
}, "calculateRadiationDamage"),
|
|
@@ -2179,8 +2179,8 @@ function apply(ctx, config) {
|
|
|
2179
2179
|
const baseCost = BASE_COST[equipment.level];
|
|
2180
2180
|
const weaponTechConfig = Spacestationtechnology.find((t) => t.techId === 2);
|
|
2181
2181
|
const [careerData] = await ctx.database.get("ggcevo_careers", { handle });
|
|
2182
|
-
let discountedCost;
|
|
2183
|
-
let weaponDiscount;
|
|
2182
|
+
let discountedCost = baseCost;
|
|
2183
|
+
let weaponDiscount = 0;
|
|
2184
2184
|
let techLevel;
|
|
2185
2185
|
let baseDiscount;
|
|
2186
2186
|
let careerDiscount;
|
|
@@ -2233,7 +2233,7 @@ function apply(ctx, config) {
|
|
|
2233
2233
|
msg += priceInfo;
|
|
2234
2234
|
let discountDetails = [];
|
|
2235
2235
|
if (weaponDiscount > 0) {
|
|
2236
|
-
discountDetails.push(`武器系统 Lv${techLevel} 折扣:${Math.
|
|
2236
|
+
discountDetails.push(`武器系统 Lv${techLevel} 折扣:${Math.round(weaponDiscount * 100)}%`);
|
|
2237
2237
|
}
|
|
2238
2238
|
if (activeWish) {
|
|
2239
2239
|
discountDetails.push("灵狐升运折扣:20%");
|
|
@@ -5017,7 +5017,7 @@ ${effectMessage.join("\n")}`
|
|
|
5017
5017
|
} else if (faction === "辛迪加海盗") {
|
|
5018
5018
|
const [pkData] = await ctx.database.get("ggcevo_pk", { handle });
|
|
5019
5019
|
if (userCoins < 2e3) {
|
|
5020
|
-
return `加入辛迪加海盗需要2000
|
|
5020
|
+
return `加入辛迪加海盗需要2000金币并且永久开启PK功能,你当前拥有${userCoins}金币`;
|
|
5021
5021
|
}
|
|
5022
5022
|
if (pkData && !pkData?.enable) {
|
|
5023
5023
|
return "当前PK功能未开启,无法加入辛迪加海盗。";
|