This commit is contained in:
libccy 2017-03-29 07:48:26 +08:00
parent e6ab99e16d
commit 6cf6a9b3ac
4 changed files with 24 additions and 14 deletions

View File

@ -8113,7 +8113,17 @@
pause:'暂停',
config:'选项',
auto:'托管'
auto:'托管',
unknown:'无名氏',
unknown0:'一号位',
unknown1:'二号位',
unknown2:'三号位',
unknown3:'四号位',
unknown4:'五号位',
unknown5:'六号位',
unknown6:'七号位',
unknown7:'八号位',
},
element:{
content:{

View File

@ -16,7 +16,7 @@ window.noname_update={
// 'character/shenhua.js',
// 'mode/boss.js',
'mode/versus.js',
// 'mode/guozhan.js',
'mode/guozhan.js',
// 'mode/identity.js',
// 'mode/chess.js',
// 'mode/tafang.js',

View File

@ -2725,15 +2725,6 @@ mode.guozhan={
shu2:'蜀国',
wu2:'吴国',
qun2:'群雄',
unknown:'无名氏',
unknown0:'一号位',
unknown1:'二号位',
unknown2:'三号位',
unknown3:'四号位',
unknown4:'五号位',
unknown5:'六号位',
unknown6:'七号位',
unknown7:'八号位',
bumingzhi:'不明置',
mingzhizhujiang:'明置主将',
mingzhifujiang:'明置副将',

View File

@ -1769,8 +1769,14 @@ mode.versus={
var map={};
var num=Math.floor(Math.random()*8);
list=list.splice(8-num).concat(list);
event.current=game.players[num];
_status.firstAct=event.current;
_status.firstAct=game.players[num];
event.current=_status.firstAct.next;
game.broadcastAll(function(current){
for(var i=0;i<game.players.length;i++){
game.players[i].node.name_seat=ui.create.div('.name.name_seat',get.verticalStr(lib.translate['unknown'+get.distance(current,game.players[i],'absolute')]),game.players[i]);
game.players[i].node.name_seat.style.opacity=1;
}
},_status.firstAct);
for(var i=0;i<8;i++){
if(list[i][0]=='e'){
game.players[i].side=side;
@ -1868,6 +1874,9 @@ mode.versus={
game.broadcastAll(function(player,name,zhu){
player.classList.remove('selectedx');
player.init(name);
if(player.node.name_seat){
player.node.name_seat.remove();
}
},event.current,result.links[0]);
if(event.current.identity=='zhu'){
event.current.hp++;
@ -1880,7 +1889,7 @@ mode.versus={
}
if(i<game.players.length){
var side=event.current.side;
event.current=_status.firstAct;
event.current=_status.firstAct.next;
if(event.flipassign){
for(var iwhile=0;iwhile<8;iwhile++){
event.current=event.current.next;