编辑文件 pet_fusion_service.go
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed

This commit is contained in:
xinian
2026-02-05 01:51:55 +08:00
committed by cnb
parent 74f07a1d00
commit 35abc16bc3

View File

@@ -44,7 +44,8 @@ func (s *PetFusionService) Data(p1, p2, rand uint32) uint32 {
props = append(props, int(v.Probability))
}
utils.RandomByIntProbs(pets, props)
t,_:utils.RandomByIntProbs(pets, props)
return t
//说明是失败,直接返回失败
} else {