1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-03 21:45:20 +08:00
parent 796b55ffad
commit af92c89e1c
3 changed files with 4 additions and 4 deletions

View File

@@ -88,8 +88,7 @@ func (h Controller) PetFusion(data *pet.C2S_PetFusion, c *player.Player) (result
Auxpetinfo.Downgrade(1)
}
Auxpetinfo.NextLvExp = 0
Auxpetinfo.Update(false)
}
return &pet.PetFusionInfo{}, 0

View File

@@ -163,8 +163,7 @@ func init() {
PetItemRegistry.RegisterExact(300024, func(itemid uint32, onpet *model.PetInfo) bool {
onpet.Downgrade(1)
onpet.NextLvExp = 0
onpet.Update(false)
onpet.Ev = [6]uint32{}
onpet.Dv = uint32(grand.Intn(32))
onpet.Nature = (onpet.Nature + uint32(grand.Intn(25))) % 25

View File

@@ -291,6 +291,8 @@ func (pet *PetInfo) Downgrade(level uint32) {
//进行降级操作
}
pet.NextLvExp = 0
pet.Update(false)
}