audio for Noda and Yui

This commit is contained in:
Spmario233 2023-08-19 23:29:54 +08:00
parent dc4fa5cd6a
commit 486c9b7032
15 changed files with 6 additions and 2 deletions

BIN
audio/die/key_noda.mp3 Normal file

Binary file not shown.

BIN
audio/die/key_yui.mp3 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
audio/skill/yui_jiang1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/yui_jiang2.mp3 Normal file

Binary file not shown.

BIN
audio/skill/yui_lieyin1.mp3 Normal file

Binary file not shown.

BIN
audio/skill/yui_lieyin2.mp3 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -8695,6 +8695,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ai:{expose:0.2}, ai:{expose:0.2},
}, },
noda_fengcheng:{ noda_fengcheng:{
audio:2,
trigger:{ trigger:{
player:"gainAfter", player:"gainAfter",
}, },
@ -8711,6 +8712,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
noda_xunxin:{ noda_xunxin:{
audio:2,
enable:'phaseUse', enable:'phaseUse',
viewAs:{name:'juedou'}, viewAs:{name:'juedou'},
filter:function(event,player){ filter:function(event,player){

View File

@ -780,7 +780,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(!event.player.isIn()) return []; if(!event.player.isIn()) return [];
if(event.player.getNext().isIn()) list.push(event.player.getNext()); if(event.player.getNext().isIn()) list.push(event.player.getNext());
if(event.player.getPrevious().isIn()) list.push(event.player.getPrevious()); if(event.player.getPrevious().isIn()) list.push(event.player.getPrevious());
return list.sortBySeat(); return list.sortBySeat(_status.currentPhase);
}, },
content:function(){ content:function(){
var targets=lib.skill.oltianhou_spade.logTarget(trigger); var targets=lib.skill.oltianhou_spade.logTarget(trigger);

View File

@ -7425,7 +7425,9 @@
for(let i=0;i<this.length;i++){ for(let i=0;i<this.length;i++){
let obj=this[i]; let obj=this[i];
if(depth>0&&Array.isArray(obj)){ if(depth>0&&Array.isArray(obj)){
arr=arr.concat(obj.flat(depth-1)); obj.flat(depth-1).forEach(function(item){
arr.push(item)
});
} }
else{ else{
arr.push(obj); arr.push(obj);