Merge pull request #846 from universe-st/PR-Branch

fix博览检查不在lib.character中的国战角色的问题
This commit is contained in:
Spmario233 2024-01-23 23:22:54 +08:00 committed by GitHub
commit 393412271a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -1623,7 +1623,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var list,skills=[];
if(get.mode()=='guozhan'){
list=[];
for(var i in lib.characterPack.mode_guozhan) list.push(i);
for(var i in lib.characterPack.mode_guozhan){
if(lib.character[i])list.push(i);
}
}
else if(_status.connectMode) list=get.charactersOL();
else {