Make AI allocate troops more effectively.