Skip to content

Commit

Permalink
张楚bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
xizifu committed Jun 20, 2024
1 parent 6318a99 commit fc990b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion character/huicui/skill.js
Original file line number Diff line number Diff line change
Expand Up @@ -4839,7 +4839,7 @@ const skills = {
var card = event.card;
var target = event.targets[0];
var marked = target.hasMark("dcjizhong");
return (get.type(card) == "trick" || (get.color(card) == "black" && get.type(card) == "basic")) && (marked || (!marked && game.hasPlayer(current => current.hasMark("dcjizhong"))));
return (get.type(card) == "trick" || (get.color(card) == "black" && get.type(card) == "basic")) && ((marked && target.countGainableCards(player, "hej")) || (!marked && game.hasPlayer(current => current.hasMark("dcjizhong"))));
},
logTarget: event => event.targets[0],
prompt2(event, player) {
Expand Down

0 comments on commit fc990b6

Please sign in to comment.