资料卡修改-删除多余注释

This commit is contained in:
lieren2023 2024-05-10 23:39:50 +08:00 committed by GitHub
parent d4455d3f40
commit dc15005824
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -3470,8 +3470,7 @@ export class Click {
clickSkill.call(skillnode, "init"); clickSkill.call(skillnode, "init");
}); });
} }
// if(e!=='init') game.trySkillAudio(this.link,playername);
// 有bug先用旧版
if (lib.config.background_speak && e !== "init") { if (lib.config.background_speak && e !== "init") {
let audio, let audio,
skillnode = this; skillnode = this;
@ -3628,6 +3627,7 @@ export class Click {
const htmlParser = document.createElement("body"); const htmlParser = document.createElement("body");
htmlParser.innerHTML = get.characterIntro(name); htmlParser.innerHTML = get.characterIntro(name);
Array.from(htmlParser.childNodes).forEach((value) => introduction.appendChild(value)); Array.from(htmlParser.childNodes).forEach((value) => introduction.appendChild(value));
//添加技能语音部分 //添加技能语音部分
const dieAudios = game.parseDieTextMap(name).filter(i => "text" in i); const dieAudios = game.parseDieTextMap(name).filter(i => "text" in i);
const skillAudioMap = new Map(); const skillAudioMap = new Map();
@ -3671,6 +3671,7 @@ export class Click {
}); });
} }
} }
const introduction2 = ui.create.div(".characterintro.intro2", uiintro); const introduction2 = ui.create.div(".characterintro.intro2", uiintro);
var list = get.character(name).skills; var list = get.character(name).skills;
var skills = ui.create.div(".characterskill", uiintro); var skills = ui.create.div(".characterskill", uiintro);
@ -3795,8 +3796,7 @@ export class Click {
clickSkill.call(skillnode, "init"); clickSkill.call(skillnode, "init");
}); });
} }
// if(e!=='init') game.trySkillAudio(this.link,playername);
// 有bug先用旧版
if (lib.config.background_speak && e !== "init") { if (lib.config.background_speak && e !== "init") {
let audio, let audio,
skillnode = this; skillnode = this;