namespace = magicka
#Set initial magicka.
character_event = {
	id = magicka.0
	hide_window = yes
	
	is_triggered_only = yes
	
	only_playable = yes
	ai = no
	
	trigger = {
		is_spellcaster = yes
	}
	
	immediate = {
		if = {
			limit = { NOT = { has_character_modifier = magicka_counter } }
			set_magicka = yes
			add_character_modifier = {
				name = magicka_counter
				duration = -1
			}
		}
		if = {
			limit = {
				has_character_modifier = magicka_counter
			}
			refresh_max_magicka = yes
		}
	}
}
#Magicka Regen
character_event = {
	id = magicka.1
	desc = magicka.1.d
	hide_window = yes
	picture = GFX_evt_mage
	
	only_playable = yes
	ai = no
	
	trigger = {
		is_spellcaster = yes
		has_character_modifier = magicka_counter
	}
	
	mean_time_to_happen = {
		months = 3

		modifier = { factor = 0.75 has_character_modifier = modifier_potion_of_restore_magicka }
		modifier = { factor = 0.9 has_character_modifier = modifier_ek_mages_guild_spellcrafting }	
		modifier = { factor = 0.80 any_artifact = { is_artifact_equipped = yes artifact_type = ring_of_erudite } }
		modifier = { factor = 0.80 any_artifact = { is_artifact_equipped = yes artifact_type = amulet_of_akatosh } }
		modifier = { factor = 0.75 trait = dragonborn }
		modifier = { factor = 0.85 trait = dragonborn_descendant }
		modifier = { factor = 0.90 trait = lich }
		modifier = { factor = 0.90 trait = mane }
		modifier = { factor = 0.80 is_smart_trigger = yes }
		modifier = { factor = 1.20 is_dumb_trigger = yes }
		modifier = { factor = 1.15 has_mental_disorder_trigger = yes }
		modifier = { factor = 1.15 trait = skooma_addiction }
		modifier = { factor = 1.5 trait = chrondiasis }
		modifier = { factor = 1.25 has_severe_disability_trigger = yes }
		modifier = { factor = 1.15 has_medium_disability_trigger = yes }
		modifier = { factor = 1.05 has_minor_disability_trigger = yes }
		modifier = { factor = 1.25 has_disease_trigger = yes NOT = { trait = chrondiasis} }
		modifier = { factor = 0.9 has_magicka_regen_0 = yes }
		modifier = { factor = 0.85 has_magicka_regen_1 = yes }
		modifier = { factor = 0.8 has_magicka_regen_2 = yes }
		modifier = { factor = 0.75 has_magicka_regen_3 = yes }
		modifier = { factor = 0.7 has_magicka_regen_4 = yes }
		modifier = { factor = 0.65 has_magicka_regen_5 = yes }
		modifier = { factor = 0.6 has_magicka_regen_6 = yes }
		modifier = { factor = 0.55 has_magicka_regen_7 = yes }
		modifier = { factor = 0.5 has_magicka_regen_8 = yes }
	}
	
	immediate = {
		regen_magicka_effect = yes
	}
	
	option = {
		name = OK
	}
}
############
# TODO:JJPERF
character_event = {
	id = 999503
	hide_window = yes
	min_age = 16

	trigger = {
		ai = no
		OR = {
			AND = {
				NOT = { has_character_modifier = timer_boost_morale_defence }
				OR = { trait = spell_boost_morale_defence_1 trait = spell_boost_morale_defence_2 trait = spell_boost_morale_defence_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_boost_morale_offence }
				OR = { trait = spell_boost_morale_offence_1 trait = spell_boost_morale_offence_2 trait = spell_boost_morale_offence_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_increase_defence }
				OR = { trait = spell_increase_defence_1 trait = spell_increase_defence_2 trait = spell_increase_defence_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_increase_damage }
				OR = { trait = spell_increase_damage_1 trait = spell_increase_damage_2 trait = spell_increase_damage_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_hasten_army }
				OR = { trait = spell_hasten_army_1 trait = spell_hasten_army_2 trait = spell_hasten_army_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_smoke_screen }
				OR = { trait = spell_smoke_screen_1 trait = spell_smoke_screen_2 trait = spell_smoke_screen_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_slow_enemy }
				OR = { trait = spell_slow_enemy_1 trait = spell_slow_enemy_2 trait = spell_slow_enemy_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_sheogorath_tactic }
				OR = { trait = spell_sheogorath_tactic_1 trait = spell_sheogorath_tactic_2 trait = spell_sheogorath_tactic_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_religious_fervor }
				OR = { trait = spell_religious_fervor_1 trait = spell_religious_fervor_2 trait = spell_religious_fervor_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_conjure_siege }
				OR = { trait = spell_conjure_siege_1 trait = spell_conjure_siege_2 trait = spell_conjure_siege_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_final_stand }
				OR = { trait = spell_final_stand_1 trait = spell_final_stand_2 trait = spell_final_stand_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_improve_tolerance }
				OR = { trait = spell_improve_tolerance_1 trait = spell_improve_tolerance_2 trait = spell_improve_tolerance_3 }
			}
			AND = {
				NOT = { has_character_modifier = timer_terrain_knowlege_1 }
				trait = spell_terrain_knowledge_1
			}
			AND = {
				NOT = { has_character_modifier = timer_terrain_knowlege_2 }
				trait = spell_terrain_knowledge_2
			}
			AND = {
				NOT = { has_character_modifier = timer_terrain_knowlege_3 }
				trait = spell_terrain_knowledge_3
			}
			AND = {
				NOT = { has_character_modifier = timer_terrain_knowlege_4 }
				trait = spell_terrain_knowledge_4
			}
			AND = {
				NOT = { has_character_modifier = timer_terrain_knowlege_5 }
				trait = spell_terrain_knowledge_5
			}
			AND = {
				NOT = { has_character_modifier = timer_terrain_knowlege_6 }
				trait = spell_terrain_knowledge_6
			}
			AND = {
				NOT = { has_character_modifier = timer_terrain_knowlege_7 }
				trait = spell_terrain_knowledge_7
			}
			AND = {
				NOT = { has_character_modifier = timer_terrain_knowlege_8 }
				trait = spell_terrain_knowledge_8
			}
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	immediate = {
		if = {
			limit = {
				NOT = { has_character_modifier = timer_boost_morale_defence }
				OR = { trait = spell_boost_morale_defence_1 trait = spell_boost_morale_defence_2 trait = spell_boost_morale_defence_3 }
			}
			remove_trait = spell_boost_morale_defence_1
			remove_trait = spell_boost_morale_defence_2
			remove_trait = spell_boost_morale_defence_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_boost_morale_offence }
				OR = { trait = spell_boost_morale_offence_1 trait = spell_boost_morale_offence_2 trait = spell_boost_morale_offence_3 }
			}
			remove_trait = spell_boost_morale_offence_1
			remove_trait = spell_boost_morale_offence_2
			remove_trait = spell_boost_morale_offence_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_increase_defence }
				OR = { trait = spell_increase_defence_1 trait = spell_increase_defence_2 trait = spell_increase_defence_3 }
			}
			remove_trait = spell_increase_defence_1
			remove_trait = spell_increase_defence_2
			remove_trait = spell_increase_defence_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_increase_damage }
				OR = { trait = spell_increase_damage_1 trait = spell_increase_damage_2 trait = spell_increase_damage_3 }
			}
			remove_trait = spell_increase_damage_1
			remove_trait = spell_increase_damage_2
			remove_trait = spell_increase_damage_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_hasten_army }
				OR = { trait = spell_hasten_army_1 trait = spell_hasten_army_2 trait = spell_hasten_army_3 }
			}
			remove_trait = spell_hasten_army_1
			remove_trait = spell_hasten_army_2
			remove_trait = spell_hasten_army_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_smoke_screen }
				OR = { trait = spell_smoke_screen_1 trait = spell_smoke_screen_2 trait = spell_smoke_screen_3 }
			}
			remove_trait = spell_smoke_screen_1
			remove_trait = spell_smoke_screen_2
			remove_trait = spell_smoke_screen_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_slow_enemy }
				OR = { trait = spell_slow_enemy_1 trait = spell_slow_enemy_2 trait = spell_slow_enemy_3 }
			}
			remove_trait = spell_slow_enemy_1
			remove_trait = spell_slow_enemy_2
			remove_trait = spell_slow_enemy_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_sheogorath_tactic }
				OR = { trait = spell_sheogorath_tactic_1 trait = spell_sheogorath_tactic_2 trait = spell_sheogorath_tactic_3 }
			}
			remove_trait = spell_sheogorath_tactic_1
			remove_trait = spell_sheogorath_tactic_2
			remove_trait = spell_sheogorath_tactic_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_religious_fervor }
				OR = { trait = spell_religious_fervor_1 trait = spell_religious_fervor_2 trait = spell_religious_fervor_3 }
			}
			remove_trait = spell_religious_fervor_1
			remove_trait = spell_religious_fervor_2
			remove_trait = spell_religious_fervor_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_conjure_siege }
				OR = { trait = spell_conjure_siege_1 trait = spell_conjure_siege_2 trait = spell_conjure_siege_3 }
			}
			remove_trait = spell_conjure_siege_1
			remove_trait = spell_conjure_siege_2
			remove_trait = spell_conjure_siege_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_final_stand }
				OR = { trait = spell_final_stand_1 trait = spell_final_stand_2 trait = spell_final_stand_3 }
			}
			remove_trait = spell_final_stand_1
			remove_trait = spell_final_stand_2
			remove_trait = spell_final_stand_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_improve_tolerance }
				OR = { trait = spell_improve_tolerance_1 trait = spell_improve_tolerance_2 trait = spell_improve_tolerance_3 }
			}
			remove_trait = spell_improve_tolerance_1
			remove_trait = spell_improve_tolerance_2
			remove_trait = spell_improve_tolerance_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_terrain_knowlege_1 }
				trait = spell_terrain_knowledge_1
			}
			remove_trait = spell_terrain_knowledge_1
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_terrain_knowlege_2 }
				trait = spell_terrain_knowledge_2
			}
			remove_trait = spell_terrain_knowledge_2
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_terrain_knowlege_3 }
				trait = spell_terrain_knowledge_3
			}
			remove_trait = spell_terrain_knowledge_3
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_terrain_knowlege_4 }
				trait = spell_terrain_knowledge_4
			}
			remove_trait = spell_terrain_knowledge_4
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_terrain_knowlege_5 }
				trait = spell_terrain_knowledge_5
			}
			remove_trait = spell_terrain_knowledge_5
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_terrain_knowlege_6 }
				trait = spell_terrain_knowledge_6
			}
			remove_trait = spell_terrain_knowledge_6
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_terrain_knowlege_7 }
				trait = spell_terrain_knowledge_7
			}
			remove_trait = spell_terrain_knowledge_7
		}
		if = {
			limit = {
				NOT = { has_character_modifier = timer_terrain_knowlege_8 }
				trait = spell_terrain_knowledge_8
			}
			remove_trait = spell_terrain_knowledge_8
		}
	}
}

#600000-6999999
#Spell System by Novacat

character_event = {
	id = 600000
	desc = EVTDESC600000
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600000
		trigger = {
			check_variable = { which = magicka_current value = 1 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				remove_character_modifier = spell_fortify_health_1
				remove_character_modifier = spell_fortify_health_2
				remove_character_modifier = spell_fortify_health_3
				remove_character_modifier = spell_fortify_fertility_1
				remove_character_modifier = spell_fortify_fertility_2
				remove_character_modifier = spell_fortify_fertility_3
				remove_character_modifier = spell_fortify_diplomacy_1
				remove_character_modifier = spell_fortify_diplomacy_2
				remove_character_modifier = spell_fortify_diplomacy_3
				remove_character_modifier = spell_fortify_martial_1
				remove_character_modifier = spell_fortify_martial_2
				remove_character_modifier = spell_fortify_martial_3
				remove_character_modifier = spell_fortify_stewardship_1
				remove_character_modifier = spell_fortify_stewardship_2
				remove_character_modifier = spell_fortify_stewardship_3
				remove_character_modifier = spell_fortify_intrigue_1
				remove_character_modifier = spell_fortify_intrigue_2
				remove_character_modifier = spell_fortify_intrigue_3
				remove_character_modifier = spell_fortify_learning_1
				remove_character_modifier = spell_fortify_learning_2
				remove_character_modifier = spell_fortify_learning_3
				remove_character_modifier = spell_fortify_prestige_1
				remove_character_modifier = spell_fortify_prestige_2
				remove_character_modifier = spell_fortify_prestige_3
				remove_character_modifier = spell_fortify_piety_1
				remove_character_modifier = spell_fortify_piety_2
				remove_character_modifier = spell_fortify_piety_3
				remove_character_modifier = spell_transmute_1
				remove_character_modifier = spell_transmute_2
				remove_character_modifier = spell_transmute_3
				remove_character_modifier = spell_boost_global_opinion_1
				remove_character_modifier = spell_boost_global_opinion_2
				remove_character_modifier = spell_boost_global_opinion_3
				remove_character_modifier = spell_construct_building_1
				remove_character_modifier = spell_construct_building_2
				remove_character_modifier = spell_construct_building_3
				remove_character_modifier = spell_combat_rating_1
				remove_character_modifier = spell_combat_rating_2
				remove_character_modifier = spell_combat_rating_3
				remove_character_modifier = spell_increase_global_income_1
				remove_character_modifier = spell_increase_global_income_2
				remove_character_modifier = spell_increase_global_income_3
				remove_character_modifier = spell_global_tranquility_1
				remove_character_modifier = spell_global_tranquility_2
				remove_character_modifier = spell_global_tranquility_3
				remove_character_modifier = spell_boost_local_opinion_1
				remove_character_modifier = spell_boost_local_opinion_2
				remove_character_modifier = spell_boost_local_opinion_3
				remove_character_modifier = spell_boost_global_morale_1
				remove_character_modifier = spell_boost_global_morale_2
				remove_character_modifier = spell_boost_global_morale_3
				remove_character_modifier = spell_regen_global_morale_1
				remove_character_modifier = spell_regen_global_morale_2
				remove_character_modifier = spell_regen_global_morale_3
				remove_character_modifier = spell_bless_army_weapons_1
				remove_character_modifier = spell_bless_army_weapons_2
				remove_character_modifier = spell_bless_army_weapons_3
				remove_character_modifier = spell_bless_army_armor_1
				remove_character_modifier = spell_bless_army_armor_2
				remove_character_modifier = spell_bless_army_armor_3
				remove_character_modifier = spell_boost_global_recruitment_1
				remove_character_modifier = spell_boost_global_recruitment_2
				remove_character_modifier = spell_boost_global_recruitment_3
				remove_character_modifier = spell_charm_1
				remove_character_modifier = spell_charm_2
				remove_character_modifier = spell_charm_3
				remove_character_modifier = spell_pacify_vassals_1
				remove_character_modifier = spell_pacify_vassals_2
				remove_character_modifier = spell_pacify_vassals_3
				remove_character_modifier = spell_pacify_self_1
				remove_character_modifier = spell_pacify_self_2
				remove_character_modifier = spell_pacify_self_3
			}
		}
	}
	option = {
		name = EVTOPTB600000
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				location = {
					remove_province_modifier = spell_decay_walls_1
					remove_province_modifier = spell_decay_walls_2
					remove_province_modifier = spell_decay_walls_3
					remove_province_modifier = spell_decrease_local_levy_1
					remove_province_modifier = spell_decrease_local_levy_2
					remove_province_modifier = spell_decrease_local_levy_3
					remove_province_modifier = spell_decay_local_recruitment_1
					remove_province_modifier = spell_decay_local_recruitment_2
					remove_province_modifier = spell_decay_local_recruitment_3
					remove_province_modifier = spell_decrease_garrison_1
					remove_province_modifier = spell_decrease_garrison_2
					remove_province_modifier = spell_decrease_garrison_3
					remove_province_modifier = spell_weaken_resist_1
					remove_province_modifier = spell_weaken_resist_2
					remove_province_modifier = spell_weaken_resist_3
					remove_province_modifier = spell_decrease_supply_1
					remove_province_modifier = spell_decrease_supply_2
					remove_province_modifier = spell_decrease_supply_3
					remove_province_modifier = spell_enrage_province_1
					remove_province_modifier = spell_enrage_province_2
					remove_province_modifier = spell_enrage_province_3
					remove_province_modifier = spell_decrease_local_income_1
					remove_province_modifier = spell_decrease_local_income_2
					remove_province_modifier = spell_decrease_local_income_3
					remove_province_modifier = spell_dull_memory_1
					remove_province_modifier = spell_dull_memory_2
					remove_province_modifier = spell_dull_memory_3
					remove_province_modifier = spell_reduce_local_morale_1
					remove_province_modifier = spell_reduce_local_morale_2
					remove_province_modifier = spell_reduce_local_morale_3
					remove_province_modifier = spell_break_weapons_1
					remove_province_modifier = spell_break_weapons_2
					remove_province_modifier = spell_break_weapons_3
					remove_province_modifier = spell_break_armor_1
					remove_province_modifier = spell_break_armor_2
					remove_province_modifier = spell_break_armor_3
				}
			}
		}
	}
	option = {
		name = EVTOPTC600000
		clr_character_flag = casting_spell
	}
}

#Character Modifiers#

