This commit is contained in:
libccy 2016-08-11 23:54:48 +08:00
parent a8472a1663
commit 82dbeb6a38
2 changed files with 7 additions and 3 deletions

View File

@ -1,9 +1,13 @@
window.noname_update={ window.noname_update={
version:'1.8.20.1', version:'1.8.20.2',
changeLog:[ changeLog:[
'修bug', '修bug',
], ],
files:{ files:{
global:[], global:[
'mode/guozhan.js',
'character/xianjian.js',
],
'1.8.20.1':[],
} }
} }

View File

@ -150,7 +150,6 @@ mode.guozhan={
choice.push(list[i]); choice.push(list[i]);
list.splice(i--,1); list.splice(i--,1);
if(choice.length>=num){ if(choice.length>=num){
console.log(group);
break; break;
} }
} }
@ -647,6 +646,7 @@ mode.guozhan={
if(!lib.character[button.link]) return false; if(!lib.character[button.link]) return false;
return (lib.character[button.link][1]==lib.character[ui.selected.buttons[0].link][1]); return (lib.character[button.link][1]==lib.character[ui.selected.buttons[0].link][1]);
}; };
list.randomSort();
for(var i=0;i<game.players.length;i++){ for(var i=0;i<game.players.length;i++){
list2.push([game.players[i],['选择角色',[game.getCharacterChoice(list,num),'character']],2, list2.push([game.players[i],['选择角色',[game.getCharacterChoice(list,num),'character']],2,
true,function(){return Math.random()},filterButton]); true,function(){return Math.random()},filterButton]);