Merge pull request #308 from universe-st/PR-Branch
当character4中包含die时不添加die
This commit is contained in:
commit
040cd19c62
|
@ -36098,7 +36098,11 @@
|
||||||
}
|
}
|
||||||
const audiosrc='die:ext:'+extname+'/'+j+'.mp3';
|
const audiosrc='die:ext:'+extname+'/'+j+'.mp3';
|
||||||
pack[i][j][4].add(imgsrc);
|
pack[i][j][4].add(imgsrc);
|
||||||
|
if(!pack[i][j][4].some((str)=>{
|
||||||
|
return typeof str == 'string' && str.indexOf('die:') == 0;
|
||||||
|
})){
|
||||||
pack[i][j][4].add(audiosrc);
|
pack[i][j][4].add(audiosrc);
|
||||||
|
}
|
||||||
if(pack[i][j][4].contains('boss')||
|
if(pack[i][j][4].contains('boss')||
|
||||||
pack[i][j][4].contains('hiddenboss')){
|
pack[i][j][4].contains('hiddenboss')){
|
||||||
lib.config.forbidai.add(j);
|
lib.config.forbidai.add(j);
|
||||||
|
|
Loading…
Reference in New Issue