From 911c1d7ec275f39dc1c679404825d19bf3efd6dc Mon Sep 17 00:00:00 2001 From: xinian Date: Sun, 1 Mar 2026 17:26:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=96=87=E4=BB=B6=20item=5Fu?= =?UTF-8?q?se.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic/controller/item_use.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/controller/item_use.go b/logic/controller/item_use.go index 0f8d1b9d..cf6821a2 100644 --- a/logic/controller/item_use.go +++ b/logic/controller/item_use.go @@ -97,7 +97,7 @@ func (h Controller) handleNeuronItem(currentPet *model.PetInfo, c *player.Player // 炫彩碎片 处理神300212 func (h Controller) handlexuancaiItem(currentPet *model.PetInfo, c *player.Player) errorcode.ErrorCode { - r, _ := element.Calculator.GetCombination(int(currentPet.ID)) + r, _ := element.Calculator.GetCombination(int(xmlres.PetMAP[int(currentPet.ID)].Type)) if r.Secondary != nil { return errorcode.ErrorCodes.ErrItemUnusable }