update
This commit is contained in:
parent
3b673a5b10
commit
9fc5e5815b
@ -1044,6 +1044,7 @@ func (this *Hero) GetRandomCardByCardPool(cardPool string, count int32) (cards [
|
||||
hid string
|
||||
sz map[string]struct{}
|
||||
)
|
||||
sz = make(map[string]struct{}, count)
|
||||
for i := 0; i < int(count); i++ {
|
||||
hid, err = this.configure.GetHeroByPoolExcept(cardPool, sz)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user