From bc16ef6860763307c6f93c472283cc53bec518ac Mon Sep 17 00:00:00 2001 From: xinian Date: Sun, 1 Mar 2026 08:12:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=96=87=E4=BB=B6=20fight=5F?= =?UTF-8?q?boss=E9=87=8E=E6=80=AA=E5=92=8C=E5=9C=B0=E5=9B=BE=E6=80=AA.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic/controller/fight_boss野怪和地图怪.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/controller/fight_boss野怪和地图怪.go b/logic/controller/fight_boss野怪和地图怪.go index 61fbf3e60..6c6125605 100644 --- a/logic/controller/fight_boss野怪和地图怪.go +++ b/logic/controller/fight_boss野怪和地图怪.go @@ -175,7 +175,7 @@ func (Controller) OnPlayerFightNpcMonster(data1 *fight.FightNpcMonsterInboundInf p.AddPetExp(foi.Winpet, int64(addexp)) - if monster.IsShiny() && p.CanGetXUAN() &&xmlres.PetMAP[int(refref.GeGet()].Type<16{ + if monster.IsShiny() && p.CanGetXUAN() &&xmlres.PetMAP[int(refref.GeGet())].Type<16{ xuan := 400686 + int64(xmlres.PetMAP[int(refPet.GetID())].Type) ok := p.ItemAdd(xuan, 1) if ok {