From 71ee2040fe344c945cd67396e38d0dca0fabcb09 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 22 Jan 2026 17:43:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AD=94=E6=B3=95=E7=A4=BC=E7=89=A9=E6=88=BF?= =?UTF-8?q?=E9=97=B4=E9=AD=85=E5=8A=9B=E5=80=BC10%=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../red/circle/other/app/listener/gift/GiveGiftsListener.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/GiveGiftsListener.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/GiveGiftsListener.java index 84c93853..3b34e03b 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/GiveGiftsListener.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/GiveGiftsListener.java @@ -822,6 +822,10 @@ public class GiveGiftsListener implements MessageListener { return getAssistCpGiftGoldRatio("").multiply(new BigDecimal("10")).min(new BigDecimal("0.7")); } + if (event.checkMagicGift()) { + return new BigDecimal("0.1"); + } + return BigDecimal.valueOf(1L); }