Skip to content

Commit

Permalink
Update skill.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xizifu committed Jun 20, 2024
1 parent 6b43856 commit 1d3dc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion character/tw/skill.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const skills = {
filter(event, player) {
const target = _status.currentPhase;
if (!target || !target.isIn() || event.player != target) return false;
return player.getStorage("huan_zhugeliang_A_use").some(name => player.hasUseTarget({ name: name }, false));
return player.getStorage("huan_zhugeliang_A_use").length;
},
forced: true,
async content(event, trigger, player) {
Expand Down

0 comments on commit 1d3dc7e

Please sign in to comment.