修复青龙刀和界刘备的各一个bug
This commit is contained in:
parent
28aef2e6c3
commit
2232bfd43c
|
@ -2158,8 +2158,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
player.chooseToUse(get.prompt('qinglong',trigger.target),function(card,player,event){
|
||||
if(get.name(card)!='sha') return false;
|
||||
if(player.getEquip('qinglong')==card) return false;
|
||||
var target=_status.event.targetx;
|
||||
if(!lib.filter.targetEnabled(card,player,target)) return false;
|
||||
return lib.filter.filterCard.apply(this,arguments);
|
||||
},trigger.target,-1).set('addCount',false).logSkill='qinglong_skill';
|
||||
},trigger.target,-1).set('targetx',trigger.target).set('addCount',false).logSkill='qinglong_skill';
|
||||
}
|
||||
},
|
||||
zhangba_skill:{
|
||||
|
|
|
@ -12014,6 +12014,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
player.storage.rerende2.push(target);
|
||||
player.give(cards,target);
|
||||
'step 1'
|
||||
if(typeof player.storage.rerende!='number'){
|
||||
player.storage.rerende=0;
|
||||
}
|
||||
|
@ -12081,7 +12082,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
else{
|
||||
event.finish();
|
||||
}
|
||||
'step 1'
|
||||
'step 2'
|
||||
if(result&&result.bool&&result.links[0]){
|
||||
var card={name:result.links[0][2],nature:result.links[0][3]};
|
||||
player.chooseUseTarget(card,true);
|
||||
|
|
Loading…
Reference in New Issue