修复颜良独往指定有部分不可当决斗用的牌的角色时有概率被AI中断的bug
This commit is contained in:
parent
72cbdbbd2e
commit
6b919a56b2
|
@ -369,7 +369,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
backup:{
|
||||
viewAs:{name:'juedou'},
|
||||
position:'he',
|
||||
filterCard:true,
|
||||
filterCard(card,player){
|
||||
const cardx=get.autoViewAs({name:'juedou'},[card]);
|
||||
return lib.filter.targetEnabledx(cardx,player,get.event('sourcex'));
|
||||
},
|
||||
check(card){
|
||||
if(get.name(card)=='sha') return 5-get.value(card);
|
||||
return 8-get.value(card);
|
||||
|
|
Loading…
Reference in New Issue