aozhiwei 6ddbfb87fc 1
2024-11-11 11:55:02 +08:00

23 lines
246 B
Go

package mt
import (
"f5"
"math/rand"
"main/mtb"
)
type Reward struct {
mtb.Reward
}
type RewardTable struct {
f5.IdMetaTable[Reward]
}
func (this *Reward) RandScore() int32 {
if this.GetReward1() <0 {
}
return int32(rand.Intn(10))
}