费祎check添加player定义

This commit is contained in:
mengxinzxz 2023-11-17 23:01:18 +08:00
parent f56a1c2b78
commit 2f4701d3a7
1 changed files with 1 additions and 0 deletions

View File

@ -1449,6 +1449,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
][player.countCards('h')%2];
},
check:function(card){
var player=_status.event.player;
if(player.hasSkill('hezhong')){
if(player.countCards('h')-ui.selected.cards.length>1) return 1/(get.value(card)||0.5);
return 0;