建国显示优化

添加建国势力颜色
选择加入的人的身份颜色也会变为kami
This commit is contained in:
mengxinzxz 2023-09-04 17:44:55 +08:00 committed by GitHub
parent 54e9ebe98a
commit fa514f366e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -13316,6 +13316,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else text=_status.yexinjia_list.randomRemove();
lib.group.push(text);
lib.translate[text+'2']=text;
lib.groupnature[text]='kami';
event.text=text;
game.broadcastAll(function(player,text){
player.identity=text;
@ -13340,7 +13341,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
//event.targets4.push(target);
game.broadcastAll(function(player,text){
player.identity=text;
player.setIdentity(text,text);
player.setIdentity(text,'kami');
},target,event.text);
target.changeGroup(event.text);
}