修复【谗逆】ai无效的bug

This commit is contained in:
157 2024-01-01 16:36:53 +08:00
parent 122a2d1418
commit 544c15e8e7
1 changed files with 4 additions and 1 deletions

View File

@ -3380,7 +3380,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
viewAs:{name:'juedou'}, viewAs:{name:'juedou'},
position:'h', position:'h',
filterTarget:lib.filter.targetEnabled, filterTarget:lib.filter.targetEnabled,
check:(card)=>get.name(card)=='sha'?0:5.5-get.value(card), ai1:(card)=>{
if(get.name(card)==='sha') return 0;
return 5.5-get.value(card);
},
log:false, log:false,
precontent:function(){ precontent:function(){
delete event.result.skill; delete event.result.skill;