From 9011bdbb8a503a43cb4bb41d0d73abdb9602e1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E5=BF=B5?= <12574910+72wo@users.noreply.github.com> Date: Sat, 21 Feb 2026 17:56:30 +0800 Subject: [PATCH] 1 --- logic/service/player/Monster.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/logic/service/player/Monster.go b/logic/service/player/Monster.go index ae42d982..4c537b54 100644 --- a/logic/service/player/Monster.go +++ b/logic/service/player/Monster.go @@ -84,7 +84,10 @@ func (p *Player) GenMonster() { p.OgreInfo.Data[i].FixSHiny() } if xmlres.PetMAP[int(p.OgreInfo.Data[i].ID)].CatchRate != 0 { - p.OgreInfo.Data[i].RandomByWeightShiny() + if grand.Meet(1, 500) { + p.OgreInfo.Data[i].RandomByWeightShiny() + } + } if ok && len(mapinfo.DropItemIds) > 0 {