This commit is contained in:
libccy 2016-06-11 22:11:37 +08:00
parent e2c8dcafd7
commit cfc3bc838f
2 changed files with 32 additions and 4 deletions

View File

@ -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'},

View File

@ -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;
}