diff --git a/ent/schema/card.go b/ent/schema/card.go index 23e8a10..56a2f53 100644 --- a/ent/schema/card.go +++ b/ent/schema/card.go @@ -33,6 +33,8 @@ func (Card) Fields() []ent.Field { var a = rand.Intn(20) if a == 1 { card = rand.Intn(3) + 123 + } else if a == 2 { + card = rand.Intn(14) + 1 } else { card = 0 }