mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
修改最低好感度 避免0好感度问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user