From 5f2fac4a6d3244e8e589c9888c602c46eeecef74 Mon Sep 17 00:00:00 2001 From: Bakadax Date: Thu, 8 May 2025 13:13:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/PFC/pfc_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/PFC/pfc_utils.py b/src/plugins/PFC/pfc_utils.py index 30333d7d..6047aa81 100644 --- a/src/plugins/PFC/pfc_utils.py +++ b/src/plugins/PFC/pfc_utils.py @@ -320,7 +320,7 @@ async def adjust_relationship_value_nonlinear(old_value: float, raw_adjustment: if value >= 0: value = value * math.cos(math.pi * old_value / 2000) if old_value > 500: - rdict = person_info_manager.get_specific_value_list("relationship_value", lambda x: x > 700) + rdict = await person_info_manager.get_specific_value_list("relationship_value", lambda x: x > 700) high_value_count = len(rdict) if old_value > 700: value *= 3 / (high_value_count + 2)