下面语句中的or到底起不起作用
(defrule
(or (building-type-count town-center < 1)
(unit-type-count-total villager < 4))
(unit-type-count-total villager < 8)
(soldier-count <= 3)
(players-population any-enemy >= 15) 为啥不起作用。。 一窍不开 发表于 2016-6-23 11:16
为啥不起作用。。
我只是想如果要起作用得下面的写法才行
(defrule
(or (building-type-count town-center < 1)
(unit-type-count-total villager < 4))
(or(unit-type-count-total villager < 8)
(soldier-count <= 3)
(players-population any-enemy >= 15)) mxzwt2 发表于 2016-6-23 18:12
我只是想如果要起作用得下面的写法才行
(defrule
(or (building-type-count town-center < 1)
...
这两个都起作用啊
页:
[1]