
targetted_decisions = {

	xgi-Smite = {

		is_high_prio = yes
		filter = all
		ai = no
		
		from_potential = {
			age = 9
			OR = {
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
			}
			
		}

		potential = {
			NOT = {
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}

		allow = {
			from = { 
				piety = 20000 
			}
			FROM = { NOT = { trait = xgi-In_Seclution } }
			NOT = { has_character_flag = xgi-_closed_door_cultivation }
			NOT = {
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}
		
		effect = {
			from = { 
				piety = -20000 
			}
			death = { death_reason = death_execution killer = FROM }
	    }
	    
	    revoke_allowed = {
		always = no
	    }
	    ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				trait = proud
			}
			modifier = {
				factor = 2
				trait = ambitious
			}

		modifier = {
		    factor = 1
			FROM = { potentially_interested_in_rivaling_root_trigger = yes }
		}
	    }
	}

	xgi-Smite2 = {

		is_high_prio = yes
		filter = all
		ai = no
		
		from_potential = {
			age = 9
			OR = {
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
			}
			
		}

		potential = {
			NOT = {
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}

		allow = {
			from = { 
				piety = 20000 
			}
			FROM = { NOT = { trait = xgi-In_Seclution } }
			NOT = { has_character_flag = xgi-_closed_door_cultivation }
			NOT = {
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}
		
		effect = {
			from = { 
				piety = -20000 
			}
			death = { death_reason = death_execution killer = FROM }
	    }
	    
	    revoke_allowed = {
		always = no
	    }
	    ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				trait = proud
			}
			modifier = {
				factor = 2
				trait = ambitious
			}

		modifier = {
		    factor = 1
			FROM = { potentially_interested_in_rivaling_root_trigger = yes }
		}
	    }
	}

	xgi-Smite3 = {

		is_high_prio = yes
		filter = all
		ai = no
		
		from_potential = {
			age = 9
			OR = {
				trait = Lv_7_True_Immortal_1
				trait = Lv_7_True_Immortal_2
				trait = Lv_7_True_Immortal_3
			}
			
		}

		potential = {
			NOT = {
				trait = Lv_7_True_Immortal_1
				trait = Lv_7_True_Immortal_2
				trait = Lv_7_True_Immortal_3
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}

		allow = {
			from = { 
				piety = 20000 
			}
			FROM = { NOT = { trait = xgi-In_Seclution } }
			NOT = { has_character_flag = xgi-_closed_door_cultivation }
			NOT = {
				trait = Lv_7_True_Immortal_1
				trait = Lv_7_True_Immortal_2
				trait = Lv_7_True_Immortal_3
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}
		
		effect = {
			from = { 
				piety = -20000 
			}
			death = { death_reason = death_execution killer = FROM }
	    }
	    
	    revoke_allowed = {
		always = no
	    }
	    ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				trait = proud
			}
			modifier = {
				factor = 2
				trait = ambitious
			}

		modifier = {
		    factor = 1
			FROM = { potentially_interested_in_rivaling_root_trigger = yes }
		}
	    }
	}

	xgi-Smite4 = {

		is_high_prio = yes
		filter = all
		ai = no
		
		from_potential = {
			age = 9
			OR = {
				trait = Lv_6_Undying_Body_1
				trait = Lv_6_Undying_Body_2
				trait = Lv_6_Undying_Body_3
			}
			
		}

		potential = {
			NOT = {
				trait = Lv_6_Undying_Body_1
				trait = Lv_6_Undying_Body_2
				trait = Lv_6_Undying_Body_3
				trait = Lv_7_True_Immortal_1
				trait = Lv_7_True_Immortal_2
				trait = Lv_7_True_Immortal_3
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}

		allow = {
			from = { 
				piety = 20000 
			}
			FROM = { NOT = { trait = xgi-In_Seclution } }
			NOT = { has_character_flag = xgi-_closed_door_cultivation }
			NOT = {
				trait = Lv_6_Undying_Body_1
				trait = Lv_6_Undying_Body_2
				trait = Lv_6_Undying_Body_3
				trait = Lv_7_True_Immortal_1
				trait = Lv_7_True_Immortal_2
				trait = Lv_7_True_Immortal_3
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}
		
		effect = {
			from = { 
				piety = -20000 
			}
			death = { death_reason = death_execution killer = FROM }
	    }
	    
	    revoke_allowed = {
		always = no
	    }
	    ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				trait = proud
			}
			modifier = {
				factor = 2
				trait = ambitious
			}

		modifier = {
		    factor = 1
			FROM = { potentially_interested_in_rivaling_root_trigger = yes }
		}
	    }
	}

	xgi-Smite5 = {

		is_high_prio = yes
		filter = all
		ai = no
		
		from_potential = {
			age = 9
			OR = {
				trait = Lv_5_Soul_Unification_1
				trait = Lv_5_Soul_Unification_2
				trait = Lv_5_Soul_Unification_3
			}
			
		}

		potential = {
			NOT = {
				trait = Lv_5_Soul_Unification_1
				trait = Lv_5_Soul_Unification_2
				trait = Lv_5_Soul_Unification_3
				trait = Lv_6_Undying_Body_1
				trait = Lv_6_Undying_Body_2
				trait = Lv_6_Undying_Body_3
				trait = Lv_7_True_Immortal_1
				trait = Lv_7_True_Immortal_2
				trait = Lv_7_True_Immortal_3
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}

		allow = {
			from = { 
				piety = 20000 
			}
			FROM = { NOT = { trait = xgi-In_Seclution } }
			NOT = { has_character_flag = xgi-_closed_door_cultivation }
			NOT = {
				trait = Lv_5_Soul_Unification_1
				trait = Lv_5_Soul_Unification_2
				trait = Lv_5_Soul_Unification_3
				trait = Lv_6_Undying_Body_1
				trait = Lv_6_Undying_Body_2
				trait = Lv_6_Undying_Body_3
				trait = Lv_7_True_Immortal_1
				trait = Lv_7_True_Immortal_2
				trait = Lv_7_True_Immortal_3
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}
		
		effect = {
			from = { 
				piety = -20000 
			}
			death = { death_reason = death_execution killer = FROM }
	    }
	    
	    revoke_allowed = {
		always = no
	    }
	    ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				trait = proud
			}
			modifier = {
				factor = 2
				trait = ambitious
			}

		modifier = {
		    factor = 1
			FROM = { potentially_interested_in_rivaling_root_trigger = yes }
		}
	    }
	}

	xgi-Smite6 = {

		is_high_prio = yes
		filter = all
		ai = no
		
		from_potential = {
			age = 9
			OR = {
				trait = Lv_4_Soul_Perfection_1
				trait = Lv_4_Soul_Perfection_2
				trait = Lv_4_Soul_Perfection_3
			}
			
		}

		potential = {
			NOT = {
				trait = Lv_4_Soul_Perfection_1
				trait = Lv_4_Soul_Perfection_2
				trait = Lv_4_Soul_Perfection_3
				trait = Lv_5_Soul_Unification_1
				trait = Lv_5_Soul_Unification_2
				trait = Lv_5_Soul_Unification_3
				trait = Lv_6_Undying_Body_1
				trait = Lv_6_Undying_Body_2
				trait = Lv_6_Undying_Body_3
				trait = Lv_7_True_Immortal_1
				trait = Lv_7_True_Immortal_2
				trait = Lv_7_True_Immortal_3
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}

		allow = {
			from = { 
				piety = 20000 
			}
			FROM = { NOT = { trait = xgi-In_Seclution } }
			NOT = { has_character_flag = xgi-_closed_door_cultivation }
			NOT = {
				trait = Lv_4_Soul_Perfection_1
				trait = Lv_4_Soul_Perfection_2
				trait = Lv_4_Soul_Perfection_3
				trait = Lv_5_Soul_Unification_1
				trait = Lv_5_Soul_Unification_2
				trait = Lv_5_Soul_Unification_3
				trait = Lv_6_Undying_Body_1
				trait = Lv_6_Undying_Body_2
				trait = Lv_6_Undying_Body_3
				trait = Lv_7_True_Immortal_1
				trait = Lv_7_True_Immortal_2
				trait = Lv_7_True_Immortal_3
				trait = Lv_8_Immortal_God_1
				trait = Lv_8_Immortal_God_2
				trait = Lv_8_Immortal_God_3
				trait = Lv_9_Ancestral_God_1
				trait = Lv_9_Ancestral_God_2
				trait = Lv_9_Ancestral_God_3
				trait = xgi-In_Seclution
			}


		}
		
		effect = {
			from = { 
				piety = -20000 
			}
			death = { death_reason = death_execution killer = FROM }
	    }
	    
	    revoke_allowed = {
		always = no
	    }
	    ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				trait = proud
			}
			modifier = {
				factor = 2
				trait = ambitious
			}

		modifier = {
		    factor = 1
			FROM = { potentially_interested_in_rivaling_root_trigger = yes }
		}
	    }
	}

}