谋袁绍【思召剑】bugfix

This commit is contained in:
mengxinzxz 2024-03-05 12:26:30 +08:00
parent 3b92a409be
commit 361a8efb50
1 changed files with 2 additions and 2 deletions

View File

@ -218,8 +218,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
let evt=_status.event;
if(evt.name!='chooseToUse') evt=evt.getParent('chooseToUse');
if(!evt||!evt.respondTo||!storage.includes(evt.respondTo[1])) return;
const num = get.number(card);
if(num!='unsure' && (typeof num!='number' || num<=get.number(evt.respondTo[1]))) return false;
const num=get.number(card);
if(num!='unsure'&&typeof num=='number'&&num<get.number(evt.respondTo[1])) return false;
},
},
onremove(player){