v1.9.25.1

This commit is contained in:
libccy 2017-04-19 14:02:31 +08:00
parent 97401bed5f
commit ca43353979
2 changed files with 22 additions and 10 deletions

View File

@ -23493,6 +23493,15 @@
dialog.content.firstChild.innerHTML='战斗失败';
}
ui.update();
dialog.add(ui.create.div('.placeholder'));
for(var i=0;i<game.players.length;i++){
var hs=game.players[i].getCards('h');
if(hs.length){
dialog.add('<div class="text center">'+get.translation(game.players[i])+'</div>');
dialog.addSmall(hs);
}
}
dialog.add(ui.create.div('.placeholder.slim'));
if(lib.config.background_audio){
if(result2===true){
game.playAudio('effect','win');
@ -23870,6 +23879,14 @@
}
}
dialog.add(ui.create.div('.placeholder'));
var clients=game.players.concat(game.dead);
for(var i=0;i<clients.length;i++){
if(clients[i].isOnline2()){
clients[i].send(game.over,dialog.content.innerHTML,game.checkOnlineResult(clients[i]));
}
}
dialog.add(ui.create.div('.placeholder'));
for(var i=0;i<game.players.length;i++){
@ -23881,12 +23898,6 @@
}
}
dialog.add(ui.create.div('.placeholder.slim'));
var clients=game.players.concat(game.dead);
for(var i=0;i<clients.length;i++){
if(clients[i].isOnline2()){
clients[i].send(game.over,dialog.content.innerHTML,game.checkOnlineResult(clients[i]));
}
}
game.addVideo('over',null,dialog.content.innerHTML);
var vinum=parseInt(lib.config.video);
if(!_status.video&&vinum&&game.getVideoName&&window.indexedDB&&_status.videoInited){

View File

@ -1,11 +1,12 @@
window.noname_update={
version:'1.9.25',
// update:'1.9.23',
version:'1.9.25.1',
update:'1.9.25',
changeLog:[
'联机改进',
'bug修复'
],
files:[
// 'game/game.js',
'game/game.js',
// 'game/package.js',
// 'game/config.js',
// 'game/source.js',
@ -31,7 +32,7 @@ window.noname_update={
// 'theme/simple/style.css',
// 'layout/default/layout.css',
// 'layout/default/phone.css',
// 'layout/default/menu.css',
'layout/default/menu.css',
// 'theme/style/cardback/*',
// 'layout/long/layout.css',
// 'layout/long2/layout.css',