to dirty.
I do it like this: there's a file that stores the probabilities of a hero of a certain type appearing in the tavern - HCTRAITS.TXT. For example, you dig for Jellu, and the percentage...
2 Vanya: you forgot about the dungeon... you're right!
The probability notepad is extracted from the resources... There's one in The Third Era!