订单优化

This commit is contained in:
hahwu 2025-09-04 15:04:19 +08:00
parent 0d649cc9b5
commit 08a6960c9d

View File

@ -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
}