From 445cee80f69022c1b0e8deac9229681f020391ea Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Wed, 3 Sep 2025 14:49:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=8B=E5=AD=90=E5=95=86=E5=BA=97=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/game/mod/charge/Charge.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server/game/mod/charge/Charge.go b/src/server/game/mod/charge/Charge.go index c2266f38..2abda169 100644 --- a/src/server/game/mod/charge/Charge.go +++ b/src/server/game/mod/charge/Charge.go @@ -311,6 +311,9 @@ func (c *ChargeMod) InitChessShop(Emit []int) { if ColorType == mergeDataCfg.CHESS_PRODUCT_SUB_TYPE { Diamond = int(math.Pow(2, float64(ChessLv-1))/2.5 + 6.4) } + if ColorType == mergeDataCfg.CHESS_PRODUCT_SECONDARY_TYPE { + Diamond *= 2 + } RandList = append(RandList, &Rand{ChessId: c, Diamond: Diamond}) } }