This commit is contained in:
parent
de7cd57eb3
commit
a65b147988
|
@ -678,7 +678,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
subtype:'spell_silver',
|
||||
vanish:true,
|
||||
enable:true,
|
||||
filterTarget:true,
|
||||
filterTarget:function(card,player,target){
|
||||
return target!=player;
|
||||
},
|
||||
content:function(){
|
||||
'step 0'
|
||||
if(!player.countCards('h')){
|
||||
|
|
|
@ -253,6 +253,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
}
|
||||
},
|
||||
clearLose:true,
|
||||
equipDelay:false,
|
||||
loseDelay:false,
|
||||
skills:['muniu_skill','muniu_skill2','muniu_skill6','muniu_skill7'],
|
||||
|
|
|
@ -652,6 +652,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
onLose:function(){
|
||||
player.unmarkSkill('lianyaohu_skill');
|
||||
},
|
||||
clearLose:true,
|
||||
ai:{
|
||||
equipValue:6
|
||||
},
|
||||
|
@ -1949,6 +1950,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
equipDelay:false,
|
||||
loseDelay:false,
|
||||
clearLose:true,
|
||||
onLose:function(){
|
||||
player.storage.nigong=0;
|
||||
player.unmarkSkill('nigong');
|
||||
|
@ -1964,6 +1966,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
skills:['xujin'],
|
||||
equipDelay:false,
|
||||
loseDelay:false,
|
||||
clearLose:true,
|
||||
onLose:function(){
|
||||
player.storage.xujin=0;
|
||||
},
|
||||
|
|
|
@ -16151,6 +16151,12 @@
|
|||
this.removeSkillTrigger(info.skills[j]);
|
||||
}
|
||||
}
|
||||
if(info.clearLose&&typeof info.onLose=='function'){
|
||||
var next=game.createEvent('lose_'+card.name);
|
||||
next.setContent(info.onLose);
|
||||
next.player=this;
|
||||
next.card=card;
|
||||
}
|
||||
}
|
||||
else{
|
||||
var es=this.getCards('e');
|
||||
|
|
Loading…
Reference in New Issue