small fix

This commit is contained in:
Spmario233 2023-09-04 14:17:03 +08:00
parent 936fbe238e
commit 65463a0b62
3 changed files with 6 additions and 4 deletions

View File

@ -21203,6 +21203,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
},
yongsi:{
audio:'yongsi1',
group:['yongsi1','yongsi2'],
locked:true,
ai:{

View File

@ -32676,8 +32676,8 @@
}
if(Array.isArray(audioinfo)){
audioname=audioinfo[0];
audioinfo=lib.skill[audioname].audio;
if(!fixednum) fixednum=audioinfo[1];//数组会取第一个指定语音数
audioinfo=lib.skill[audioname].audio;
continue;
}
break;

View File

@ -7971,6 +7971,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
audio:['weidi',2]
},
gzyongsi:{
audio:'yongsi1',
group:['gzyongsi_eff1','gzyongsi_eff2','gzyongsi_eff3'],
preHidden:['gzyongsi_eff3'],
ai:{
@ -8002,7 +8003,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
})
},
content:function(){trigger.num++},
audio:['yongsi',2]
audio:['yongsi1',2],
},
eff2:{
sub:true,
@ -8022,7 +8023,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
content:function(){
player.chooseUseTarget('玉玺(庸肆):选择知己知彼的目标',{name:'zhibi'});
},
audio:['yongsi',2]
audio:['yongsi1',2],
},
eff3:{
sub:true,
@ -13318,7 +13319,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
event.text=text;
game.broadcastAll(function(player,text){
player.identity=text;
player.setIdentity(text,text);
player.setIdentity(text,'kami');
},source,text);
source.changeGroup(text);
source.removeMark('yexinjia_mark',1);