From 99592ffe0a2b3e0639abbe45857c616e1c72fed8 Mon Sep 17 00:00:00 2001 From: Liu Date: Wed, 9 Apr 2025 20:56:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86/3000=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E5=A4=84=E7=90=86=EF=BC=8C=E4=B8=8D=E7=84=B6=E5=88=86=E6=95=B0?= =?UTF-8?q?=E5=A4=AA=E9=AB=98=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/decorator/points_decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/decorator/points_decorator.py b/utils/decorator/points_decorator.py index 0faa326..c221553 100644 --- a/utils/decorator/points_decorator.py +++ b/utils/decorator/points_decorator.py @@ -136,7 +136,7 @@ def plugin_points_cost(points: int, description: str = None, feature: Feature = user_points = points_db.get_user_points(sender, roomid) stats = points_db.get_user_points_stats(roomid) try: - points_auto = int(points * stats["total_points"] / 1000) + points_auto = int(points * stats["total_points"] / 3000) except Exception as e: logger.error(f"计算抵扣积分错误,使用默认积分:{e}") points_auto = points