Trigger witchinit2
WhenToTest AgentCreated

Condition AgentType = witch
and Trait NaturalWitchSkill = 1

Affects NaturalWitchSkill 1 Chance 100

;------------------------------------------
Trigger witchinit3
WhenToTest AgentCreated

Condition AgentType = witch
and Trait NaturalWitchSkill >= 2

Affects NaturalWitchSkill 1 Chance 50

;------------------------------------------
Trigger witchinit4
WhenToTest AgentCreated

Condition AgentType = witch
and Trait NaturalWitchSkill >= 3

Affects NaturalWitchSkill 1 Chance 33

;------------------------------------------
Trigger witchinit5
WhenToTest AgentCreated

Condition AgentType = witch
and Trait NaturalWitchSkill >= 4

Affects NaturalWitchSkill 1 Chance 33

***********************************

These are the trigger from export_descr_character_traits that give a created witch her ranks in magic, and I think the first is faulty: the witchinit2 is supposed to give a witch the first born-rank, as a starting point to eventually make her gain the 2nd and the 3rd.

But the line "and Trait NaturalWitchSkill = 1" should be removed from it, otherwise they will remain rank 0 (they cannot become rank 1 because they have not received a rank yet, and the following triggers can work only if she gets the first rank

As an example, these are the trigger for heretics when they appear:

**************************************************
Trigger hereticinit7
WhenToTest AgentCreated

Condition AgentType = heretic

Affects NaturalHereticSkill 1 Chance 100

;------------------------------------------
Trigger hereticinit8
WhenToTest AgentCreated

Condition Trait NaturalHereticSkill >= 1

Affects NaturalHereticSkill 1 Chance 33

;------------------------------------------
Trigger hereticinit9
WhenToTest AgentCreated

Condition Trait NaturalHereticSkill >= 2

Affects NaturalHereticSkill 1 Chance 33

*************************************************

If you check all the other agents'creation triggers youll'notice they are similar to the heretic's.

The correct triggers for the witch should be these (you'll notice the lines "and Trait NaturalWitchSkill >= x" should be lowered by 1 each for it to work properly:

*************************************************
Trigger witchinit2
WhenToTest AgentCreated

Condition AgentType = witch

Affects NaturalWitchSkill 1 Chance 100

;------------------------------------------
Trigger witchinit3
WhenToTest AgentCreated

Condition AgentType = witch
and Trait NaturalWitchSkill >= 1

Affects NaturalWitchSkill 1 Chance 50

;------------------------------------------
Trigger witchinit4
WhenToTest AgentCreated

Condition AgentType = witch
and Trait NaturalWitchSkill >= 2

Affects NaturalWitchSkill 1 Chance 33

;------------------------------------------
Trigger witchinit5
WhenToTest AgentCreated

Condition AgentType = witch
and Trait NaturalWitchSkill >= 3

Affects NaturalWitchSkill 1 Chance 33

***********************************************

I used the search function but I didn't see anyone reporting this, so I wrote it (I hope I'm right about the fault of the trigger).