This commit is contained in:
libccy 2017-03-31 22:35:57 +08:00
parent 30ce9cc88a
commit 671b482e9d
2 changed files with 11 additions and 7 deletions

View File

@ -19,7 +19,7 @@
};
var lib={
configprefix:'noname_0.9_',
versionOL:22,
versionOL:23,
updateURL:'https://raw.githubusercontent.com/libccy/noname',
mirrorURL:'https://coding.net/u/libccy/p/noname/git/raw',
extensionURL:'https://coding.net/u/libccy/p/noname-extension/git/raw/master/',

View File

@ -1175,7 +1175,7 @@ mode.identity={
}
}
if(event.zhongmode){
list=event.list.randomGets(6);
list=event.list.randomGets(8);
}
else{
list=list2.concat(list3.randomGets(3));
@ -1219,7 +1219,7 @@ mode.identity={
var num,num2=0;
if(event.zhongmode){
num=3;
num=6;
}
else{
num=Math.floor(event.list.length/(game.players.length-1));
@ -1236,12 +1236,16 @@ mode.identity={
}
for(var i=0;i<game.players.length;i++){
if(game.players[i]!=game.zhu){
var num3;
if(game.players[i].identity=='nei'){
num3=num2;
var num3=0;
if(event.zhongmode){
if(game.players[i].identity=='nei'||game.players[i].identity=='zhu'){
num3=2;
}
}
else{
num3=0;
if(game.players[i].identity=='nei'){
num3=num2;
}
}
list.push([game.players[i],['选择角色',[event.list.randomRemove(num+num3),'character']],selectButton,true]);
}