This commit is contained in:
libccy 2017-02-15 14:43:28 +08:00
parent e9761cda0b
commit 468a974c7b
2 changed files with 14 additions and 8 deletions

View File

@ -833,7 +833,7 @@ mode.boss={
if(!event.targets||!event.card) return false;
if(event.card&&event.card.name=='wuxie') return false;
var type=get.type(event.card);
if(type!='basic'&&type!='trick') return false;
if(type!='trick') return false;
var card=game.createCard(event.card.name,event.card.suit,event.card.number,event.card.nature);
var targets=event._targets||event.targets;
for(var i=0;i<targets.length;i++){

View File

@ -89,13 +89,16 @@ mode.chess={
game.saveConfig('continue_name_chess');
}
else{
game.chooseCharacterDouble({
update:function(i){
switch(i){
case 0:return '主帅';
case 1:return '副帅';
default:return '前锋';
}
game.chooseCharacterDouble(function(i){
if(lib.character[i][4].contains('chessboss')){
return false;
}
return !lib.filter.characterDisabled(i);
},function(i){
switch(i){
case 0:return '主帅';
case 1:return '副帅';
default:return '前锋';
}
});
}
@ -917,6 +920,9 @@ mode.chess={
}
}
}
else if(_status.mode=='three'){
source.draw(2);
}
else if(source.side!=player.side){
source.draw();
}