character_event = {
	id = 600001
	desc = EVTDESC600001
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600001
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_health_1
					remove_character_modifier = spell_fortify_health_2
					remove_character_modifier = spell_fortify_health_3
					add_character_modifier = {
						name = spell_fortify_health_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600001
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_health_1
					remove_character_modifier = spell_fortify_health_2
					remove_character_modifier = spell_fortify_health_3
					add_character_modifier = {
						name = spell_fortify_health_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600001
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_health_1
					remove_character_modifier = spell_fortify_health_2
					remove_character_modifier = spell_fortify_health_3
					add_character_modifier = {
						name = spell_fortify_health_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600001
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600002
	desc = EVTDESC600002
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600002
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_fertility_1
					remove_character_modifier = spell_fortify_fertility_2
					remove_character_modifier = spell_fortify_fertility_3
					add_character_modifier = {
						name = spell_fortify_fertility_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600002
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_fertility_1
					remove_character_modifier = spell_fortify_fertility_2
					remove_character_modifier = spell_fortify_fertility_3
					add_character_modifier = {
						name = spell_fortify_fertility_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600002
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_fertility_1
					remove_character_modifier = spell_fortify_fertility_2
					remove_character_modifier = spell_fortify_fertility_3
					add_character_modifier = {
						name = spell_fortify_fertility_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600002
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600003
	desc = EVTDESC600003
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600003
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_diplomacy_1
					remove_character_modifier = spell_fortify_diplomacy_2
					remove_character_modifier = spell_fortify_diplomacy_3
					add_character_modifier = {
						name = spell_fortify_diplomacy_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600003
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_diplomacy_1
					remove_character_modifier = spell_fortify_diplomacy_2
					remove_character_modifier = spell_fortify_diplomacy_3
					add_character_modifier = {
						name = spell_fortify_diplomacy_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600003
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_diplomacy_1
					remove_character_modifier = spell_fortify_diplomacy_2
					remove_character_modifier = spell_fortify_diplomacy_3
					add_character_modifier = {
						name = spell_fortify_diplomacy_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600003
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600004
	desc = EVTDESC600004
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600004
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_martial_1
					remove_character_modifier = spell_fortify_martial_2
					remove_character_modifier = spell_fortify_martial_3
					add_character_modifier = {
						name = spell_fortify_martial_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600004
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_martial_1
					remove_character_modifier = spell_fortify_martial_2
					remove_character_modifier = spell_fortify_martial_3
					add_character_modifier = {
						name = spell_fortify_martial_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600004
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_martial_1
					remove_character_modifier = spell_fortify_martial_2
					remove_character_modifier = spell_fortify_martial_3
					add_character_modifier = {
						name = spell_fortify_martial_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600004
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600005
	desc = EVTDESC600005
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600005
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_stewardship_1
					remove_character_modifier = spell_fortify_stewardship_2
					remove_character_modifier = spell_fortify_stewardship_3
					add_character_modifier = {
						name = spell_fortify_stewardship_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600005
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_stewardship_1
					remove_character_modifier = spell_fortify_stewardship_2
					remove_character_modifier = spell_fortify_stewardship_3
					add_character_modifier = {
						name = spell_fortify_stewardship_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600005
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_stewardship_1
					remove_character_modifier = spell_fortify_stewardship_2
					remove_character_modifier = spell_fortify_stewardship_3
					add_character_modifier = {
						name = spell_fortify_stewardship_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600005
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600006
	desc = EVTDESC600006
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600006
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_intrigue_1
					remove_character_modifier = spell_fortify_intrigue_2
					remove_character_modifier = spell_fortify_intrigue_3
					add_character_modifier = {
						name = spell_fortify_intrigue_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600006
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_intrigue_1
					remove_character_modifier = spell_fortify_intrigue_2
					remove_character_modifier = spell_fortify_intrigue_3
					add_character_modifier = {
						name = spell_fortify_intrigue_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600006
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_intrigue_1
					remove_character_modifier = spell_fortify_intrigue_2
					remove_character_modifier = spell_fortify_intrigue_3
					add_character_modifier = {
						name = spell_fortify_intrigue_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600006
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600007
	desc = EVTDESC600007
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600007
		trigger = {
			check_variable = { which = magicka_current value = 8 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_8
			hidden_tooltip = {
				spell_cost_8 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_learning_1
					remove_character_modifier = spell_fortify_learning_2
					remove_character_modifier = spell_fortify_learning_3
					add_character_modifier = {
						name = spell_fortify_learning_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600007
		trigger = {
			check_variable = { which = magicka_current value = 24 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_24
			hidden_tooltip = {
				spell_cost_24 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_learning_1
					remove_character_modifier = spell_fortify_learning_2
					remove_character_modifier = spell_fortify_learning_3
					add_character_modifier = {
						name = spell_fortify_learning_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600007
		trigger = {
			check_variable = { which = magicka_current value = 40 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_40
			hidden_tooltip = {
				spell_cost_40 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_learning_1
					remove_character_modifier = spell_fortify_learning_2
					remove_character_modifier = spell_fortify_learning_3
					add_character_modifier = {
						name = spell_fortify_learning_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600007
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600008
	desc = EVTDESC600008
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600008
		trigger = {
			check_variable = { which = magicka_current value = 1 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_prestige_1
					remove_character_modifier = spell_fortify_prestige_2
					remove_character_modifier = spell_fortify_prestige_3
					add_character_modifier = {
						name = spell_fortify_prestige_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600008
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_prestige_1
					remove_character_modifier = spell_fortify_prestige_2
					remove_character_modifier = spell_fortify_prestige_3
					add_character_modifier = {
						name = spell_fortify_prestige_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600008
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_prestige_1
					remove_character_modifier = spell_fortify_prestige_2
					remove_character_modifier = spell_fortify_prestige_3
					add_character_modifier = {
						name = spell_fortify_prestige_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600008
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600009
	desc = EVTDESC600009
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600009
		trigger = {
			check_variable = { which = magicka_current value = 1 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_piety_1
					remove_character_modifier = spell_fortify_piety_2
					remove_character_modifier = spell_fortify_piety_3
					add_character_modifier = {
						name = spell_fortify_piety_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600009
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_piety_1
					remove_character_modifier = spell_fortify_piety_2
					remove_character_modifier = spell_fortify_piety_3
					add_character_modifier = {
						name = spell_fortify_piety_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600009
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_fortify_piety_1
					remove_character_modifier = spell_fortify_piety_2
					remove_character_modifier = spell_fortify_piety_3
					add_character_modifier = {
						name = spell_fortify_piety_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600009
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600010
	desc = EVTDESC600010
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600010
		trigger = {
			check_variable = { which = magicka_current value = 8 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_8
			hidden_tooltip = {
				spell_cost_8 = yes
				
				FROM = {
					remove_character_modifier = spell_transmute_1
					remove_character_modifier = spell_transmute_2
					remove_character_modifier = spell_transmute_3
					add_character_modifier = {
						name = spell_transmute_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600010
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_transmute_1
					remove_character_modifier = spell_transmute_2
					remove_character_modifier = spell_transmute_3
					add_character_modifier = {
						name = spell_transmute_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600010
		trigger = {
			check_variable = { which = magicka_current value = 32 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_32
			hidden_tooltip = {
				spell_cost_32 = yes
				
				FROM = {
					remove_character_modifier = spell_transmute_1
					remove_character_modifier = spell_transmute_2
					remove_character_modifier = spell_transmute_3
					add_character_modifier = {
						name = spell_transmute_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600010
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600011
	desc = EVTDESC600011
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_drain_health_1 }
				FROM = { has_character_modifier = spell_drain_health_2 }
				FROM = { has_character_modifier = spell_drain_health_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_drain_health_1
					remove_character_modifier = spell_drain_health_2
					remove_character_modifier = spell_drain_health_3 }
			}
		}
	}
	option = {
		name = EVTOPTB600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_drain_fertility_1 }
				FROM = { has_character_modifier = spell_drain_fertility_2 }
				FROM = { has_character_modifier = spell_drain_fertility_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_drain_fertility_1
					remove_character_modifier = spell_drain_fertility_2
					remove_character_modifier = spell_drain_fertility_3 }
			}
		}
	}
	option = {
		name = EVTOPTC600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_drain_diplomacy_1 }
				FROM = { has_character_modifier = spell_drain_diplomacy_2 }
				FROM = { has_character_modifier = spell_drain_diplomacy_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_drain_diplomacy_1
					remove_character_modifier = spell_drain_diplomacy_2
					remove_character_modifier = spell_drain_diplomacy_3 }
			}
		}
	}
	option = {
		name = EVTOPTD600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_drain_martial_1 }
				FROM = { has_character_modifier = spell_drain_martial_2 }
				FROM = { has_character_modifier = spell_drain_martial_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_drain_martial_1
					remove_character_modifier = spell_drain_martial_2
					remove_character_modifier = spell_drain_martial_3 }
			}
		}
	}
	option = {
		name = EVTOPTE600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_drain_stewardship_1 }
				FROM = { has_character_modifier = spell_drain_stewardship_2 }
				FROM = { has_character_modifier = spell_drain_stewardship_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_drain_stewardship_1
					remove_character_modifier = spell_drain_stewardship_2
					remove_character_modifier = spell_drain_stewardship_3 }
			}
		}
	}
	option = {
		name = EVTOPTF600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_drain_intrigue_1 }
				FROM = { has_character_modifier = spell_drain_intrigue_2 }
				FROM = { has_character_modifier = spell_drain_intrigue_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_drain_intrigue_1
					remove_character_modifier = spell_drain_intrigue_2
					remove_character_modifier = spell_drain_intrigue_3 }
			}
		}
	}
	option = {
		name = EVTOPTG600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_drain_learning_1 }
				FROM = { has_character_modifier = spell_drain_learning_2 }
				FROM = { has_character_modifier = spell_drain_learning_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_drain_learning_1
					remove_character_modifier = spell_drain_learning_2
					remove_character_modifier = spell_drain_learning_3 }
			}
		}
	}
	option = {
		name = EVTOPTH600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_drain_prestige_1 }
				FROM = { has_character_modifier = spell_drain_prestige_2 }
				FROM = { has_character_modifier = spell_drain_prestige_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_drain_prestige_1
					remove_character_modifier = spell_drain_prestige_2
					remove_character_modifier = spell_drain_prestige_3 }
			}
		}
	}
	option = {
		name = EVTOPTI600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_drain_piety_1 }
				FROM = { has_character_modifier = spell_drain_piety_2 }
				FROM = { has_character_modifier = spell_drain_piety_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_drain_piety_1
					remove_character_modifier = spell_drain_piety_2
					remove_character_modifier = spell_drain_piety_3 }
			}
		}
	}
	option = {
		name = EVTOPTJ600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_foolsgold_1 }
				FROM = { has_character_modifier = spell_foolsgold_2 }
				FROM = { has_character_modifier = spell_foolsgold_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_foolsgold_1
					remove_character_modifier = spell_foolsgold_2
					remove_character_modifier = spell_foolsgold_3 }
			}
		}
	}
	option = {
		name = EVTOPTK600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_frenzy_global_opinion_1 }
				FROM = { has_character_modifier = spell_frenzy_global_opinion_2 }
				FROM = { has_character_modifier = spell_frenzy_global_opinion_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_frenzy_global_opinion_1
					remove_character_modifier = spell_frenzy_global_opinion_2
					remove_character_modifier = spell_frenzy_global_opinion_3 }
			}
		}
	}
	option = {
		name = EVTOPTL600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_curse_building_1 }
				FROM = { has_character_modifier = spell_curse_building_2 }
				FROM = { has_character_modifier = spell_curse_building_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_curse_building_1
					remove_character_modifier = spell_curse_building_2
					remove_character_modifier = spell_curse_building_3 }
			}
		}
	}
	option = {
		name = EVTOPTM600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_drain_combat_1 }
				FROM = { has_character_modifier = spell_drain_combat_2 }
				FROM = { has_character_modifier = spell_drain_combat_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_drain_combat_1
					remove_character_modifier = spell_drain_combat_2
					remove_character_modifier = spell_drain_combat_3 }
			}
		}
	}
	option = {
		name = EVTOPTN600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_reduce_global_income_1 }
				FROM = { has_character_modifier = spell_reduce_global_income_2 }
				FROM = { has_character_modifier = spell_reduce_global_income_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_reduce_global_income_1
					remove_character_modifier = spell_reduce_global_income_2
					remove_character_modifier = spell_reduce_global_income_3 }
			}
		}
	}
	option = {
		name = EVTOPTO600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_global_frenzy_1 }
				FROM = { has_character_modifier = spell_global_frenzy_2 }
				FROM = { has_character_modifier = spell_global_frenzy_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_global_frenzy_1
					remove_character_modifier = spell_global_frenzy_2
					remove_character_modifier = spell_global_frenzy_3 }
			}
		}
	}
	option = {
		name = EVTOPTP600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_frenzy_local_opinion_1 }
				FROM = { has_character_modifier = spell_frenzy_local_opinion_2 }
				FROM = { has_character_modifier = spell_frenzy_local_opinion_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_frenzy_local_opinion_1
					remove_character_modifier = spell_frenzy_local_opinion_2
					remove_character_modifier = spell_frenzy_local_opinion_3 }
			}
		}
	}
	option = {
		name = EVTOPTQ600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_reduce_global_morale_1 }
				FROM = { has_character_modifier = spell_reduce_global_morale_2 }
				FROM = { has_character_modifier = spell_reduce_global_morale_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_reduce_global_morale_1
					remove_character_modifier = spell_reduce_global_morale_2
					remove_character_modifier = spell_reduce_global_morale_3 }
			}
		}
	}
	option = {
		name = EVTOPTR600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_decay_global_morale_1 }
				FROM = { has_character_modifier = spell_decay_global_morale_2 }
				FROM = { has_character_modifier = spell_decay_global_morale_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_decay_global_morale_1
					remove_character_modifier = spell_decay_global_morale_2
					remove_character_modifier = spell_decay_global_morale_3 }
			}
		}
	}
	option = {
		name = EVTOPTS600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_break_army_weapons_1 }
				FROM = { has_character_modifier = spell_break_army_weapons_2 }
				FROM = { has_character_modifier = spell_break_army_weapons_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_break_army_weapons_1
					remove_character_modifier = spell_break_army_weapons_2
					remove_character_modifier = spell_break_army_weapons_3 }
			}
		}
	}
	option = {
		name = EVTOPTT600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_break_army_armor_1 }
				FROM = { has_character_modifier = spell_break_army_armor_2 }
				FROM = { has_character_modifier = spell_break_army_armor_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_break_army_armor_1
					remove_character_modifier = spell_break_army_armor_2
					remove_character_modifier = spell_break_army_armor_3 }
			}
		}
	}
	option = {
		name = EVTOPTU600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_reduce_global_recruitment_1 }
				FROM = { has_character_modifier = spell_reduce_global_recruitment_2 }
				FROM = { has_character_modifier = spell_reduce_global_recruitment_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_reduce_global_recruitment_1
					remove_character_modifier = spell_reduce_global_recruitment_2
					remove_character_modifier = spell_reduce_global_recruitment_3 }
			}
		}
	}
	option = {
		name = EVTOPTV600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_repulse_1 }
				FROM = { has_character_modifier = spell_repulse_2 }
				FROM = { has_character_modifier = spell_repulse_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_repulse_1
					remove_character_modifier = spell_repulse_2
					remove_character_modifier = spell_repulse_3 }
			}
		}
	}
	option = {
		name = EVTOPTW600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_frenzy_vassals_1 }
				FROM = { has_character_modifier = spell_frenzy_vassals_2 }
				FROM = { has_character_modifier = spell_frenzy_vassals_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_frenzy_vassals_1
					remove_character_modifier = spell_frenzy_vassals_2
					remove_character_modifier = spell_frenzy_vassals_3 }
			}
		}
	}
	option = {
		name = EVTOPTX600011
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				FROM = { has_character_modifier = spell_frenzy_self_1 }
				FROM = { has_character_modifier = spell_frenzy_self_2 }
				FROM = { has_character_modifier = spell_frenzy_self_3 }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_character_modifier = spell_frenzy_self_1
					remove_character_modifier = spell_frenzy_self_2
					remove_character_modifier = spell_frenzy_self_3 }
			}
		}
	}

	option = {
		name = EVTOPTY600011
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600012
	desc = EVTDESC600012
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_decay_walls_1 } }
				FROM = { location = { has_province_modifier = spell_decay_walls_2 } }
				FROM = { location = { has_province_modifier = spell_decay_walls_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decay_walls_1
						remove_province_modifier = spell_decay_walls_2
						remove_province_modifier = spell_decay_walls_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_decrease_local_levy_1 } }
				FROM = { location = { has_province_modifier = spell_decrease_local_levy_2 } }
				FROM = { location = { has_province_modifier = spell_decrease_local_levy_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_local_levy_1
						remove_province_modifier = spell_decrease_local_levy_2
						remove_province_modifier = spell_decrease_local_levy_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_decay_local_recruitment_1 } }
				FROM = { location = { has_province_modifier = spell_decay_local_recruitment_2 } }
				FROM = { location = { has_province_modifier = spell_decay_local_recruitment_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decay_local_recruitment_1
						remove_province_modifier = spell_decay_local_recruitment_2
						remove_province_modifier = spell_decay_local_recruitment_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_decrease_garrison_1 } }
				FROM = { location = { has_province_modifier = spell_decrease_garrison_2 } }
				FROM = { location = { has_province_modifier = spell_decrease_garrison_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_garrison_1
						remove_province_modifier = spell_decrease_garrison_2
						remove_province_modifier = spell_decrease_garrison_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTE600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_weaken_resist_1 } }
				FROM = { location = { has_province_modifier = spell_weaken_resist_2 } }
				FROM = { location = { has_province_modifier = spell_weaken_resist_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_weaken_resist_1
						remove_province_modifier = spell_weaken_resist_2
						remove_province_modifier = spell_weaken_resist_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTF600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_decrease_supply_1 } }
				FROM = { location = { has_province_modifier = spell_decrease_supply_2 } }
				FROM = { location = { has_province_modifier = spell_decrease_supply_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_supply_1
						remove_province_modifier = spell_decrease_supply_2
						remove_province_modifier = spell_decrease_supply_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTG600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_enrage_province_1 } }
				FROM = { location = { has_province_modifier = spell_enrage_province_2 } }
				FROM = { location = { has_province_modifier = spell_enrage_province_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_enrage_province_1
						remove_province_modifier = spell_enrage_province_2
						remove_province_modifier = spell_enrage_province_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTH600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_decrease_local_income_1 } }
				FROM = { location = { has_province_modifier = spell_decrease_local_income_2 } }
				FROM = { location = { has_province_modifier = spell_decrease_local_income_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_local_income_1
						remove_province_modifier = spell_decrease_local_income_2
						remove_province_modifier = spell_decrease_local_income_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTI600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_dull_memory_1 } }
				FROM = { location = { has_province_modifier = spell_dull_memory_2 } }
				FROM = { location = { has_province_modifier = spell_dull_memory_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_dull_memory_1
						remove_province_modifier = spell_dull_memory_2
						remove_province_modifier = spell_dull_memory_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTJ600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_reduce_local_morale_1 } }
				FROM = { location = { has_province_modifier = spell_reduce_local_morale_2 } }
				FROM = { location = { has_province_modifier = spell_reduce_local_morale_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_reduce_local_morale_1
						remove_province_modifier = spell_reduce_local_morale_2
						remove_province_modifier = spell_reduce_local_morale_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTK600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_break_weapons_1 } }
				FROM = { location = { has_province_modifier = spell_break_weapons_2 } }
				FROM = { location = { has_province_modifier = spell_break_weapons_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_break_weapons_1
						remove_province_modifier = spell_break_weapons_2
						remove_province_modifier = spell_break_weapons_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTM600012
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
			OR = {
				FROM = { location = { has_province_modifier = spell_break_armor_1 } }
				FROM = { location = { has_province_modifier = spell_break_armor_2 } }
				FROM = { location = { has_province_modifier = spell_break_armor_3 } }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_break_armor_1
						remove_province_modifier = spell_break_armor_2
						remove_province_modifier = spell_break_armor_3
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTY600012
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600013
	desc = EVTDESC600013
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600013
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_global_opinion_1
					remove_character_modifier = spell_boost_global_opinion_2
					remove_character_modifier = spell_boost_global_opinion_3
					add_character_modifier = {
						name = spell_boost_global_opinion_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600013
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_global_opinion_1
					remove_character_modifier = spell_boost_global_opinion_2
					remove_character_modifier = spell_boost_global_opinion_3
					add_character_modifier = {
						name = spell_boost_global_opinion_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600013
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_global_opinion_1
					remove_character_modifier = spell_boost_global_opinion_2
					remove_character_modifier = spell_boost_global_opinion_3
					add_character_modifier = {
						name = spell_boost_global_opinion_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600013
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600014
	desc = EVTDESC600014
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600014
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_construct_building_1
					remove_character_modifier = spell_construct_building_2
					remove_character_modifier = spell_construct_building_3
					add_character_modifier = {
						name = spell_construct_building_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600014
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_construct_building_1
					remove_character_modifier = spell_construct_building_2
					remove_character_modifier = spell_construct_building_3
					add_character_modifier = {
						name = spell_construct_building_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600014
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_construct_building_1
					remove_character_modifier = spell_construct_building_2
					remove_character_modifier = spell_construct_building_3
					add_character_modifier = {
						name = spell_construct_building_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600014
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600015
	desc = EVTDESC600015
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600015
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_combat_rating_1
					remove_character_modifier = spell_combat_rating_2
					remove_character_modifier = spell_combat_rating_3
					add_character_modifier = {
						name = spell_combat_rating_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600015
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_combat_rating_1
					remove_character_modifier = spell_combat_rating_2
					remove_character_modifier = spell_combat_rating_3
					add_character_modifier = {
						name = spell_combat_rating_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600015
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_combat_rating_1
					remove_character_modifier = spell_combat_rating_2
					remove_character_modifier = spell_combat_rating_3
					add_character_modifier = {
						name = spell_combat_rating_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600015
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600016
	desc = EVTDESC600016
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600016
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = spell_increase_global_income_1
					remove_character_modifier = spell_increase_global_income_2
					remove_character_modifier = spell_increase_global_income_3
					add_character_modifier = {
						name = spell_increase_global_income_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600016
		trigger = {
			check_variable = { which = magicka_current value = 18 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_18
			hidden_tooltip = {
				spell_cost_18 = yes
				
				FROM = {
					remove_character_modifier = spell_increase_global_income_1
					remove_character_modifier = spell_increase_global_income_2
					remove_character_modifier = spell_increase_global_income_3
					add_character_modifier = {
						name = spell_increase_global_income_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600016
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = {
					remove_character_modifier = spell_increase_global_income_1
					remove_character_modifier = spell_increase_global_income_2
					remove_character_modifier = spell_increase_global_income_3
					add_character_modifier = {
						name = spell_increase_global_income_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600016
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600017
	desc = EVTDESC600017
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600017
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_global_tranquility_1
					remove_character_modifier = spell_global_tranquility_2
					remove_character_modifier = spell_global_tranquility_3
					add_character_modifier = {
						name = spell_global_tranquility_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600017
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_global_tranquility_1
					remove_character_modifier = spell_global_tranquility_2
					remove_character_modifier = spell_global_tranquility_3
					add_character_modifier = {
						name = spell_global_tranquility_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600017
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_global_tranquility_1
					remove_character_modifier = spell_global_tranquility_2
					remove_character_modifier = spell_global_tranquility_3
					add_character_modifier = {
						name = spell_global_tranquility_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600017
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600018
	desc = EVTDESC600018
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600018
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_local_opinion_1
					remove_character_modifier = spell_boost_local_opinion_2
					remove_character_modifier = spell_boost_local_opinion_3
					add_character_modifier = {
						name = spell_boost_local_opinion_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600018
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_local_opinion_1
					remove_character_modifier = spell_boost_local_opinion_2
					remove_character_modifier = spell_boost_local_opinion_3
					add_character_modifier = {
						name = spell_boost_local_opinion_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600018
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_local_opinion_1
					remove_character_modifier = spell_boost_local_opinion_2
					remove_character_modifier = spell_boost_local_opinion_3
					add_character_modifier = {
						name = spell_boost_local_opinion_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600018
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600019
	desc = EVTDESC600019
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600019
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_global_morale_1
					remove_character_modifier = spell_boost_global_morale_2
					remove_character_modifier = spell_boost_global_morale_3
					add_character_modifier = {
						name = spell_boost_global_morale_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600019
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_global_morale_1
					remove_character_modifier = spell_boost_global_morale_2
					remove_character_modifier = spell_boost_global_morale_3
					add_character_modifier = {
						name = spell_boost_global_morale_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600019
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_global_morale_1
					remove_character_modifier = spell_boost_global_morale_2
					remove_character_modifier = spell_boost_global_morale_3
					add_character_modifier = {
						name = spell_boost_global_morale_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600019
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600020
	desc = EVTDESC600020
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600020
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_regen_global_morale_1
					remove_character_modifier = spell_regen_global_morale_2
					remove_character_modifier = spell_regen_global_morale_3
					add_character_modifier = {
						name = spell_regen_global_morale_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600020
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_regen_global_morale_1
					remove_character_modifier = spell_regen_global_morale_2
					remove_character_modifier = spell_regen_global_morale_3
					add_character_modifier = {
						name = spell_regen_global_morale_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600020
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_regen_global_morale_1
					remove_character_modifier = spell_regen_global_morale_2
					remove_character_modifier = spell_regen_global_morale_3
					add_character_modifier = {
						name = spell_regen_global_morale_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600020
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600021
	desc = EVTDESC600021
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600021
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_bless_army_weapons_1
					remove_character_modifier = spell_bless_army_weapons_2
					remove_character_modifier = spell_bless_army_weapons_3
					add_character_modifier = {
						name = spell_bless_army_weapons_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600021
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_bless_army_weapons_1
					remove_character_modifier = spell_bless_army_weapons_2
					remove_character_modifier = spell_bless_army_weapons_3
					add_character_modifier = {
						name = spell_bless_army_weapons_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600021
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = {
					remove_character_modifier = spell_bless_army_weapons_1
					remove_character_modifier = spell_bless_army_weapons_2
					remove_character_modifier = spell_bless_army_weapons_3
					add_character_modifier = {
						name = spell_bless_army_weapons_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600021
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600022
	desc = EVTDESC600022
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600022
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_bless_army_armor_1
					remove_character_modifier = spell_bless_army_armor_2
					remove_character_modifier = spell_bless_army_armor_3
					add_character_modifier = {
						name = spell_bless_army_armor_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600022
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_bless_army_armor_1
					remove_character_modifier = spell_bless_army_armor_2
					remove_character_modifier = spell_bless_army_armor_3
					add_character_modifier = {
						name = spell_bless_army_armor_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600022
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = {
					remove_character_modifier = spell_bless_army_armor_1
					remove_character_modifier = spell_bless_army_armor_2
					remove_character_modifier = spell_bless_army_armor_3
					add_character_modifier = {
						name = spell_bless_army_armor_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600022
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600023
	desc = EVTDESC600023
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600023
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_opinion = {
						modifier = opinion_charmed_1
						who = FROMFROM
					}
					remove_opinion = {
						modifier = opinion_charmed_2
						who = FROMFROM
					}
					remove_opinion = {
						modifier = opinion_charmed_3
						who = FROMFROM
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_charmed_1
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600023
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_opinion = {
						modifier = opinion_charmed_1
						who = FROMFROM
					}
					remove_opinion = {
						modifier = opinion_charmed_2
						who = FROMFROM
					}
					remove_opinion = {
						modifier = opinion_charmed_3
						who = FROMFROM
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_charmed_2
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600023
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = {
					remove_opinion = {
						modifier = opinion_charmed_1
						who = FROMFROM
					}
					remove_opinion = {
						modifier = opinion_charmed_2
						who = FROMFROM
					}
					remove_opinion = {
						modifier = opinion_charmed_3
						who = FROMFROM
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_charmed_3
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600023
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600024
	desc = EVTDESC600024
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600024
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_global_recruitment_1
					remove_character_modifier = spell_boost_global_recruitment_2
					remove_character_modifier = spell_boost_global_recruitment_3
					add_character_modifier = {
						name = spell_boost_global_recruitment_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600024
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_global_recruitment_1
					remove_character_modifier = spell_boost_global_recruitment_2
					remove_character_modifier = spell_boost_global_recruitment_3
					add_character_modifier = {
						name = spell_boost_global_recruitment_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600024
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_boost_global_recruitment_1
					remove_character_modifier = spell_boost_global_recruitment_2
					remove_character_modifier = spell_boost_global_recruitment_3
					add_character_modifier = {
						name = spell_boost_global_recruitment_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600024
		clr_character_flag = casting_spell
	}
}

#Province Modifiers#

character_event = {
	id = 600025
	desc = EVTDESC600025
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600025
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_protective_wardings_1
						remove_province_modifier = spell_protective_wardings_2
						remove_province_modifier = spell_protective_wardings_3
						add_province_modifier = {
							name = spell_protective_wardings_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600025
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_protective_wardings_1
						remove_province_modifier = spell_protective_wardings_2
						remove_province_modifier = spell_protective_wardings_3
						add_province_modifier = {
							name = spell_protective_wardings_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600025
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_protective_wardings_1
						remove_province_modifier = spell_protective_wardings_2
						remove_province_modifier = spell_protective_wardings_3
						add_province_modifier = {
							name = spell_protective_wardings_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600025
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600026
	desc = EVTDESC600026
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600026
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decay_walls_1
						remove_province_modifier = spell_decay_walls_2
						remove_province_modifier = spell_decay_walls_3
						add_province_modifier = {
							name = spell_decay_walls_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600026
		trigger = {
			check_variable = { which = magicka_current value = 14 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_14
			hidden_tooltip = {
				spell_cost_14 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decay_walls_1
						remove_province_modifier = spell_decay_walls_2
						remove_province_modifier = spell_decay_walls_3
						add_province_modifier = {
							name = spell_decay_walls_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600026
		trigger = {
			check_variable = { which = magicka_current value = 22 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_22
			hidden_tooltip = {
				spell_cost_35 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decay_walls_1
						remove_province_modifier = spell_decay_walls_2
						remove_province_modifier = spell_decay_walls_3
						add_province_modifier = {
							name = spell_decay_walls_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600026
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600027
	desc = EVTDESC600027
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600027
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_increase_local_levy_1
						remove_province_modifier = spell_increase_local_levy_2
						remove_province_modifier = spell_increase_local_levy_3
						add_province_modifier = {
							name = spell_increase_local_levy_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600027
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_increase_local_levy_1
						remove_province_modifier = spell_increase_local_levy_2
						remove_province_modifier = spell_increase_local_levy_3
						add_province_modifier = {
							name = spell_increase_local_levy_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600027
		trigger = {
			check_variable = { which = magicka_current value = 24 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_24
			hidden_tooltip = {
				spell_cost_24 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_increase_local_levy_1
						remove_province_modifier = spell_increase_local_levy_2
						remove_province_modifier = spell_increase_local_levy_3
						add_province_modifier = {
							name = spell_increase_local_levy_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600027
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600028
	desc = EVTDESC600028
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600028
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_local_levy_1
						remove_province_modifier = spell_decrease_local_levy_2
						remove_province_modifier = spell_decrease_local_levy_3
						add_province_modifier = {
							name = spell_decrease_local_levy_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600028
		trigger = {
			check_variable = { which = magicka_current value = 14 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_14
			hidden_tooltip = {
				spell_cost_14 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_local_levy_1
						remove_province_modifier = spell_decrease_local_levy_2
						remove_province_modifier = spell_decrease_local_levy_3
						add_province_modifier = {
							name = spell_decrease_local_levy_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600028
		trigger = {
			check_variable = { which = magicka_current value = 26 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_26
			hidden_tooltip = {
				spell_cost_35 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_local_levy_1
						remove_province_modifier = spell_decrease_local_levy_2
						remove_province_modifier = spell_decrease_local_levy_3
						add_province_modifier = {
							name = spell_decrease_local_levy_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600028
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600029
	desc = EVTDESC600029
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600029
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_boost_local_recruitment_1
						remove_province_modifier = spell_boost_local_recruitment_2
						remove_province_modifier = spell_boost_local_recruitment_3
						add_province_modifier = {
							name = spell_boost_local_recruitment_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600029
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_boost_local_recruitment_1
						remove_province_modifier = spell_boost_local_recruitment_2
						remove_province_modifier = spell_boost_local_recruitment_3
						add_province_modifier = {
							name = spell_boost_local_recruitment_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600029
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_boost_local_recruitment_1
						remove_province_modifier = spell_boost_local_recruitment_2
						remove_province_modifier = spell_boost_local_recruitment_3
						add_province_modifier = {
							name = spell_boost_local_recruitment_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600029
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600030
	desc = EVTDESC600030
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600030
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decay_local_recruitment_1
						remove_province_modifier = spell_decay_local_recruitment_2
						remove_province_modifier = spell_decay_local_recruitment_3
						add_province_modifier = {
							name = spell_decay_local_recruitment_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600030
		trigger = {
			check_variable = { which = magicka_current value = 11 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_11
			hidden_tooltip = {
				spell_cost_11 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decay_local_recruitment_1
						remove_province_modifier = spell_decay_local_recruitment_2
						remove_province_modifier = spell_decay_local_recruitment_3
						add_province_modifier = {
							name = spell_decay_local_recruitment_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600030
		trigger = {
			check_variable = { which = magicka_current value = 17 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_17
			hidden_tooltip = {
				spell_cost_17 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decay_local_recruitment_1
						remove_province_modifier = spell_decay_local_recruitment_2
						remove_province_modifier = spell_decay_local_recruitment_3
						add_province_modifier = {
							name = spell_decay_local_recruitment_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600030
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600031
	desc = EVTDESC600031
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600031
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_increase_garrison_1
						remove_province_modifier = spell_increase_garrison_2
						remove_province_modifier = spell_increase_garrison_3
						add_province_modifier = {
							name = spell_increase_garrison_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600031
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_increase_garrison_1
						remove_province_modifier = spell_increase_garrison_2
						remove_province_modifier = spell_increase_garrison_3
						add_province_modifier = {
							name = spell_increase_garrison_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600031
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_increase_garrison_1
						remove_province_modifier = spell_increase_garrison_2
						remove_province_modifier = spell_increase_garrison_3
						add_province_modifier = {
							name = spell_increase_garrison_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600031
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600032
	desc = EVTDESC600032
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600032
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_garrison_1
						remove_province_modifier = spell_decrease_garrison_2
						remove_province_modifier = spell_decrease_garrison_3
						add_province_modifier = {
							name = spell_decrease_garrison_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600032
		trigger = {
			check_variable = { which = magicka_current value = 11 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_11
			hidden_tooltip = {
				spell_cost_11 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_garrison_1
						remove_province_modifier = spell_decrease_garrison_2
						remove_province_modifier = spell_decrease_garrison_3
						add_province_modifier = {
							name = spell_decrease_garrison_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600032
		trigger = {
			check_variable = { which = magicka_current value = 17 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_17
			hidden_tooltip = {
				spell_cost_17 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_garrison_1
						remove_province_modifier = spell_decrease_garrison_2
						remove_province_modifier = spell_decrease_garrison_3
						add_province_modifier = {
							name = spell_decrease_garrison_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600032
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600033
	desc = EVTDESC600033
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600033
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				if = {
					limit = { 
						is_ruler = yes
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
						}
					}
					any_current_enemy = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = -0.02
						morale = -0.04
					}
					any_current_enemy = {
						any_realm_character = {
							limit = { 
								at_location = ROOT
								in_command = yes
								prisoner = no
							}
							troops = -0.02
							morale = -0.04
						}
					}
				}
				any_liege = {
					limit = {
						NOT = { character = ROOT }
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
						}
					}
					any_current_enemy = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = -0.02
						morale = -0.04
					}
					any_current_enemy = {
						any_realm_character = {
							limit = { 
								at_location = ROOT
								in_command = yes
								prisoner = no
							}
							troops = -0.02
							morale = -0.04
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600033
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				if = {
					limit = { 
						is_ruler = yes
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
						}
					}
					any_current_enemy = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = -0.04
						morale = -0.08
					}
					any_current_enemy = {
						any_realm_character = {
							limit = { 
								at_location = ROOT
								in_command = yes
								prisoner = no
							}
							troops = -0.04
							morale = -0.08
						}
					}
				}
				any_liege = {
					limit = {
						NOT = { character = ROOT }
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
						}
					}
					any_current_enemy = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = -0.04
						morale = -0.08
					}
					any_current_enemy = {
						any_realm_character = {
							limit = { 
								at_location = ROOT
								in_command = yes
								prisoner = no
							}
							troops = -0.04
							morale = -0.08
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600033
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				if = {
					limit = { 
						is_ruler = yes
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
						}
					}
					any_current_enemy = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = -0.08
						morale = -0.16
					}
					any_current_enemy = {
						any_realm_character = {
							limit = { 
								at_location = ROOT
								in_command = yes
								prisoner = no
							}
							troops = -0.08
							morale = -0.16
						}
					}
				}
				any_liege = {
					limit = {
						NOT = { character = ROOT }
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
						}
					}
					any_current_enemy = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = -0.08
						morale = -0.16
					}
					any_current_enemy = {
						any_realm_character = {
							limit = { 
								at_location = ROOT
								in_command = yes
								prisoner = no
							}
							troops = -0.08
							morale = -0.16
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600033
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600034
	desc = EVTDESC600034
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600034
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				if = {
					limit = { 
						is_ruler = yes
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
					}
					troops = 0.02
					morale = 0.04
					any_realm_character = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = 0.02
						morale = 0.04
					}
				}
				any_liege = {
					limit = {
						NOT = { character = ROOT }
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
						}
						at_location = ROOT
						in_command = yes
						prisoner = no
					}
					troops = 0.02
					morale = 0.04
					any_realm_character = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = 0.02
						morale = 0.04
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600034
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				if = {
					limit = { 
						is_ruler = yes
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
					}
					troops = 0.04
					morale = 0.08
					any_realm_character = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = 0.04
						morale = 0.08
					}
				}
				any_liege = {
					limit = {
						NOT = { character = ROOT }
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
						}
						at_location = ROOT
						in_command = yes
						prisoner = no
					}
					troops = 0.04
					morale = 0.08
					any_realm_character = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = 0.04
						morale = 0.08
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600034
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				if = {
					limit = { 
						is_ruler = yes
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
					}
					troops = 0.08
					morale = 0.16
					any_realm_character = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = 0.08
						morale = 0.16
					}
				}
				any_liege = {
					limit = {
						NOT = { character = ROOT }
						war = yes
						OR = {
							is_primary_war_attacker = yes
							is_primary_war_defender = yes
							independent = yes
						}
						at_location = ROOT
						in_command = yes
						prisoner = no
					}
					troops = 0.08
					morale = 0.16
					any_realm_character = {
						limit = { 
							at_location = ROOT
							in_command = yes
							prisoner = no
						}
						troops = 0.08
						morale = 0.16
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600034
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600035
	desc = EVTDESC600035
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600035
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_resist_disease_1
						remove_province_modifier = spell_resist_disease_2
						remove_province_modifier = spell_resist_disease_3
						add_province_modifier = {
							name = spell_resist_disease_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600035
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_resist_disease_1
						remove_province_modifier = spell_resist_disease_2
						remove_province_modifier = spell_resist_disease_3
						add_province_modifier = {
							name = spell_resist_disease_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600035
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_resist_disease_1
						remove_province_modifier = spell_resist_disease_2
						remove_province_modifier = spell_resist_disease_3
						add_province_modifier = {
							name = spell_resist_disease_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600035
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600036
	desc = EVTDESC600036
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600036
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_weaken_resist_1
						remove_province_modifier = spell_weaken_resist_2
						remove_province_modifier = spell_weaken_resist_3
						add_province_modifier = {
							name = spell_weaken_resist_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600036
		trigger = {
			check_variable = { which = magicka_current value = 11 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_11
			hidden_tooltip = {
				spell_cost_11 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_weaken_resist_1
						remove_province_modifier = spell_weaken_resist_2
						remove_province_modifier = spell_weaken_resist_3
						add_province_modifier = {
							name = spell_weaken_resist_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600036
		trigger = {
			check_variable = { which = magicka_current value = 17 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_17
			hidden_tooltip = {
				spell_cost_17 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_weaken_resist_1
						remove_province_modifier = spell_weaken_resist_2
						remove_province_modifier = spell_weaken_resist_3
						add_province_modifier = {
							name = spell_weaken_resist_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600036
		clr_character_flag = casting_spell
	}
}

#TBD

character_event = {
	id = 600041
	desc = EVTDESC600041
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600041
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_boost_supply_1
						remove_province_modifier = spell_boost_supply_2
						remove_province_modifier = spell_boost_supply_3
						add_province_modifier = {
							name = spell_boost_supply_1
							duration = 3650
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600041
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_boost_supply_1
						remove_province_modifier = spell_boost_supply_2
						remove_province_modifier = spell_boost_supply_3
						add_province_modifier = {
							name = spell_boost_supply_2
							duration = 3650
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600041
		trigger = {
			check_variable = { which = magicka_current value = 16 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_16
			hidden_tooltip = {
				spell_cost_16 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_boost_supply_1
						remove_province_modifier = spell_boost_supply_2
						remove_province_modifier = spell_boost_supply_3
						add_province_modifier = {
							name = spell_boost_supply_3
							duration = 3650
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600041
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600042
	desc = EVTDESC600042
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600042
		trigger = {
			check_variable = { which = magicka_current value = 8 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_8
			hidden_tooltip = {
				spell_cost_8 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_supply_1
						remove_province_modifier = spell_decrease_supply_2
						remove_province_modifier = spell_decrease_supply_3
						add_province_modifier = {
							name = spell_decrease_supply_1
							duration = 3650
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600042
		trigger = {
			check_variable = { which = magicka_current value = 14 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_14
			hidden_tooltip = {
				spell_cost_14 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_supply_1
						remove_province_modifier = spell_decrease_supply_2
						remove_province_modifier = spell_decrease_supply_3
						add_province_modifier = {
							name = spell_decrease_supply_2
							duration = 3650
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600042
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_supply_1
						remove_province_modifier = spell_decrease_supply_2
						remove_province_modifier = spell_decrease_supply_3
						add_province_modifier = {
							name = spell_decrease_supply_3
							duration = 3650
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600042
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600043
	desc = EVTDESC600043
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600043
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_pacify_province_1
						remove_province_modifier = spell_pacify_province_2
						remove_province_modifier = spell_pacify_province_3
						add_province_modifier = {
							name = spell_pacify_province_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600043
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_pacify_province_1
						remove_province_modifier = spell_pacify_province_2
						remove_province_modifier = spell_pacify_province_3
						add_province_modifier = {
							name = spell_pacify_province_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600043
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_pacify_province_1
						remove_province_modifier = spell_pacify_province_2
						remove_province_modifier = spell_pacify_province_3
						add_province_modifier = {
							name = spell_pacify_province_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600043
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600044
	desc = EVTDESC600044
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600044
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_enrage_province_1
						remove_province_modifier = spell_enrage_province_2
						remove_province_modifier = spell_enrage_province_3
						add_province_modifier = {
							name = spell_enrage_province_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600044
		trigger = {
			check_variable = { which = magicka_current value = 11 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_11
			hidden_tooltip = {
				spell_cost_11 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_enrage_province_1
						remove_province_modifier = spell_enrage_province_2
						remove_province_modifier = spell_enrage_province_3
						add_province_modifier = {
							name = spell_enrage_province_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600044
		trigger = {
			check_variable = { which = magicka_current value = 17 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_17
			hidden_tooltip = {
				spell_cost_17 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_enrage_province_1
						remove_province_modifier = spell_enrage_province_2
						remove_province_modifier = spell_enrage_province_3
						add_province_modifier = {
							name = spell_enrage_province_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600044
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600045
	desc = EVTDESC600045
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600045
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_increase_local_income_1
						remove_province_modifier = spell_increase_local_income_2
						remove_province_modifier = spell_increase_local_income_3
						add_province_modifier = {
							name = spell_increase_local_income_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600045
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_increase_local_income_1
						remove_province_modifier = spell_increase_local_income_2
						remove_province_modifier = spell_increase_local_income_3
						add_province_modifier = {
							name = spell_increase_local_income_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600045
		trigger = {
			check_variable = { which = magicka_current value = 16 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_16
			hidden_tooltip = {
				spell_cost_16 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_increase_local_income_1
						remove_province_modifier = spell_increase_local_income_2
						remove_province_modifier = spell_increase_local_income_3
						add_province_modifier = {
							name = spell_increase_local_income_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600045
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600046
	desc = EVTDESC600046
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600046
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_local_income_1
						remove_province_modifier = spell_decrease_local_income_2
						remove_province_modifier = spell_decrease_local_income_3
						add_province_modifier = {
							name = spell_decrease_local_income_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600046
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_local_income_1
						remove_province_modifier = spell_decrease_local_income_2
						remove_province_modifier = spell_decrease_local_income_3
						add_province_modifier = {
							name = spell_decrease_local_income_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600046
		trigger = {
			check_variable = { which = magicka_current value = 18 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_18
			hidden_tooltip = {
				spell_cost_18 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_decrease_local_income_1
						remove_province_modifier = spell_decrease_local_income_2
						remove_province_modifier = spell_decrease_local_income_3
						add_province_modifier = {
							name = spell_decrease_local_income_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600046
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600047
	desc = EVTDESC600047
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600047
		trigger = {
			check_variable = { which = magicka_current value = 2 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_2
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_knowlege_transfer_1
						remove_province_modifier = spell_knowlege_transfer_2
						remove_province_modifier = spell_knowlege_transfer_3
						add_province_modifier = {
							name = spell_knowlege_transfer_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600047
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_knowlege_transfer_1
						remove_province_modifier = spell_knowlege_transfer_2
						remove_province_modifier = spell_knowlege_transfer_3
						add_province_modifier = {
							name = spell_knowlege_transfer_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600047
		trigger = {
			check_variable = { which = magicka_current value = 8 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_8
			hidden_tooltip = {
				spell_cost_8 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_knowlege_transfer_1
						remove_province_modifier = spell_knowlege_transfer_2
						remove_province_modifier = spell_knowlege_transfer_3
						add_province_modifier = {
							name = spell_knowlege_transfer_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600047
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600048
	desc = EVTDESC600048
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600048
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_dull_memory_1
						remove_province_modifier = spell_dull_memory_2
						remove_province_modifier = spell_dull_memory_3
						add_province_modifier = {
							name = spell_dull_memory_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600048
		trigger = {
			check_variable = { which = magicka_current value = 7 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_7
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_dull_memory_1
						remove_province_modifier = spell_dull_memory_2
						remove_province_modifier = spell_dull_memory_3
						add_province_modifier = {
							name = spell_dull_memory_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600048
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_dull_memory_1
						remove_province_modifier = spell_dull_memory_2
						remove_province_modifier = spell_dull_memory_3
						add_province_modifier = {
							name = spell_dull_memory_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600048
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600049
	desc = EVTDESC600049
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600049
		trigger = {
			check_variable = { which = magicka_current value = 2 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_2
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_boost_local_morale_1
						remove_province_modifier = spell_boost_local_morale_2
						remove_province_modifier = spell_boost_local_morale_3
						add_province_modifier = {
							name = spell_boost_local_morale_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600049
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_boost_local_morale_1
						remove_province_modifier = spell_boost_local_morale_2
						remove_province_modifier = spell_boost_local_morale_3
						add_province_modifier = {
							name = spell_boost_local_morale_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600049
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_boost_local_morale_1
						remove_province_modifier = spell_boost_local_morale_2
						remove_province_modifier = spell_boost_local_morale_3
						add_province_modifier = {
							name = spell_boost_local_morale_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600049
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600050
	desc = EVTDESC600050
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600050
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_reduce_local_morale_1
						remove_province_modifier = spell_reduce_local_morale_2
						remove_province_modifier = spell_reduce_local_morale_3
						add_province_modifier = {
							name = spell_reduce_local_morale_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600050
		trigger = {
			check_variable = { which = magicka_current value = 8 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_8
			hidden_tooltip = {
				spell_cost_8 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_reduce_local_morale_1
						remove_province_modifier = spell_reduce_local_morale_2
						remove_province_modifier = spell_reduce_local_morale_3
						add_province_modifier = {
							name = spell_reduce_local_morale_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600050
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_reduce_local_morale_1
						remove_province_modifier = spell_reduce_local_morale_2
						remove_province_modifier = spell_reduce_local_morale_3
						add_province_modifier = {
							name = spell_reduce_local_morale_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600050
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600051
	desc = EVTDESC600051
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600051
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_ward
					add_character_modifier = {
						name = spell_ward
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600051
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_ward
					add_character_modifier = {
						name = spell_ward
						duration = 7300
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600051
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_ward
					add_character_modifier = {
						name = spell_ward
						duration = 10950
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600051
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600052
	desc = EVTDESC600052
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600052
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					location = {
						remove_province_modifier = province_spell_ward
						add_province_modifier = {
							name = province_spell_ward
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600052
		trigger = {
			check_variable = { which = magicka_current value = 8 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_8
			hidden_tooltip = {
				spell_cost_8 = yes
				
				FROM = {
					location = {
						remove_province_modifier = province_spell_ward
						add_province_modifier = {
							name = province_spell_ward
							duration = 7300
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600052
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					location = {
						remove_province_modifier = province_spell_ward
						add_province_modifier = {
							name = province_spell_ward
							duration = 10950
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600052
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600053
	desc = EVTDESC600053
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600053
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_enchant_weapons_1
						remove_province_modifier = spell_enchant_weapons_2
						remove_province_modifier = spell_enchant_weapons_3
						add_province_modifier = {
							name = spell_enchant_weapons_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600053
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_enchant_weapons_1
						remove_province_modifier = spell_enchant_weapons_2
						remove_province_modifier = spell_enchant_weapons_3
						add_province_modifier = {
							name = spell_enchant_weapons_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600053
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_enchant_weapons_1
						remove_province_modifier = spell_enchant_weapons_2
						remove_province_modifier = spell_enchant_weapons_3
						add_province_modifier = {
							name = spell_enchant_weapons_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600053
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600054
	desc = EVTDESC600054
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600054
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_break_weapons_1
						remove_province_modifier = spell_break_weapons_2
						remove_province_modifier = spell_break_weapons_3
						add_province_modifier = {
							name = spell_break_weapons_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600054
		trigger = {
			check_variable = { which = magicka_current value = 11 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_11
			hidden_tooltip = {
				spell_cost_11 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_break_weapons_1
						remove_province_modifier = spell_break_weapons_2
						remove_province_modifier = spell_break_weapons_3
						add_province_modifier = {
							name = spell_break_weapons_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600054
		trigger = {
			check_variable = { which = magicka_current value = 17 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_17
			hidden_tooltip = {
				spell_cost_17 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_break_weapons_1
						remove_province_modifier = spell_break_weapons_2
						remove_province_modifier = spell_break_weapons_3
						add_province_modifier = {
							name = spell_break_weapons_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600054
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600055
	desc = EVTDESC600055
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600055
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_enchant_armor_1
						remove_province_modifier = spell_enchant_armor_2
						remove_province_modifier = spell_enchant_armor_3
						add_province_modifier = {
							name = spell_enchant_armor_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600055
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_enchant_armor_1
						remove_province_modifier = spell_enchant_armor_2
						remove_province_modifier = spell_enchant_armor_3
						add_province_modifier = {
							name = spell_enchant_armor_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600055
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_enchant_armor_1
						remove_province_modifier = spell_enchant_armor_2
						remove_province_modifier = spell_enchant_armor_3
						add_province_modifier = {
							name = spell_enchant_armor_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_blessed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600055
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600056
	desc = EVTDESC600056
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600056
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_break_armor_1
						remove_province_modifier = spell_break_armor_2
						remove_province_modifier = spell_break_armor_3
						add_province_modifier = {
							name = spell_break_armor_1
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600056
		trigger = {
			check_variable = { which = magicka_current value = 11 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_11
			hidden_tooltip = {
				spell_cost_11 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_break_armor_1
						remove_province_modifier = spell_break_armor_2
						remove_province_modifier = spell_break_armor_3
						add_province_modifier = {
							name = spell_break_armor_2
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600056
		trigger = {
			check_variable = { which = magicka_current value = 17 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_17
			hidden_tooltip = {
				spell_cost_17 = yes
				
				FROM = {
					location = {
						remove_province_modifier = spell_break_armor_1
						remove_province_modifier = spell_break_armor_2
						remove_province_modifier = spell_break_armor_3
						add_province_modifier = {
							name = spell_break_armor_3
							duration = 3650
						}
					}
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 120
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600056
		clr_character_flag = casting_spell
	}
}

#Trait Modifiers#

character_event = {
	id = 600057
	desc = EVTDESC600057
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600057
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = timer_boost_morale_defence
					add_character_modifier = {
						name = timer_boost_morale_defence
						duration = 3650
					}
					remove_trait = spell_boost_morale_defence_1
					remove_trait = spell_boost_morale_defence_2
					remove_trait = spell_boost_morale_defence_3
					add_trait = spell_boost_morale_defence_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600057
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = timer_boost_morale_defence
					add_character_modifier = {
						name = timer_boost_morale_defence
						duration = 3650
					}
					remove_trait = spell_boost_morale_defence_1
					remove_trait = spell_boost_morale_defence_2
					remove_trait = spell_boost_morale_defence_3
					add_trait = spell_boost_morale_defence_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600057
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = timer_boost_morale_defence
					add_character_modifier = {
						name = timer_boost_morale_defence
						duration = 3650
					}
					remove_trait = spell_boost_morale_defence_1
					remove_trait = spell_boost_morale_defence_2
					remove_trait = spell_boost_morale_defence_3
					add_trait = spell_boost_morale_defence_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600057
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600058
	desc = EVTDESC600058
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600058
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = timer_boost_morale_offence
					add_character_modifier = {
						name = timer_boost_morale_offence
						duration = 3650
					}
					remove_trait = spell_boost_morale_offence_1
					remove_trait = spell_boost_morale_offence_2
					remove_trait = spell_boost_morale_offence_3
					add_trait = spell_boost_morale_offence_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600058
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = timer_boost_morale_offence
					add_character_modifier = {
						name = timer_boost_morale_offence
						duration = 3650
					}
					remove_trait = spell_boost_morale_offence_1
					remove_trait = spell_boost_morale_offence_2
					remove_trait = spell_boost_morale_offence_3
					add_trait = spell_boost_morale_offence_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600058
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = timer_boost_morale_offence
					add_character_modifier = {
						name = timer_boost_morale_offence
						duration = 3650
					}
					remove_trait = spell_boost_morale_offence_1
					remove_trait = spell_boost_morale_offence_2
					remove_trait = spell_boost_morale_offence_3
					add_trait = spell_boost_morale_offence_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600058
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600059
	desc = EVTDESC600059
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600059
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = timer_increase_defence
					add_character_modifier = {
						name = timer_increase_defence
						duration = 3650
					}
					remove_trait = spell_increase_defence_1
					remove_trait = spell_increase_defence_2
					remove_trait = spell_increase_defence_3
					add_trait = spell_increase_defence_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600059
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = timer_increase_defence
					add_character_modifier = {
						name = timer_increase_defence
						duration = 3650
					}
					remove_trait = spell_increase_defence_1
					remove_trait = spell_increase_defence_2
					remove_trait = spell_increase_defence_3
					add_trait = spell_increase_defence_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600059
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = timer_increase_defence
					add_character_modifier = {
						name = timer_increase_defence
						duration = 3650
					}
					remove_trait = spell_increase_defence_1
					remove_trait = spell_increase_defence_2
					remove_trait = spell_increase_defence_3
					add_trait = spell_increase_defence_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600059
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600060
	desc = EVTDESC600060
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600060
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = timer_increase_damage
					add_character_modifier = {
						name = timer_increase_damage
						duration = 3650
					}
					remove_trait = spell_increase_damage_1
					remove_trait = spell_increase_damage_2
					remove_trait = spell_increase_damage_3
					add_trait = spell_increase_damage_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600060
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = timer_increase_damage
					add_character_modifier = {
						name = timer_increase_damage
						duration = 3650
					}
					remove_trait = spell_increase_damage_1
					remove_trait = spell_increase_damage_2
					remove_trait = spell_increase_damage_3
					add_trait = spell_increase_damage_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600060
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = timer_increase_damage
					add_character_modifier = {
						name = timer_increase_damage
						duration = 3650
					}
					remove_trait = spell_increase_damage_1
					remove_trait = spell_increase_damage_2
					remove_trait = spell_increase_damage_3
					add_trait = spell_increase_damage_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600060
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600061
	desc = EVTDESC600061
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = cough }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = cough
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = fever }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = fever
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = diarrhea }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = diarrhea
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = vomiting }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = vomiting
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTE600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = chest_pain }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = chest_pain
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTF600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = cramps }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = cramps
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTG600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = rash }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = rash
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTH600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = headache }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = headache
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTI600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = abdominal_pain }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = abdominal_pain
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTJ600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = fatigue }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = fatigue
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTK600061
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = malaise }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = malaise
					clr_character_flag = disease_not_serious
					hidden_tooltip = {
						remove_character_modifier = symptom_treatment_1
						remove_character_modifier = symptom_treatment_2
						remove_character_modifier = symptom_treatment_3
						remove_character_modifier = symptom_treatment_4
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTL600061
		clr_character_flag = casting_spell
	}
}

#Chicken!
character_event = {
	id = 600062
	desc = EVTDESC600062
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600062
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = {
					add_trait = polymorph_chicken
					character_event = {
						id = 126567
						days = 365
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600062
		clr_character_flag = casting_spell
	}
}

#TBD

character_event = {
	id = 600066
	desc = EVTDESC600066
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600066
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = timer_hasten_army
					add_character_modifier = {
						name = timer_hasten_army
						duration = 3650
					}
					remove_trait = spell_hasten_army_1
					remove_trait = spell_hasten_army_2
					remove_trait = spell_hasten_army_3
					add_trait = spell_hasten_army_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600066
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = timer_hasten_army
					add_character_modifier = {
						name = timer_hasten_army
						duration = 3650
					}
					remove_trait = spell_hasten_army_1
					remove_trait = spell_hasten_army_2
					remove_trait = spell_hasten_army_3
					add_trait = spell_hasten_army_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600066
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = timer_hasten_army
					add_character_modifier = {
						name = timer_hasten_army
						duration = 3650
					}
					remove_trait = spell_hasten_army_1
					remove_trait = spell_hasten_army_2
					remove_trait = spell_hasten_army_3
					add_trait = spell_hasten_army_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600066
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600067
	desc = EVTDESC600067
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600067
		trigger = {
			check_variable = { which = magicka_current value = 1 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				FROM = {
					remove_character_modifier = timer_smoke_screen
					add_character_modifier = {
						name = timer_smoke_screen
						duration = 3650
					}
					remove_trait = spell_smoke_screen_1
					remove_trait = spell_smoke_screen_2
					remove_trait = spell_smoke_screen_3
					add_trait = spell_smoke_screen_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600067
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = timer_smoke_screen
					add_character_modifier = {
						name = timer_smoke_screen
						duration = 3650
					}
					remove_trait = spell_smoke_screen_1
					remove_trait = spell_smoke_screen_2
					remove_trait = spell_smoke_screen_3
					add_trait = spell_smoke_screen_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600067
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = timer_smoke_screen
					add_character_modifier = {
						name = timer_smoke_screen
						duration = 3650
					}
					remove_trait = spell_smoke_screen_1
					remove_trait = spell_smoke_screen_2
					remove_trait = spell_smoke_screen_3
					add_trait = spell_smoke_screen_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600067
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600068
	desc = EVTDESC600068
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600068
		trigger = {
			check_variable = { which = magicka_current value = 2 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_2
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_slow_enemy
					add_character_modifier = {
						name = timer_slow_enemy
						duration = 3650
					}
					remove_trait = spell_slow_enemy_1
					remove_trait = spell_slow_enemy_2
					remove_trait = spell_slow_enemy_3
					add_trait = spell_slow_enemy_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600068
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_slow_enemy
					add_character_modifier = {
						name = timer_slow_enemy
						duration = 3650
					}
					remove_trait = spell_slow_enemy_1
					remove_trait = spell_slow_enemy_2
					remove_trait = spell_slow_enemy_3
					add_trait = spell_slow_enemy_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600068
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = timer_slow_enemy
					add_character_modifier = {
						name = timer_slow_enemy
						duration = 3650
					}
					remove_trait = spell_slow_enemy_1
					remove_trait = spell_slow_enemy_2
					remove_trait = spell_slow_enemy_3
					add_trait = spell_slow_enemy_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600068
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600069
	desc = EVTDESC600069
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600069
		trigger = {
			check_variable = { which = magicka_current value = 2 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_2
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_sheogorath_tactic
					add_character_modifier = {
						name = timer_sheogorath_tactic
						duration = 3650
					}
					remove_trait = spell_sheogorath_tactic_1
					remove_trait = spell_sheogorath_tactic_2
					remove_trait = spell_sheogorath_tactic_3
					add_trait = spell_sheogorath_tactic_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600069
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = timer_sheogorath_tactic
					add_character_modifier = {
						name = timer_sheogorath_tactic
						duration = 3650
					}
					remove_trait = spell_sheogorath_tactic_1
					remove_trait = spell_sheogorath_tactic_2
					remove_trait = spell_sheogorath_tactic_3
					add_trait = spell_sheogorath_tactic_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600069
		trigger = {
			check_variable = { which = magicka_current value = 8 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_8
			hidden_tooltip = {
				spell_cost_8 = yes
				
				FROM = {
					remove_character_modifier = timer_sheogorath_tactic
					add_character_modifier = {
						name = timer_sheogorath_tactic
						duration = 3650
					}
					remove_trait = spell_sheogorath_tactic_1
					remove_trait = spell_sheogorath_tactic_2
					remove_trait = spell_sheogorath_tactic_3
					add_trait = spell_sheogorath_tactic_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600069
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600070
	desc = EVTDESC600070
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600070
		trigger = {
			check_variable = { which = magicka_current value = 2 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_2
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_religious_fervor
					add_character_modifier = {
						name = timer_religious_fervor
						duration = 3650
					}
					remove_trait = spell_religious_fervor_1
					remove_trait = spell_religious_fervor_2
					remove_trait = spell_religious_fervor_3
					add_trait = spell_religious_fervor_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600070
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_religious_fervor
					add_character_modifier = {
						name = timer_religious_fervor
						duration = 3650
					}
					remove_trait = spell_religious_fervor_1
					remove_trait = spell_religious_fervor_2
					remove_trait = spell_religious_fervor_3
					add_trait = spell_religious_fervor_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600070
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = timer_religious_fervor
					add_character_modifier = {
						name = timer_religious_fervor
						duration = 3650
					}
					remove_trait = spell_religious_fervor_1
					remove_trait = spell_religious_fervor_2
					remove_trait = spell_religious_fervor_3
					add_trait = spell_religious_fervor_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600070
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600071
	desc = EVTDESC600071
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600071
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = timer_conjure_siege
					add_character_modifier = {
						name = timer_conjure_siege
						duration = 3650
					}
					remove_trait = spell_conjure_siege_1
					remove_trait = spell_conjure_siege_2
					remove_trait = spell_conjure_siege_3
					add_trait = spell_conjure_siege_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600071
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = timer_conjure_siege
					add_character_modifier = {
						name = timer_conjure_siege
						duration = 3650
					}
					remove_trait = spell_conjure_siege_1
					remove_trait = spell_conjure_siege_2
					remove_trait = spell_conjure_siege_3
					add_trait = spell_conjure_siege_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600071
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = timer_conjure_siege
					add_character_modifier = {
						name = timer_conjure_siege
						duration = 3650
					}
					remove_trait = spell_conjure_siege_1
					remove_trait = spell_conjure_siege_2
					remove_trait = spell_conjure_siege_3
					add_trait = spell_conjure_siege_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600071
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600072
	desc = EVTDESC600072
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600072
		trigger = {
			check_variable = { which = magicka_current value = 1 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				FROM = {
					remove_character_modifier = timer_final_stand
					add_character_modifier = {
						name = timer_final_stand
						duration = 3650
					}
					remove_trait = spell_final_stand_1
					remove_trait = spell_final_stand_2
					remove_trait = spell_final_stand_3
					add_trait = spell_final_stand_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600072
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = timer_final_stand
					add_character_modifier = {
						name = timer_final_stand
						duration = 3650
					}
					remove_trait = spell_final_stand_1
					remove_trait = spell_final_stand_2
					remove_trait = spell_final_stand_3
					add_trait = spell_final_stand_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600072
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = timer_final_stand
					add_character_modifier = {
						name = timer_final_stand
						duration = 3650
					}
					remove_trait = spell_final_stand_1
					remove_trait = spell_final_stand_2
					remove_trait = spell_final_stand_3
					add_trait = spell_final_stand_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600072
	}
}

character_event = {
	id = 600073
	desc = EVTDESC600073
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600073
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_charm_1
					remove_character_modifier = spell_charm_2
					remove_character_modifier = spell_charm_3
					add_character_modifier = {
						name = spell_charm_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600073
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					remove_character_modifier = spell_charm_1
					remove_character_modifier = spell_charm_2
					remove_character_modifier = spell_charm_3
					add_character_modifier = {
						name = spell_charm_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600073
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_charm_1
					remove_character_modifier = spell_charm_2
					remove_character_modifier = spell_charm_3
					add_character_modifier = {
						name = spell_charm_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600073
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600074
	desc = EVTDESC600074
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600074
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_pacify_vassals_1
					remove_character_modifier = spell_pacify_vassals_2
					remove_character_modifier = spell_pacify_vassals_3
					add_character_modifier = {
						name = spell_pacify_vassals_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600074
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					remove_character_modifier = spell_pacify_vassals_1
					remove_character_modifier = spell_pacify_vassals_2
					remove_character_modifier = spell_pacify_vassals_3
					add_character_modifier = {
						name = spell_pacify_vassals_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600074
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_pacify_vassals_1
					remove_character_modifier = spell_pacify_vassals_2
					remove_character_modifier = spell_pacify_vassals_3
					add_character_modifier = {
						name = spell_pacify_vassals_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600074
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600075
	desc = EVTDESC600075
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600075
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_pacify_self_1
					remove_character_modifier = spell_pacify_self_2
					remove_character_modifier = spell_pacify_self_3
					add_character_modifier = {
						name = spell_pacify_self_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600075
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					remove_character_modifier = spell_pacify_self_1
					remove_character_modifier = spell_pacify_self_2
					remove_character_modifier = spell_pacify_self_3
					add_character_modifier = {
						name = spell_pacify_self_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600075
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_pacify_self_1
					remove_character_modifier = spell_pacify_self_2
					remove_character_modifier = spell_pacify_self_3
					add_character_modifier = {
						name = spell_pacify_self_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600075
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600076
	desc = EVTDESC600076
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600076
		trigger = {
			check_variable = { which = magicka_current value = 2 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_2
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_improve_tolerance
					add_character_modifier = {
						name = timer_improve_tolerance
						duration = 3650
					}
					remove_trait = spell_improve_tolerance_1
					remove_trait = spell_improve_tolerance_2
					remove_trait = spell_improve_tolerance_3
					add_trait = spell_improve_tolerance_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600076
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_improve_tolerance
					add_character_modifier = {
						name = timer_improve_tolerance
						duration = 3650
					}
					remove_trait = spell_improve_tolerance_1
					remove_trait = spell_improve_tolerance_2
					remove_trait = spell_improve_tolerance_3
					add_trait = spell_improve_tolerance_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600076
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					remove_character_modifier = timer_improve_tolerance
					add_character_modifier = {
						name = timer_improve_tolerance
						duration = 3650
					}
					remove_trait = spell_improve_tolerance_1
					remove_trait = spell_improve_tolerance_2
					remove_trait = spell_improve_tolerance_3
					add_trait = spell_improve_tolerance_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600076
		clr_character_flag = casting_spell
	}
}

#Unique Spells#

character_event = {
	id = 600077
	desc = EVTDESC600077
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600077
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_terrain_knowlege_1
					add_character_modifier = {
						name = timer_terrain_knowlege_1
						duration = 3650
					}
					remove_trait = spell_terrain_knowledge_1
					add_trait = spell_terrain_knowledge_1
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600077
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_terrain_knowlege_2
					add_character_modifier = {
						name = timer_terrain_knowlege_2
						duration = 3650
					}
					remove_trait = spell_terrain_knowledge_2
					add_trait = spell_terrain_knowledge_2
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600077
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_terrain_knowlege_3
					add_character_modifier = {
						name = timer_terrain_knowlege_3
						duration = 3650
					}
					remove_trait = spell_terrain_knowledge_3
					add_trait = spell_terrain_knowledge_3
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600077
		character_event = { id = 600078 }
	}
}

character_event = {
	id = 600078
	desc = EVTDESC600078
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600078
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_terrain_knowlege_4
					add_character_modifier = {
						name = timer_terrain_knowlege_4
						duration = 3650
					}
					remove_trait = spell_terrain_knowledge_4
					add_trait = spell_terrain_knowledge_4
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600078
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_terrain_knowlege_5
					add_character_modifier = {
						name = timer_terrain_knowlege_5
						duration = 3650
					}
					remove_trait = spell_terrain_knowledge_5
					add_trait = spell_terrain_knowledge_5
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600078
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_terrain_knowlege_6
					add_character_modifier = {
						name = timer_terrain_knowlege_6
						duration = 3650
					}
					remove_trait = spell_terrain_knowledge_6
					add_trait = spell_terrain_knowledge_6
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600078
		character_event = { id = 600079 }
	}
}

character_event = {
	id = 600079
	desc = EVTDESC600079
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600079
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_terrain_knowlege_7
					add_character_modifier = {
						name = timer_terrain_knowlege_7
						duration = 3650
					}
					remove_trait = spell_terrain_knowledge_7
					add_trait = spell_terrain_knowledge_7
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600079
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = timer_terrain_knowlege_8
					add_character_modifier = {
						name = timer_terrain_knowlege_8
						duration = 3650
					}
					remove_trait = spell_terrain_knowledge_8
					add_trait = spell_terrain_knowledge_8
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600079
		character_event = { id = 600077 }
	}
	option = {
		name = EVTOPTD600079
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600080
	desc = EVTDESC600080
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600080
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = wounded }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_trait = wounded }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600080
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			FROM = { trait = severely_injured }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = { remove_trait = severely_injured }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600080
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			FROM = { trait = infection }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = { remove_trait = infection }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600080
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600081
	desc = EVTDESC600081
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600081
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = one_legged }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = one_legged }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600081
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = one_handed }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = one_handed }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}	
	option = {
		name = EVTOPTC600081
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = one_eyed }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = one_eyed }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600081
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			FROM = { trait = disfigured }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = disfigured }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTE600081
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = mangled }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = mangled }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTG600081
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			FROM = { trait = eunuch }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = { remove_trait = eunuch }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTH600081
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = blinded }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = blinded }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTI600081
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = maimed }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = maimed }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTL600081
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600083
	desc = EVTDESC600083
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600083
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = flu }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_trait = flu
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_flu
					clr_character_flag = manifest_flu
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_tuberculosis }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = has_tuberculosis
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_tuberculosis
					clr_character_flag = manifest_tuberculosis
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_typhoid_fever }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = has_typhoid_fever
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_typhoid_fever
					clr_character_flag = manifest_typhoid_fever
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_typhus }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = has_typhus
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_typhus
					clr_character_flag = manifest_typhus
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTE600083
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			FROM = { trait = has_bubonic_plague }
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = {
					remove_trait = has_bubonic_plague
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_bubonic_plague
					clr_character_flag = manifest_bubonic_plague
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTF600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_measles }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = has_measles
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_measles
					clr_character_flag = manifest_measles
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTG600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_small_pox }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = has_small_pox
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_smallpox
					clr_character_flag = manifest_small_pox
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTH600083
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			FROM = { trait = leper }
			OR = {
				is_mage = yes
				has_court_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = {
				remove_trait = leper
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTI600083
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = pneumonic }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_trait = pneumonic
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_pneumonia
					clr_character_flag = manifest_pneumonia
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTJ600083
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = syphilitic }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = {
					remove_trait = syphilitic
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_syphilis
					clr_character_flag = manifest_syphilis
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTK600083
		trigger = {
			check_variable = { which = magicka_current value = 50 }
			FROM = { trait = has_knahaten_flu }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_50
			hidden_tooltip = {
				spell_cost_50 = yes
				
				FROM = {
				remove_trait = has_knahaten_flu
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTL600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_swamp_rot }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = has_swamp_rot
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_swamp_rot
					clr_character_flag = manifest_swamp_rot
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTM600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = cholera }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = cholera
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_cholera
					clr_character_flag = manifest_cholera
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTN600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = dampworm }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = dampworm
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_dampworm
					clr_character_flag = manifest_dampworm
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTO600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = witches_pox }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = witches_pox
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_witches_pox
					clr_character_flag = manifest_witches_pox
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTP600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = greenspore }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = greenspore
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_greenspore
					clr_character_flag = manifest_greenspore
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTQ600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = rockjoint }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = rockjoint
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_rockjoint
					clr_character_flag = manifest_rockjoint
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTR600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = stomach_rot }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_trait = stomach_rot
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_stomach_rot
					clr_character_flag = manifest_stomach_rot
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTS600083
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = chrondiasis }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_trait = chrondiasis
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_chrondiasis
					clr_character_flag = manifest_chrondiasis
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTV600083
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = dysentery }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_trait = dysentery
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_dysentery
					clr_character_flag = manifest_dysentery
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTW600083
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = gout }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_trait = gout
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_gout
					clr_character_flag = manifest_gout
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTX600083
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = food_poisoning }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_trait = food_poisoning
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_food_poisoning
					clr_character_flag = manifest_food_poisoning
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTY600083
		trigger = {
			check_variable = { which = magicka_current value = 50 }
			FROM = { trait = rabies }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_50
			hidden_tooltip = {
				spell_cost_50 = yes
				
				FROM = {
					remove_trait = rabies
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_rabies
					clr_character_flag = manifest_rabies
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTZ600083
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = cancer }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_trait = cancer
					clear_disease_level_effect = yes
					clr_character_flag = developing_illness
					clr_character_flag = got_cancer
					clr_character_flag = manifest_cancer
					hidden_tooltip = {
						remove_treatment_modifiers_effect = yes
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPT0600083
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = scurvy }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_trait = scurvy
					clear_disease_level_effect = yes
					clr_character_flag = physician_scurvy_treatment
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTT600083
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { OR = { has_character_modifier = minor_disease_herpes trait = lovers_pox } }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = minor_disease_herpes
					remove_trait = lovers_pox
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTU600083
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600084
	desc = EVTDESC600084
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600084
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = clubfooted }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = clubfooted }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600084
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = harelip }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = harelip }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600084
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = hunchback }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = hunchback }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600084
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600085
	desc = EVTDESC600085
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600085
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = blind }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = blind }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600085
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = deaf }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = deaf }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600085
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { NOT = { trait = perceptive } }
			FROM = { NOT = { trait = blind } }
			FROM = { NOT = { trait = deaf } }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { add_trait = perceptive }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}	
	option = {
		name = EVTOPTM600085
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600086
	desc = EVTDESC600086
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600086
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = mute }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = mute }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600086
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = lisp }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = lisp }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600086
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = stutter }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = stutter }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600086
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = wrymouth }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = wrymouth }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTE600086
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { NOT = { trait = mute } }
			FROM = { NOT = { trait = lisp } }
			FROM = { NOT = { trait = stutter } }
			FROM = { NOT = { trait = wrymouth } }
			FROM = { NOT = { trait = powerful_voice } }
			FROM = { NOT = { trait = melodious_voice } }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { add_trait = powerful_voice }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}	
	option = {
		name = EVTOPTF600086
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { NOT = { trait = mute } }
			FROM = { NOT = { trait = lisp } }
			FROM = { NOT = { trait = stutter } }
			FROM = { NOT = { trait = wrymouth } }
			FROM = { NOT = { trait = powerful_voice } }
			FROM = { NOT = { trait = melodious_voice } }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { add_trait = melodious_voice }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}	
	option = {
		name = EVTOPTG600086
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600087
	desc = EVTDESC600087
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600087
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = stressed }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = stressed }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600087
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = depressed }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = depressed }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600087
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600088
	desc = EVTDESC600088
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600088
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			FROM = { trait = lunatic }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = { remove_trait = lunatic }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600088
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			FROM = { trait = possessed }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = { remove_trait = possessed }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600088
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			FROM = { trait = drunkard }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = { remove_trait = drunkard }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600088
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			FROM = { trait = skooma_addiction }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = { remove_trait = skooma_addiction }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTE600088
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600089
	desc = EVTDESC600089
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600089
		trigger = {
			check_variable = { which = magicka_current value = 35 }
			FROM = { trait = ugly }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_35
			hidden_tooltip = {
				spell_cost_35 = yes
				
				FROM = { remove_trait = ugly }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600089
		trigger = {
			check_variable = { which = magicka_current value = 40 }
			FROM = { NOT = { trait = ugly } }
			FROM = { NOT = { trait = fair } }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_40
			hidden_tooltip = {
				spell_cost_40 = yes
				
				FROM = { add_trait = fair }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600089
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600090
	desc = EVTDESC600090
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600090
		trigger = {
			check_variable = { which = magicka_current value = 35 }
			FROM = { trait = weak }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_35
			hidden_tooltip = {
				spell_cost_35 = yes
				
				FROM = { remove_trait = weak }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600090
		trigger = {
			check_variable = { which = magicka_current value = 40 }
			FROM = { NOT = { trait = strong } }
			FROM = { NOT = { trait = weak } }
			FROM = { NOT = { trait = feeble } }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_40
			hidden_tooltip = {
				spell_cost_40 = yes
				
				FROM = { add_trait = strong }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600090
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = feeble }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = feeble }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600090
		trigger = {
			check_variable = { which = magicka_current value = 35 }
			FROM = { NOT = { trait = robust } }
			FROM = { NOT = { trait = weak } }
			FROM = { NOT = { trait = feeble } }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_35
			hidden_tooltip = {
				spell_cost_35 = yes
				
				FROM = { add_trait = robust }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTE600090
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600091
	desc = EVTDESC600091
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600091
		trigger = {
			check_variable = { which = magicka_current value = 40 }
			FROM = { NOT = { trait = agile } }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_40
			hidden_tooltip = {
				spell_cost_40 = yes
				
				FROM = { add_trait = agile }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600091
		trigger = {
			check_variable = { which = magicka_current value = 40 }
			FROM = { NOT = { trait = fortitude } }
			FROM = { NOT = { trait = sickly } }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_40
			hidden_tooltip = {
				spell_cost_40 = yes
				
				FROM = { add_trait = fortitude }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600091
		trigger = {
			check_variable = { which = magicka_current value = 35 }
			FROM = { trait = sickly }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_35
			hidden_tooltip = {
				spell_cost_35 = yes
				
				FROM = { remove_trait = sickly }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600091
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600092
	desc = EVTDESC600092
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600092
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			FROM = { trait = ill }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = { remove_trait = ill }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_tuberculosis }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = has_tuberculosis }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_typhoid_fever }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = has_typhoid_fever }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_typhus }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = has_typhus }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTE600092
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			FROM = { trait = has_bubonic_plague }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = { remove_trait = has_bubonic_plague }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTF600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_measles }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = has_measles }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTG600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_small_pox }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = has_small_pox }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTH600092
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			FROM = { trait = leper }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = { remove_trait = leper }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTI600092
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = pneumonic }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = pneumonic }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTJ600092
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			FROM = { trait = syphilitic }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = { remove_trait = syphilitic }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTK600092
		trigger = {
			check_variable = { which = magicka_current value = 50 }
			FROM = { trait = has_knahaten_flu }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_50
			hidden_tooltip = {
				spell_cost_50 = yes
				
				FROM = { remove_trait = has_knahaten_flu }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTL600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = has_swamp_rot }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = has_swamp_rot }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTM600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = cholera }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = cholera }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTN600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = dampworm }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = dampworm }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTO600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = witches_pox }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = witches_pox }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTP600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = greenspore }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = greenspore }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTQ600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = rockjoint }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = rockjoint }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTR600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { trait = stomach_rot }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = { remove_trait = stomach_rot }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTS600092
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			FROM = { trait = chrondiasis }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = { remove_trait = chrondiasis }
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTT600092
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			FROM = { OR = { has_character_modifier = minor_disease_herpes trait = lovers_pox } }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = minor_disease_herpes
					remove_trait = lovers_pox
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_blessed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTU600092
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600093
	desc = EVTDESC600093
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600093
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					location = {
						reduce_disease = -0.33
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600093
		trigger = {
			check_variable = { which = magicka_current value = 18 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_18
			hidden_tooltip = {
				spell_cost_18 = yes
				
				FROM = {
					location = {
						reduce_disease = -0.66
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600093
		trigger = {
			check_variable = { which = magicka_current value = 36 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_36
			hidden_tooltip = {
				spell_cost_36 = yes
				
				FROM = {
					location = {
						reduce_disease = -0.99
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600093
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600094
	desc = EVTDESC600094
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600094
		trigger = {
			check_variable = { which = magicka_current value = 8 }
			piety = 15
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_8
			hidden_tooltip = {
				piety = -15
				spell_cost_8 = yes
				
				capital_scope = {
					ROOT = {
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								dremora_troop = { 25 25 }
								#lesser_daedra = { 125 125 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								dremora_troop = { 50 50 }
								#lesser_daedra = { 150 150 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								dremora_troop = { 25 25 }
								#lesser_daedra = { 125 125 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								#dremora_troop = { 25 25 }
								lesser_daedra = { 125 125 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								#dremora_troop = { 50 50 }
								lesser_daedra = { 150 150 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								#dremora_troop = { 25 25 }
								lesser_daedra = { 125 125 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600094
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			piety = 30
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				piety = -30
				spell_cost_15 = yes
				
				capital_scope = {
					ROOT = {
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								dremora_troop = { 50 50 }
								#lesser_daedra = { 150 150 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								dremora_troop = { 100 100 }
								#lesser_daedra = { 200 200 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								dremora_troop = { 50 50 }
								#lesser_daedra = { 150 150 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								#dremora_troop = { 50 50 }
								lesser_daedra = { 150 150 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								#dremora_troop = { 100 100 }
								lesser_daedra = { 200 200 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								#dremora_troop = { 50 50 }
								lesser_daedra = { 150 150 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600094
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			piety = 75
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				piety = -75
				spell_cost_30 = yes
				
				capital_scope = {
					ROOT = {
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								dremora_troop = { 100 100 }
								#lesser_daedra = { 200 200 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								dremora_troop = { 150 150 }
								#lesser_daedra = { 250 250 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								dremora_troop = { 100 100 }
								#lesser_daedra = { 200 200 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								#dremora_troop = { 100 100 }
								lesser_daedra = { 200 200 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								#dremora_troop = { 150 150 }
								lesser_daedra = { 250 250 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								#dremora_troop = { 100 100 }
								lesser_daedra = { 200 200 }
							}
							attrition = 1.0
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600094
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600095
	desc = EVTDESC600095
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 25
			NOT = { learning = 26 }
		}
		piety = -750
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					15 = { character_event = { id = 600096 } }
					5 = { character_event = { id = 600097 } }
					80 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 26
			NOT = { learning = 27 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					18 = { character_event = { id = 600096 } }
					6 = { character_event = { id = 600097 } }
					76 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 27
			NOT = { learning = 28 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					21 = { character_event = { id = 600096 } }
					7 = { character_event = { id = 600097 } }
					72 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 28
			NOT = { learning = 29 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					24 = { character_event = { id = 600096 } }
					8 = { character_event = { id = 600097 } }
					68 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 29
			NOT = { learning = 30 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					27 = { character_event = { id = 600096 } }
					9 = { character_event = { id = 600097 } }
					64 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 30
			NOT = { learning = 31 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					30 = { character_event = { id = 600096 } }
					10 = { character_event = { id = 600097 } }
					60 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 31
			NOT = { learning = 32 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					33 = { character_event = { id = 600096 } }
					11 = { character_event = { id = 600097 } }
					56 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 32
			NOT = { learning = 33 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					36 = { character_event = { id = 600096 } }
					12 = { character_event = { id = 600097 } }
					52 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 33
			NOT = { learning = 34 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					39 = { character_event = { id = 600096 } }
					13 = { character_event = { id = 600097 } }
					48 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 34
			NOT = { learning = 35 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					42 = { character_event = { id = 600096 } }
					14 = { character_event = { id = 600097 } }
					44 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 35
			NOT = { learning = 36 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					45 = { character_event = { id = 600096 } }
					15 = { character_event = { id = 600097 } }
					40 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 36
			NOT = { learning = 37 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					48 = { character_event = { id = 600096 } }
					16 = { character_event = { id = 600097 } }
					36 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 37
			NOT = { learning = 38 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					51 = { character_event = { id = 600096 } }
					17 = { character_event = { id = 600097 } }
					32 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			
			learning = 38
			NOT = { learning = 39 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					54 = { character_event = { id = 600096 } }
					18 = { character_event = { id = 600097 } }
					28 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 39
			NOT = { learning = 40 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					57 = { character_event = { id = 600096 } }
					19 = { character_event = { id = 600097 } }
					24 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 40
			NOT = { learning = 41 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					60 = { character_event = { id = 600096 } }
					20 = { character_event = { id = 600097 } }
					20 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 41
			NOT = { learning = 42 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					63 = { character_event = { id = 600096 } }
					21 = { character_event = { id = 600097 } }
					16 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 42
			NOT = { learning = 43 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					66 = { character_event = { id = 600096 } }
					22 = { character_event = { id = 600097 } }
					12 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 43
			NOT = { learning = 44 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					69 = { character_event = { id = 600096 } }
					23 = { character_event = { id = 600097 } }
					8 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 44
			NOT = { learning = 45 }
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					72 = { character_event = { id = 600096 } }
					24 = { character_event = { id = 600097 } }
					4 = { character_event = { id = 600098 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTA600095
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = mage_5
			learning = 45
		}
		piety = -250
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					75 = { character_event = { id = 600096 } }
					25 = { character_event = { id = 600097 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTB600095
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600096
	desc = EVTDESC600096
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600096
		set_character_flag = summoned_daedric_horde
		custom_tooltip = { text = SUMMON_DAEDRA
			hidden_tooltip = {
				spawn_unit = {
					province = PREV
					owner = ROOT
					match_character = ROOT
					match_mult = 0.5
					attrition = 0.25
					cannot_inherit = yes
					troops = {
						dremora_troop = { 1 1 }
					}
					earmark = summoned_troops
				}
			}
		}
	}
}

character_event = {
	id = 600097
	desc = EVTDESC600097
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600097
	}
}

character_event = {
	id = 600098
	desc = EVTDESC600098
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600098
		capital_scope = {
			add_province_modifier = {
				name = daedric_incursion
				duration = 1825
			}
		}
	}
}

character_event = {
	id = 600099
	desc = EVTDESC600099
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600099
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			piety = 50
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				piety = -50
				spell_cost_10 = yes
				
				spawn_fleet = {
					province = closest # closest sea zone
					owner = ROOT
					cannot_inherit = yes
					earmark = summoned_ships
					troops =
					{
						galleys = { 5 5 }
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600099
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			piety = 100
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				piety = -100
				spell_cost_20 = yes
				
				spawn_fleet = {
					province = closest # closest sea zone
					owner = ROOT
					cannot_inherit = yes
					earmark = summoned_ships
					troops =
					{
						galleys = { 10 10 }
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600099
		trigger = {
			check_variable = { which = magicka_current value = 40 }
			piety = 200
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_40
			hidden_tooltip = {
				piety = -200
				spell_cost_40 = yes
				
				spawn_fleet = {
					province = closest # closest sea zone
					owner = ROOT
					cannot_inherit = yes
					earmark = summoned_ships
					troops =
					{
						galleys = { 15 15 }
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600099
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600100
	desc = EVTDESC600100
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
		set_variable = { which = roll_variable which = birth_seed }
		set_variable = { which = succ_chance value = 184.5 } #50% chance of success.
		set_variable = { which = modulus value = 369 }
		multiply_variable = { which = roll_variable which = global_seed }
		
		while = {
			limit = {
				check_variable = { which = roll_variable which = modulus }
			}
			subtract_variable = { which = roll_variable which = modulus }
		}
	}
	
	option = {
		name = EVTOPTA600100
		trigger = {
			check_variable = { which = magicka_current value = 60 }
			is_immortal = no
			NOT = { trait = undead }
			trait = mage_5
		}
		wealth = -100
		piety = -100
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_60
			hidden_tooltip = {
				spell_cost_60 = yes
				#if = { #Success
				#	limit = {
				#		check_variable = { which = roll_variable which = succ_chance }
				#	}
				#	character_event = { id = 600101 }
				#}
				#else = { #Failure
				#	character_event = { id = 600102 }
				#}
				random_list = {
					50 = {
						#Success
						character_event = { id = 600101 }
					}
					50 = {
						#Failure
						character_event = { id = 600102 }
					}				
				}
			}
		}
	}
	option = {
		name = EVTOPTB600100
		clr_character_flag = casting_spell
	}
	after = { #Halt! Who goes there?
		hidden_tooltip = {
			set_variable = { which = roll_variable value = 0 }
			set_variable = { which = succ_chance value = 0 }
			set_variable = { which = modulus value = 0 }
		}
	}
}

character_event = {
	id = 600101
	desc = EVTDESC600101
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600101
		add_trait = immortal
		hidden_tooltip = { set_character_flag = immortal_no_cheat }
	}
}

character_event = {
	id = 600102
	desc = EVTDESC600102
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600102
		death = { death_reason = death_sacrificed }
	}
}

character_event = {
	id = 600103
	desc = EVTDESC600103
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600103
		trigger = {
			check_variable = { which = magicka_current value = 1 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				character_event = { id = 600104 }
			}
		}
	}
	option = {
		name = EVTOPTB600103
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600104
	desc = EVTDESC600104
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600104
		trigger = {
			FROMFROM = { NOT = { health = 1 } }
		}
	}
	option = {
		name = EVTOPTB600104
		trigger = {
			FROMFROM = { health = 1 }
			FROMFROM = { NOT = { health = 2 } }
		}
	}
	option = {
		name = EVTOPTC600104
		trigger = {
			FROMFROM = { health = 2 }
			FROMFROM = { NOT = { health = 3 } }
		}
	}
	option = {
		name = EVTOPTD600104
		trigger = {
			FROMFROM = { health = 3 }
			FROMFROM = { NOT = { health = 4 } }
		}
	}
	option = {
		name = EVTOPTE600104
		trigger = {
			FROMFROM = { health = 4 }
			FROMFROM = { NOT = { health = 5 } }
		}
	}
	option = {
		name = EVTOPTF600104
		trigger = {
			FROMFROM = { health = 5 }
			FROMFROM = { NOT = { health = 6 } }
		}
	}
	option = {
		name = EVTOPTG600104
		trigger = {
			FROMFROM = { health = 6 }
			FROMFROM = { NOT = { health = 7 } }
		}
	}
	option = {
		name = EVTOPTH600104
		trigger = {
			FROMFROM = { health = 7 }
			FROMFROM = { NOT = { health = 8 } }
		}
	}
	option = {
		name = EVTOPTI600104
		trigger = {
			FROMFROM = { health = 8 }
			FROMFROM = { NOT = { health = 9 } }
		}
	}
	option = {
		name = EVTOPTJ600104
		trigger = {
			FROMFROM = { health = 9 }
			FROMFROM = { NOT = { health = 10 } }
		}
	}
	option = {
		name = EVTOPTK600104
		trigger = {
			FROMFROM = { health = 10 }
		}
	}
}

character_event = {
	id = 600105
	desc = EVTDESC600105
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600105
		trigger = {
			check_variable = { which = magicka_current value = 1 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				character_event = { id = 600106 }
			}
		}
	}
	option = {
		name = EVTOPTB600105
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600106
	desc = EVTDESC600106
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600106
		trigger = {
			FROMFROM = { NOT = { fertility = 0 } }
		}
	}
	option = {
		name = EVTOPTB600106
		trigger = {
			FROMFROM = { fertility = 0 }
			FROMFROM = { NOT = { fertility = 0.1 } }
		}
	}
	option = {
		name = EVTOPTC600106
		trigger = {
			FROMFROM = { fertility = 0.1 }
			FROMFROM = { NOT = { fertility = 0.2 } }
		}
	}
	option = {
		name = EVTOPTD600106
		trigger = {
			FROMFROM = { fertility = 0.2 }
			FROMFROM = { NOT = { fertility = 0.3 } }
		}
	}
	option = {
		name = EVTOPTE600106
		trigger = {
			FROMFROM = { fertility = 0.3 }
			FROMFROM = { NOT = { fertility = 0.4 } }
		}
	}
	option = {
		name = EVTOPTF600106
		trigger = {
			FROMFROM = { fertility = 0.4 }
			FROMFROM = { NOT = { fertility = 0.5 } }
		}
	}
	option = {
		name = EVTOPTG600106
		trigger = {
			FROMFROM = { fertility = 0.5 }
			FROMFROM = { NOT = { fertility = 0.6 } }
		}
	}
	option = {
		name = EVTOPTH600106
		trigger = {
			FROMFROM = { fertility = 0.6 }
			FROMFROM = { NOT = { fertility = 0.7 } }
		}
	}
	option = {
		name = EVTOPTI600106
		trigger = {
			FROMFROM = { fertility = 0.7 }
			FROMFROM = { NOT = { fertility = 0.8 } }
		}
	}
	option = {
		name = EVTOPTJ600106
		trigger = {
			FROMFROM = { fertility = 0.8 }
			FROMFROM = { NOT = { fertility = 0.9 } }
		}
	}
	option = {
		name = EVTOPTK600106
		trigger = {
			FROMFROM = { fertility = 0.9 }
			FROMFROM = { NOT = { fertility = 1 } }
		}
	}
	option = {
		name = EVTOPTL600106
		trigger = {
			FROMFROM = { fertility = 1 }
		}
	}
}

character_event = {
	id = 600107
	desc = EVTDESC600107
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600107
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			#NOT = { trait = atronach }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				#add_trait = atronach
			}
		}
	}	
	option = {
		name = EVTOPTD600107
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600108
	desc = EVTDESC600108
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600108
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			NOT = { has_artifact = pet_scamp }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				add_artifact = pet_scamp
				new_artifact = {
					set_artifact_flag = summoned_creature
				}
			}
		}
	}
	option = {
		name = EVTOPTB600108
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600109
	desc = EVTDESC600109
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600109
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			#NOT = { trait = wisp }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				#add_trait = wisp
			}
		}
	}
	option = {
		name = EVTOPTB600109
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600110
	desc = EVTDESC600110
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600110
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			NOT = { has_artifact = pet_cat }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				add_artifact = pet_cat
				new_artifact = {
					set_artifact_flag = summoned_creature
				}
			}
		}
	}
	option = {
		name = EVTOPTB600110
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600111
	desc = EVTDESC600111
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600111
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			piety = 25
			trait = necromancer
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				piety = -25
				spell_cost_6 = yes
				
				capital_scope = {
					ROOT = {
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								undead_troop = { 200 200 }
							}
							attrition = 0.5
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								undead_troop = { 200 200 }
							}
							attrition = 0.5
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								undead_troop = { 200 200 }
							}
							attrition = 0.5
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600111
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			piety = 50
			trait = necromancer
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				piety = -50
				spell_cost_10 = yes
				
				capital_scope = {
					ROOT = {
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								undead_troop = { 400 400 }
							}
							attrition = 0.5
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
					}
					ROOT = {
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								undead_troop = { 400 400 }
							}
							attrition = 0.5
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
					}
					ROOT = { #I just now realized I copied the ROOT part of this. Oh well, everything's still bracketted properly. 
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								undead_troop = { 400 400 }
							}
							attrition = 0.5
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600111
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			piety = 125
			trait = necromancer
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				piety = -125
				spell_cost_20 = yes
				
				capital_scope = {
					ROOT = {
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								undead_troop = { 800 800 }
							}
							attrition = 0.5
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								undead_troop = { 800 800 }
							}
							attrition = 0.5
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
						spawn_unit = {
							province = PREV
							owner = ROOT
							troops = {
								undead_troop = { 800 800 }
							}
							attrition = 0.5
							cannot_inherit = yes
							earmark = summoned_troops
							merge = yes
							reinforces = yes
							reinforce_rate_multiplier = 0.1
						}
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600111
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600112
	desc = EVTDESC600112
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600112
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			trait = necromancer
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				create_random_diplomat = {
					random_traits = yes
					dynasty = none
					religion = ROOT
					culture = skeleton
					trait = undead
					trait = cannot_marry #prevent giving it feuadal titles
				}
				new_character = {
					#assign_birthsign = yes
					#assign_racial_trait = yes
					opinion = {
						who = ROOT
						modifier = opinion_summoner
						years = 3000
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600112
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			trait = necromancer
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				create_random_soldier = {
					random_traits = yes
					dynasty = none
					religion = ROOT
					culture = skeleton
					trait = undead
					trait = cannot_marry #prevent giving it feuadal titles
				}
				new_character = {
					#assign_birthsign = yes
					#assign_racial_trait = yes
					opinion = {
						who = ROOT
						modifier = opinion_summoner
						years = 3000
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600112
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			trait = necromancer
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				create_random_steward = {
					random_traits = yes
					dynasty = none
					religion = ROOT
					culture = skeleton
					trait = undead
					trait = cannot_marry #prevent giving it feuadal titles
				}
				new_character = {
					#assign_birthsign = yes
					#assign_racial_trait = yes
					opinion = {
						who = ROOT
						modifier = opinion_summoner
						years = 3000
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600112
		character_event = { id = 600113 }
	}
}

character_event = {
	id = 600113
	desc = EVTDESC600113
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600113
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			trait = necromancer
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				create_random_intriguer = {
					random_traits = yes
					dynasty = none
					religion = ROOT
					culture = skeleton
					trait = undead
					trait = cannot_marry #prevent giving it feuadal titles
				}
				new_character = {
					#assign_birthsign = yes
					#assign_racial_trait = yes
					opinion = {
						who = ROOT
						modifier = opinion_summoner
						years = 3000
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600113
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			trait = necromancer
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				create_random_priest = {
					random_traits = yes
					dynasty = none
					religion = ROOT
					culture = skeleton
					trait = undead
					trait = cannot_marry #prevent giving it feuadal titles
				}
				new_character = {
					#assign_birthsign = yes
					#assign_racial_trait = yes
					opinion = {
						who = ROOT
						modifier = opinion_summoner
						years = 3000
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTC600113
		character_event = { id = 600112 }
	}
	option = {
		name = EVTOPTD600113
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600114
	desc = EVTDESC600114
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600114
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			trait = necromancer
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				location = {
					remove_province_modifier = spell_scorched_earth
					add_province_modifier = {
						name = spell_scorched_earth
						duration = 3650
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTB600114
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600115
	desc = EVTDESC600115
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600115
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			trait = necromancer
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				location = {
					reduce_disease = 0.33
				}
			}
		}
	}
	option = {
		name = EVTOPTB600115
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			trait = necromancer
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				location = {
					reduce_disease = 0.66
				}
			}
		}
	}
	option = {
		name = EVTOPTC600115
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = necromancer
			is_master_mage = yes
		}
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				location = {
					reduce_disease = 0.99
				}
			}
		}
	}
	option = {
		name = EVTOPTD600115
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600116
	desc = EVTDESC600116
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600116
		trigger = {
			check_variable = { which = magicka_current value = 40 }
			is_immortal = no
			trait = necromancer
			is_master_mage = yes
			NOT = { trait = undead }
		}
		wealth = -100
		piety = -100
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_40
			hidden_tooltip = {
				spell_cost_40 = yes
				
				random_list = {
					75 = { character_event = { id = 600117 } }
					25 = { character_event = { id = 600118 } }
				}
			}
		}
	}
	option = {
		name = EVTOPTB600116
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600117
	desc = EVTDESC600117
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600117
		add_trait = lich
		remove_disease_trait_effect = yes
		remove_treatment_modifiers_effect = yes
		remove_disease_flags_effect = yes
	}
}

character_event = {
	id = 600118
	desc = EVTDESC600118
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTA600118
		death = { death_reason = death_sacrificed }
	}
}

character_event = {
	id = 600119
	desc = EVTDESC600119
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600119
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = imperial }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = imperial
				culture = imperial
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600119
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = nibenean }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = nibenean
				culture = nibenean
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTC600119
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = colovian }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = colovian
				culture = colovian
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTD600119
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600120
	desc = EVTDESC600120
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600120
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = nord }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = nord
				culture = nord
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600120
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = skaal }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = skaal
				culture = skaal
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTC600120
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = atmoran }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = atmoran
				culture = atmoran
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTD600120
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600121
	desc = EVTDESC600121
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600121
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = breton }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = breton
				culture = breton
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600121
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = reachmen }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = reachmen
				culture = reachmen
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTC600121
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600122
	desc = EVTDESC600122
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600122
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = forebear }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = forebear
				culture = forebear
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600122
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = crown }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = crown
				culture = crown
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTC600122
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = yokudan }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = yokudan
				culture = yokudan
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTD600122
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600123
	desc = EVTDESC600123
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600123
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = altmer }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				add_trait = disabler
				
				remove_racial_trait = yes
				set_graphical_culture = altmer
				culture = altmer
				add_altmer_trait = yes
				add_trait = impure_altmer
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600123
		clr_character_flag = casting_spell
	}
	
	after = {
		if = {
			limit = { trait = disabler }
			remove_trait = disabler
		}
	}
}

character_event = {
	id = 600124
	desc = EVTDESC600124
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600124
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = bosmer }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				add_trait = disabler
				
				remove_racial_trait = yes
				set_graphical_culture = bosmer
				culture = bosmer
				add_bosmer_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600124
		clr_character_flag = casting_spell
	}
	
	after = {
		if = {
			limit = { trait = disabler }
			remove_trait = disabler
		}
	}
}

character_event = {
	id = 600125
	desc = EVTDESC600125
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600125
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = maormer }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				add_trait = disabler
				
				remove_racial_trait = yes
				set_graphical_culture = maormer
				culture = maormer
				add_maormer_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600125
		clr_character_flag = casting_spell
	}
	
	after = {
		if = {
			limit = { trait = disabler }
			remove_trait = disabler
		}
	}
}

character_event = {
	id = 600126
	desc = EVTDESC600126
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600126
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = ayleid }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				add_trait = disabler
				
				remove_racial_trait = yes
				set_graphical_culture = ayleid
				culture = ayleid
				add_ayleid_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600126
		clr_character_flag = casting_spell
	}
	
	after = {
		if = {
			limit = { trait = disabler }
			remove_trait = disabler
		}
	}
}

character_event = {
	id = 600127
	desc = EVTDESC600127
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600127
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = falmer }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				add_trait = disabler
				
				remove_racial_trait = yes
				set_graphical_culture = falmer
				culture = falmer
				add_falmer_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600127
		clr_character_flag = casting_spell
	}
	
	after = {
		if = {
			limit = { trait = disabler }
			remove_trait = disabler
		}
	}
}

character_event = {
	id = 600128
	desc = EVTDESC600128
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600128
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = dunmer }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				add_trait = disabler
				
				remove_racial_trait = yes
				set_graphical_culture = dunmer
				culture = dunmer
				add_dunmer_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600128
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = ashlander }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				add_trait = disabler
				
				remove_racial_trait = yes
				set_graphical_culture = ashlander
				culture = ashlander
				add_dunmer_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTC600128
		clr_character_flag = casting_spell
	}
	
	after = {
		if = {
			limit = { trait = disabler }
			remove_trait = disabler
		}
	}
}

character_event = {
	id = 600129
	desc = EVTDESC600129
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600129
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = chimer }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				add_trait = disabler
				
				remove_racial_trait = yes
				set_graphical_culture = chimer
				culture = chimer
				add_chimer_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600129
		clr_character_flag = casting_spell
	}
	
	after = {
		if = {
			limit = { trait = disabler }
			remove_trait = disabler
		}
	}
}

character_event = {
	id = 600130
	desc = EVTDESC600130
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600130
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = orsimer }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = orsimer
				culture = orsimer
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600130
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600131
	desc = EVTDESC600131
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600131
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			trait = mage_5
			OR = {
				NOT = { culture = pellitinian }
				trait = raht
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = pellitinian
				culture = pellitinian
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600131
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			trait = mage_5
			OR = {
				NOT = { culture = anequinan }
				trait = raht
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = anequinan
				culture = anequinan
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTC600131
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600132
	desc = EVTDESC600132
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600132
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			trait = mage_5
			OR = {
				NOT = { culture = pellitinian }
				NOT = { trait = raht }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = pellitinian
				culture = pellitinian
				assign_racial_trait = yes
				add_trait = raht
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600132
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			trait = mage_5
			OR = {
				NOT = { culture = anequinan }
				NOT = { trait = raht }
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = anequinan
				culture = anequinan
				assign_racial_trait = yes
				add_trait = raht
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTC600132
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600133
	desc = EVTDESC600133
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600133
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = agaceph }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = agaceph
				culture = agaceph
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600133
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = archein }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = archein
				culture = archein
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTC600133
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = paatru }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = paatru
				culture = paatru
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTD600133
		character_event = { id = 600134 }
	}
}

character_event = {
	id = 600134
	desc = EVTDESC600134
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	#immediate = {
	#	set_character_flag = casting_spell
	#}
	
	option = {
		name = EVTOPTA600134
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = sarpa }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = sarpa
				culture = sarpa
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600134
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = naga }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = naga
				culture = naga
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTC600134
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = lukiul }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = lukiul
				culture = lukiul
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTE600134
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600135
	desc = EVTDESC600135
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}

	option = {
		name = EVTOPTA600135
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = quey }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = quey
				culture = quey
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600135
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600136
	desc = EVTDESC600136
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600136
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = akaviri }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = akaviri
				culture = akaviri
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600136
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600137
	desc = EVTDESC600137
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600137
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = potun }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = potun
				culture = potun
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600137
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600138
	desc = EVTDESC600138
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600138
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = tangmo }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = tangmo
				culture = tangmo
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600138
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600139
	desc = EVTDESC600139
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600139
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = tsaesci }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				add_trait = disabler
				
				remove_racial_trait = yes
				set_graphical_culture = tsaesci
				culture = tsaesci
				add_tsaesci_trait =  yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600139
		clr_character_flag = casting_spell
	}
	
	after = {
		if = {
			limit = { trait = disabler }
			remove_trait = disabler
		}
	}
}

character_event = {
	id = 600140
	desc = EVTDESC600140
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600140
		trigger = {
			check_variable = { which = magicka_current value = 55 }
			NOT = { culture = kamal }
			trait = mage_5
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_55
			hidden_tooltip = {
				spell_cost_55 = yes
				
				remove_racial_trait = yes
				set_graphical_culture = kamal
				culture = kamal
				assign_racial_trait = yes
				set_character_flag = race_changer
				remove_congenital_traits_racechange = yes
				assign_random_congenital_racechange = yes
			}
		}
	}
	option = {
		name = EVTOPTB600140
		clr_character_flag = casting_spell
	}
}

#Personal Spell Debuffs#
character_event = {
	id = 600141
	desc = EVTDESC600141
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600141
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_health_1
					remove_character_modifier = spell_drain_health_2
					remove_character_modifier = spell_drain_health_3
					add_character_modifier = {
						name = spell_drain_health_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600141
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_health_1
					remove_character_modifier = spell_drain_health_2
					remove_character_modifier = spell_drain_health_3
					add_character_modifier = {
						name = spell_drain_health_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600141
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_health_1
					remove_character_modifier = spell_drain_health_2
					remove_character_modifier = spell_drain_health_3
					add_character_modifier = {
						name = spell_drain_health_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600141
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600142
	desc = EVTDESC600142
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600142
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_fertility_1
					remove_character_modifier = spell_drain_fertility_2
					remove_character_modifier = spell_drain_fertility_3
					add_character_modifier = {
						name = spell_drain_fertility_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600142
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_fertility_1
					remove_character_modifier = spell_drain_fertility_2
					remove_character_modifier = spell_drain_fertility_3
					add_character_modifier = {
						name = spell_drain_fertility_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600142
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_fertility_1
					remove_character_modifier = spell_drain_fertility_2
					remove_character_modifier = spell_drain_fertility_3
					add_character_modifier = {
						name = spell_drain_fertility_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600142
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600143
	desc = EVTDESC600143
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600143
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_diplomacy_1
					remove_character_modifier = spell_drain_diplomacy_2
					remove_character_modifier = spell_drain_diplomacy_3
					add_character_modifier = {
						name = spell_drain_diplomacy_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600143
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_diplomacy_1
					remove_character_modifier = spell_drain_diplomacy_2
					remove_character_modifier = spell_drain_diplomacy_3
					add_character_modifier = {
						name = spell_drain_diplomacy_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600143
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_diplomacy_1
					remove_character_modifier = spell_drain_diplomacy_2
					remove_character_modifier = spell_drain_diplomacy_3
					add_character_modifier = {
						name = spell_drain_diplomacy_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600143
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600144
	desc = EVTDESC600144
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600144
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_martial_1
					remove_character_modifier = spell_drain_martial_2
					remove_character_modifier = spell_drain_martial_3
					add_character_modifier = {
						name = spell_drain_martial_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600144
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_martial_1
					remove_character_modifier = spell_drain_martial_2
					remove_character_modifier = spell_drain_martial_3
					add_character_modifier = {
						name = spell_drain_martial_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600144
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_martial_1
					remove_character_modifier = spell_drain_martial_2
					remove_character_modifier = spell_drain_martial_3
					add_character_modifier = {
						name = spell_drain_martial_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600144
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600145
	desc = EVTDESC600145
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600145
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_stewardship_1
					remove_character_modifier = spell_drain_stewardship_2
					remove_character_modifier = spell_drain_stewardship_3
					add_character_modifier = {
						name = spell_drain_stewardship_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600145
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_stewardship_1
					remove_character_modifier = spell_drain_stewardship_2
					remove_character_modifier = spell_drain_stewardship_3
					add_character_modifier = {
						name = spell_drain_stewardship_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600145
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_stewardship_1
					remove_character_modifier = spell_drain_stewardship_2
					remove_character_modifier = spell_drain_stewardship_3
					add_character_modifier = {
						name = spell_drain_stewardship_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600145
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600146
	desc = EVTDESC600146
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600146
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_intrigue_1
					remove_character_modifier = spell_drain_intrigue_2
					remove_character_modifier = spell_drain_intrigue_3
					add_character_modifier = {
						name = spell_drain_intrigue_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600146
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_intrigue_1
					remove_character_modifier = spell_drain_intrigue_2
					remove_character_modifier = spell_drain_intrigue_3
					add_character_modifier = {
						name = spell_drain_intrigue_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600146
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_intrigue_1
					remove_character_modifier = spell_drain_intrigue_2
					remove_character_modifier = spell_drain_intrigue_3
					add_character_modifier = {
						name = spell_drain_intrigue_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600146
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600147
	desc = EVTDESC600147
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600147
		trigger = {
			check_variable = { which = magicka_current value = 8 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_8
			hidden_tooltip = {
				spell_cost_8 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_learning_1
					remove_character_modifier = spell_drain_learning_2
					remove_character_modifier = spell_drain_learning_3
					add_character_modifier = {
						name = spell_drain_learning_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600147
		trigger = {
			check_variable = { which = magicka_current value = 24 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_24
			hidden_tooltip = {
				spell_cost_24 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_learning_1
					remove_character_modifier = spell_drain_learning_2
					remove_character_modifier = spell_drain_learning_3
					add_character_modifier = {
						name = spell_drain_learning_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600147
		trigger = {
			check_variable = { which = magicka_current value = 40 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_40
			hidden_tooltip = {
				spell_cost_40 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_learning_1
					remove_character_modifier = spell_drain_learning_2
					remove_character_modifier = spell_drain_learning_3
					add_character_modifier = {
						name = spell_drain_learning_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600147
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600148
	desc = EVTDESC600148
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600148
		trigger = {
			check_variable = { which = magicka_current value = 1 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_prestige_1
					remove_character_modifier = spell_drain_prestige_2
					remove_character_modifier = spell_drain_prestige_3
					add_character_modifier = {
						name = spell_drain_prestige_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600148
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_prestige_1
					remove_character_modifier = spell_drain_prestige_2
					remove_character_modifier = spell_drain_prestige_3
					add_character_modifier = {
						name = spell_drain_prestige_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600148
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_prestige_1
					remove_character_modifier = spell_drain_prestige_2
					remove_character_modifier = spell_drain_prestige_3
					add_character_modifier = {
						name = spell_drain_prestige_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600148
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600149
	desc = EVTDESC600149
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600149
		trigger = {
			check_variable = { which = magicka_current value = 1 }
			OR = {
				is_mage = yes
				has_court_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_piety_1
					remove_character_modifier = spell_drain_piety_2
					remove_character_modifier = spell_drain_piety_3
					add_character_modifier = {
						name = spell_drain_piety_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600149
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_piety_1
					remove_character_modifier = spell_drain_piety_2
					remove_character_modifier = spell_drain_piety_3
					add_character_modifier = {
						name = spell_drain_piety_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600149
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_piety_1
					remove_character_modifier = spell_drain_piety_2
					remove_character_modifier = spell_drain_piety_3
					add_character_modifier = {
						name = spell_drain_piety_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600149
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600150
	desc = EVTDESC600150
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600150
		trigger = {
			check_variable = { which = magicka_current value = 8 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_8
			hidden_tooltip = {
				spell_cost_8 = yes
				
				FROM = {
					remove_character_modifier = spell_foolsgold_1
					remove_character_modifier = spell_foolsgold_2
					remove_character_modifier = spell_foolsgold_3
					add_character_modifier = {
						name = spell_foolsgold_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600150
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_foolsgold_1
					remove_character_modifier = spell_foolsgold_2
					remove_character_modifier = spell_foolsgold_3
					add_character_modifier = {
						name = spell_foolsgold_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600150
		trigger = {
			check_variable = { which = magicka_current value = 32 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_32
			hidden_tooltip = {
				spell_cost_32 = yes
				
				FROM = {
					remove_character_modifier = spell_foolsgold_1
					remove_character_modifier = spell_foolsgold_2
					remove_character_modifier = spell_foolsgold_3
					add_character_modifier = {
						name = spell_foolsgold_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600150
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600151
	desc = EVTDESC600151
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600151
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_global_opinion_1
					remove_character_modifier = spell_frenzy_global_opinion_2
					remove_character_modifier = spell_frenzy_global_opinion_3
					add_character_modifier = {
						name = spell_frenzy_global_opinion_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600151
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_global_opinion_1
					remove_character_modifier = spell_frenzy_global_opinion_2
					remove_character_modifier = spell_frenzy_global_opinion_3
					add_character_modifier = {
						name = spell_frenzy_global_opinion_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600151
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_global_opinion_1
					remove_character_modifier = spell_frenzy_global_opinion_2
					remove_character_modifier = spell_frenzy_global_opinion_3
					add_character_modifier = {
						name = spell_frenzy_global_opinion_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600151
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600152
	desc = EVTDESC600152
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600152
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_curse_building_1
					remove_character_modifier = spell_curse_building_2
					remove_character_modifier = spell_curse_building_3
					add_character_modifier = {
						name = spell_curse_building_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600152
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_curse_building_1
					remove_character_modifier = spell_curse_building_2
					remove_character_modifier = spell_curse_building_3
					add_character_modifier = {
						name = spell_curse_building_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600152
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_curse_building_1
					remove_character_modifier = spell_curse_building_2
					remove_character_modifier = spell_curse_building_3
					add_character_modifier = {
						name = spell_curse_building_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600152
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600153
	desc = EVTDESC600153
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600153
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_combat_1
					remove_character_modifier = spell_drain_combat_2
					remove_character_modifier = spell_drain_combat_3
					add_character_modifier = {
						name = spell_drain_combat_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600153
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_combat_1
					remove_character_modifier = spell_drain_combat_2
					remove_character_modifier = spell_drain_combat_3
					add_character_modifier = {
						name = spell_drain_combat_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600153
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_drain_combat_1
					remove_character_modifier = spell_drain_combat_2
					remove_character_modifier = spell_drain_combat_3
					add_character_modifier = {
						name = spell_drain_combat_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600153
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600154
	desc = EVTDESC600154
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600154
		trigger = {
			check_variable = { which = magicka_current value = 6 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_6
			hidden_tooltip = {
				spell_cost_6 = yes
				
				FROM = {
					remove_character_modifier = spell_reduce_global_income_1
					remove_character_modifier = spell_reduce_global_income_2
					remove_character_modifier = spell_reduce_global_income_3
					add_character_modifier = {
						name = spell_reduce_global_income_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600154
		trigger = {
			check_variable = { which = magicka_current value = 18 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_18
			hidden_tooltip = {
				spell_cost_18 = yes
				
				FROM = {
					remove_character_modifier = spell_reduce_global_income_1
					remove_character_modifier = spell_reduce_global_income_2
					remove_character_modifier = spell_reduce_global_income_3
					add_character_modifier = {
						name = spell_reduce_global_income_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600154
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				FROM = {
					remove_character_modifier = spell_reduce_global_income_1
					remove_character_modifier = spell_reduce_global_income_2
					remove_character_modifier = spell_reduce_global_income_3
					add_character_modifier = {
						name = spell_reduce_global_income_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600154
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600155
	desc = EVTDESC600155
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600155
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_global_frenzy_1
					remove_character_modifier = spell_global_frenzy_2
					remove_character_modifier = spell_global_frenzy_3
					add_character_modifier = {
						name = spell_global_frenzy_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600155
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_global_frenzy_1
					remove_character_modifier = spell_global_frenzy_2
					remove_character_modifier = spell_global_frenzy_3
					add_character_modifier = {
						name = spell_global_frenzy_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600155
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_global_frenzy_1
					remove_character_modifier = spell_global_frenzy_2
					remove_character_modifier = spell_global_frenzy_3
					add_character_modifier = {
						name = spell_global_frenzy_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600155
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600156
	desc = EVTDESC600156
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600156
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_local_opinion_1
					remove_character_modifier = spell_frenzy_local_opinion_2
					remove_character_modifier = spell_frenzy_local_opinion_3
					add_character_modifier = {
						name = spell_frenzy_local_opinion_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600156
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_10
			hidden_tooltip = {
				spell_cost_10 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_local_opinion_1
					remove_character_modifier = spell_frenzy_local_opinion_2
					remove_character_modifier = spell_frenzy_local_opinion_3
					add_character_modifier = {
						name = spell_frenzy_local_opinion_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600156
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_local_opinion_1
					remove_character_modifier = spell_frenzy_local_opinion_2
					remove_character_modifier = spell_frenzy_local_opinion_3
					add_character_modifier = {
						name = spell_frenzy_local_opinion_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600156
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600157
	desc = EVTDESC600157
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600157
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_reduce_global_morale_1
					remove_character_modifier = spell_reduce_global_morale_2
					remove_character_modifier = spell_reduce_global_morale_3
					add_character_modifier = {
						name = spell_reduce_global_morale_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600157
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_reduce_global_morale_1
					remove_character_modifier = spell_reduce_global_morale_2
					remove_character_modifier = spell_reduce_global_morale_3
					add_character_modifier = {
						name = spell_reduce_global_morale_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600157
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_reduce_global_morale_1
					remove_character_modifier = spell_reduce_global_morale_2
					remove_character_modifier = spell_reduce_global_morale_3
					add_character_modifier = {
						name = spell_reduce_global_morale_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600157
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600158
	desc = EVTDESC600158
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600158
		trigger = {
			check_variable = { which = magicka_current value = 4 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_4
			hidden_tooltip = {
				spell_cost_4 = yes
				
				FROM = {
					remove_character_modifier = spell_decay_global_morale_1
					remove_character_modifier = spell_decay_global_morale_2
					remove_character_modifier = spell_decay_global_morale_3
					add_character_modifier = {
						name = spell_decay_global_morale_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600158
		trigger = {
			check_variable = { which = magicka_current value = 12 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_12
			hidden_tooltip = {
				spell_cost_12 = yes
				
				FROM = {
					remove_character_modifier = spell_decay_global_morale_1
					remove_character_modifier = spell_decay_global_morale_2
					remove_character_modifier = spell_decay_global_morale_3
					add_character_modifier = {
						name = spell_decay_global_morale_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600158
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_20
			hidden_tooltip = {
				spell_cost_20 = yes
				
				FROM = {
					remove_character_modifier = spell_decay_global_morale_1
					remove_character_modifier = spell_decay_global_morale_2
					remove_character_modifier = spell_decay_global_morale_3
					add_character_modifier = {
						name = spell_decay_global_morale_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600158
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600159
	desc = EVTDESC600159
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600159
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_break_army_weapons_1
					remove_character_modifier = spell_break_army_weapons_2
					remove_character_modifier = spell_break_army_weapons_3
					add_character_modifier = {
						name = spell_break_army_weapons_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600159
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_break_army_weapons_1
					remove_character_modifier = spell_break_army_weapons_2
					remove_character_modifier = spell_break_army_weapons_3
					add_character_modifier = {
						name = spell_break_army_weapons_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600159
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = {
					remove_character_modifier = spell_break_army_weapons_1
					remove_character_modifier = spell_break_army_weapons_2
					remove_character_modifier = spell_break_army_weapons_3
					add_character_modifier = {
						name = spell_break_army_weapons_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600159
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600160
	desc = EVTDESC600160
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600160
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_break_army_armor_1
					remove_character_modifier = spell_break_army_armor_2
					remove_character_modifier = spell_break_army_armor_3
					add_character_modifier = {
						name = spell_break_army_armor_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600160
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_break_army_armor_1
					remove_character_modifier = spell_break_army_armor_2
					remove_character_modifier = spell_break_army_armor_3
					add_character_modifier = {
						name = spell_break_army_armor_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600160
		trigger = {
			check_variable = { which = magicka_current value = 25 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_25
			hidden_tooltip = {
				spell_cost_25 = yes
				
				FROM = {
					remove_character_modifier = spell_break_army_armor_1
					remove_character_modifier = spell_break_army_armor_2
					remove_character_modifier = spell_break_army_armor_3
					add_character_modifier = {
						name = spell_break_army_armor_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600160
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600161
	desc = EVTDESC600161
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600161
		trigger = {
			check_variable = { which = magicka_current value = 3 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_reduce_global_recruitment_1
					remove_character_modifier = spell_reduce_global_recruitment_2
					remove_character_modifier = spell_reduce_global_recruitment_3
					add_character_modifier = {
						name = spell_reduce_global_recruitment_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600161
		trigger = {
			check_variable = { which = magicka_current value = 9 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_reduce_global_recruitment_1
					remove_character_modifier = spell_reduce_global_recruitment_2
					remove_character_modifier = spell_reduce_global_recruitment_3
					add_character_modifier = {
						name = spell_reduce_global_recruitment_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600161
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_reduce_global_recruitment_1
					remove_character_modifier = spell_reduce_global_recruitment_2
					remove_character_modifier = spell_reduce_global_recruitment_3
					add_character_modifier = {
						name = spell_reduce_global_recruitment_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600161
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600162
	desc = EVTDESC600162
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600162
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				FROM = {
					remove_character_modifier = spell_repulse_1
					remove_character_modifier = spell_repulse_2
					remove_character_modifier = spell_repulse_3
					add_character_modifier = {
						name = spell_repulse_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600162
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_repulse_1
					remove_character_modifier = spell_repulse_2
					remove_character_modifier = spell_repulse_3
					add_character_modifier = {
						name = spell_repulse_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600162
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_repulse_1
					remove_character_modifier = spell_repulse_2
					remove_character_modifier = spell_repulse_3
					add_character_modifier = {
						name = spell_repulse_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600162
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600163
	desc = EVTDESC600163
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600163
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_vassals_1
					remove_character_modifier = spell_frenzy_vassals_2
					remove_character_modifier = spell_frenzy_vassals_3
					add_character_modifier = {
						name = spell_frenzy_vassals_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600163
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_9
			hidden_tooltip = {
				spell_cost_9 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_vassals_1
					remove_character_modifier = spell_frenzy_vassals_2
					remove_character_modifier = spell_frenzy_vassals_3
					add_character_modifier = {
						name = spell_frenzy_vassals_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600163
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_vassals_1
					remove_character_modifier = spell_frenzy_vassals_2
					remove_character_modifier = spell_frenzy_vassals_3
					add_character_modifier = {
						name = spell_frenzy_vassals_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600163
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600164
	desc = EVTDESC600164
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600164
		trigger = {
			check_variable = { which = magicka_current value = 5 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_1
			hidden_tooltip = {
				spell_cost_1 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_self_1
					remove_character_modifier = spell_frenzy_self_2
					remove_character_modifier = spell_frenzy_self_3
					add_character_modifier = {
						name = spell_frenzy_self_1
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTB600164
		trigger = {
			check_variable = { which = magicka_current value = 10 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_3
			hidden_tooltip = {
				spell_cost_3 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_self_1
					remove_character_modifier = spell_frenzy_self_2
					remove_character_modifier = spell_frenzy_self_3
					add_character_modifier = {
						name = spell_frenzy_self_2
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTC600164
		trigger = {
			check_variable = { which = magicka_current value = 20 }
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_5
			hidden_tooltip = {
				spell_cost_5 = yes
				
				FROM = {
					remove_character_modifier = spell_frenzy_self_1
					remove_character_modifier = spell_frenzy_self_2
					remove_character_modifier = spell_frenzy_self_3
					add_character_modifier = {
						name = spell_frenzy_self_3
						duration = 3650
					}
				}
			}
		}
		FROM = {
			if = { 
				limit = { 
					NOT = { character = FROMFROM }
				}
				opinion = {
					who = FROMFROM
					modifier = opinion_cursed_me
					months = 120
				}
			}
		}
	}
	option = {
		name = EVTOPTD600164
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600165
	desc = EVTDESC600165
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	has_dlc = "Reapers"
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600165
		trigger = {
			check_variable = { which = magicka_current value = 30 }
			trait = necromancer
			is_master_mage = yes
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_30
			hidden_tooltip = {
				spell_cost_30 = yes
				
				random_list = {
					10 = { FROM = { location = { spawn_disease = tuberculosis } } }
					10 = { FROM = { location = { spawn_disease = typhoid_fever } } }
					10 = { FROM = { location = { spawn_disease = typhus } } }
					10 = { FROM = { location = { spawn_disease = measles } } }
					10 = { FROM = { location = { spawn_disease = small_pox } } }
					10 = { FROM = { location = { spawn_disease = syphilis } } }
					10 = { FROM = { location = { spawn_disease = swamp_rot } } }
				}
			}
		}
		FROM = {
			owner = {
				if = { 
					limit = { 
						NOT = { character = FROMFROM }
					}
					opinion = {
						who = FROMFROM
						modifier = opinion_cursed_my_lands
						months = 360
					}
				}
			}
		}
	}
	option = {
		name = EVTOPTD600165
		clr_character_flag = casting_spell
	}
}

character_event = {
	id = 600166
	desc = EVTDESC600166
	picture = GFX_evt_mage
	
	is_triggered_only = yes
	
	has_dlc = "Reapers"
	
	immediate = {
		set_character_flag = casting_spell
	}
	
	option = {
		name = EVTOPTA600166
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				create_character = {
					religion = riddlethar
					culture = pellitinian
					dynasty = none
					age = 19
					random_traits = yes
					female = yes
					attributes = {
						learning = 2
					}
					health = 6
					trait = mage_2
					trait = healer_1
					flag = is_court_physician
					flag = physician_student_of_medicine
				}
				new_character = {
					#assign_birthsign = yes
					#assign_racial_trait = yes
					remove_trait = mystic
					remove_trait = scholar
					remove_trait = socializer
					remove_trait = gamer
					remove_trait = hedonist
					remove_trait = duelist
					remove_trait = hunter
					remove_trait = strategist
					remove_trait = administrator
					remove_trait = architect
					remove_trait = gardener
					remove_trait = schemer
					remove_trait = impaler
					remove_trait = seducer
					remove_trait = seductress
					remove_trait = theologian
					random_list = { # Flavor Randomization
						80 = { 
							# Nothing
						}
						10 = { 
							add_trait = legit_bastard
						}
						10 = { 
							add_trait = drunkard
						}
					}
					save_event_target_as = recruited_physician_target
					character_event = { id = RIP.11052 }
				}
			}
		}
	}
	option = {
		name = EVTOPTB600166
		trigger = {
			check_variable = { which = magicka_current value = 15 }
			OR = {
				trait = mage_2
				trait = mage_3
				is_master_mage = yes
			}
		}
		clr_character_flag = casting_spell
		custom_tooltip = { text = MAGICKA_COST_15
			hidden_tooltip = {
				spell_cost_15 = yes
				
				create_character = {
					religion = riddlethar
					culture = pellitinian
					dynasty = none
					age = 19
					random_traits = yes
					female = no
					attributes = {
						learning = 2
					}
					health = 6
					trait = mage_2
					trait = healer_1
					flag = is_court_physician
					flag = physician_student_of_medicine
				}
				new_character = {
					#assign_birthsign = yes
					#assign_racial_trait = yes
					remove_trait = mystic
					remove_trait = scholar
					remove_trait = socializer
					remove_trait = gamer
					remove_trait = hedonist
					remove_trait = duelist
					remove_trait = hunter
					remove_trait = strategist
					remove_trait = administrator
					remove_trait = architect
					remove_trait = gardener
					remove_trait = schemer
					remove_trait = impaler
					remove_trait = seducer
					remove_trait = seductress
					remove_trait = theologian
					random_list = { # Flavor Randomization
						80 = { 
							# Nothing
						}
						10 = { 
							add_trait = legit_bastard
						}
						10 = { 
							add_trait = drunkard
						}
					}
					save_event_target_as = recruited_physician_target
					character_event = { id = RIP.11052 }
				}
			}
		}
	}
	option = {
		name = EVTOPTC600166
		clr_character_flag = casting_spell
	}
}