订单bug修复

This commit is contained in:
hahwu 2025-08-27 14:21:00 +08:00
parent 3d19b8ba7f
commit 754f52febf

View File

@ -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":