enhance(frontend): update aiscript to 1.1.0

This commit is contained in:
syuilo
2025-08-18 10:18:34 +09:00
parent fea9f27fd6
commit e481205342
5 changed files with 14 additions and 14 deletions

View File

@@ -88,7 +88,7 @@ let choices = [
]
// シードが「PlayID+ユーザーID+今日の日付」である乱数生成器を用意
let random = Math:gen_rng(\`{THIS_ID}{USER_ID}{Date:year()}{Date:month()}{Date:day()}\`, { algorithm: 'rc4_legacy' })
let random = Math:gen_rng(\`{THIS_ID}{USER_ID}{Date:year()}{Date:month()}{Date:day()}\`)
// ランダムに選択肢を選ぶ
let chosen = choices[random(0, (choices.len - 1))]