修复一个被回滚的地方

This commit is contained in:
mengxinzxz 2023-09-07 23:44:48 +08:00 committed by GitHub
parent 4ea8f4e451
commit e98450b370
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5499,7 +5499,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
mod:{
targetInRange:function(card,player,target){
if(!card.cards) return;
if(!card.cards||!card.cards.length) return;
for(var i of card.cards){
if(!i.hasGaintag('minsi2')||get.color(i)!='black') return;
}