Probability function

Duomo1334

Chieftain
Joined
Dec 20, 2018
Messages
80
Is there a LUA-function that allows a certain building to create another building with some probability? For example: Completing the Barracks has a 10% chance of building an Armory. Is there any way to create a similar function?
 
Top Bottom