修复【谗逆】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'},
position:'h',
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,
precontent:function(){
delete event.result.skill;