打开主菜单

少前百科GFwiki β

Widget:SkinQuery/js

莹lolo讨论 | 贡献2021年4月10日 (六) 20:56的版本 (创建页面,内容为“<includeonly><script type="text/javascript">(window.RLQ=window.RLQ||[]).push(function(){ var suitElement = document.querySelectorAll('.suitdata'); creat_suit(); crea…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

JP语音文本更新:CharacterVoice_jp.txt
语音模板更新:VoiceSample.txt
`; $("#bodyContent").html(output); $("#dollconvert").click( function(){ outlet();}); } function convert(str, word){ var blurs = 0; if(word == "|DIALOGUEWEDDING|" || word == "|SOULCONTRACT|") blurs = 1; if(cn.indexOf("\n" + dollname + word) != -1){ var position = btxt.indexOf("|中文", btxt.indexOf(str, 0)) + ((blurs) ? 10 : ((str[4] == "=") ? 5 : 6)); var before = btxt.slice(0, position); var after = btxt.slice(position, btxt.length); var voicetxt = cn.slice(cn.indexOf("\n" + dollname + word) + 1 + (dollname + word).length, cn.indexOf("\n", cn.indexOf("\n" + dollname + word) + 1) - 1); btxt = before + voicetxt.replace(//g, "
") + after; } if(jp.indexOf("\n" + dollname + word) != -1){ var position = btxt.indexOf("|日文", btxt.indexOf(str, 0)) + ((blurs) ? 10 : ((str[4] == "=") ? 5 : 6)); var before = btxt.slice(0, position); var after = btxt.slice(position, btxt.length); var voicetxt = jp.slice(jp.indexOf("\n" + dollname + word) + 1 + (dollname + word).length, jp.indexOf("\n", jp.indexOf("\n" + dollname + word) + 1) - 1); btxt = before + voicetxt.replace(//g, "
") + after; } } })