修复【酒颂】预亮导致check意外调用的bug
This commit is contained in:
parent
410a241c21
commit
2119487c86
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue