修复小杀的淑丽未判断无来源伤害导致弹窗的问题

This commit is contained in:
kuangthree 2024-01-03 07:17:48 +08:00
parent 92d59fd895
commit 746274cb22
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
usable:2,
filter:function(event,player){
return event.source!=player&&event.card&&event.card.name=='sha'&&event.source.isIn();
return event.source&&event.source!=player&&event.card&&event.card.name=='sha'&&event.source.isIn();
},
check:function(event,player){
return get.attitude(player,event.source)>=0||get.attitude(player,event.source)>=-4