1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 03:58:22 +08:00

Opt: Random reward interval

- reward_interval now can accept time range
- Lower global random simulation factor to 3
- Add option to stop game during reward interval
This commit is contained in:
LmeSzinc
2020-08-18 05:07:45 +08:00
parent f093ba1802
commit 5a37294fcd
8 changed files with 53 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ import numpy as np
from PIL import ImageStat
def random_normal_distribution_int(a, b, n=5):
def random_normal_distribution_int(a, b, n=3):
"""Generate a normal distribution int within the interval. Use the average value of several random numbers to
simulate normal distribution.