tweak flash omikuji preset

This commit is contained in:
syuilo
2023-01-16 10:07:46 +09:00
parent d600296360
commit 0fa602a184

View File

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