GAME INFORMATION
GAME BUILD: 101.101.61591.0 8647032
GAME PLATFORM: Steam
OPERATING SYSTEM: Windows 10
ISSUE EXPERIENCED
AI bug.
“unit-type-count-total archery-class” and “unit-type-count-total cavalry-archer-class”
The same as “unit-type-count-total 900” and “unit-type-count-total 936”
don’t work correctly, always = 0.
FREQUENCY OF ISSUE
- 100% of the time / matches I play (ALWAYS)
REPRODUCTION STEPS
For example:
(defrule
(timer-triggered fivesec)
=>
(up-get-fact unit-type-count-total 900 temporary-goal)
(up-chat-data-to-self “Display1: %d” g: temporary-goal)
(up-get-fact unit-type-count 900 temporary-goal2)
(up-chat-data-to-self “Display2: %d” g: temporary-goal2)
(up-get-fact unit-type-count-total 936 temporary-goal3)
(up-chat-data-to-self “Display3: %d” g: temporary-goal3)
(up-get-fact unit-type-count 936 temporary-goal4)
(up-chat-data-to-self “Display4: %d” g: temporary-goal4)
)
“Display1” and “Display3” always be “0”. No matter how many Archers/CavalryArchers there are.
That means “unit-type-count-total 900/936” or “unit-type-count-total archery-class/cavalry-archer-class” don’t work correctly.
Besides, “Display2” and “Display4” work well, there are no problem.
By the way, except “900” and “936”, “unit-type-count-total 9xx” works well,
Such as “unit-type-count-total 906/infantry-class”, “unit-type-count-total 912/cavalry-class”, works well, there are no problem.
EXPECTED RESULT
“unit-type-count-total 900/936” should get the right quantity of Archers / CavalryArchers.
IMAGE
GAME FILES (SAVE / RECORDING)
(null)