[Add] Random number generator to lua/ai.