修复【酒颂】预亮导致check意外调用的bug

This commit is contained in:
157 2024-01-25 13:24:46 +08:00
parent 410a241c21
commit 2119487c86
1 changed files with 1 additions and 0 deletions

View File

@ -605,6 +605,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return player.hasCard(card=>get.type2(card)=='trick','hs');
},
check:function(card){
if(get.itemtype(card)!=='card') return true;
if(get.event().type=='dying') return 1/Math.max(0.1,get.value(card));
return 4-get.value(card);
},