Changed how random events are selected