koishi-plugin-ggcevo-game 1.3.41 → 1.3.42
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 +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1950,7 +1950,7 @@ function apply(ctx, config) {
|
|
|
1950
1950
|
const isBelowThreshold = currentHP <= maxHP * triggerThreshold;
|
|
1951
1951
|
const hasShieldTag = targetBoss.tags.includes("护盾");
|
|
1952
1952
|
const alreadyHeavyArmor = targetBoss.tags.includes("重甲");
|
|
1953
|
-
if (!targetBoss.skills.includes("超导体")
|
|
1953
|
+
if (!targetBoss.skills.includes("超导体") && !targetBoss.skills.includes("电能导体")) return null;
|
|
1954
1954
|
if (isBelowThreshold && hasShieldTag && !alreadyHeavyArmor) {
|
|
1955
1955
|
const newTags = [
|
|
1956
1956
|
...targetBoss.tags.filter((tag) => tag !== "护盾"),
|