This commit is contained in:
157 2024-01-20 16:27:32 +08:00
parent f05b03e04e
commit f86c92b244
2 changed files with 5 additions and 2 deletions

View File

@ -8657,7 +8657,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ai:{ ai:{
effect:{ effect:{
player:function(card,player,target){ player:function(card,player,target){
if(target.hasMark('twlvren')) return 0.33; if(target&&target.hasMark('twlvren')) return 0.33;
} }
} }
}, },

View File

@ -10575,7 +10575,10 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
player:function(player,target){ player:function(player,target){
var huoshao=false; var huoshao=false;
for(var i=0;i<ui.selected.cards.length;i++){ for(var i=0;i<ui.selected.cards.length;i++){
if(ui.selected.cards[i].name=='huoshaolianying'){huoshao=true;break} if(ui.selected.cards[i].name=='huoshaolianying'){
huoshao=true;
break;
}
} }
if(huoshao&&player.inline(target.getNext())) return -3; if(huoshao&&player.inline(target.getNext())) return -3;
if(target.isUnseen()) return 0; if(target.isUnseen()) return 0;