This commit is contained in:
parent
6da2a18789
commit
ce2fb63888
|
@ -989,6 +989,7 @@ card.guozhan={
|
||||||
priority:10,
|
priority:10,
|
||||||
forced:true,
|
forced:true,
|
||||||
filter:function(event){
|
filter:function(event){
|
||||||
|
if(event.source&&event.source.hasSkillTag('unequip',false,event.card)) return false;
|
||||||
return event.num>0;
|
return event.num>0;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
|
|
|
@ -3312,6 +3312,7 @@ card.swd={
|
||||||
forced:true,
|
forced:true,
|
||||||
priority:15,
|
priority:15,
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
|
if(event.source&&event.source.hasSkillTag('unequip',false,event.card)) return false;
|
||||||
return get.type(event.card,'trick')=='trick';
|
return get.type(event.card,'trick')=='trick';
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
|
@ -3322,6 +3323,7 @@ card.swd={
|
||||||
notrick:true,
|
notrick:true,
|
||||||
effect:{
|
effect:{
|
||||||
target:function(card,player,target,current){
|
target:function(card,player,target,current){
|
||||||
|
if(player.hasSkillTag('unequip',false,card)) return;
|
||||||
if(get.type(card)=='trick'&&get.tag(card,'damage')){
|
if(get.type(card)=='trick'&&get.tag(card,'damage')){
|
||||||
return 'zeroplayertarget';
|
return 'zeroplayertarget';
|
||||||
}
|
}
|
||||||
|
|
|
@ -313,11 +313,14 @@ character.swd={
|
||||||
content:function(){
|
content:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
var next=player.chooseToDiscard(get.prompt('tiebi',trigger.target),{color:'black'});
|
var next=player.chooseToDiscard(get.prompt('tiebi',trigger.target),{color:'black'});
|
||||||
|
var goon=(ai.get.attitude(player,trigger.target)>2&&
|
||||||
|
ai.get.damageEffect(trigger.target,trigger.player,player)<0);
|
||||||
next.ai=function(card){
|
next.ai=function(card){
|
||||||
if(ai.get.attitude(player,trigger.target)>0){
|
if(goon){
|
||||||
if(trigger.target.hp==1) return 10-ai.get.value(card);
|
if(trigger.target.hp==1) return 10-ai.get.value(card);
|
||||||
return 7-ai.get.value(card);
|
return 7-ai.get.value(card);
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
};
|
};
|
||||||
next.logSkill=['tiebi',trigger.target];
|
next.logSkill=['tiebi',trigger.target];
|
||||||
"step 1"
|
"step 1"
|
||||||
|
@ -7696,8 +7699,7 @@ character.swd={
|
||||||
return !player.storage.duijue;
|
return !player.storage.duijue;
|
||||||
},
|
},
|
||||||
filterTarget:function(card,player,target){
|
filterTarget:function(card,player,target){
|
||||||
if(target.identity=='zhu') return false;
|
if(target.identity=='zhu'||get.is.jun(target)) return false;
|
||||||
if(get.mode()=='guozhan'&&target.isZhu) return false;
|
|
||||||
return player!=target;
|
return player!=target;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
|
|
Loading…
Reference in New Issue