费祎check添加player定义
This commit is contained in:
parent
f56a1c2b78
commit
2f4701d3a7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue