﻿bdp_multiplayer_fighter_still_in_battle_trigger = {
	is_ai = no
	is_alive = yes
	is_imprisoned = no
	is_in_army = yes
	OR = {
		AND = {
			exists = knight_army
			knight_army = { is_army_in_combat = yes }
		}
		AND = {
			exists = commanding_army
			commanding_army = { is_army_in_combat = yes }
		}
	}
}

bdp_multiplayer_challenge_still_valid_trigger = {
	bdp_multiplayer_fighter_still_in_battle_trigger = yes
	exists = scope:bdp_multiplayer_challenger
	exists = scope:bdp_multiplayer_target
	this = scope:bdp_multiplayer_target
	scope:bdp_multiplayer_challenger = {
		bdp_multiplayer_fighter_still_in_battle_trigger = yes
		is_at_same_location = root
	}
}
