koishi-plugin-ggcevo-game 1.2.46 → 1.2.47
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 +3 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -637,7 +637,7 @@ function apply(ctx, config) {
|
|
|
637
637
|
},
|
|
638
638
|
"冷适应": {
|
|
639
639
|
effect: 0,
|
|
640
|
-
description: "受到
|
|
640
|
+
description: "受到5次寒冷伤害后,永久获得“惧热”标签,同时免疫寒冷伤害"
|
|
641
641
|
}
|
|
642
642
|
};
|
|
643
643
|
const bossPool = [
|
|
@@ -1095,7 +1095,7 @@ function apply(ctx, config) {
|
|
|
1095
1095
|
await ctx2.database.set("ggcevo_boss", { name: targetBoss.name }, {
|
|
1096
1096
|
Skillcountpoints: newCount
|
|
1097
1097
|
});
|
|
1098
|
-
if (newCount >=
|
|
1098
|
+
if (newCount >= 5 && !targetBoss.label.includes("惧热")) {
|
|
1099
1099
|
const newLabels = [.../* @__PURE__ */ new Set([...targetBoss.label, "惧热"])];
|
|
1100
1100
|
await ctx2.database.set("ggcevo_boss", { name: targetBoss.name }, {
|
|
1101
1101
|
tags: newLabels
|
|
@@ -1108,7 +1108,7 @@ function apply(ctx, config) {
|
|
|
1108
1108
|
}, "handleColdAdaptation"),
|
|
1109
1109
|
// 新增冷适应免疫处理函数(模仿冰霜进化)
|
|
1110
1110
|
handleColdAdaptationImmunity: /* @__PURE__ */ __name(function(targetBoss, weaponName) {
|
|
1111
|
-
if (targetBoss.type === "主宰" && targetBoss.name === "莽兽" && targetBoss.skills.includes("冷适应") && targetBoss.Skillcountpoints >=
|
|
1111
|
+
if (targetBoss.type === "主宰" && targetBoss.name === "莽兽" && targetBoss.skills.includes("冷适应") && targetBoss.Skillcountpoints >= 5 && weaponName === "零度之下") {
|
|
1112
1112
|
return {
|
|
1113
1113
|
initialDamage: 0,
|
|
1114
1114
|
messages: [`❄️ ${targetBoss.name} 触发【冷适应】免疫寒冷伤害!`]
|