修复谋攻篇模式选将时能选平民的bug
This commit is contained in:
parent
05ad271d49
commit
d48cd0bcd6
|
@ -1507,7 +1507,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
listi=['random','zhu','zhong','fan','nei'];
|
listi=['random','zhu','zhong','fan','nei'];
|
||||||
if(get.config('enable_commoner')) listi.push('commoner');
|
if(get.config('enable_commoner')&&!event.stratagemMode) listi.push('commoner');
|
||||||
}
|
}
|
||||||
|
|
||||||
for(var i=0;i<listi.length;i++){
|
for(var i=0;i<listi.length;i++){
|
||||||
|
@ -1548,7 +1548,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
var listi=['zhu','zhong','nei','fan'];
|
var listi=['zhu','zhong','nei','fan'];
|
||||||
if(get.config('enable_commoner')) listi.push('commoner');
|
if(get.config('enable_commoner')&&!event.stratagemMode) listi.push('commoner');
|
||||||
link=listi.randomGet();
|
link=listi.randomGet();
|
||||||
}
|
}
|
||||||
for(var i=0;i<this.parentNode.childElementCount;i++){
|
for(var i=0;i<this.parentNode.childElementCount;i++){
|
||||||
|
|
Loading…
Reference in New Issue