Can't this be done with some elaborate event system-ing?
My mind's a bit disorganized right now, but determining what trait you'll be can be from a random variable...Then a flag or another variable turns on saying what trait this certain hero is (In case you need to reference it again, if not, then hooray, we don't need this flag).
Uh...
Maybe something like...
Message Choice: Human, Elf, Orc, etc.
Choose: Human
Set variable [001] random 1-3
if [001] = 1 then
Add Skill etc.
Message: Your trait is stupidity. etc.
Else
if [001] = 2
And the process repeats. @_@ There's always optimized ways yeah, but this is off the top of my head...
This might be a bit too advanced, but hey, Eventing is much more user friendly than scripting at times. xD