From eb47c3e1b9865e10cead970ac3af238547bd75c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E5=BF=B5?= <1@72wo.cn> Date: Fri, 19 Dec 2025 19:33:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(logic):=20=E4=BF=AE=E6=94=B9=E7=A8=80?= =?UTF-8?q?=E6=9C=89=E5=AE=A0=E7=89=A9=E6=8A=93=E6=8D=95=E6=A6=82=E7=8E=87?= =?UTF-8?q?=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将随机数生成范围从 0-9 调整为 1-12,提高稀有宠物的抓捕成功率 --- logic/controller/active_xiyou_in1.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/controller/active_xiyou_in1.go b/logic/controller/active_xiyou_in1.go index 4e1f0456..bf51a539 100644 --- a/logic/controller/active_xiyou_in1.go +++ b/logic/controller/active_xiyou_in1.go @@ -11,7 +11,7 @@ import ( // 传送仓抓稀有 func (h Controller) Cacthpet(data *pet.C2S_9756, c *player.Player) (result *pet.S2C_9756, err errorcode.ErrorCode) { result = &pet.S2C_9756{ - UseEV: uint32(grand.Intn(10)), + UseEV: uint32(grand.N(1, 13)), } return }