订单bug修复
This commit is contained in:
parent
3d19b8ba7f
commit
754f52febf
@ -230,7 +230,13 @@ func (o *OrderMod) CheckCondition(lv int, condition, Type string, Emit []int) bo
|
||||
}
|
||||
case "OrderNum":
|
||||
id := GoUtil.Int(r2[1])
|
||||
if len(o.OrderList) != id {
|
||||
FixedOrder := 0
|
||||
for _, v := range o.OrderList {
|
||||
if v.Type == Fixed_type {
|
||||
FixedOrder++
|
||||
}
|
||||
}
|
||||
if FixedOrder != id {
|
||||
return false
|
||||
}
|
||||
case "Order":
|
||||
|
||||
Loading…
Reference in New Issue
Block a user