凯撒【征服】弹窗bug修复
This commit is contained in:
parent
653383a2fa
commit
1074d1ac64
|
@ -13982,14 +13982,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
return 'basic';
|
return 'basic';
|
||||||
}).set('prompt','请选择一种牌的类别').set('target',trigger.target);
|
}).set('prompt','请选择一种牌的类别').set('target',trigger.target);
|
||||||
'step 1'
|
'step 1'
|
||||||
trigger.target.chooseCard('he','交给'+get.translation(player)+'一张'+get.translation(result.control)+'牌,否则此【杀】不可被闪避。',function(card){
|
trigger.target.chooseCard('he','交给'+get.translation(player)+'一张'+get.translation(result.control)+'牌,否则此【杀】不可被闪避',function(card){
|
||||||
return get.type(card,'trick')==_status.event.getParent().result.control;
|
return get.type2(card)==_status.event.control;
|
||||||
}).set('ai',function(card){
|
}).set('ai',function(card){
|
||||||
var num=_status.event.num;
|
var num=_status.event.num;
|
||||||
if(num==0) return 0;
|
if(num==0) return 0;
|
||||||
if(card.name=='shan') return num>1?2:0;
|
if(card.name=='shan') return num>1?2:0;
|
||||||
return 8-get.value(card);
|
return 8-get.value(card);
|
||||||
}).set('num',trigger.target.countCards('h','shan'))
|
}).set('num',trigger.target.countCards('h','shan')).set('control',result.control);
|
||||||
'step 2'
|
'step 2'
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
var cards=result.cards;
|
var cards=result.cards;
|
||||||
|
|
Loading…
Reference in New Issue