From fa423b98940e5d562371653edd47673d9e65c158 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Mon, 18 Mar 2024 23:07:09 +0800 Subject: [PATCH] bugfix --- character/sb.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/character/sb.js b/character/sb.js index 5df09d0ba..b273afe56 100644 --- a/character/sb.js +++ b/character/sb.js @@ -999,7 +999,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){ return { num:links[0], audio:'sbfangzhu', - filterTarget:lib.filter.notMe, + filterTarget(card,player,target){ + if(target==player) return false; + if(lib.skill.sbfangzhu_backup.num==4) return !target.hasSkill('sbfangzhu_ban'); + return true; + }, async content(event,trigger,player){ const target=event.target; const num=lib.skill.sbfangzhu_backup.num;