diff --git a/card/standard.js b/card/standard.js index b3789ece1..630963240 100644 --- a/card/standard.js +++ b/card/standard.js @@ -677,7 +677,7 @@ card.standard={ return 0; } if(target.num('h','sha')>player.num('h','sha')){ - return -2; + if(Math.random()<0.5) return -2; } return -0.5; } diff --git a/character/sp.js b/character/sp.js index 024dd2b76..d7a95d2b1 100644 --- a/character/sp.js +++ b/character/sp.js @@ -1098,7 +1098,6 @@ character.sp={ filter:function(event,player){ if(event.player.num('h')) return false; if(_status.currentPhase==event.player) return false; - if(event.player==player) return false; for(var i=0;i0; }, + prompt:function(event,player){ + return '是否对'+get.translation(event.player)+'发动【献图】?' + }, check:function(event,player){ if(ai.get.attitude(player,event.player)<5) return false; if(player.maxHp-player.hp>=2) return false; diff --git a/game/game.js b/game/game.js index 422e8c2d3..87c79c1ac 100644 --- a/game/game.js +++ b/game/game.js @@ -1935,8 +1935,10 @@ window.play={}; else{ game.log(get.translation(player)+'被连环'); } + if(lib.config.background_audio){ + game.playAudio('effect','link'); + } player.classList.toggle('linked'); - game.playAudio('effect','link'); }, },