Skip to content

Commit 5179ccb

Browse files
authored
Merge pull request #3111 from xizifu/PR-Branch
bugfix
2 parents de94a35 + c0c5e67 commit 5179ccb

File tree

12 files changed

+378
-490
lines changed

12 files changed

+378
-490
lines changed

character/clan/skill.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6182,7 +6182,7 @@ const skills = {
61826182
const skills = get.event("listx").slice();
61836183
skills.removeArray(["clanbaichu"]);
61846184
const { link } = button;
6185-
if (skills.includes(link)) {
6185+
if (!skills.includes(link)) {
61866186
return 0;
61876187
}
61886188
const info = get.info(link);
@@ -6193,9 +6193,10 @@ const skills = {
61936193
return 0;
61946194
}
61956195
if (Math.random() < 0.75 && link == "clandaojie") {
6196+
if (player.hasSkill("clanbaichu")) return 0;
61966197
return 2;
61976198
}
6198-
return 1;
6199+
return 0;
61996200
})
62006201
.set("listx", skills)
62016202
.forResult();

0 commit comments

Comments
 (0)