﻿##############
# WAR VALUES #
##############

raid_base_capture_chance = {
	value = 20

	if = {
		limit = { exists = root.army_commander }
		# Immersive Concubinage
		if = {
			limit = {
				OR = {
					is_courtier_of = root.army_commander
					is_courtier_of = root.army_commander.liege
					any_former_spouse = { this = root.army_commander }
					any_former_spouse = { this = root.army_commander.liege }
				}
			}
			add = 20
		}
		# Trait: Viking
		if = {
			limit = { root.army_commander = { has_trait = viking } }
			add = 5
		}
		# Dynasty Perk: Practiced Kidnappers
		if = {
			limit = {
				exists = root.army_commander.dynasty
				root.army_commander.dynasty = { has_dynasty_perk = fp1_pillage_legacy_3 }
			}
			add = 20
		}
	}
}
