From 68ff96ae84f1605b6c4848a69555d8c3a47c263f Mon Sep 17 00:00:00 2001 From: xinian Date: Tue, 24 Feb 2026 00:27:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=96=87=E4=BB=B6=20fight=5F?= =?UTF-8?q?base.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic/controller/fight_base.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/logic/controller/fight_base.go b/logic/controller/fight_base.go index e5158908..6ff1974b 100644 --- a/logic/controller/fight_base.go +++ b/logic/controller/fight_base.go @@ -58,6 +58,11 @@ func (h Controller) Capture(data *fight.CatchMonsterInboundInfo, c *player.Playe if err := h.checkFightStatus(c); err != 0 { return nil, err } + if c.GetSpace().IsTime { + if data.ItemId < 300009 { + return nil, errorcode.ErrorCodes.ErrCannotPerformAction + } + } defer c.FightC.Capture(c, data.CapsuleId) return nil, -1 }