订单优化
This commit is contained in:
parent
0d649cc9b5
commit
08a6960c9d
@ -345,6 +345,9 @@ func (o *OrderMod) CreatePriorityOrder(lv int, Emit []int) bool {
|
||||
NewLv := GoUtil.RandNum(4+DurLv, 3+DurLv*2)
|
||||
NewChessId = mergeDataCfg.GetChessIdByLvAndColor(NewLv, NewColor)
|
||||
}
|
||||
if NewChessId == 0 {
|
||||
continue
|
||||
}
|
||||
o.addOrder([]int{NewChessId}, DiffLv, Common_type)
|
||||
return true
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user