﻿valid_ghw_target_trigger = {
	exists = capital_vassal.capital_vassal
	save_temporary_scope_as = ghw_target_check
	#any of the top lieges of the counts within this de jure title
	any_de_jure_top_liege = {
		$FAITH$ = { 
			#faith is hostile enough to checking faith
			is_hostile_enough_for_holy_war_trigger = { FAITH = prev.faith } 
			#is less powerful than checking faith
			prev.max_military_strength < { value = scope:faith_strength }
		}		
		#holds enough counties in this kingdom
		
		any_realm_county = {
			count > 6
			target_is_de_jure_liege_or_above = scope:ghw_target_check
		}		
	}	
}