diff --git a/character/ow.js b/character/ow.js index 126f4d895..65e582de5 100644 --- a/character/ow.js +++ b/character/ow.js @@ -216,7 +216,21 @@ character.ow={ delete player.storage.xie2; } }, - group:['xie4'] + group:['xie3','xie4'] + }, + xie3:{ + trigger:{global:'phaseBegin'}, + forced:true, + popup:false, + content:function(){ + var num=game.phaseNumber-player.storage.xie; + num=num%6; + if(num){ + num=6-num; + } + player.storage.xie2_markcount=num; + player.updateMarks(); + } }, xie4:{ trigger:{global:'dieAfter'}, @@ -307,7 +321,21 @@ character.ow={ delete player.storage.luan2; } }, - group:['luan4'] + group:['luan3','luan4'] + }, + luan3:{ + trigger:{global:'phaseBegin'}, + forced:true, + popup:false, + content:function(){ + var num=game.phaseNumber-player.storage.luan; + num=num%6; + if(num){ + num=6-num; + } + player.storage.luan2_markcount=num; + player.updateMarks(); + } }, luan4:{ trigger:{global:'dieAfter'}, diff --git a/character/yijiang.js b/character/yijiang.js index a8edb257e..2fe421c17 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -6454,11 +6454,11 @@ character.yijiang={ check=true; } } - player.choosePlayerCard(trigger.player,'是否对'+get.translation(trigger.player)+'发动【补益】?','h').set('ai',function(card){ + player.choosePlayerCard(trigger.player,'是否对'+get.translation(trigger.player)+'发动【补益】?','h').set('ai',function(button){ if(!_status.event.check) return 0; if(_status.event.target.isUnderControl(true,_status.event.player)){ if(get.type(card)!='basic'){ - return 10-ai.get.value(card); + return 10-ai.get.value(button.link); } return 0; }