We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce12589 commit c41b0ebCopy full SHA for c41b0eb
src/nonebot_plugin_nyaturingtest/session.py
@@ -689,12 +689,17 @@ def __feedback_stage(
689
)
690
# 评估转换到状态0的概率
691
idle_chance = response_dict["willing"][0]
692
+ logger.debug(f"nyabot潜水意愿:{idle_chance}")
693
# 评估转换到状态1的概率
694
bubble_chance = response_dict["willing"][1]
695
+ logger.debug(f"nyabot冒泡意愿:{bubble_chance}")
696
# 评估转换到状态2的概率
697
chat_chance = response_dict["willing"][2]
698
+ logger.debug(f"nyabot对话意愿:{chat_chance}")
699
700
random_value = random.uniform(0.0, 1.0)
701
+ logger.debug(f"意愿转变随机值:{random_value}")
702
+
703
match self.__chatting_state:
704
case _ChattingState.ILDE:
705
if random_value > chat_chance:
0 commit comments