audio for Noda and Yui
This commit is contained in:
parent
dc4fa5cd6a
commit
486c9b7032
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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){
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue