From 380796875f02c9ed2bfc07f7ab68d0d57e273b29 Mon Sep 17 00:00:00 2001 From: xinian Date: Thu, 26 Feb 2026 11:03:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A0=B9=E6=8D=AENPC=E6=88=98=E6=96=97?= =?UTF-8?q?=E7=89=B9=E6=AE=8A=E5=A4=84=E7=90=86=E8=A7=A3=E9=99=A4=E6=8D=95?= =?UTF-8?q?=E6=8D=89=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic/service/player/Monster.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/logic/service/player/Monster.go b/logic/service/player/Monster.go index 9fc2834a..acdf63a5 100644 --- a/logic/service/player/Monster.go +++ b/logic/service/player/Monster.go @@ -87,7 +87,8 @@ func (p *Player) GenMonster() { } p.Data[i].Lv = 16 - p.Data[i].IsCapture = 1 //解除捕捉限制 + + p.Data[i].IsCapture = handleNPCFightSpecial(p.Data[i].Ext) //解除捕捉限制 } } @@ -95,7 +96,7 @@ func (p *Player) GenMonster() { if cool.Config.ServerInfo.IsVip != 0 { //测试服,百分百异色 p.Data[i].FixSHiny() } else { - if p.Data[i].IsCapture!=0 && grand.Meet(1, 500) { + if p.Data[i].IsCapture != 0 && grand.Meet(1, 500) { p.Data[i].RandomByWeightShiny()