编辑文件 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:54:46 +08:00
committed by cnb
parent 35abc16bc3
commit 2ebb2affb3

View File

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