This commit is contained in:
parent
2c18c826a7
commit
721b176284
|
@ -677,7 +677,7 @@ card.standard={
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if(target.num('h','sha')>player.num('h','sha')){
|
if(target.num('h','sha')>player.num('h','sha')){
|
||||||
return -2;
|
if(Math.random()<0.5) return -2;
|
||||||
}
|
}
|
||||||
return -0.5;
|
return -0.5;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1098,7 +1098,6 @@ character.sp={
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(event.player.num('h')) return false;
|
if(event.player.num('h')) return false;
|
||||||
if(_status.currentPhase==event.player) return false;
|
if(_status.currentPhase==event.player) return false;
|
||||||
if(event.player==player) return false;
|
|
||||||
for(var i=0;i<event.cards.length;i++){
|
for(var i=0;i<event.cards.length;i++){
|
||||||
if(event.cards[i].original=='h') return true;
|
if(event.cards[i].original=='h') return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -577,10 +577,14 @@ character.yijiang={
|
||||||
xiantu:{
|
xiantu:{
|
||||||
unique:true,
|
unique:true,
|
||||||
gainnable:true,
|
gainnable:true,
|
||||||
|
forceunique:true,
|
||||||
trigger:{global:'phaseUseBegin'},
|
trigger:{global:'phaseUseBegin'},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.player!=player&&player.num('h')>0;
|
return event.player!=player&&player.num('h')>0;
|
||||||
},
|
},
|
||||||
|
prompt:function(event,player){
|
||||||
|
return '是否对'+get.translation(event.player)+'发动【献图】?'
|
||||||
|
},
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
if(ai.get.attitude(player,event.player)<5) return false;
|
if(ai.get.attitude(player,event.player)<5) return false;
|
||||||
if(player.maxHp-player.hp>=2) return false;
|
if(player.maxHp-player.hp>=2) return false;
|
||||||
|
|
|
@ -1935,8 +1935,10 @@ window.play={};
|
||||||
else{
|
else{
|
||||||
game.log(get.translation(player)+'被连环');
|
game.log(get.translation(player)+'被连环');
|
||||||
}
|
}
|
||||||
player.classList.toggle('linked');
|
if(lib.config.background_audio){
|
||||||
game.playAudio('effect','link');
|
game.playAudio('effect','link');
|
||||||
|
}
|
||||||
|
player.classList.toggle('linked');
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue