mirror of
https://github.com/Shu-Ying/noname-shuying.git
synced 2026-10-21 23:00:06 +08:00
🎉 2.0.1.0版本发布
✨ 重构活动BOSS武将包并新增独立PVP武将包 ✨ 完善天书动态难度、过关奖励与羁绊系统 🎨 新增自定义技能选择、羁绊谱册及移动端适配 🔊 整理BOSS配音、图片与模块资源路径 🐛 修复天书关卡、伤害保护及武将包加载问题
This commit is contained in:
+14
-2
@@ -1,6 +1,18 @@
|
||||
import bossSets from "./sets.js";
|
||||
import { mergeBossSection } from "./merge.js";
|
||||
|
||||
const voices = mergeBossSection("语音台词", bossSets, "voices");
|
||||
// 技能语音按实际 ext 音频目录生成台词键;阵亡语音仍使用“#角色ID:die”。
|
||||
const voices = {};
|
||||
for (const [setName, set] of bossSets) {
|
||||
for (const [key, text] of Object.entries(set.voices || {})) {
|
||||
const voiceKey = key.endsWith(":die")
|
||||
? key
|
||||
: `#ext:术樱包/pve/audio/skill/${setName}/${key.replace(/^#/, "")}`;
|
||||
if (Object.prototype.hasOwnProperty.call(voices, voiceKey)) {
|
||||
console.warn(`活动BOSS:跳过${setName}中重复的语音台词 ID“${voiceKey}”`);
|
||||
continue;
|
||||
}
|
||||
voices[voiceKey] = text;
|
||||
}
|
||||
}
|
||||
|
||||
export default voices;
|
||||
|
||||
Reference in New Issue
Block a user