This commit is contained in:
parent
30ce9cc88a
commit
671b482e9d
|
@ -19,7 +19,7 @@
|
||||||
};
|
};
|
||||||
var lib={
|
var lib={
|
||||||
configprefix:'noname_0.9_',
|
configprefix:'noname_0.9_',
|
||||||
versionOL:22,
|
versionOL:23,
|
||||||
updateURL:'https://raw.githubusercontent.com/libccy/noname',
|
updateURL:'https://raw.githubusercontent.com/libccy/noname',
|
||||||
mirrorURL:'https://coding.net/u/libccy/p/noname/git/raw',
|
mirrorURL:'https://coding.net/u/libccy/p/noname/git/raw',
|
||||||
extensionURL:'https://coding.net/u/libccy/p/noname-extension/git/raw/master/',
|
extensionURL:'https://coding.net/u/libccy/p/noname-extension/git/raw/master/',
|
||||||
|
|
|
@ -1175,7 +1175,7 @@ mode.identity={
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(event.zhongmode){
|
if(event.zhongmode){
|
||||||
list=event.list.randomGets(6);
|
list=event.list.randomGets(8);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
list=list2.concat(list3.randomGets(3));
|
list=list2.concat(list3.randomGets(3));
|
||||||
|
@ -1219,7 +1219,7 @@ mode.identity={
|
||||||
|
|
||||||
var num,num2=0;
|
var num,num2=0;
|
||||||
if(event.zhongmode){
|
if(event.zhongmode){
|
||||||
num=3;
|
num=6;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
num=Math.floor(event.list.length/(game.players.length-1));
|
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++){
|
for(var i=0;i<game.players.length;i++){
|
||||||
if(game.players[i]!=game.zhu){
|
if(game.players[i]!=game.zhu){
|
||||||
var num3;
|
var num3=0;
|
||||||
if(game.players[i].identity=='nei'){
|
if(event.zhongmode){
|
||||||
num3=num2;
|
if(game.players[i].identity=='nei'||game.players[i].identity=='zhu'){
|
||||||
|
num3=2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
num3=0;
|
if(game.players[i].identity=='nei'){
|
||||||
|
num3=num2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
list.push([game.players[i],['选择角色',[event.list.randomRemove(num+num3),'character']],selectButton,true]);
|
list.push([game.players[i],['选择角色',[event.list.randomRemove(num+num3),'character']],selectButton,true]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue