Skip to content

Commit 82c421f

Browse files
committed
♻️ 调整对话意愿随机值范围
1 parent ff577cc commit 82c421f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nonebot_plugin_nyaturingtest/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ def __feedback_stage(
703703
chat_chance = response_dict["willing"]["2"]
704704
logger.debug(f"nyabot对话意愿:{chat_chance}")
705705

706-
random_value = random.uniform(0.0, 1.0)
706+
random_value = random.uniform(0.3, 0.7)
707707
logger.debug(f"意愿转变随机值:{random_value}")
708708

709709
match self.__chatting_state:

0 commit comments

Comments
 (0)