The error is due to the triggers still existing.
Comment out these sections instead:
Code:
;----another ai boost trait--------
Trigger AI_general_boost
WhenToTest CharacterTurnStart
Condition IsGeneral
and not CharacterIsLocal
and Trait NaturalAiBoost = 0
Affects NaturalAiBoost 1 Chance 100
;------------------------------------------
Trigger AI_heir_boost
WhenToTest CharacterTurnStart
Condition not IsFactionHeir
and not CharacterIsLocal
and Trait NaturalAiBoost < 2
Affects NaturalAiBoost 3 Chance 100
;------------------------------------------
Trigger AI_leader_boost
WhenToTest CharacterTurnStart
Condition not IsFactionLeader
and not CharacterIsLocal
and Trait NaturalAiBoost < 4
Affects NaturalAiBoost 5 Chance 100
Code:
;============= Ai_Boost TRIGGERS ============
;------------------------------------------
Trigger Ai_Boost_Add
WhenToTest CharacterTurnEnd
Condition not FactionIsLocal
and IsGeneral
and I_EventCounter DifficultyLevel <= 2
and Trait Ai_Boost < 1
Affects Ai_Boost 1 Chance 100
;------------------------------------------
Trigger Ai_Boost_Hard_Add
WhenToTest CharacterTurnEnd
Condition not FactionIsLocal
and IsGeneral
and I_EventCounter DifficultyLevel >= 3
and Trait Ai_Boost < 1
Affects Ai_Boost 3 Chance 100
;------------------------------------------
Trigger Ai_Boost_Remove
WhenToTest CharacterTurnEnd
Condition IsGeneral
and CharacterIsLocal
and Trait Ai_Boost >= 1
Affects Ai_Boost -3 Chance 100
Don't mess with the move fix, it's so that AI characters don't get permanently stuck somewhere.