The 2 there was a typo, it's supposed to be 1. My goal is only have one level 2 for each faction at one time. Level 3 is handled by an ancillary.
Code:
;------------------------------------------
Ancillary mane
Type Court
Transferable 0
Image khajiit.tga
Description mane_desc
EffectsDescription mane_effects_desc
Effect Piety 3
Effect PersonalSecurity +3
Effect MovementPoints -25
Code:
Trigger mane
WhenTOTest CharacterTurnEnd
Condition AgentType = priest
and FactionReligion orthodox
and Trait Moon_Priestlevel = 2
and not I_WorldwideAncillaryExists mane
Affect Moon_Priestlevel 1 chance 100
AcquireAncillary mane chance 100