feat: 增加宠物蛋结果计算和金币检查逻辑
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-18 11:14:55 +08:00
committed by cnb
parent e7098e3777
commit e2ac5a6325
4 changed files with 14 additions and 4 deletions

View File

@@ -156,7 +156,7 @@ func (s *EggService) GetEgg() *model.PetInfo {
return nil
}
mpets, isshiny := service.NewEggService().GetResult(tt.CurEgg.MalePetID, tt.CurEgg.FeMalePetID)
mpets, isshiny := service.NewEggService().GetResult(tt.CurEgg.MalePetID, tt.CurEgg.FeMalePetID,tt.CurEgg.EggID+tt.Data.Intimacy)
if mpets == 0 {
return nil
}