编辑文件 fight_boss野怪和地图怪.go
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed

This commit is contained in:
xinian
2026-03-01 08:12:49 +08:00
committed by cnb
parent e7d85133c3
commit bc16ef6860

View File

@@ -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 {