[feat] added regex script helps

This commit is contained in:
kwaroran
2023-05-08 00:13:55 +09:00
parent 2b33ea45a7
commit faaba0bdaa
4 changed files with 18 additions and 2 deletions

View File

@@ -20,6 +20,9 @@ export function processScriptFull(char:character, data:string, mode:ScriptMode){
if(char.viewScreen !== 'emotion'){
return v
}
if(emoChanged){
return v
}
const emoName = script.out.substring(6).trim()
let charemotions = get(CharEmotion)
let tempEmotion = charemotions[char.chaId]