From 2cc018403fae888a50e2568bacaef7ae49e12b98 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sat, 8 Jun 2024 14:49:57 +0800 Subject: [PATCH] Update skill.js --- character/xianding/skill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/xianding/skill.js b/character/xianding/skill.js index cee0887bd..75b8cf5d4 100644 --- a/character/xianding/skill.js +++ b/character/xianding/skill.js @@ -1104,7 +1104,7 @@ const skills = { player.awakenSkill("dcfenhui"); const target = event.target; 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; target.addMark("dcfenhui_mark", Math.min(5, count)); player.addSkill("dcfenhui_effect");