From 7e01a6068a5feb6401c2dff78403135a75a4bdc3 Mon Sep 17 00:00:00 2001 From: PZ157 <3619242020@qq.com> Date: Sat, 2 Dec 2023 00:40:44 +0800 Subject: [PATCH] bugfix --- character/sp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/sp.js b/character/sp.js index 0dbf0d90d..39a5dedbd 100755 --- a/character/sp.js +++ b/character/sp.js @@ -8155,7 +8155,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, check:function(button){ let player=_status.event.player,hs=player.getCards('h',card=>{ - return get.name(card)!==button.link[2]&&(!button.link[3]||get.hasNature(card,button.link[3])); + return get.name(card)!==button.link[2]&&(!button.link[3]||game.hasNature(card,button.link[3])); }),bool=false,map={}; for(let i of hs){ let color=get.color(i);