Update skill.js

This commit is contained in:
mengxinzxz 2024-06-08 14:49:57 +08:00
parent 3cdd5e8d1a
commit 2cc018403f
1 changed files with 1 additions and 1 deletions

View File

@ -1104,7 +1104,7 @@ const skills = {
player.awakenSkill("dcfenhui"); player.awakenSkill("dcfenhui");
const target = event.target; const target = event.target;
const count = player.getAllHistory("useCard", evt => { const count = player.getAllHistory("useCard", evt => {
return get.color(evt.card, player) === "black" && evt.targets && evt.targets.includes(target); return evt.targets && evt.targets.includes(target);
}).length; }).length;
target.addMark("dcfenhui_mark", Math.min(5, count)); target.addMark("dcfenhui_mark", Math.min(5, count));
player.addSkill("dcfenhui_effect"); player.addSkill("dcfenhui_effect");