This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user