pull/937/head
Bakadax 2025-05-08 12:35:45 +08:00
parent e5b2e2a5ee
commit 997b4e4380
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ async def get_person_id(private_name: str, chat_stream: ChatStream):
)
return None # 返回 None 表示失败
async def adjust_relationship_value_nonlinear(self, old_value: float, raw_adjustment: float) -> float:
async def adjust_relationship_value_nonlinear(old_value: float, raw_adjustment: float) -> float:
# 限制 old_value 范围
old_value = max(-1000, min(1000, old_value))
value = raw_adjustment