1
This commit is contained in:
parent
de6e75cb58
commit
2e23292eea
@ -15,6 +15,12 @@ type RewardTable struct {
|
||||
}
|
||||
|
||||
func (this *Reward) Init1() {
|
||||
if this.GetReward1() <= 0 {
|
||||
panic("Reward.reward_1 config error")
|
||||
}
|
||||
if this.GetReward1() > this.GetReward1(){
|
||||
panic("Reward.reward_2 config error")
|
||||
}
|
||||
}
|
||||
|
||||
func (this *Reward) RandScore() int32 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user