v1.9.31.1

This commit is contained in:
libccy 2017-07-09 17:20:32 +08:00
parent 67c37e878d
commit 5a7567c285
2 changed files with 10 additions and 9 deletions

View File

@ -231,7 +231,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(current.countCards('h')<current.hp){ if(current.countCards('h')<current.hp){
return get.sgn(get.attitude(player,current)); return get.sgn(get.attitude(player,current));
} }
})>0; })>=0;
}, },
content:function(){ content:function(){
'step 0' 'step 0'
@ -307,14 +307,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var dialog=ui.dialogs[i]; var dialog=ui.dialogs[i];
dialog.close(); dialog.close();
_status.dieClose.remove(dialog); _status.dieClose.remove(dialog);
if(dialog.buttons.length){
for(var i=0;i<dialog.buttons.length;i++){
ui.discardPile.appendChild(dialog.buttons[i].link);
}
}
break; break;
} }
} }
if(event.togain.length){
for(var i=0;i<dialog.buttons.length;i++){
ui.discardPile.appendChild(event.togain[i]);
}
}
game.broadcast(function(id){ game.broadcast(function(id){
var dialog=get.idDialog(id); var dialog=get.idDialog(id);
if(dialog){ if(dialog){

View File

@ -1,8 +1,9 @@
window.noname_update={ window.noname_update={
version:'1.9.31', version:'1.9.31.1',
// update:'1.9.30', update:'1.9.31',
changeLog:[ changeLog:[
'新武将', '新武将',
'bug修复'
], ],
files:[ files:[
// 'game/game.js', // 'game/game.js',
@ -15,7 +16,7 @@ window.noname_update={
// 'card/gwent.js', // 'card/gwent.js',
// 'character/*', // 'character/*',
// 'character/gwent.js', // 'character/gwent.js',
// 'character/yijiang.js', 'character/yijiang.js',
// 'mode/identity.js', // 'mode/identity.js',
// 'mode/guozhan.js', // 'mode/guozhan.js',
// 'mode/versus.js', // 'mode/versus.js',