mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
修改最低好感度 避免0好感度问题
This commit is contained in:
parent
6864d54e27
commit
f39d53a865
@ -41,7 +41,7 @@ async def _handle_check_in(
|
||||
nickname: str, user_qq: int, group: int, present: datetime
|
||||
) -> MessageSegment:
|
||||
user = await SignGroupUser.ensure(user_qq, group, for_update=True)
|
||||
impression_added = random.random()
|
||||
impression_added = float(random.randint(10, 100))/100
|
||||
critx2 = random.random()
|
||||
add_probability = user.add_probability
|
||||
specify_probability = user.specify_probability
|
||||
|
||||
Loading…
Reference in New Issue
Block a user