梦诸葛亮出师bug修复
This commit is contained in:
parent
9baa772dde
commit
b53950506b
|
@ -284,12 +284,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
usable:1,
|
||||
filter(event,player){
|
||||
const zhu=get.zhu(player);
|
||||
if(!zhu||!zhu.isZhu2()) return false;
|
||||
if(!zhu||!zhu.isZhu2()||!zhu.countCards('h')) return false;
|
||||
return !player.isZhu2();
|
||||
},
|
||||
async content(event,trigger,player){
|
||||
player.chooseToDebate(game.filterPlayer(current=>{
|
||||
return current==player||current.isZhu2();
|
||||
return current==player||current.isZhu2()&¤t.countCards('h');
|
||||
})).set('callback',async event=>{
|
||||
const result=event.debateResult;
|
||||
if(result.bool&&result.opinion){
|
||||
|
|
Loading…
Reference in New Issue