version="1.12.2"
next_underlying_unit_id=20
abbrev=""
campaign=""
campaign_define=""
campaign_extra_defines=""
campaign_type="multiplayer"
completion=""
difficulty="NORMAL"
end_credits=yes
end_text=""
end_text_duration=0
history=""
label="2p - Den of Onis"
parent="2p - Den of Onis-Autozapis6.gz"
version="1.12.2"
[multiplayer]
	active_mods="CorpseMode,mirrormate"
	difficulty_define=""
	experience_modifier=70
	hash="1>YiV+SyxtlW4D1dcQ74p<jxHPa60gM7HRzHs6Syb<VwjLkCsSf2nM7enOG<2j9nDhqp8dJxDHPH1aB39HUh1HA3oRk4jwxtad0IA9KY8ACuA,foSNR,msGhI5syCd83"
	mp_campaign=""
	mp_countdown=no
	mp_countdown_action_bonus=13
	mp_countdown_init_time=270
	mp_countdown_reservoir_time=330
	mp_countdown_turn_bonus=60
	mp_era="era_default"
	mp_fog=yes
	mp_num_turns=-1
	mp_random_start_time=no
	mp_scenario="SANDBOX_Den_of_Onis_12"
	mp_scenario_name="2p - Den of Onis"
	mp_shroud=no
	mp_use_map_settings=no
	mp_village_gold=2
	mp_village_support=1
	observer=yes
	savegame=no
	scenario="ladder"
	shuffle_sides=yes
	side_users="SANDBOXSide1:ElderofZion2,SANDBOXSide2:Machcik04"
	[options]
		[modification]
			id="Rav_Color_Mod"
			[option]
				id="Rav_Color_Yellow"
				value=yes
			[/option]
			[option]
				id="Rav_Color_Blue"
				value=yes
			[/option]
			[option]
				id="Rav_Color_Light_Blue"
				value=yes
			[/option]
			[option]
				id="Rav_Color_Purple"
				value=yes
			[/option]
			[option]
				id="Rav_Color_Cyan"
				value=yes
			[/option]
			[option]
				id="Rav_Color_Pink"
				value=yes
			[/option]
		[/modification]
		[modification]
			id="pyra"
			[option]
				id="pyra_unit_limit"
				value=10
			[/option]
		[/modification]
		[era]
			id="era_eeaw"
			[option]
				id="eeawdeadline"
				value=0
			[/option]
			[option]
				id="eeawlimitrecruits"
				value=0
			[/option]
			[option]
				id="eeawbossmode"
				value=0
			[/option]
			[option]
				id="eeawpillager"
				value=0
			[/option]
			[option]
				id="eeawnoincome"
				value=no
			[/option]
			[option]
				id="eeawnospam"
				value=no
			[/option]
			[option]
				id="eeawlastman"
				value=no
			[/option]
			[option]
				id="eeawships"
				value=yes
			[/option]
			[option]
				id="eeawfullfleet"
				value=no
			[/option]
			[option]
				id="eeawhospitals"
				value=yes
			[/option]
			[option]
				id="eeawpeasants"
				value=yes
			[/option]
			[option]
				id="eeaweconomy"
				value=yes
			[/option]
			[option]
				id="eeawcastlesdestruction"
				value=yes
			[/option]
		[/era]
		[era]
			id="New_Settlers_Mod"
			[option]
				id="NS_preload_options_disabled"
				value=yes
			[/option]
			[option]
				id="NS_preload_options_host_name"
				value=""
			[/option]
			[option]
				id="NS_preload_options_upgrade_villages"
				value=no
			[/option]
			[option]
				id="NS_preload_options_other_terrains"
				value=no
			[/option]
			[option]
				id="NS_preload_options_new_build_menu_enabled"
				value=no
			[/option]
			[option]
				id="NS_preload_options_no_mirror"
				value=no
			[/option]
			[option]
				id="NS_preload_options_fill_map_with_missing_terrains"
				value=yes
			[/option]
			[option]
				id="NS_preload_options_NS2_mode"
				value=no
			[/option]
			[option]
				id="NS_preload_options_turn1_help"
				value=no
			[/option]
			[option]
				id="NS_preload_options_new_scores"
				value=yes
			[/option]
			[option]
				id="NS_preload_options_top9"
				value=no
			[/option]
			[option]
				id="NS_preload_options_diplomacy"
				value=no
			[/option]
			[option]
				id="NS_preload_options_shuffled_sides"
				value=no
			[/option]
			[option]
				id="NS_preload_options_shuffled_sides_minimal_distance"
				value=15
			[/option]
			[option]
				id="NS_preload_options_starting_resources"
				value=45
			[/option]
			[option]
				id="NS_preload_options_starting_resources_different"
				value=yes
			[/option]
			[option]
				id="NS_preload_options_starting_resources_progressive_amount"
				value=0
			[/option]
			[option]
				id="NS_preload_options_alternative_settings"
				value=no
			[/option]
			[option]
				id="NS_preload_options_alternative_settings_population_limit_total"
				value=32
			[/option]
			[option]
				id="NS_preload_options_alternative_settings_population_limit_per_village"
				value=8
			[/option]
			[option]
				id="NS_preload_options_game_mode_ZA"
				value=no
			[/option]
			[option]
				id="NS_preload_options_disallow_observers_for_zombies"
				value=no
			[/option]
			[option]
				id="NS_preload_options_game_mode_ZA_zombies_level"
				value=4
			[/option]
			[option]
				id="NS_preload_options_ZA_each_zombie_earns"
				value=5
			[/option]
			[option]
				id="NS_preload_options_ZA_each_zombie_costs"
				value=20
			[/option]
			[option]
				id="NS_preload_options_ZA_each_zombie_health"
				value=18
			[/option]
			[option]
				id="NS_preload_options_ZA_starting_resources"
				value=100
			[/option]
			[option]
				id="NS_preload_options_ZA_population_limit"
				value=50
			[/option]
			[option]
				id="NS_preload_options_decrease_health_units"
				value=0
			[/option]
			[option]
				id="NS_preload_options_max_attacks_units"
				value=1
			[/option]
			[option]
				id="NS_preload_options_max_attacks_ships"
				value=1
			[/option]
			[option]
				id="NS_preload_options_max_attacks_workers"
				value=1
			[/option]
			[option]
				id="NS_preload_options_research_speed_harvest"
				value=3
			[/option]
			[option]
				id="NS_preload_options_research_speed_units"
				value=1
			[/option]
			[option]
				id="NS_preload_options_capture_the_flag_mode_slow_flag_carrier"
				value=yes
			[/option]
			[option]
				id="NS_preload_options_capture_the_flag_mode_flags_to_win"
				value=3
			[/option]
			[option]
				id="NS_preload_options_capture_the_flag_mode_turn_limit"
				value=50
			[/option]
			[option]
				id="NS_preload_options_capture_the_flag_mode_turn_limit_hold_flag"
				value=12
			[/option]
			[option]
				id="NS_preload_options_capture_the_flag_mode_middle_damage"
				value=8
			[/option]
			[option]
				id="NS_preload_options_gg_shortcut"
				value=yes
			[/option]
			[option]
				id="NS_preload_options_0_research_mode"
				value=no
			[/option]
			[option]
				id="NS_preload_options_development_mode"
				value=no
			[/option]
			[option]
				id="NS_preload_options_development_mode_enable_all_recruits"
				value=no
			[/option]
			[option]
				id="NS_preload_options_village_min_distance"
				value=3
			[/option]
			[option]
				id="NS_preload_options_ranged_attacks"
				value=yes
			[/option]
			[option]
				id="NS_preload_options_ranged_attacks_higher_range_with_level"
				value=yes
			[/option]
		[/era]
		[multiplayer]
			id="multiplayer_EoMa_Zombies_Challenge"
			[option]
				id="spawnturn"
				value=2
			[/option]
			[option]
				id="interval"
				value=3
			[/option]
			[option]
				id="wavestrength"
				value=10
			[/option]
			[option]
				id="waveincrease"
				value=3
			[/option]
			[option]
				id="smallspawnturn"
				value=8
			[/option]
			[option]
				id="rewardturn"
				value=2
			[/option]
			[option]
				id="bonusincome"
				value=1
			[/option]
			[option]
				id="bonusgold"
				value=5
			[/option]
			[option]
				id="zombiesvillages"
				value=yes
			[/option]
			[option]
				id="zombiesguard"
				value=yes
			[/option]
		[/multiplayer]
	[/options]
[/multiplayer]
[statistics]
	mid_scenario=yes
	[scenario]
		scenario="Conservative Sandbox Version 7.1"
	[/scenario]
	[scenario]
		scenario="2p - Den of Onis"
		[team]
			[recruits]
				Dark Adept=2
				Ghoul=1
				Skeleton=1
				Skeleton Archer=4
				Vampire Bat=2
				Walking Corpse=1
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
				Skeleton=1
			[/deaths]
			[killed]
				Heavy Infantryman=1
				Horseman=1
			[/killed]
			[attacks]
				[sequence]
					s00=1
					s111=2
					_num=60
				[/sequence]
				[sequence]
					s10=1
					s11=1
					_num=70
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					s=8
					_num=0
				[/sequence]
				[sequence]
					s00=1
					s10=1
					_num=40
				[/sequence]
				[sequence]
					s001=1
					_num=50
				[/sequence]
				[sequence]
					s01=1
					s11=2
					_num=60
				[/sequence]
				[sequence]
					s11=1
					_num=70
				[/sequence]
			[/defends]
			recruit_cost=153
			recall_cost=0
			damage_inflicted=124
			damage_taken=123
			expected_damage_inflicted=102600
			expected_damage_taken=137363
			turn_damage_inflicted=108
			turn_damage_taken=39
			turn_expected_damage_inflicted=88800
			turn_expected_damage_taken=62964
			save_id="SANDBOXSide1"
		[/team]
		[team]
			[recruits]
				Bowman=1
				Cavalryman=1
				Fencer=1
				Heavy Infantryman=1
				Horseman=1
				Mage=1
				Spearman=1
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
				Heavy Infantryman=1
				Horseman=1
			[/deaths]
			[killed]
				Skeleton=1
			[/killed]
			[attacks]
				[sequence]
					s0=1
					s00=1
					s000=1
					_num=40
				[/sequence]
				[sequence]
					s0001=1
					s0011=1
					s01=1
					s010=2
					s101=1
					s110=1
					_num=50
				[/sequence]
				[sequence]
					s11=1
					_num=60
				[/sequence]
				[sequence]
					s0001=1
					s01=1
					s110=1
					s1110=1
					_num=70
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					s=3
					_num=0
				[/sequence]
				[sequence]
					s101=1
					_num=40
				[/sequence]
				[sequence]
					s00=1
					_num=50
				[/sequence]
			[/defends]
			recruit_cost=123
			recall_cost=0
			damage_inflicted=123
			damage_taken=124
			expected_damage_inflicted=137363
			expected_damage_taken=102600
			turn_damage_inflicted=31
			turn_damage_taken=29
			turn_expected_damage_inflicted=54764
			turn_expected_damage_taken=20850
			save_id="SANDBOXSide2"
		[/team]
	[/scenario]
[/statistics]
[snapshot]
	abbrev=""
	allow_new_game=no
	campaign=""
	campaign_define=""
	campaign_extra_defines=""
	campaign_type="multiplayer"
	can_end_turn=yes
	completion=""
	current_time=5
	description=_"This most unusual of caves was once known as the Chamber of Laughing Devils, and was the inner citadel of the Kah Ruuk Oni. The Kah Ruuk were a wicked and cunning race of man-eating demons, who terrorized the people of the Eastern Lands for nearly four hundred years, before vanishing from Irdya without a trace. Since that time, many factions have vied for dominion over the Den of Onis, hoping to unlock the strange and mysterious magics of its creators."
	difficulty="NORMAL"
	disallow_recall=yes
	end_credits=yes
	end_text=""
	end_text_duration=0
	experience_modifier=70
	force_lock_settings=""
	history=""
	id="SANDBOX_Den_of_Onis_12"
	init_side_done=yes
	label="2p - Den of Onis"
	map_data="border_size=1
usage=map

Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ql, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ql, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ur, 2 Kud, Uu, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Uh^Emf, Wwf, Wwf, Rd, Rd, Cud, Ur, Uu^Uf, Ur^Emf, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ur, Uu^Vu, Wwf, Wwf, Rd, Cud, Cud, Ur, Ur, Hh, Ss, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Rd, Xu, Wwf, Rd, Rd, Ur, Ur, Wwf, Wwf, Rd, Rd, Cud, Rp, Gs^Fp, Ss^Vhs, Ss, Rp, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Ur, Ur, Ur, Rd, Rd, Wwf, Rd, Mm, Ur, Ur, Ur^Fp, Ur^Fp, Uh, Rd, Rd, Rp, Wwf, Rp, Hh, Rp, Uu^Vu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Ql, Uu^Uf, Xu, Ur, Xu, Xu, Wwf, Wwf, Rd, Ql, Ql, Ur, Uu^Uf, Ur, Rd, Rd, Hh, Gs^Fp, Rp, Xu, Rp, Wwf, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Rd, Gs^Fp, Rd, Ur, Xu, Ww, Ww, Xu, Xu, Xu, Uu^Vu, Ur, Rd, Rd, Rd, Rd, Rd, Rd, Xu, Xu, Rp, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Ql, Xu, Rd, Uu^Vu, Xu, Rd, Xu, Ww, Wwf, Uh, Rd, Rd, Rd, Ur^Fp, Uh, Rd, Rp, Mm, Wwf, Ss^Vhs, Rp, Rp, Gs^Fp, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Rp, Xu, Xu, Uh, Gs^Fp, Xu, Wwf, Mm, Wwf, Rd^Uf, Hh^Fp, Hh, Rd, Rd, Rd, Rp, Hh, Wwf, Rp, Xu, Xu, Uh, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Wwf, Wwf, Gs^Fp, Rd, Rd, Uu^Uf, Xu, Wwf, Wwf, Wwf, Ww, Ww, Hh, Rp, Rd, Rd, Rr^Uf, Gs^Fp, Hh, Wwf, Xu, Rp, Rd, Uu^Uf, Xu, Xu, Xu, Xu, Xu
Xu, Rp, Wwf, Rp, Rp, Rd, Xu, Ur, Xu, Wwf, Rr, Ww, Rp, Gs^Fp, Rp, Rp, Rd, Rd, Rd, Gs^Fp, Rp, Wwf, Uh, Gs^Fp, Rd, Rd, Uh, Xu, Wo, Xu, Xu
Xu, Xu, Wo, Ww, Uh, Uh, Rd, Xu, Uh, Wwf, Rp, Rp, Rd, Rp, Rd, Rd, Rp, Rp, Rp, Rp, Rr, Wwf, Xu, Xu, Xu, Uh, Rp, Ww, Wwf, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Rd, Rd, Gs^Fp, Xu, Wwf, Hh, Gs^Fp, Rr^Uf, Rd, Rd, Rp, Hh, Gs^Fp, Ww, Ww, Wwf, Wwf, Xu, Rd, Rd, Rd, Gs^Fp, Rp, Wwf, Rp, Xu
Xu, Xu, Xu, Xu, Xu, Uu^Uf, Uh, Rp, Xu, Wwf, Wwf, Gs^Fp, Rp, Rd, Rd, Rp, Hh, Ww, Rd^Uf, Wwf, Mm, Wwf, Xu, Uu^Uf, Uh, Rd, Xu, Wwf, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Gs^Fp, Xu, Rp, Rp, Wwf, Hh, Rp, Rd, Uh, Rd, Rd, Hh^Fp, Rd, Wwf, Wwf, Wwf, Xu, Gs^Fp, Xu, Xu, Rd, Rd, Ql, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Rp, Rp, Xu, Ss^Vhs, Rd, Mm, Rd, Rd, Rd, Ur^Fp, Uu^Vu, Rd, Xu, Uh, Ww, Ww, Xu, Rd, Rd, Uu^Vu, Rd, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Wwf, Xu, Xu, Rd, Rd^Fp, Rd, Rd, Rd, Ur, Ur, Ur, Xu, Ql, Xu, Wwf, Ww, Xu, Ur, Ur, Gs^Fp, Uu^Uf, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Uu^Vu, Rp, Hh, Rp, Wwf, Hh, Rd, Rd, Uh, Uu^Uf, Ur^Fp, Ql, Ur, Rd, Rd, Wwf, Rd, Xu, Ur, Xu, Ur, Ql, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Rp, Rp, Rp, Ss^Vhs, Rp, Rp, Rd, Rd, Ur^Fp, Wwf, Ur, Ur, Mm, Rd, Wwf, Wwf, Rd, Rd, Ur, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ss, Ss, Gs^Fp, Ur, Cud, Cud, Rd, Rd, Wwf, Wwf, Ur, Ur, Rd, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Hh, Ur^Emf, Ur, Ur, Cud, Rd, Wwf, Wwf, Uu^Vu, Uh^Emf, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ql, Uu^Uf, Uu, Cud, Ur, Rd, Xu, Wwf, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ql, Ql, 1 Kud, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ql, Ql, Ql, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
"
	name=_"2p - Den of Onis"
	next_scenario=""
	next_teleport_group_id=0
	next_underlying_unit_id=20
	objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>

<big>Defeat:</big>
<span foreground='red'>Death of your leader</span>"
	observer=yes
	playing_team=1
	random_calls=0
	random_seed=17085
	random_start_time=no
	scenario="SANDBOX_Den_of_Onis_12"
	shuffle_sides=yes
	snapshot=yes
	turn_at=6
	turns=-1
	unit_wml_ids="Bowman,Cavalryman,Dark Adept,Fencer,Ghoul,Heavy Infantryman,Horseman,Mage,Red Mage,Revenant,Skeleton,Skeleton Archer,Spearman,Vampire Bat,Walking Corpse,era_events,mod_CorpseMode_events,mod_mirrormate_events"
	used_items=""
	version="1.12.2"
	[display]
		color_adjust_blue=0
		color_adjust_green=0
		color_adjust_red=0
		view_locked=no
	[/display]
	[side]
		action_bonus_count=25
		allow_player=yes
		auto_shroud=yes
		chose_random=no
		color=1
		controller="human"
		countdown_time=0
		current_player="ElderofZion2"
		defeat_condition="no_leader_left"
		disallow_observers=no
		flag=""
		flag_icon=""
		fog=yes
		fog_data="|0000000000000
|000000000000000
|000000110000000
|000000111110000
|0000011111100000
|000001111110000000000
|000011111110000000000
|0000011111110000000011
|0000111111111011111111
|00011111111111111111111
|00111111111111111111111
|0011111111111111111111110
|0011111111111111111111110
|01111111111111111111111110
|11111111111111111111111110
|11111111111111111111111111
|11111111111111111111111110
|01111111111111111111111110
|011111111111111111111111
|0011111111111111110111111
|000111111111111110001111
|000011111111111111000110
|0000111111111111111110
|0000011111111101111111
|0000011111111111111111
|0000001111111111111111
|000000000011111111111
|000000000000111111111
|00000000000011111000
|000000000000001100
|000000000000000
"
		gold=7
		gold_add=no
		hidden=no
		id="SANDBOXSide1"
		income=0
		lost=no
		name="ElderofZion2"
		no_leader=yes
		objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>

<big>Defeat:</big>
<span foreground='red'>Death of your leader</span>"
		objectives_changed=no
		persistent=yes
		recall_cost=20
		recruit="Dark Adept,Ghost,Ghoul,Skeleton,Skeleton Archer,Vampire Bat,Walking Corpse"
		save_id="SANDBOXSide1"
		scroll_to_leader=yes
		share_maps=no
		share_view=no
		shroud=no
		shroud_data=""
		side=1
		start_gold=100
		suppress_end_turn_confirmation=no
		team_name=1
		user_team_name="Drużyna 1"
		village_gold=2
		village_support=1
		[ai]
#textdomain wesnoth-ai
			description=_"Multiplayer_AI^Default AI (RCA)"
			id="ai_default_rca"
			version=10710
			[stage]
				id="main_loop"
				name="ai_default_rca::candidate_action_evaluation_loop"
				[candidate_action]
					engine="cpp"
					id="goto"
					max_score=200000
					name="ai_default_rca::goto_phase"
					score=200000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="recruitment"
					max_score=180000
					name="default_recruitment::recruitment"
					score=180000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_goals"
					max_score=140000
					name="ai_default_rca::move_leader_to_goals_phase"
					score=140000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_keep"
					max_score=120000
					name="ai_default_rca::move_leader_to_keep_phase"
					score=120000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="combat"
					max_score=100000
					name="ai_default_rca::combat_phase"
					score=100000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="healing"
					max_score=80000
					name="ai_default_rca::get_healing_phase"
					score=80000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="villages"
					max_score=60000
					name="ai_default_rca::get_villages_phase"
					score=60000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="retreat"
					max_score=40000
					name="ai_default_rca::retreat_phase"
					score=40000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_to_targets"
					max_score=20000
					name="ai_default_rca::move_to_targets_phase"
					score=20000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="leader_shares_keep"
					max_score=10000
					name="ai_default_rca::leader_shares_keep_phase"
					score=10000
				[/candidate_action]
			[/stage]
			[aspect]
				engine="cpp"
				id="advancements"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.4
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attack_depth"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=5
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attacks"
				invalidate_on_gamestate_change=yes
				name="composite_aspect"
				[default]
					engine="cpp"
					invalidate_on_gamestate_change=yes
					name="ai_default_rca::aspect_attacks"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="avoid"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[not]
						[/not]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="caution"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="grouping"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="offensive"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="-4.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_goal"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_ignores_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="3.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="number_of_possible_recruits_to_force_recruit"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3.1
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader_shares_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						engine="cpp"
						name="ai_default::recruitment"
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_diversity"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="2.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_ignore_bad_combat"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_ignore_bad_movement"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_instructions"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[recruit]
							importance=0
						[/recruit]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_more"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_pattern"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_randomness"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=50
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_save_gold"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						active=0
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="scout_village_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="simple_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="support_villages"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="village_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="villages_per_scout"
				name="composite_aspect"
				[facet]
					engine="cpp"
					name="standard_aspect"
					value=8
				[/facet]
				[default]
					engine="cpp"
					name="standard_aspect"
					value=4
				[/default]
			[/aspect]
		[/ai]
		[village]
			x=6
			y=19
		[/village]
		[village]
			x=9
			y=17
		[/village]
		[village]
			x=10
			y=20
		[/village]
		[village]
			x=11
			y=4
		[/village]
		[village]
			x=14
			y=8
		[/village]
		[village]
			x=16
			y=17
		[/village]
		[village]
			x=19
			y=22
		[/village]
		[village]
			x=24
			y=6
		[/village]
		[village]
			x=25
			y=17
		[/village]
		[unit]
			advances_to="Draug"
			alignment="chaotic"
			alpha=256
			attacks_left=1
			canrecruit=yes
			cost=28
#textdomain wesnoth-units
			description=_"Given false life to do battle once more, the creatures known as Revenants were clearly great warriors in their time, though the memory of that time is almost wholly lost to their undead selves. Even the sorcerers who raised them can only speculate on their past. Such questions aside, a Revenant is a powerful tool in combat: a fearless warrior that feels no pain and will fight to the bitter end." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit can move unseen in deep water, requiring no air from the surface."
			experience=0
			extra_recruit=""
			facing="n"
			flag_rgb="magenta"
			gender="male"
			goto_x=-999
			goto_y=-999
			hitpoints=47
			id="SANDBOXSide1"
			image="units/undead-skeletal/revenant.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Revenant"
			level=2
			max_attacks=1
			max_experience=60
			max_hitpoints=47
			max_moves=5
			moves=5
			name="ElderofZion2"
			overlays=""
			profile="portraits/undead/transparent/revenant.png"
			race="undead"
			random_traits=no
			resting=yes
			role=""
			side=1
			small_profile="portraits/undead/revenant.png"
			type="Revenant"
			undead_variation=""
			underlying_id=1
			unrenamable=no
			upkeep="full"
			usage="fighter"
			variation=""
			vision=-1
			x=15
			y=24
			zoc=yes
			[portrait]
				image="portraits/undead/transparent/revenant.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/undead/transparent/revenant.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[abilities]
				[hides]
					affect_self=yes
#textdomain wesnoth-help
					description=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					description_inactive=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					female_name=_"female^submerge"
					female_name_inactive=_"female^submerge"
					id="submerge"
					name=_"submerge"
					name_inactive=_"submerge"
					[filter]
						[filter_location]
							terrain="Wo*^*"
						[/filter_location]
					[/filter]
				[/hides]
			[/abilities]
			[movement_costs]
				castle=1
				cave=2
				deep_water=3
				flat=1
				forest=2
				frozen=2
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=2
				swamp_water=2
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				deep_water=90
				flat=60
				forest=50
				frozen=70
				fungus=40
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=70
				village=40
			[/defense]
			[resistance]
				arcane=150
				blade=60
				cold=40
				fire=120
				impact=120
				pierce=40
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				not_living=yes
				undrainable=yes
				unplagueable=yes
				unpoisonable=yes
			[/status]
			[attack]
				damage=8
#textdomain wesnoth-units
				description=_"axe"
				icon="attacks/axe-undead.png"
				name="axe"
				number=4
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Immune to drain, poison, and plague"
					female_name=_"female^undead"
					id="undead"
					male_name=_"undead"
					[effect]
						add="unpoisonable"
						apply_to="status"
					[/effect]
					[effect]
						add="undrainable"
						apply_to="status"
					[/effect]
					[effect]
						add="unplagueable"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Blood Bat"
			alignment="chaotic"
			alpha=256
			attacks_left=0
			cost=13
#textdomain wesnoth-units
			description=_"Vampire bats are flying beasts that feed on the blood of other creatures. While their fangs are not very powerful, the health of victims is drained away along with their blood, and given to the Bats." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" During battle, this unit can drain life from victims to renew its own health."
			experience=3
			extra_recruit=""
			facing="sw"
			flag_rgb="magenta"
			flying=yes
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=11
			id="Vampire Bat-3"
			image="units/undead/bat-se-3.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Vampire Bat"
			level=0
			max_attacks=1
			max_experience=13
			max_hitpoints=16
			max_moves=8
			moves=0
			name=""
			overlays=""
			profile="portraits/monsters/transparent/bat.png"
			race="bats"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="portraits/monsters/bat.png"
			type="Vampire Bat"
			undead_variation="bat"
			underlying_id=3
			unrenamable=no
			upkeep="full"
			usage="scout"
			variation=""
			vision=-1
			x=24
			y=6
			zoc=no
			[attack_anim]
				attack_sound_start_time=-50
				direction="s,se,sw"
				offset="0.0~0.9:200,0.9~0.0:160"
				start_time=-200
				[filter_attack]
					name="fangs"
				[/filter_attack]
				[frame]
					image="units/undead/bat-se-[3,2].png:30"
				[/frame]
				[frame]
					image="units/undead/bat-se-1.png:30"
					sound="bat-flapping.wav"
				[/frame]
				[frame]
					image="units/undead/bat-se-[2~4,3,2,3].png:[30*2,70,50*2,40]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="bite-small.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-50
				direction="n,ne,nw"
				offset="0.0~0.9:200,0.9~0.0:160"
				start_time=-200
				[filter_attack]
					name="fangs"
				[/filter_attack]
				[frame]
					image="units/undead/bat-ne-[3,2].png:30"
				[/frame]
				[frame]
					image="units/undead/bat-ne-1.png:30"
					sound="bat-flapping.wav"
				[/frame]
				[frame]
					image="units/undead/bat-ne-[2~4,3,2,3].png:[30*2,70,50*2,40]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="bite-small.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
			[/attack_anim]
			[defend]
				direction="s,sw,se"
				start_time=-126
				[if]
					hits="miss"
					offset="0.0~-0.15,-0.15~0.0"
				[/if]
				[frame]
					image="units/undead/bat-se-[3,4].png:[1,100]"
				[/frame]
				[if]
					hits="hit"
					[frame]
						image="units/undead/bat-se-4.png:150"
						sound="bat-hit-[1~4].ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						image="units/undead/bat-se-4.png:150"
					[/frame]
				[/else]
				[frame]
					image="units/undead/bat-se-3.png:1"
				[/frame]
			[/defend]
			[defend]
				direction="n,nw,ne"
				start_time=-126
				[if]
					hits="miss"
					offset="0.0~-0.15,-0.15~0.0"
				[/if]
				[frame]
					image="units/undead/bat-ne-[3,4].png:[1,100]"
				[/frame]
				[if]
					hits="hit"
					[frame]
						image="units/undead/bat-ne-4.png:150"
						sound="bat-hit-[1~4].ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						image="units/undead/bat-ne-4.png:150"
					[/frame]
				[/else]
				[frame]
					image="units/undead/bat-ne-3.png:1"
				[/frame]
			[/defend]
			[movement_anim]
				direction="s,se,sw"
				start_time=0
				[frame]
					image="units/undead/bat-se-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]"
				[/frame]
			[/movement_anim]
			[movement_anim]
				direction="n,ne,nw"
				start_time=0
				[frame]
					image="units/undead/bat-ne-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]"
				[/frame]
			[/movement_anim]
			[portrait]
				image="portraits/monsters/transparent/bat.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/monsters/transparent/bat.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[standing_anim]
				direction="s,se,sw"
				layer=60
				start_time=0
				[frame]
					image="units/undead/bat-se-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]"
				[/frame]
			[/standing_anim]
			[standing_anim]
				direction="n,ne,nw"
				layer=60
				start_time=0
				[frame]
					image="units/undead/bat-ne-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]"
				[/frame]
			[/standing_anim]
			[trait]
				availability="musthave"
#textdomain wesnoth-help
				description=_"Receives only 50% defense in land-based villages"
				female_name=_"female^feral"
				id="feral"
				male_name=_"feral"
				[effect]
					apply_to="defense"
					replace=true
					[defense]
						village=-50
					[/defense]
				[/effect]
			[/trait]
			[movement_costs]
				castle=1
				cave=1
				deep_water=1
				flat=1
				forest=1
				frozen=1
				fungus=2
				hills=1
				mountains=1
				reef=1
				sand=1
				shallow_water=1
				swamp_water=1
				unwalkable=1
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=40
				deep_water=40
				flat=40
				forest=40
				frozen=40
				fungus=40
				hills=40
				mountains=40
				reef=40
				sand=40
				shallow_water=40
				swamp_water=40
				unwalkable=40
				village=-50
			[/defense]
			[resistance]
				arcane=80
				blade=100
				cold=70
				fire=100
				impact=120
				pierce=100
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				uncovered=yes
			[/status]
			[attack]
				damage=4
#textdomain wesnoth-units
				description=_"fangs"
				icon="attacks/fangs-animal.png"
				name="fangs"
				number=2
				range="melee"
				type="blade"
				[specials]
					[drains]
#textdomain wesnoth-help
						description=_"This unit drains health from living units, healing itself for half the amount of damage it deals (rounded down)."
						id="drains"
						name=_"drains"
					[/drains]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
					description=_"Receives only 50% defense in land-based villages"
					female_name=_"female^feral"
					id="feral"
					male_name=_"feral"
					[effect]
						apply_to="defense"
						replace=true
						[defense]
							village=-50
						[/defense]
					[/effect]
				[/trait]
				[trait]
					female_name=_"female^intelligent"
					id="intelligent"
					male_name=_"intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Blood Bat"
			alignment="chaotic"
			alpha=256
			attacks_left=1
			cost=13
#textdomain wesnoth-units
			description=_"Vampire bats are flying beasts that feed on the blood of other creatures. While their fangs are not very powerful, the health of victims is drained away along with their blood, and given to the Bats." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" During battle, this unit can drain life from victims to renew its own health."
			experience=4
			extra_recruit=""
			facing="sw"
			flag_rgb="magenta"
			flying=yes
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=3
			id="Vampire Bat-4"
			image="units/undead/bat-se-3.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Vampire Bat"
			level=0
			max_attacks=1
			max_experience=15
			max_hitpoints=15
			max_moves=9
			moves=9
			name=""
			overlays=""
			profile="portraits/monsters/transparent/bat.png"
			race="bats"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="portraits/monsters/bat.png"
			type="Vampire Bat"
			undead_variation="bat"
			underlying_id=4
			unrenamable=no
			upkeep="full"
			usage="scout"
			variation=""
			vision=-1
			x=11
			y=4
			zoc=no
			[attack_anim]
				attack_sound_start_time=-50
				direction="s,se,sw"
				offset="0.0~0.9:200,0.9~0.0:160"
				start_time=-200
				[filter_attack]
					name="fangs"
				[/filter_attack]
				[frame]
					image="units/undead/bat-se-[3,2].png:30"
				[/frame]
				[frame]
					image="units/undead/bat-se-1.png:30"
					sound="bat-flapping.wav"
				[/frame]
				[frame]
					image="units/undead/bat-se-[2~4,3,2,3].png:[30*2,70,50*2,40]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="bite-small.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-50
				direction="n,ne,nw"
				offset="0.0~0.9:200,0.9~0.0:160"
				start_time=-200
				[filter_attack]
					name="fangs"
				[/filter_attack]
				[frame]
					image="units/undead/bat-ne-[3,2].png:30"
				[/frame]
				[frame]
					image="units/undead/bat-ne-1.png:30"
					sound="bat-flapping.wav"
				[/frame]
				[frame]
					image="units/undead/bat-ne-[2~4,3,2,3].png:[30*2,70,50*2,40]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="bite-small.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
			[/attack_anim]
			[defend]
				direction="s,sw,se"
				start_time=-126
				[if]
					hits="miss"
					offset="0.0~-0.15,-0.15~0.0"
				[/if]
				[frame]
					image="units/undead/bat-se-[3,4].png:[1,100]"
				[/frame]
				[if]
					hits="hit"
					[frame]
						image="units/undead/bat-se-4.png:150"
						sound="bat-hit-[1~4].ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						image="units/undead/bat-se-4.png:150"
					[/frame]
				[/else]
				[frame]
					image="units/undead/bat-se-3.png:1"
				[/frame]
			[/defend]
			[defend]
				direction="n,nw,ne"
				start_time=-126
				[if]
					hits="miss"
					offset="0.0~-0.15,-0.15~0.0"
				[/if]
				[frame]
					image="units/undead/bat-ne-[3,4].png:[1,100]"
				[/frame]
				[if]
					hits="hit"
					[frame]
						image="units/undead/bat-ne-4.png:150"
						sound="bat-hit-[1~4].ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						image="units/undead/bat-ne-4.png:150"
					[/frame]
				[/else]
				[frame]
					image="units/undead/bat-ne-3.png:1"
				[/frame]
			[/defend]
			[movement_anim]
				direction="s,se,sw"
				start_time=0
				[frame]
					image="units/undead/bat-se-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]"
				[/frame]
			[/movement_anim]
			[movement_anim]
				direction="n,ne,nw"
				start_time=0
				[frame]
					image="units/undead/bat-ne-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]"
				[/frame]
			[/movement_anim]
			[portrait]
				image="portraits/monsters/transparent/bat.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/monsters/transparent/bat.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[standing_anim]
				direction="s,se,sw"
				layer=60
				start_time=0
				[frame]
					image="units/undead/bat-se-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]"
				[/frame]
			[/standing_anim]
			[standing_anim]
				direction="n,ne,nw"
				layer=60
				start_time=0
				[frame]
					image="units/undead/bat-ne-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]"
				[/frame]
			[/standing_anim]
			[trait]
				availability="musthave"
#textdomain wesnoth-help
				description=_"Receives only 50% defense in land-based villages"
				female_name=_"female^feral"
				id="feral"
				male_name=_"feral"
				[effect]
					apply_to="defense"
					replace=true
					[defense]
						village=-50
					[/defense]
				[/effect]
			[/trait]
			[movement_costs]
				castle=1
				cave=1
				deep_water=1
				flat=1
				forest=1
				frozen=1
				fungus=2
				hills=1
				mountains=1
				reef=1
				sand=1
				shallow_water=1
				swamp_water=1
				unwalkable=1
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=40
				deep_water=40
				flat=40
				forest=40
				frozen=40
				fungus=40
				hills=40
				mountains=40
				reef=40
				sand=40
				shallow_water=40
				swamp_water=40
				unwalkable=40
				village=-50
			[/defense]
			[resistance]
				arcane=80
				blade=100
				cold=70
				fire=100
				impact=120
				pierce=100
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
			[/status]
			[attack]
				damage=4
#textdomain wesnoth-units
				description=_"fangs"
				icon="attacks/fangs-animal.png"
				name="fangs"
				number=2
				range="melee"
				type="blade"
				[specials]
					[drains]
#textdomain wesnoth-help
						description=_"This unit drains health from living units, healing itself for half the amount of damage it deals (rounded down)."
						id="drains"
						name=_"drains"
					[/drains]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
					description=_"Receives only 50% defense in land-based villages"
					female_name=_"female^feral"
					id="feral"
					male_name=_"feral"
					[effect]
						apply_to="defense"
						replace=true
						[defense]
							village=-50
						[/defense]
					[/effect]
				[/trait]
				[trait]
					female_name=_"female^quick"
					id="quick"
					male_name=_"quick"
					[effect]
						apply_to="movement"
						increase=1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Dark Sorcerer"
			alignment="chaotic"
			alpha=256
			attacks_left=0
			cost=16
#textdomain wesnoth-units
			description=_"To attract any practitioners, the lure of black magic must be a great prize indeed, for anyone caught practicing the art in the civilized world is subject to a death sentence. And yet there are those who pursue this art, for the prize offered is nothing less than immortality. Hidden away in secret cults, or initiated into the dark orders of the underworld, the training which these fanatics must endure often drives them to exhaustion and enfeeblement.
     
    In such condition, their only weapon is the craft they have so committed themselves to learning." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit has magical attacks, which always have a high chance of hitting an opponent." +
				_" This unit’s arcane attack deals tremendous damage to magical creatures, and even some to mundane creatures."
			experience=9
			extra_recruit=""
			facing="n"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=18
			id="Dark Adept-5"
			image="units/undead-necromancers/adept.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Dark Adept"
			level=1
			max_attacks=1
			max_experience=34
			max_hitpoints=32
			max_moves=6
			moves=0
			name="Caennycyn"
			overlays=""
			profile="portraits/humans/transparent/dark-adept.png"
			race="human"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="portraits/humans/dark-adept.png"
			type="Dark Adept"
			undead_variation=""
			underlying_id=5
			unrenamable=no
			upkeep="full"
			usage="archer"
			variation=""
			vision=-1
			x=17
			y=12
			zoc=yes
			[attack_anim]
				attack_sound_start_time=-100
				missile_start_time=-120
				start_time=-450
				[filter_attack]
					name="chill wave"
				[/filter_attack]
				[if]
					hits=yes
					[missile_frame]
						directional_x="0~0"
						image="projectiles/icemissile-n-[1~7].png:40"
						image_diagonal="projectiles/icemissile-ne-[1~7].png:40"
						offset="0.0~0.9:120,0.9:160"
						y="-12~0"
					[/missile_frame]
				[/if]
				[else]
					hits=no
					[missile_frame]
						alpha="1~0"
						directional_x="0~0"
						image="projectiles/icemissile-n-[1~2,1].png:50"
						image_diagonal="projectiles/icemissile-ne-[1~2,1].png:50"
						offset="0.0~0.9:150"
						y="-12~0"
					[/missile_frame]
				[/else]
				[frame]
					image="units/undead-necromancers/adept.png:25"
				[/frame]
				[frame]
					image="units/undead-necromancers/adept-magic-[1~3].png:[35,75,15]"
				[/frame]
				[frame]
					halo="halo/undead/dark-magic-[1~6].png:50"
					halo_x=0
					halo_y=-12
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="magic-dark.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="magic-dark-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-necromancers/adept-magic-[2,1].png:50"
				[/frame]
				[frame]
					duration=60
					image="units/undead-necromancers/adept.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-50
				missile_start_time=-50
				shadow_start_time=-350
				start_time=-700
				[filter_attack]
					name="shadow wave"
				[/filter_attack]
				[shadow_frame]
					alpha="0.0:1,0.8:149,0.8~0.0:200"
					duration=350
					image="projectiles/darkmissile-n.png~CS(-250,-250,-250)"
					image_diagonal="projectiles/darkmissile-ne.png~CS(-250,-250,-250)"
					layer=10
					offset="0.1~1.0:150,1.0:200"
					y=25
				[/shadow_frame]
				[missile_frame]
					auto_hflip=no
					auto_vflip=no
					duration=300
					halo="halo/undead/dark-magic-[6~1].png~CS(-150,-150,-150)~O([40%,50%,60%*2,50%,40%]):50"
					halo_y=8
					offset="1.0"
				[/missile_frame]
				[frame]
					image="units/undead-necromancers/adept.png:25"
				[/frame]
				[frame]
					image="units/undead-necromancers/adept-magic-[1~3].png:[35,75,15]"
				[/frame]
				[frame]
					halo="halo/undead/dark-magic-[1~6].png:50"
					halo_x=0
					halo_y="-12~12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					image="units/undead-necromancers/adept-magic-3.png:350"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="magic-dark-big.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="magic-dark-big-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-necromancers/adept-magic-[2,1].png:50"
				[/frame]
				[frame]
					duration=50
					image="units/undead-necromancers/adept.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time=0
				[frame]
					image="units/undead-necromancers/adept-die[1~8].png:[100*4,120*2,140,120]"
				[/frame]
			[/death]
			[defend]
				start_time=-126
				[frame]
					image="units/undead-necromancers/adept-defend-1.png:1,units/undead-necromancers/adept-defend-2.png:250,units/undead-necromancers/adept-defend-1.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="human-hit-[1~5].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[portrait]
				image="portraits/humans/transparent/dark-adept.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/dark-adept.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[recruiting_anim]
				sound_start_time=-40
				start_time=-450
				[filter_second]
					race="undead"
				[/filter_second]
				[frame]
					image="units/undead-necromancers/adept.png:30"
				[/frame]
				[frame]
					image="units/undead-necromancers/adept-magic-[1~3].png:[35,75,20]"
				[/frame]
				[frame]
					halo="halo/undead/dark-magic-[1~6].png:50"
					halo_x=0
					halo_y=-12
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[sound_frame]
					sound="magic-dark.ogg"
				[/sound_frame]
				[frame]
					image="units/undead-necromancers/adept-magic-[2,1].png:[50,40]"
				[/frame]
				[frame]
					image="units/undead-necromancers/adept.png:10"
				[/frame]
			[/recruiting_anim]
			[trait]
#textdomain wesnoth-help
				female_name=_"female^quick"
				id="quick"
				male_name=_"quick"
				[effect]
					apply_to="movement"
					increase=1
				[/effect]
				[effect]
					apply_to="hitpoints"
					increase_total="-5%"
				[/effect]
			[/trait]
			[trait]
				female_name=_"female^intelligent"
				id="intelligent"
				male_name=_"intelligent"
				[effect]
					apply_to="max_experience"
					increase="-20%"
				[/effect]
			[/trait]
			[trait]
				female_name=_"female^resilient"
				id="resilient"
				male_name=_"resilient"
				[effect]
					apply_to="hitpoints"
					increase_total=4
				[/effect]
				[effect]
					apply_to="hitpoints"
					increase_total=1
					times="per level"
				[/effect]
			[/trait]
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=3
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=3
				swamp_water=3
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				flat=60
				forest=50
				frozen=80
				fungus=50
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=80
				village=40
			[/defense]
			[resistance]
				arcane=80
				blade=100
				cold=100
				fire=100
				impact=100
				pierce=100
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				uncovered=yes
			[/status]
			[attack]
				damage=10
#textdomain wesnoth-units
				description=_"chill wave"
				icon="attacks/iceball.png"
				name="chill wave"
				number=2
				range="ranged"
				type="cold"
				[specials]
					[chance_to_hit]
						cumulative=no
#textdomain wesnoth-help
						description=_"This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
						id="magical"
						name=_"magical"
						value=70
					[/chance_to_hit]
				[/specials]
			[/attack]
			[attack]
				damage=7
#textdomain wesnoth-units
				description=_"shadow wave"
				icon="attacks/dark-missile.png"
				name="shadow wave"
				number=2
				range="ranged"
				type="arcane"
				[specials]
					[chance_to_hit]
						cumulative=no
#textdomain wesnoth-help
						description=_"This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
						id="magical"
						name=_"magical"
						value=70
					[/chance_to_hit]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					female_name=_"female^quick"
					id="quick"
					male_name=_"quick"
					[effect]
						apply_to="movement"
						increase=1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
				[trait]
					female_name=_"female^resilient"
					id="resilient"
					male_name=_"resilient"
					[effect]
						apply_to="hitpoints"
						increase_total=4
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total=1
						times="per level"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Necrophage"
			alignment="chaotic"
			alpha=256
			attacks_left=0
			cost=16
#textdomain wesnoth-units
			description=_"Only the more perverse and sadistic of necromancers know what must be done to turn a person into a ghoul, and it is a secret they are not telling. The result, however, is all too well known; it is a beast that knows nothing of its days as a human being, a creature that shambles about as naked as the day it was born, and gorges itself on the flesh of the dead.

It is because of such things that necromancy is condemned with an almost primal hatred in all civilized lands." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" The victims of this unit’s poison will continually take damage until they can be cured in town or by a unit which cures."
			experience=14
			extra_recruit=""
			facing="se"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=8
			id="Ghoul-6"
			image="units/undead/ghoul.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Ghoul"
			level=1
			max_attacks=1
			max_experience=25
			max_hitpoints=33
			max_moves=5
			moves=0
			name=""
			overlays=""
			profile="portraits/undead/transparent/ghoul.png"
			race="undead"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="portraits/undead/ghoul.png"
			type="Ghoul"
			undead_variation=""
			underlying_id=6
			unrenamable=no
			upkeep="full"
			usage="fighter"
			variation=""
			vision=-1
			x=14
			y=8
			zoc=yes
			[attack_anim]
				attack_sound_start_time=-125
				start_time=-250
				[filter_attack]
					name="claws"
				[/filter_attack]
				[frame]
					image="units/undead/ghoul.png:50"
				[/frame]
				[frame]
					image="units/undead/ghoul-attack-[1~4].png:[75*2,100,75]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="claws.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
				[if]
					hits="hit"
					poisoned_sound_start_time=-100
					[filter_second]
						[not]
							[filter_wml]
								[status]
									poisoned=yes
								[/status]
							[/filter_wml]
							[or]
								[filter_wml]
									[status]
										unpoisonable=yes
									[/status]
								[/filter_wml]
							[/or]
						[/not]
					[/filter_second]
					[poisoned_sound_frame]
						sound="poison.ogg"
					[/poisoned_sound_frame]
				[/if]
				[frame]
					image="units/undead/ghoul.png:75"
				[/frame]
			[/attack_anim]
			[defend]
				start_time=-126
				[frame]
					image="units/undead/ghoul-defend-1.png:1,units/undead/ghoul-defend-2.png:250,units/undead/ghoul-defend-1.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="ghoul-hit.wav"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[portrait]
				image="portraits/undead/transparent/ghoul.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/undead/transparent/ghoul.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[trait]
				availability="musthave"
#textdomain wesnoth-help
				description=_"Fights normally during unfavorable times of day/night"
				female_name=_"female^fearless"
				id="fearless"
				male_name=_"fearless"
			[/trait]
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=2
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=3
				swamp_water=2
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				flat=60
				forest=50
				frozen=70
				fungus=40
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=70
				village=40
			[/defense]
			[resistance]
				arcane=80
				blade=90
				cold=60
				fire=90
				impact=100
				pierce=70
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				not_living=yes
				uncovered=yes
				undrainable=yes
				unplagueable=yes
				unpoisonable=yes
			[/status]
			[attack]
				damage=4
#textdomain wesnoth-units
				description=_"claws"
				icon="attacks/claws-undead.png"
				name="claws"
				number=3
				range="melee"
				type="blade"
				[specials]
					[poison]
#textdomain wesnoth-help
						description=_"This attack poisons living targets. Poisoned units lose 8 HP every turn until they are cured or are reduced to 1 HP. Poison can not, of itself, kill a unit."
						id="poison"
						name=_"poison"
					[/poison]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
					description=_"Immune to drain, poison, and plague"
					female_name=_"female^undead"
					id="undead"
					male_name=_"undead"
					[effect]
						add="unpoisonable"
						apply_to="status"
					[/effect]
					[effect]
						add="undrainable"
						apply_to="status"
					[/effect]
					[effect]
						add="unplagueable"
						apply_to="status"
					[/effect]
				[/trait]
				[trait]
					availability="musthave"
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Dark Sorcerer"
			alignment="chaotic"
			alpha=256
			attacks_left=0
			cost=16
#textdomain wesnoth-units
			description=_"To attract any practitioners, the lure of black magic must be a great prize indeed, for anyone caught practicing the art in the civilized world is subject to a death sentence. And yet there are those who pursue this art, for the prize offered is nothing less than immortality. Hidden away in secret cults, or initiated into the dark orders of the underworld, the training which these fanatics must endure often drives them to exhaustion and enfeeblement.
     
    In such condition, their only weapon is the craft they have so committed themselves to learning." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit has magical attacks, which always have a high chance of hitting an opponent." +
				_" This unit’s arcane attack deals tremendous damage to magical creatures, and even some to mundane creatures."
			experience=1
			extra_recruit=""
			facing="nw"
			flag_rgb="magenta"
			gender="female"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=27
			id="Dark Adept-12"
			image="units/undead-necromancers/adept+female.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"female^Dark Adept"
			level=1
			max_attacks=1
			max_experience=27
			max_hitpoints=27
			max_moves=6
			moves=0
			name="Curylla"
			overlays=""
			profile="portraits/humans/transparent/dark-adept+female.png"
			race="human"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="portraits/humans/dark-adept+female.png"
			type="Dark Adept"
			undead_variation=""
			underlying_id=12
			unrenamable=no
			upkeep="full"
			usage="archer"
			variation=""
			vision=-1
			x=18
			y=11
			zoc=yes
			[attack_anim]
				attack_sound_start_time=-100
				missile_start_time=-120
				start_time=-450
				[filter_attack]
					name="chill wave"
				[/filter_attack]
				[if]
					hits=yes
					[missile_frame]
						directional_x="0~0"
						image="projectiles/icemissile-n-[1~7].png:40"
						image_diagonal="projectiles/icemissile-ne-[1~7].png:40"
						offset="0.0~0.9:120,0.9:160"
						y="-12~0"
					[/missile_frame]
				[/if]
				[else]
					hits=no
					[missile_frame]
						alpha="1~0"
						directional_x="0~0"
						image="projectiles/icemissile-n-[1~2,1].png:50"
						image_diagonal="projectiles/icemissile-ne-[1~2,1].png:50"
						offset="0.0~0.9:150"
						y="-12~0"
					[/missile_frame]
				[/else]
				[frame]
					image="units/undead-necromancers/adept+female.png:25"
				[/frame]
				[frame]
					image="units/undead-necromancers/adept+female-magic-[1~3].png:[35,75,20]"
				[/frame]
				[frame]
					halo="halo/undead/dark-magic-[1~6].png:50"
					halo_x=0
					halo_y=-12
					image="units/undead-necromancers/adept+female-magic-3.png"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="magic-dark.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="magic-dark-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-necromancers/adept+female-magic-[2,1].png:50"
				[/frame]
				[frame]
					duration=60
					image="units/undead-necromancers/adept+female.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-50
				missile_start_time=-50
				shadow_start_time=-350
				start_time=-700
				[filter_attack]
					name="shadow wave"
				[/filter_attack]
				[shadow_frame]
					alpha="0.0:1,0.8:149,0.8~0.0:200"
					duration=350
					image="projectiles/darkmissile-n.png~CS(-250,-250,-250)"
					image_diagonal="projectiles/darkmissile-ne.png~CS(-250,-250,-250)"
					layer=10
					offset="0.1~1.0:150,1.0:200"
					y=25
				[/shadow_frame]
				[missile_frame]
					auto_hflip=no
					auto_vflip=no
					duration=300
					halo="halo/undead/dark-magic-[6~1].png~CS(-150,-150,-150)~O([40%,50%,60%*2,50%,40%]):50"
					halo_y=8
					offset="1.0"
				[/missile_frame]
				[frame]
					image="units/undead-necromancers/adept+female.png:25"
				[/frame]
				[frame]
					image="units/undead-necromancers/adept+female-magic-[1~3].png:[35,75,15]"
				[/frame]
				[frame]
					halo="halo/undead/dark-magic-[1~6].png:50"
					halo_x=0
					halo_y="-12~12"
					image="units/undead-necromancers/adept+female-magic-3.png"
				[/frame]
				[frame]
					image="units/undead-necromancers/adept+female-magic-3.png:350"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="magic-dark-big.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="magic-dark-big-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-necromancers/adept+female-magic-[2,1].png:50"
				[/frame]
				[frame]
					duration=50
					image="units/undead-necromancers/adept+female.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time=0
				[frame]
					image="units/undead-necromancers/adept-die[1~8].png:[100*4,120*2,140,120]"
				[/frame]
			[/death]
			[defend]
				start_time=-126
				[frame]
					image="units/undead-necromancers/adept+female-defend-1.png:1,units/undead-necromancers/adept+female-defend-2.png:250,units/undead-necromancers/adept+female-defend-1.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="human-female-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[portrait]
				image="portraits/humans/transparent/dark-adept+female.png"
				mirror=true
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/dark-adept+female.png"
				mirror=false
				side="right"
				size=400
			[/portrait]
			[recruiting_anim]
				sound_start_time=-40
				start_time=-450
				[filter_second]
					race="undead"
				[/filter_second]
				[frame]
					image="units/undead-necromancers/adept+female.png:30"
				[/frame]
				[frame]
					image="units/undead-necromancers/adept+female-magic-[1~3].png:[35,75,20]"
				[/frame]
				[frame]
					halo="halo/undead/dark-magic-[1~6].png:50"
					halo_x=0
					halo_y=-12
					image="units/undead-necromancers/adept+female-magic-3.png"
				[/frame]
				[sound_frame]
					sound="magic-dark.ogg"
				[/sound_frame]
				[frame]
					image="units/undead-necromancers/adept+female-magic-[2,1].png:[50,40]"
				[/frame]
				[frame]
					image="units/undead-necromancers/adept+female.png:10"
				[/frame]
			[/recruiting_anim]
			[trait]
#textdomain wesnoth-help
				female_name=_"female^quick"
				id="quick"
				male_name=_"quick"
				[effect]
					apply_to="movement"
					increase=1
				[/effect]
				[effect]
					apply_to="hitpoints"
					increase_total="-5%"
				[/effect]
			[/trait]
			[trait]
				female_name=_"female^intelligent"
				id="intelligent"
				male_name=_"intelligent"
				[effect]
					apply_to="max_experience"
					increase="-20%"
				[/effect]
			[/trait]
			[trait]
				female_name=_"female^resilient"
				id="resilient"
				male_name=_"resilient"
				[effect]
					apply_to="hitpoints"
					increase_total=4
				[/effect]
				[effect]
					apply_to="hitpoints"
					increase_total=1
					times="per level"
				[/effect]
			[/trait]
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=3
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=3
				swamp_water=3
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				flat=60
				forest=50
				frozen=80
				fungus=50
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=80
				village=40
			[/defense]
			[resistance]
				arcane=80
				blade=100
				cold=100
				fire=100
				impact=100
				pierce=100
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				uncovered=yes
			[/status]
			[attack]
				damage=10
#textdomain wesnoth-units
				description=_"chill wave"
				icon="attacks/iceball.png"
				name="chill wave"
				number=2
				range="ranged"
				type="cold"
				[specials]
					[chance_to_hit]
						cumulative=no
#textdomain wesnoth-help
						description=_"This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
						id="magical"
						name=_"magical"
						value=70
					[/chance_to_hit]
				[/specials]
			[/attack]
			[attack]
				damage=7
#textdomain wesnoth-units
				description=_"shadow wave"
				icon="attacks/dark-missile.png"
				name="shadow wave"
				number=2
				range="ranged"
				type="arcane"
				[specials]
					[chance_to_hit]
						cumulative=no
#textdomain wesnoth-help
						description=_"This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
						id="magical"
						name=_"magical"
						value=70
					[/chance_to_hit]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					female_name=_"female^quick"
					id="quick"
					male_name=_"quick"
					[effect]
						apply_to="movement"
						increase=1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
				[trait]
					female_name=_"female^intelligent"
					id="intelligent"
					male_name=_"intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Bone Shooter"
			alignment="chaotic"
			alpha=256
			attacks_left=0
			cost=14
#textdomain wesnoth-units
			description=_"A skeleton archer is little different from the ‘skeletons’ which often accompany it — it is a sin against nature, a warrior raised from the dead to fight once again. In their masters’ hands, these soldiers will do anything to achieve the tasks laid before them, for death holds no fear for one who is already dead." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit can move unseen in deep water, requiring no air from the surface."
			experience=2
			extra_recruit=""
			facing="nw"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=11
			id="Skeleton Archer-13"
			image="units/undead-skeletal/archer.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Skeleton Archer"
			level=1
			max_attacks=1
			max_experience=25
			max_hitpoints=31
			max_moves=5
			moves=0
			name=""
			overlays=""
			profile="portraits/undead/transparent/archer.png"
			race="undead"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="portraits/undead/archer.png"
			type="Skeleton Archer"
			undead_variation=""
			underlying_id=13
			unrenamable=no
			upkeep="full"
			usage="archer"
			variation=""
			vision=-1
			x=16
			y=10
			zoc=yes
			[abilities]
				[hides]
					affect_self=yes
#textdomain wesnoth-help
					description=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					description_inactive=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					female_name=_"female^submerge"
					female_name_inactive=_"female^submerge"
					id="submerge"
					name=_"submerge"
					name_inactive=_"submerge"
					[filter]
						[filter_location]
							terrain="Wo*^*"
						[/filter_location]
					[/filter]
				[/hides]
			[/abilities]
			[attack_anim]
				attack_sound_start_time=-380
				missile_start_time=-150
				start_time=-445
				[filter_attack]
					name="bow"
				[/filter_attack]
				[missile_frame]
					duration=150
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[frame]
					image="units/undead-skeletal/archer-bow.png:65"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-bow-attack-[1~4].png:[75*2,100,130]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="bow.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="bow-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-skeletal/archer-bow.png:65"
				[/frame]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-100
				start_time=-200
				[filter_attack]
					name="fist"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer.png:100"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-attack.png:200"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="fist.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-skeletal/archer.png:100"
				[/frame]
			[/attack_anim]
			[death]
				start_time=0
				[frame]
					image="units/undead-skeletal/archer-die2-[1~7].png:100"
				[/frame]
			[/death]
			[death]
				start_time=0
				[frame]
					image="units/undead-skeletal/archer-die-[1~13].png:100"
				[/frame]
			[/death]
			[defend]
				start_time=-126
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer.png:1,units/undead-skeletal/archer-defend.png:250,units/undead-skeletal/archer.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="skeleton-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[defend]
				start_time=-126
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer-bow.png:1,units/undead-skeletal/archer-bow-defend.png:250,units/undead-skeletal/archer-bow.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="skeleton-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[idle_anim]
				start_time=0
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned=yes
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count=0
						is_enemy=yes
					[/filter_adjacent]
				[/filter]
				[frame]
					image="units/undead-skeletal/archer-idle-[1~14].png:[100*5,200,100*5,200,100*2]"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/undead/transparent/archer.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/undead/transparent/archer.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[recruit_anim]
				start_time=-200
				[frame]
					alpha="0~1:300"
					image="units/undead-skeletal/archer-die2-7.png:300"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-die2-[6~1].png:100"
				[/frame]
			[/recruit_anim]
			[movement_costs]
				castle=1
				cave=2
				deep_water=3
				flat=1
				forest=2
				frozen=2
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=2
				swamp_water=2
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				deep_water=90
				flat=60
				forest=50
				frozen=70
				fungus=40
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=70
				village=40
			[/defense]
			[resistance]
				arcane=150
				blade=60
				cold=40
				fire=120
				impact=120
				pierce=40
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				not_living=yes
				uncovered=yes
				undrainable=yes
				unplagueable=yes
				unpoisonable=yes
			[/status]
			[attack]
				damage=3
#textdomain wesnoth-units
				description=_"fist"
				icon="attacks/fist-skeletal.png"
				name="fist"
				number=2
				range="melee"
				type="impact"
			[/attack]
			[attack]
				damage=6
				description=_"bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number=3
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Immune to drain, poison, and plague"
					female_name=_"female^undead"
					id="undead"
					male_name=_"undead"
					[effect]
						add="unpoisonable"
						apply_to="status"
					[/effect]
					[effect]
						add="undrainable"
						apply_to="status"
					[/effect]
					[effect]
						add="unplagueable"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Soulless"
			alignment="chaotic"
			alpha=256
			attacks_left=1
			cost=8
#textdomain wesnoth-units
			description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
			experience=0
			extra_recruit=""
			facing="ne"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=18
			id="Walking Corpse-15"
			image="units/undead/zombie.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Walking Corpse"
			level=0
			max_attacks=1
			max_experience=17
			max_hitpoints=18
			max_moves=4
			moves=0
			name=""
			overlays=""
			profile="units/undead/zombie.png"
			race="undead"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="units/undead/zombie.png"
			type="Walking Corpse"
			undead_variation=""
			underlying_id=15
			unrenamable=no
			upkeep="full"
			usage="fighter"
			variation=""
			vision=-1
			x=25
			y=17
			zoc=no
			[attack_anim]
				direction="s"
				start_time=-200
				[filter_attack]
					name="touch"
				[/filter_attack]
				[frame]
					image="units/undead/zombie-attack-s.png:400"
					sound="zombie-attack.wav"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="n"
				start_time=-200
				[filter_attack]
					name="touch"
				[/filter_attack]
				[frame]
					image="units/undead/zombie-attack-n.png:400"
					sound="zombie-attack.wav"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="se,sw,ne,nw"
				start_time=-200
				[filter_attack]
					name="touch"
				[/filter_attack]
				[frame]
					image="units/undead/zombie-attack.png:400"
					sound="zombie-attack.wav"
				[/frame]
			[/attack_anim]
			[death]
				start_time=0
				[frame]
					image="units/undead/zombie-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
				[/frame]
			[/death]
			[defend]
				start_time=-126
				[frame]
					image="units/undead/zombie.png:1,units/undead/zombie-defend.png:250,units/undead/zombie.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="zombie-hit-[4~6].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[trait]
				availability="musthave"
#textdomain wesnoth-help
				description=_"Fights normally during unfavorable times of day/night"
				female_name=_"female^fearless"
				id="fearless"
				male_name=_"fearless"
			[/trait]
			[variation]
				advances_to="Soulless"
				alignment="chaotic"
				cost=8
#textdomain wesnoth-units
				description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
					_"

Special Notes:" +
					_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
				die_sound="zombie-hit-[4~6].ogg"
				experience=24
				flag_rgb="magenta"
				hitpoints=23
				id="Walking Corpse"
				image="units/undead/zombie-drake.png"
				inherit=""
				level=0
				movement=4
				movement_type="drakefoot"
#textdomain wesnoth-units
				name=_"Walking Corpse"
				race="undead"
				usage="fighter"
				variation_id="drake"
				variation_name=_"wc_variation^Drake"
				[defend]
					start_time=-126
					[frame]
						image="units/undead/zombie-drake.png:1,units/undead/zombie-drake-defend.png:250,units/undead/zombie-drake.png:1"
					[/frame]
					[if]
						hit_sound_start_time=-25
						hits="hit"
						[hit_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/hit_sound_frame]
					[/if]
				[/defend]
				[death]
					start_time=0
					[frame]
						image="units/undead/zombie-drake-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
					[/frame]
				[/death]
				[attack_anim]
					direction="s"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-drake-attack-s.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="n"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-drake-attack-n.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="se,sw,ne,nw"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-drake-attack.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
				[resistance]
					arcane=140
				[/resistance]
				[attack]
					damage=6
#textdomain wesnoth-units
					description=_"touch"
					icon="attacks/touch-zombie.png"
					name="touch"
					number=2
					range="melee"
					type="impact"
					[specials]
						[plague]
#textdomain wesnoth-help
							description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
							id="plague"
							name=_"plague"
							type="Walking Corpse"
						[/plague]
					[/specials]
				[/attack]
				[movement_costs]
					deep_water=4
					unwalkable=4
				[/movement_costs]
				[defense]
					deep_water=90
					unwalkable=90
				[/defense]
			[/variation]
			[variation]
				advances_to="Soulless"
				alignment="chaotic"
				cost=8
#textdomain wesnoth-units
				description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
					_"

Special Notes:" +
					_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
				die_sound="zombie-hit-[4~6].ogg"
				experience=24
				flag_rgb="magenta"
				hitpoints=21
				id="Walking Corpse"
				image="units/undead/zombie-dwarf.png"
				inherit=""
				level=0
				movement=3
				movement_type="dwarvishfoot"
#textdomain wesnoth-units
				name=_"Walking Corpse"
				race="undead"
				usage="fighter"
				variation_id="dwarf"
				variation_name=_"wc_variation^Dwarf"
				[defend]
					start_time=-126
					[frame]
						image="units/undead/zombie-dwarf.png:1,units/undead/zombie-dwarf-defend.png:250,units/undead/zombie-dwarf.png:1"
					[/frame]
					[if]
						hit_sound_start_time=-25
						hits="hit"
						[hit_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/hit_sound_frame]
					[/if]
				[/defend]
				[death]
					start_time=0
					[frame]
						image="units/undead/zombie-dwarf-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
					[/frame]
				[/death]
				[attack_anim]
					direction="s"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-dwarf-attack-s.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="n"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-dwarf-attack-n.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="se,sw,ne,nw"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-dwarf-attack.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
				[resistance]
					arcane=140
				[/resistance]
				[attack]
					damage=6
#textdomain wesnoth-units
					description=_"touch"
					icon="attacks/touch-zombie.png"
					name="touch"
					number=2
					range="melee"
					type="impact"
					[specials]
						[plague]
#textdomain wesnoth-help
							description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
							id="plague"
							name=_"plague"
							type="Walking Corpse"
						[/plague]
					[/specials]
				[/attack]
				[movement_costs]
					deep_water=3
				[/movement_costs]
				[defense]
					deep_water=90
				[/defense]
			[/variation]
			[variation]
				advances_to="Soulless"
				alignment="chaotic"
				cost=8
#textdomain wesnoth-units
				description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
					_"

Special Notes:" +
					_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
				die_sound="zombie-hit-[4~6].ogg"
				experience=24
				flag_rgb="magenta"
				hitpoints=13
				id="Walking Corpse"
				image="units/undead/zombie-goblin.png"
				inherit=""
				level=0
				movement=4
				movement_type="smallfoot"
#textdomain wesnoth-units
				name=_"Walking Corpse"
				race="undead"
				usage="fighter"
				variation_id="goblin"
				variation_name=_"wc_variation^Goblin"
				[defend]
					start_time=-126
					[frame]
						image="units/undead/zombie-goblin.png:1,units/undead/zombie-goblin-defend.png:250,units/undead/zombie-goblin.png:1"
					[/frame]
					[if]
						hit_sound_start_time=-25
						hits="hit"
						[hit_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/hit_sound_frame]
					[/if]
				[/defend]
				[death]
					start_time=0
					[frame]
						image="units/undead/zombie-goblin-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
					[/frame]
				[/death]
				[attack_anim]
					direction="s"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-goblin-attack-s.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="n"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-goblin-attack-n.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="se,sw,ne,nw"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-goblin-attack.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
				[resistance]
					arcane=140
				[/resistance]
				[attack]
					damage=6
#textdomain wesnoth-units
					description=_"touch"
					icon="attacks/touch-zombie.png"
					name="touch"
					number=2
					range="melee"
					type="impact"
					[specials]
						[plague]
#textdomain wesnoth-help
							description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
							id="plague"
							name=_"plague"
							type="Walking Corpse"
						[/plague]
					[/specials]
				[/attack]
				[movement_costs]
					deep_water=4
				[/movement_costs]
				[defense]
					deep_water=90
				[/defense]
			[/variation]
			[variation]
				advances_to="Soulless"
				alignment="chaotic"
				cost=8
#textdomain wesnoth-units
				description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
					_"

Special Notes:" +
					_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
				die_sound="zombie-hit-[4~6].ogg"
				experience=24
				flag_rgb="magenta"
				hitpoints=21
				id="Walking Corpse"
				image="units/undead/zombie-drake.png"
				inherit=""
				level=0
				movement=5
				movement_type="fly"
#textdomain wesnoth-units
				name=_"Walking Corpse"
				race="undead"
				usage="fighter"
				variation_id="gryphon"
				variation_name=_"wc_variation^Gryphon"
				[defend]
					start_time=-126
					[frame]
						image="units/undead/zombie-drake.png:1,units/undead/zombie-drake-defend.png:250,units/undead/zombie-drake.png:1"
					[/frame]
					[if]
						hit_sound_start_time=-25
						hits="hit"
						[hit_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/hit_sound_frame]
					[/if]
				[/defend]
				[death]
					start_time=0
					[frame]
						image="units/undead/zombie-drake-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
					[/frame]
				[/death]
				[attack_anim]
					direction="s"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-drake-attack-s.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="n"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-drake-attack-n.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="se,sw,ne,nw"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-drake-attack.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
				[resistance]
					arcane=140
				[/resistance]
				[attack]
					damage=6
#textdomain wesnoth-units
					description=_"touch"
					icon="attacks/touch-zombie.png"
					name="touch"
					number=2
					range="melee"
					type="impact"
					[specials]
						[plague]
#textdomain wesnoth-help
							description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
							id="plague"
							name=_"plague"
							type="Walking Corpse"
						[/plague]
					[/specials]
				[/attack]
				[defense]
					mountains=40
				[/defense]
			[/variation]
			[variation]
				advances_to="Soulless"
				alignment="chaotic"
				cost=8
#textdomain wesnoth-units
				description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
					_"

Special Notes:" +
					_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
				die_sound="zombie-hit-[4~6].ogg"
				experience=24
				flag_rgb="magenta"
				hitpoints=21
				id="Walking Corpse"
				image="units/undead/zombie-mounted.png"
				inherit=""
				level=0
				movement=5
				movement_type="mounted"
#textdomain wesnoth-units
				name=_"Walking Corpse"
				race="undead"
				usage="fighter"
				variation_id="mounted"
				variation_name=_"wc_variation^Mounted"
				[defend]
					start_time=-126
					[frame]
						image="units/undead/zombie-mounted.png:1,units/undead/zombie-mounted-defend.png:250,units/undead/zombie-mounted.png:1"
					[/frame]
					[if]
						hit_sound_start_time=-25
						hits="hit"
						[hit_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/hit_sound_frame]
					[/if]
				[/defend]
				[death]
					start_time=0
					[frame]
						image="units/undead/zombie-mounted-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
					[/frame]
				[/death]
				[attack_anim]
					direction="s"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-mounted-attack-s.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="n"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-mounted-attack-n.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="se,sw,ne,nw"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-mounted-attack.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
				[resistance]
					arcane=140
				[/resistance]
				[attack]
					damage=6
#textdomain wesnoth-units
					description=_"touch"
					icon="attacks/touch-zombie.png"
					name="touch"
					number=2
					range="melee"
					type="impact"
					[specials]
						[plague]
#textdomain wesnoth-help
							description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
							id="plague"
							name=_"plague"
							type="Walking Corpse"
						[/plague]
					[/specials]
				[/attack]
				[movement_costs]
					deep_water=4
				[/movement_costs]
				[defense]
					deep_water=90
				[/defense]
			[/variation]
			[variation]
				advances_to="Soulless"
				alignment="chaotic"
				cost=8
#textdomain wesnoth-units
				description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
					_"

Special Notes:" +
					_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
				die_sound="zombie-hit-[4~6].ogg"
				experience=24
				flag_rgb="magenta"
				hitpoints=16
				id="Walking Corpse"
				image="units/undead/zombie-saurian.png"
				inherit=""
				level=0
				movement=4
				movement_type="lizard"
#textdomain wesnoth-units
				name=_"Walking Corpse"
				race="undead"
				usage="fighter"
				variation_id="saurian"
				variation_name=_"wc_variation^Saurian"
				[defend]
					start_time=-126
					[frame]
						image="units/undead/zombie-saurian.png:1,units/undead/zombie-saurian-defend.png:250,units/undead/zombie-saurian.png:1"
					[/frame]
					[if]
						hit_sound_start_time=-25
						hits="hit"
						[hit_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/hit_sound_frame]
					[/if]
				[/defend]
				[death]
					start_time=0
					[frame]
						image="units/undead/zombie-saurian-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
					[/frame]
				[/death]
				[attack_anim]
					direction="s"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-saurian-attack-s.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="n"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-saurian-attack-n.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="se,sw,ne,nw"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-saurian-attack.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
				[resistance]
					arcane=140
				[/resistance]
				[attack]
					damage=6
#textdomain wesnoth-units
					description=_"touch"
					icon="attacks/touch-zombie.png"
					name="touch"
					number=2
					range="melee"
					type="impact"
					[specials]
						[plague]
#textdomain wesnoth-help
							description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
							id="plague"
							name=_"plague"
							type="Walking Corpse"
						[/plague]
					[/specials]
				[/attack]
				[movement_costs]
					deep_water=4
				[/movement_costs]
				[defense]
					deep_water=90
				[/defense]
			[/variation]
			[variation]
				advances_to="Soulless"
				alignment="chaotic"
				cost=8
#textdomain wesnoth-units
				description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
					_"

Special Notes:" +
					_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
				die_sound="zombie-hit-[4~6].ogg"
				experience=24
				flag_rgb="magenta"
				hitpoints=18
				id="Walking Corpse"
				image="units/undead/zombie-swimmer.png"
				inherit=""
				level=0
				movement=4
				movement_type="swimmer"
#textdomain wesnoth-units
				name=_"Walking Corpse"
				race="undead"
				usage="fighter"
				variation_id="swimmer"
				variation_name=_"wc_variation^Swimmer"
				[defend]
					start_time=-126
					[frame]
						image="units/undead/zombie-swimmer.png:1,units/undead/zombie-swimmer-defend.png:250,units/undead/zombie-swimmer.png:1"
					[/frame]
					[if]
						hit_sound_start_time=-25
						hits="hit"
						[hit_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/hit_sound_frame]
					[/if]
				[/defend]
				[death]
					start_time=0
					[frame]
						image="units/undead/zombie-swimmer-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
					[/frame]
				[/death]
				[attack_anim]
					direction="s"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-swimmer-attack-s.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="n"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-swimmer-attack-n.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="se,sw,ne,nw"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-swimmer-attack.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
				[resistance]
					arcane=140
				[/resistance]
				[attack]
					damage=6
#textdomain wesnoth-units
					description=_"touch"
					icon="attacks/touch-zombie.png"
					name="touch"
					number=2
					range="melee"
					type="impact"
					[specials]
						[plague]
#textdomain wesnoth-help
							description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
							id="plague"
							name=_"plague"
							type="Walking Corpse"
						[/plague]
					[/specials]
				[/attack]
				[movement_costs]
					forest=4
					hills=4
				[/movement_costs]
			[/variation]
			[variation]
				advances_to="Soulless"
				alignment="chaotic"
				cost=8
#textdomain wesnoth-units
				description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
					_"

Special Notes:" +
					_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
				die_sound="zombie-hit-[4~6].ogg"
				experience=24
				flag_rgb="magenta"
				hitpoints=21
				id="Walking Corpse"
				image="units/undead/zombie-troll.png"
				inherit=""
				level=0
				movement=4
				movement_type="largefoot"
#textdomain wesnoth-units
				name=_"Walking Corpse"
				race="undead"
				usage="fighter"
				variation_id="troll"
				variation_name=_"wc_variation^Troll"
				[defend]
					start_time=-126
					[frame]
						image="units/undead/zombie-troll.png:1,units/undead/zombie-troll-defend.png:250,units/undead/zombie-troll.png:1"
					[/frame]
					[if]
						hit_sound_start_time=-25
						hits="hit"
						[hit_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/hit_sound_frame]
					[/if]
				[/defend]
				[death]
					start_time=0
					[frame]
						image="units/undead/zombie-troll-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
					[/frame]
				[/death]
				[attack_anim]
					direction="s"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-troll-attack-s.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="n"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-troll-attack-n.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="se,sw,ne,nw"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-troll-attack.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
				[resistance]
					arcane=140
				[/resistance]
				[attack]
					damage=6
#textdomain wesnoth-units
					description=_"touch"
					icon="attacks/touch-zombie.png"
					name="touch"
					number=2
					range="melee"
					type="impact"
					[specials]
						[plague]
#textdomain wesnoth-help
							description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
							id="plague"
							name=_"plague"
							type="Walking Corpse"
						[/plague]
					[/specials]
				[/attack]
				[movement_costs]
					deep_water=4
				[/movement_costs]
				[defense]
					deep_water=90
				[/defense]
			[/variation]
			[variation]
				advances_to="Soulless"
				alignment="chaotic"
				cost=8
#textdomain wesnoth-units
				description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
					_"

Special Notes:" +
					_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
				die_sound="zombie-hit-[4~6].ogg"
				experience=24
				flag_rgb="magenta"
				hitpoints=26
				id="Walking Corpse"
				image="units/undead/zombie-wose.png"
				inherit=""
				level=0
				movement=3
				movement_type="treefolk"
#textdomain wesnoth-units
				name=_"Walking Corpse"
				race="undead"
				usage="fighter"
				variation_id="wose"
				variation_name=_"wc_variation^Wose"
				[defend]
					start_time=-126
					[frame]
						image="units/undead/zombie-wose.png:1,units/undead/zombie-wose-defend.png:250,units/undead/zombie-wose.png:1"
					[/frame]
					[if]
						hit_sound_start_time=-25
						hits="hit"
						[hit_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/hit_sound_frame]
					[/if]
				[/defend]
				[death]
					start_time=0
					[frame]
						image="units/undead/zombie-wose-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
					[/frame]
				[/death]
				[attack_anim]
					direction="s"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-wose-attack-s.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="n"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-wose-attack-n.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="se,sw,ne,nw"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-wose-attack.png:400"
						sound="zombie-attack.wav"
					[/frame]
				[/attack_anim]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
				[resistance]
					arcane=140
				[/resistance]
				[attack]
					damage=6
#textdomain wesnoth-units
					description=_"touch"
					icon="attacks/touch-zombie.png"
					name="touch"
					number=2
					range="melee"
					type="impact"
					[specials]
						[plague]
#textdomain wesnoth-help
							description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
							id="plague"
							name=_"plague"
							type="Walking Corpse"
						[/plague]
					[/specials]
				[/attack]
				[movement_costs]
					deep_water=3
				[/movement_costs]
				[defense]
					deep_water=90
				[/defense]
			[/variation]
			[variation]
				advances_to="Soulless"
				alignment="chaotic"
				cost=8
#textdomain wesnoth-units
				description=_"Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one’s former comrades amongst their number is frightening to say the least." +
#textdomain wesnoth-help
					_"

Special Notes:" +
					_" Foes who lose their life to the plague will rise again in unlife, unless they are standing on a village."
				die_sound="bat-flapping.wav"
				experience=24
				flag_rgb="magenta"
				hitpoints=15
				id="Walking Corpse"
				image="units/undead/zombie-bat-se-3.png"
				inherit=no
				level=0
				movement=5
				movement_type="fly"
#textdomain wesnoth-units
				name=_"Walking Corpse"
				race="undead"
				usage="fighter"
				variation_id="bat"
				variation_name=_"wc_variation^Bat"
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
				[resistance]
					arcane=140
				[/resistance]
				[attack]
					damage=6
#textdomain wesnoth-units
					description=_"touch"
					icon="attacks/touch-zombie.png"
					name="touch"
					number=2
					range="melee"
					type="impact"
					[specials]
						[plague]
#textdomain wesnoth-help
							description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
							id="plague"
							name=_"plague"
							type="Walking Corpse"
						[/plague]
					[/specials]
				[/attack]
				[movement_costs]
					cave=1
					fungus=1
				[/movement_costs]
				[defense]
					cave=50
					fungus=50
				[/defense]
				[resistance]
					cold=70
				[/resistance]
				[defend]
					direction="s,sw,se"
					start_time=-126
					[if]
						hits="miss"
						offset="0.0~-0.15,-0.15~0.0"
					[/if]
					[frame]
						image="units/undead/zombie-bat-se-[3,4,3].png:[1,250,1]"
					[/frame]
					[if]
						attack_sound_start_time=-25
						hits=yes
						[attack_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/attack_sound_frame]
					[/if]
				[/defend]
				[defend]
					direction="n,nw,ne"
					start_time=-126
					[if]
						hits="miss"
						offset="0.0~-0.15,-0.15~0.0"
					[/if]
					[frame]
						image="units/undead/zombie-bat-ne-[3,4,3].png:[1,250,1]"
					[/frame]
					[if]
						attack_sound_start_time=-25
						hits=yes
						[attack_sound_frame]
							sound="zombie-hit-[4~6].ogg"
						[/attack_sound_frame]
					[/if]
				[/defend]
				[standing_anim]
					direction="s,se,sw"
					start_time=0
					[frame]
						image="units/undead/zombie-bat-se-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]"
					[/frame]
				[/standing_anim]
				[standing_anim]
					direction="n,ne,nw"
					start_time=0
					[frame]
						image="units/undead/zombie-bat-ne-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]"
					[/frame]
				[/standing_anim]
				[attack_anim]
					direction="s,se,sw"
					offset="0.0~0.9:200,0.9~0.0:160"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-bat-se-[3,2].png:30"
					[/frame]
					[frame]
						image="units/undead/zombie-bat-se-1.png:30"
						sound="bat-flapping.wav"
					[/frame]
					[frame]
						image="units/undead/zombie-bat-se-[2,3].png:30"
					[/frame]
					[frame]
						image="units/undead/zombie-bat-se-4.png:70"
						sound="zombie-attack.wav"
					[/frame]
					[frame]
						image="units/undead/zombie-bat-se-[3,2,3].png:[50*2,40]"
					[/frame]
				[/attack_anim]
				[attack_anim]
					direction="n,ne,nw"
					offset="0.0~0.9:200,0.9~0.0:160"
					start_time=-200
					[filter_attack]
						name="touch"
					[/filter_attack]
					[frame]
						image="units/undead/zombie-bat-ne-[3,2].png:30"
					[/frame]
					[frame]
						image="units/undead/zombie-bat-ne-1.png:30"
						sound="bat-flapping.wav"
					[/frame]
					[frame]
						image="units/undead/zombie-bat-ne-[2,3].png:30"
					[/frame]
					[frame]
						image="units/undead/zombie-bat-ne-4.png:70"
						sound="zombie-attack.wav"
					[/frame]
					[frame]
						image="units/undead/zombie-bat-ne-[3,2,3].png:[50*2,40]"
					[/frame]
				[/attack_anim]
				[death]
					start_time=0
					[frame]
						image="units/undead/zombie-bat-die-[1~4].png:150,units/undead/soulless-die-[5~10].png:150"
					[/frame]
				[/death]
			[/variation]
			[movement_costs]
				castle=1
				cave=2
				deep_water=4
				flat=1
				forest=2
				frozen=3
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=3
				swamp_water=3
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				deep_water=90
				flat=60
				forest=50
				frozen=80
				fungus=50
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=80
				village=40
			[/defense]
			[resistance]
				arcane=140
				blade=100
				cold=100
				fire=100
				impact=100
				pierce=100
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				not_living=yes
				undrainable=yes
				unplagueable=yes
				unpoisonable=yes
			[/status]
			[attack]
				damage=6
#textdomain wesnoth-units
				description=_"touch"
				icon="attacks/touch-zombie.png"
				name="touch"
				number=2
				range="melee"
				type="impact"
				[specials]
					[plague]
#textdomain wesnoth-help
						description=_"When a unit is killed by a Plague attack, that unit is replaced with a Walking Corpse on the same side as the unit with the Plague attack. This doesn’t work on Undead or units in villages."
						id="plague"
						name=_"plague"
						type="Walking Corpse"
					[/plague]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
					description=_"Immune to drain, poison, and plague"
					female_name=_"female^undead"
					id="undead"
					male_name=_"undead"
					[effect]
						add="unpoisonable"
						apply_to="status"
					[/effect]
					[effect]
						add="undrainable"
						apply_to="status"
					[/effect]
					[effect]
						add="unplagueable"
						apply_to="status"
					[/effect]
				[/trait]
				[trait]
					availability="musthave"
					description=_"Fights normally during unfavorable times of day/night"
					female_name=_"female^fearless"
					id="fearless"
					male_name=_"fearless"
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Bone Shooter"
			alignment="chaotic"
			alpha=256
			attacks_left=1
			cost=14
#textdomain wesnoth-units
			description=_"A skeleton archer is little different from the ‘skeletons’ which often accompany it — it is a sin against nature, a warrior raised from the dead to fight once again. In their masters’ hands, these soldiers will do anything to achieve the tasks laid before them, for death holds no fear for one who is already dead." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit can move unseen in deep water, requiring no air from the surface."
			experience=0
			extra_recruit=""
			facing="n"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=31
			id="Skeleton Archer-16"
			image="units/undead-skeletal/archer.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Skeleton Archer"
			level=1
			max_attacks=1
			max_experience=25
			max_hitpoints=31
			max_moves=5
			moves=0
			name=""
			overlays=""
			profile="portraits/undead/transparent/archer.png"
			race="undead"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="portraits/undead/archer.png"
			type="Skeleton Archer"
			undead_variation=""
			underlying_id=16
			unrenamable=no
			upkeep="full"
			usage="archer"
			variation=""
			vision=-1
			x=15
			y=12
			zoc=yes
			[abilities]
				[hides]
					affect_self=yes
#textdomain wesnoth-help
					description=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					description_inactive=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					female_name=_"female^submerge"
					female_name_inactive=_"female^submerge"
					id="submerge"
					name=_"submerge"
					name_inactive=_"submerge"
					[filter]
						[filter_location]
							terrain="Wo*^*"
						[/filter_location]
					[/filter]
				[/hides]
			[/abilities]
			[attack_anim]
				attack_sound_start_time=-380
				missile_start_time=-150
				start_time=-445
				[filter_attack]
					name="bow"
				[/filter_attack]
				[missile_frame]
					duration=150
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[frame]
					image="units/undead-skeletal/archer-bow.png:65"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-bow-attack-[1~4].png:[75*2,100,130]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="bow.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="bow-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-skeletal/archer-bow.png:65"
				[/frame]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-100
				start_time=-200
				[filter_attack]
					name="fist"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer.png:100"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-attack.png:200"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="fist.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-skeletal/archer.png:100"
				[/frame]
			[/attack_anim]
			[death]
				start_time=0
				[frame]
					image="units/undead-skeletal/archer-die2-[1~7].png:100"
				[/frame]
			[/death]
			[death]
				start_time=0
				[frame]
					image="units/undead-skeletal/archer-die-[1~13].png:100"
				[/frame]
			[/death]
			[defend]
				start_time=-126
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer.png:1,units/undead-skeletal/archer-defend.png:250,units/undead-skeletal/archer.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="skeleton-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[defend]
				start_time=-126
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer-bow.png:1,units/undead-skeletal/archer-bow-defend.png:250,units/undead-skeletal/archer-bow.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="skeleton-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[idle_anim]
				start_time=0
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned=yes
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count=0
						is_enemy=yes
					[/filter_adjacent]
				[/filter]
				[frame]
					image="units/undead-skeletal/archer-idle-[1~14].png:[100*5,200,100*5,200,100*2]"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/undead/transparent/archer.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/undead/transparent/archer.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[recruit_anim]
				start_time=-200
				[frame]
					alpha="0~1:300"
					image="units/undead-skeletal/archer-die2-7.png:300"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-die2-[6~1].png:100"
				[/frame]
			[/recruit_anim]
			[movement_costs]
				castle=1
				cave=2
				deep_water=3
				flat=1
				forest=2
				frozen=2
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=2
				swamp_water=2
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				deep_water=90
				flat=60
				forest=50
				frozen=70
				fungus=40
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=70
				village=40
			[/defense]
			[resistance]
				arcane=150
				blade=60
				cold=40
				fire=120
				impact=120
				pierce=40
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				not_living=yes
				undrainable=yes
				unplagueable=yes
				unpoisonable=yes
			[/status]
			[attack]
				damage=3
#textdomain wesnoth-units
				description=_"fist"
				icon="attacks/fist-skeletal.png"
				name="fist"
				number=2
				range="melee"
				type="impact"
			[/attack]
			[attack]
				damage=6
				description=_"bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number=3
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Immune to drain, poison, and plague"
					female_name=_"female^undead"
					id="undead"
					male_name=_"undead"
					[effect]
						add="unpoisonable"
						apply_to="status"
					[/effect]
					[effect]
						add="undrainable"
						apply_to="status"
					[/effect]
					[effect]
						add="unplagueable"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Bone Shooter"
			alignment="chaotic"
			alpha=256
			attacks_left=1
			cost=14
#textdomain wesnoth-units
			description=_"A skeleton archer is little different from the ‘skeletons’ which often accompany it — it is a sin against nature, a warrior raised from the dead to fight once again. In their masters’ hands, these soldiers will do anything to achieve the tasks laid before them, for death holds no fear for one who is already dead." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit can move unseen in deep water, requiring no air from the surface."
			experience=0
			extra_recruit=""
			facing="n"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=31
			id="Skeleton Archer-19"
			image="units/undead-skeletal/archer.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Skeleton Archer"
			level=1
			max_attacks=1
			max_experience=25
			max_hitpoints=31
			max_moves=5
			moves=0
			name=""
			overlays=""
			profile="portraits/undead/transparent/archer.png"
			race="undead"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="portraits/undead/archer.png"
			type="Skeleton Archer"
			undead_variation=""
			underlying_id=19
			unrenamable=no
			upkeep="full"
			usage="archer"
			variation=""
			vision=-1
			x=13
			y=16
			zoc=yes
			[abilities]
				[hides]
					affect_self=yes
#textdomain wesnoth-help
					description=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					description_inactive=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					female_name=_"female^submerge"
					female_name_inactive=_"female^submerge"
					id="submerge"
					name=_"submerge"
					name_inactive=_"submerge"
					[filter]
						[filter_location]
							terrain="Wo*^*"
						[/filter_location]
					[/filter]
				[/hides]
			[/abilities]
			[attack_anim]
				attack_sound_start_time=-380
				missile_start_time=-150
				start_time=-445
				[filter_attack]
					name="bow"
				[/filter_attack]
				[missile_frame]
					duration=150
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[frame]
					image="units/undead-skeletal/archer-bow.png:65"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-bow-attack-[1~4].png:[75*2,100,130]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="bow.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="bow-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-skeletal/archer-bow.png:65"
				[/frame]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-100
				start_time=-200
				[filter_attack]
					name="fist"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer.png:100"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-attack.png:200"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="fist.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-skeletal/archer.png:100"
				[/frame]
			[/attack_anim]
			[death]
				start_time=0
				[frame]
					image="units/undead-skeletal/archer-die2-[1~7].png:100"
				[/frame]
			[/death]
			[death]
				start_time=0
				[frame]
					image="units/undead-skeletal/archer-die-[1~13].png:100"
				[/frame]
			[/death]
			[defend]
				start_time=-126
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer.png:1,units/undead-skeletal/archer-defend.png:250,units/undead-skeletal/archer.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="skeleton-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[defend]
				start_time=-126
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer-bow.png:1,units/undead-skeletal/archer-bow-defend.png:250,units/undead-skeletal/archer-bow.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="skeleton-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[idle_anim]
				start_time=0
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned=yes
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count=0
						is_enemy=yes
					[/filter_adjacent]
				[/filter]
				[frame]
					image="units/undead-skeletal/archer-idle-[1~14].png:[100*5,200,100*5,200,100*2]"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/undead/transparent/archer.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/undead/transparent/archer.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[recruit_anim]
				start_time=-200
				[frame]
					alpha="0~1:300"
					image="units/undead-skeletal/archer-die2-7.png:300"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-die2-[6~1].png:100"
				[/frame]
			[/recruit_anim]
			[movement_costs]
				castle=1
				cave=2
				deep_water=3
				flat=1
				forest=2
				frozen=2
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=2
				swamp_water=2
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				deep_water=90
				flat=60
				forest=50
				frozen=70
				fungus=40
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=70
				village=40
			[/defense]
			[resistance]
				arcane=150
				blade=60
				cold=40
				fire=120
				impact=120
				pierce=40
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				not_living=yes
				undrainable=yes
				unplagueable=yes
				unpoisonable=yes
			[/status]
			[attack]
				damage=3
#textdomain wesnoth-units
				description=_"fist"
				icon="attacks/fist-skeletal.png"
				name="fist"
				number=2
				range="melee"
				type="impact"
			[/attack]
			[attack]
				damage=6
				description=_"bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number=3
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Immune to drain, poison, and plague"
					female_name=_"female^undead"
					id="undead"
					male_name=_"undead"
					[effect]
						add="unpoisonable"
						apply_to="status"
					[/effect]
					[effect]
						add="undrainable"
						apply_to="status"
					[/effect]
					[effect]
						add="unplagueable"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Bone Shooter"
			alignment="chaotic"
			alpha=256
			attacks_left=0
			cost=14
#textdomain wesnoth-units
			description=_"A skeleton archer is little different from the ‘skeletons’ which often accompany it — it is a sin against nature, a warrior raised from the dead to fight once again. In their masters’ hands, these soldiers will do anything to achieve the tasks laid before them, for death holds no fear for one who is already dead." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit can move unseen in deep water, requiring no air from the surface."
			experience=0
			extra_recruit=""
			facing="sw"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=31
			id="Skeleton Archer-20"
			image="units/undead-skeletal/archer.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Skeleton Archer"
			level=1
			max_attacks=1
			max_experience=25
			max_hitpoints=31
			max_moves=5
			moves=0
			name=""
			overlays=""
			profile="portraits/undead/transparent/archer.png"
			race="undead"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="portraits/undead/archer.png"
			type="Skeleton Archer"
			undead_variation=""
			underlying_id=20
			unrenamable=no
			upkeep="full"
			usage="archer"
			variation=""
			vision=-1
			x=13
			y=21
			zoc=yes
			[abilities]
				[hides]
					affect_self=yes
#textdomain wesnoth-help
					description=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					description_inactive=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					female_name=_"female^submerge"
					female_name_inactive=_"female^submerge"
					id="submerge"
					name=_"submerge"
					name_inactive=_"submerge"
					[filter]
						[filter_location]
							terrain="Wo*^*"
						[/filter_location]
					[/filter]
				[/hides]
			[/abilities]
			[attack_anim]
				attack_sound_start_time=-380
				missile_start_time=-150
				start_time=-445
				[filter_attack]
					name="bow"
				[/filter_attack]
				[missile_frame]
					duration=150
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[frame]
					image="units/undead-skeletal/archer-bow.png:65"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-bow-attack-[1~4].png:[75*2,100,130]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="bow.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="bow-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-skeletal/archer-bow.png:65"
				[/frame]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-100
				start_time=-200
				[filter_attack]
					name="fist"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer.png:100"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-attack.png:200"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="fist.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/undead-skeletal/archer.png:100"
				[/frame]
			[/attack_anim]
			[death]
				start_time=0
				[frame]
					image="units/undead-skeletal/archer-die2-[1~7].png:100"
				[/frame]
			[/death]
			[death]
				start_time=0
				[frame]
					image="units/undead-skeletal/archer-die-[1~13].png:100"
				[/frame]
			[/death]
			[defend]
				start_time=-126
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer.png:1,units/undead-skeletal/archer-defend.png:250,units/undead-skeletal/archer.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="skeleton-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[defend]
				start_time=-126
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					image="units/undead-skeletal/archer-bow.png:1,units/undead-skeletal/archer-bow-defend.png:250,units/undead-skeletal/archer-bow.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="skeleton-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[idle_anim]
				start_time=0
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned=yes
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count=0
						is_enemy=yes
					[/filter_adjacent]
				[/filter]
				[frame]
					image="units/undead-skeletal/archer-idle-[1~14].png:[100*5,200,100*5,200,100*2]"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/undead/transparent/archer.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/undead/transparent/archer.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[recruit_anim]
				start_time=-200
				[frame]
					alpha="0~1:300"
					image="units/undead-skeletal/archer-die2-7.png:300"
				[/frame]
				[frame]
					image="units/undead-skeletal/archer-die2-[6~1].png:100"
				[/frame]
			[/recruit_anim]
			[movement_costs]
				castle=1
				cave=2
				deep_water=3
				flat=1
				forest=2
				frozen=2
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=2
				swamp_water=2
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				deep_water=90
				flat=60
				forest=50
				frozen=70
				fungus=40
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=70
				village=40
			[/defense]
			[resistance]
				arcane=150
				blade=60
				cold=40
				fire=120
				impact=120
				pierce=40
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				not_living=yes
				undrainable=yes
				unplagueable=yes
				unpoisonable=yes
			[/status]
			[attack]
				damage=3
#textdomain wesnoth-units
				description=_"fist"
				icon="attacks/fist-skeletal.png"
				name="fist"
				number=2
				range="melee"
				type="impact"
			[/attack]
			[attack]
				damage=6
				description=_"bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number=3
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Immune to drain, poison, and plague"
					female_name=_"female^undead"
					id="undead"
					male_name=_"undead"
					[effect]
						add="unpoisonable"
						apply_to="status"
					[/effect]
					[effect]
						add="undrainable"
						apply_to="status"
					[/effect]
					[effect]
						add="unplagueable"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
	[/side]
	[side]
		action_bonus_count=5
		allow_player=yes
		auto_shroud=yes
		chose_random=no
		color=2
		controller="network"
		countdown_time=0
		current_player="Machcik04"
		defeat_condition="no_leader_left"
		disallow_observers=no
		flag=""
		flag_icon=""
		fog=yes
		fog_data="|0000000000000
|00000000000000
|00000000000000
|000000110000000
|0000011111000000
|00000111111000000
|0000111111000000
|00000111111000000
|00001111111111110
|000111111111111110
|0011111111111111000
|00111111111111111100
|00111111111111111100
|001111111111111111100
|01111111111111111100
|01111111111111111110
|01111111111111111110
|00111111111111111110
|001111111111111111
|000111111111111110
|000111111111111100
|000011111111111110
|00001111111111110
|00000111111000
|000001111110000
|0000001111100000
|000000000000000
|000000000000000
"
		gold=16
		gold_add=no
		hidden=no
		id="SANDBOXSide2"
		income=0
		lost=no
		name="Machcik04"
		no_leader=yes
		objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>

<big>Defeat:</big>
<span foreground='red'>Death of your leader</span>"
		objectives_changed=yes
		persistent=yes
		recall_cost=20
		recruit="Bowman,Cavalryman,Fencer,Heavy Infantryman,Horseman,Mage,Merman Fighter,Spearman"
		save_id="SANDBOXSide2"
		scroll_to_leader=yes
		share_maps=no
		share_view=no
		shroud=no
		shroud_data=""
		side=2
		start_gold=100
		suppress_end_turn_confirmation=no
		team_name=2
		user_team_name="Drużyna 2"
		village_gold=2
		village_support=1
		[ai]
#textdomain wesnoth-ai
			description=_"Multiplayer_AI^Default AI (RCA)"
			id="ai_default_rca"
			version=10710
			[stage]
				id="main_loop"
				name="ai_default_rca::candidate_action_evaluation_loop"
				[candidate_action]
					engine="cpp"
					id="goto"
					max_score=200000
					name="ai_default_rca::goto_phase"
					score=200000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="recruitment"
					max_score=180000
					name="default_recruitment::recruitment"
					score=180000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_goals"
					max_score=140000
					name="ai_default_rca::move_leader_to_goals_phase"
					score=140000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_keep"
					max_score=120000
					name="ai_default_rca::move_leader_to_keep_phase"
					score=120000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="combat"
					max_score=100000
					name="ai_default_rca::combat_phase"
					score=100000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="healing"
					max_score=80000
					name="ai_default_rca::get_healing_phase"
					score=80000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="villages"
					max_score=60000
					name="ai_default_rca::get_villages_phase"
					score=60000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="retreat"
					max_score=40000
					name="ai_default_rca::retreat_phase"
					score=40000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_to_targets"
					max_score=20000
					name="ai_default_rca::move_to_targets_phase"
					score=20000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="leader_shares_keep"
					max_score=10000
					name="ai_default_rca::leader_shares_keep_phase"
					score=10000
				[/candidate_action]
			[/stage]
			[aspect]
				engine="cpp"
				id="advancements"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.4
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attack_depth"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=5
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attacks"
				invalidate_on_gamestate_change=yes
				name="composite_aspect"
				[default]
					engine="cpp"
					invalidate_on_gamestate_change=yes
					name="ai_default_rca::aspect_attacks"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="avoid"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[not]
						[/not]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="caution"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="grouping"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="offensive"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="-4.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_goal"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_ignores_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="3.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="number_of_possible_recruits_to_force_recruit"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3.1
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader_shares_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						engine="cpp"
						name="ai_default::recruitment"
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_diversity"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="2.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_ignore_bad_combat"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_ignore_bad_movement"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_instructions"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[recruit]
							importance=0
						[/recruit]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_more"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_pattern"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_randomness"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=50
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_save_gold"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						active=0
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="scout_village_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="simple_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="support_villages"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="village_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="villages_per_scout"
				name="composite_aspect"
				[facet]
					engine="cpp"
					name="standard_aspect"
					value=8
				[/facet]
				[default]
					engine="cpp"
					name="standard_aspect"
					value=4
				[/default]
			[/aspect]
		[/ai]
		[village]
			x=5
			y=9
		[/village]
		[village]
			x=20
			y=5
		[/village]
		[village]
			x=21
			y=9
		[/village]
		[unit]
			advances_to="Arch Mage,Silver Mage"
			alignment="neutral"
			alpha=256
			attacks_left=0
			canrecruit=yes
			cost=40
#textdomain wesnoth-units
			description=_"Upon the successful culmination of their apprenticeship, a mage is stripped of the brown robes of an apprentice and given the ruddy cloak of a master. The significance of this change is often lost on the peasantry, who mistakenly title Master Magi as ‘Red Magi’. Likewise, the symbolism of the change in colors is often mistaken to signify the mage’s ability to seemingly conjure fire from nothing but thin air, a trick which, although undeniably useful, is viewed by the magi themselves as a crass application of their hard-won knowledge.

Though physically frail, and untrained as warriors, the ‘Red Magi’ have a number of tricks up their sleeves, including the gouts of fire which may have cemented their colloquial name." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit has magical attacks, which always have a high chance of hitting an opponent."
			experience=2
			extra_recruit=""
			facing="s"
			flag_rgb="magenta"
			gender="female"
			goto_x=-999
			goto_y=-999
			hitpoints=42
			id="SANDBOXSide2"
			image="units/human-magi/red-mage+female.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"female^Red Mage"
			level=2
			max_attacks=1
			max_experience=70
			max_hitpoints=42
			max_moves=5
			moves=0
			name="Machcik04"
			overlays=""
			profile="portraits/humans/transparent/mage-red+female.png"
			race="human"
			random_traits=no
			resting=no
			role=""
			side=2
			small_profile="portraits/humans/mage-red+female.png"
			type="Red Mage"
			undead_variation=""
			underlying_id=2
			unrenamable=no
			upkeep="full"
			usage="mixed fighter"
			variation=""
			vision=-1
			x=14
			y=7
			zoc=yes
			[portrait]
				image="portraits/humans/transparent/mage-red+female.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/mage-red+female.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=3
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=3
				swamp_water=3
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				flat=60
				forest=50
				frozen=80
				fungus=50
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=80
				village=40
			[/defense]
			[resistance]
				arcane=80
				blade=100
				cold=100
				fire=90
				impact=100
				pierce=100
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				uncovered=yes
			[/status]
			[attack]
				damage=6
				description=_"staff"
				icon="attacks/staff-magic.png"
				name="staff"
				number=2
				range="melee"
				type="impact"
			[/attack]
			[attack]
				damage=8
				description=_"fireball"
				name="fireball"
				number=4
				range="ranged"
				type="fire"
				[specials]
					[chance_to_hit]
						cumulative=no
#textdomain wesnoth-help
						description=_"This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
						id="magical"
						name=_"magical"
						value=70
					[/chance_to_hit]
				[/specials]
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Swordsman,Pikeman,Javelineer"
			alignment="lawful"
			alpha=256
			attacks_left=0
			cost=14
#textdomain wesnoth-units
			description=_"Swords are, for many, an expensive luxury, and one which peasants can ill afford. Spears are much easier to make and will do well even without a spearhead, though most can afford one. Clad in leather armor, and often armed with a shield and a few javelins, spearmen are the staple of most armies, often thrown into the front lines with only the most basic training." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" The length of this unit’s weapon allows it to strike first in melee, even in defense."
			experience=3
			extra_recruit=""
			facing="nw"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=6
			id="Spearman-7"
			image="units/human-loyalists/spearman.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Spearman"
			level=1
			max_attacks=1
			max_experience=24
			max_hitpoints=34
			max_moves=6
			moves=0
			name="Owuddry"
			overlays=""
			profile="portraits/humans/transparent/spearman.png"
			race="human"
			random_traits=no
			resting=no
			role=""
			side=2
			small_profile="portraits/humans/spearman.png"
			type="Spearman"
			undead_variation=""
			underlying_id=7
			unrenamable=no
			upkeep="full"
			usage="fighter"
			variation=""
			vision=-1
			x=15
			y=9
			zoc=yes
			[attack_anim]
				missile_start_time=-150
				start_time=-250
				[filter_attack]
					name="javelin"
				[/filter_attack]
				[missile_frame]
					duration=150
					image="projectiles/spear-n.png"
					image_diagonal="projectiles/spear-ne.png"
				[/missile_frame]
				[frame]
					image="units/human-loyalists/spearman-death1.png:100"
				[/frame]
				[frame]
					image="units/human-loyalists/spearman-attack-ranged.png:50"
					sound="throw-[1~4].wav"
				[/frame]
				[frame]
					image="units/human-loyalists/spearman-attack-[ranged,ranged2].png:[50,100]"
				[/frame]
				[if]
					attack_sound_start_time=0
					hits=yes
					[attack_sound_frame]
						sound="spear.ogg"
					[/attack_sound_frame]
				[/if]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-100
				direction="s"
				offset="0~0.5,0.5~0"
				start_time=-250
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					image="units/human-loyalists/spearman-attack-s-[1~14].png:25"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="spear.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="spear-miss.ogg"
					[/attack_sound_frame]
				[/else]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-64
				direction="n"
				offset="0~0.4,0.4~0"
				start_time=-228
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					image="units/human-loyalists/spearman-attack-n-[1~12].png:32"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="spear.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="spear-miss.ogg"
					[/attack_sound_frame]
				[/else]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-100
				direction="ne,nw"
				start_time=-200
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					image="units/human-loyalists/spearman.png:100"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="spear.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="spear-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/human-loyalists/spearman-attack-ne.png:200"
				[/frame]
				[frame]
					image="units/human-loyalists/spearman.png:50"
				[/frame]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-64
				direction="se,sw"
				offset="0~0.4,0.4~0"
				start_time=-224
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					image="units/human-loyalists/spearman-attack-se-[1~12].png:32"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="spear.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="spear-miss.ogg"
					[/attack_sound_frame]
				[/else]
			[/attack_anim]
			[death]
				start_time=0
				[frame]
					image="units/human-loyalists/spearman-death[1~4].png:125"
				[/frame]
			[/death]
			[defend]
				start_time=-126
				[frame]
					image="units/human-loyalists/spearman-defend-2.png:1,units/human-loyalists/spearman-defend.png:250,units/human-loyalists/spearman-defend-2.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="human-hit-[1~5].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[idle_anim]
				direction="s,se,sw"
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned=yes
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count=0
						is_enemy=yes
					[/filter_adjacent]
				[/filter]
				[frame]
					image="units/human-loyalists/spearman-idle[1~4,3,2].png:[100*3,400,100*2]"
				[/frame]
			[/idle_anim]
			[idle_anim]
				direction="s,se,sw"
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned=yes
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count=0
						is_enemy=yes
					[/filter_adjacent]
				[/filter]
				[frame]
					image="units/human-loyalists/spearman-idle2-[1~6].png:[100*4,400,100]"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/humans/transparent/spearman.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/spearman.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[standing_anim]
				start_time=0
				[if]
					direction="s,se,sw"
					[frame]
						image="units/human-loyalists/spearman.png:400"
					[/frame]
					[frame]
						image="units/human-loyalists/spearman-stand-s-[1~6].png:[150*2,300,100*3]"
					[/frame]
				[/if]
				[else]
					direction="n,ne,nw"
					[frame]
						image="units/human-loyalists/spearman-n.png:400"
					[/frame]
					[frame]
						image="units/human-loyalists/spearman-stand-n-[1~3,2~1].png:[150*2,400,150*2]"
					[/frame]
				[/else]
			[/standing_anim]
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=3
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=3
				swamp_water=3
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				flat=60
				forest=50
				frozen=80
				fungus=50
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=80
				village=40
			[/defense]
			[resistance]
				arcane=80
				blade=100
				cold=100
				fire=100
				impact=100
				pierce=100
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				poisoned=yes
				uncovered=yes
			[/status]
			[attack]
				damage=7
				description=_"spear"
				icon="attacks/spear.png"
				name="spear"
				number=3
				range="melee"
				type="pierce"
				[specials]
					[firststrike]
#textdomain wesnoth-help
						description=_"This unit always strikes first with this attack, even if they are defending."
						id="firststrike"
						name=_"first strike"
					[/firststrike]
				[/specials]
			[/attack]
			[attack]
				damage=6
#textdomain wesnoth-units
				description=_"javelin"
				icon="attacks/javelin-human.png"
				name="javelin"
				number=1
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth-help
					female_name=_"female^quick"
					id="quick"
					male_name=_"quick"
					[effect]
						apply_to="movement"
						increase=1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
				[trait]
					female_name=_"female^intelligent"
					id="intelligent"
					male_name=_"intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Longbowman"
			alignment="lawful"
			alpha=256
			attacks_left=0
			cost=14
#textdomain wesnoth-units
			description=_"The use of archery in shooting something other than game was seen from its inception, and archers have been indispensable in warfare since time immemorial. Usually of humble origins, hailing from the peasantry or woodsmen, military bowmen are trained to competence with both a bow and a short sword, and are very common on the battlefield."
			experience=0
			extra_recruit=""
			facing="ne"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=34
			id="Bowman-8"
			image="units/human-loyalists/bowman.png"
			jamming=0
			language_name=_"Bowman"
			level=1
			max_attacks=1
			max_experience=22
			max_hitpoints=34
			max_moves=5
			moves=0
			name="Rhoddyn"
			overlays=""
			profile="portraits/humans/transparent/bowman.png"
			race="human"
			random_traits=no
			resting=no
			role=""
			side=2
			small_profile="portraits/humans/bowman.png"
			type="Bowman"
			undead_variation=""
			underlying_id=8
			unrenamable=no
			upkeep="full"
			usage="archer"
			variation=""
			vision=-1
			x=23
			y=7
			zoc=yes
			[attack_anim]
				attack_sound_start_time=-230
				missile_start_time=-150
				start_time=-445
				[filter_attack]
					name="bow"
				[/filter_attack]
				[missile_frame]
					duration=150
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[frame]
					image="units/human-loyalists/bowman-bow.png:65"
				[/frame]
				[frame]
					image="units/human-loyalists/bowman-bow-attack-[1~4,1].png:[75*2,100,130,65]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="bow.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="bow-miss.ogg"
					[/attack_sound_frame]
				[/else]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-125
				start_time=-275
				[filter_attack]
					name="short sword"
				[/filter_attack]
				[frame]
					image="units/human-loyalists/bowman-melee-defend-1.png:50"
				[/frame]
				[frame]
					image="units/human-loyalists/bowman-melee-attack-[1~4].png:100"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="sword-1.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/human-loyalists/bowman-melee-defend-1.png:50"
				[/frame]
			[/attack_anim]
			[defend]
				start_time=-126
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					image="units/human-loyalists/bowman-melee-defend-1.png:1,units/human-loyalists/bowman-melee-defend-2.png:250,units/human-loyalists/bowman-melee-defend-1.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="human-hit-[1~5].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[defend]
				start_time=-126
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					image="units/human-loyalists/bowman-bow.png:1,units/human-loyalists/bowman-bow-defend.png:250,units/human-loyalists/bowman-bow.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="human-hit-[1~5].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[portrait]
				image="portraits/humans/transparent/bowman.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/bowman.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=3
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=3
				swamp_water=3
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				flat=60
				forest=50
				frozen=80
				fungus=50
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=80
				village=40
			[/defense]
			[resistance]
				arcane=80
				blade=100
				cold=100
				fire=100
				impact=100
				pierce=100
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				uncovered=yes
			[/status]
			[attack]
				damage=5
				description=_"short sword"
				icon="attacks/sword-human-short.png"
				name="short sword"
				number=2
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage=6
				description=_"bow"
				name="bow"
				number=3
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth-help
					female_name=_"female^intelligent"
					id="intelligent"
					male_name=_"intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
				[trait]
					female_name=_"female^strong"
					id="strong"
					male_name=_"strong"
					[effect]
						apply_to="attack"
						increase_damage=1
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total=1
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Duelist"
			alignment="lawful"
			alpha=256
			attacks_left=0
			cost=16
#textdomain wesnoth-units
			description=_"Fencers belong to a school of thought that considers the armor most soldiers wear in combat to be their own worst enemy. While armor can only soften a blow, evading it leaves the defender completely unharmed. Being able to reliably dodge any offensive move is a luxury only afforded to the fit of body, and then only to those who endure rigorous training.

Outfitted with only a dagger and saber, fencers are light on their feet and useful in many situations where their armor-bound peers are at a disadvantage. They relish dancing circles around troops like heavy infantry, mocking the weight of their full armor." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit’s skill at skirmishing allows it to ignore enemies’ zones of control and thus move unhindered around them."
			experience=0
			extra_recruit=""
			facing="ne"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=21
			id="Fencer-9"
			image="units/human-loyalists/fencer.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Fencer"
			level=1
			max_attacks=1
			max_experience=24
			max_hitpoints=27
			max_moves=7
			moves=0
			name="Addry"
			overlays=""
			profile="portraits/humans/transparent/fencer.png"
			race="human"
			random_traits=no
			resting=no
			role=""
			side=2
			small_profile="portraits/humans/fencer.png"
			type="Fencer"
			undead_variation=""
			underlying_id=9
			unrenamable=no
			upkeep="full"
			usage="fighter"
			variation=""
			vision=-1
			x=10
			y=4
			zoc=yes
			[abilities]
				[skirmisher]
					affect_self=yes
#textdomain wesnoth-help
					description=_"This unit is skilled in moving past enemies quickly, and ignores all enemy Zones of Control."
					female_name=_"female^skirmisher"
					id="skirmisher"
					name=_"skirmisher"
				[/skirmisher]
			[/abilities]
			[attack_anim]
				attack_sound_start_time=-100
				start_time=-350
				[filter_attack]
					name="saber"
				[/filter_attack]
				[frame]
					image="units/human-loyalists/fencer-attack-[1~9,1].png:50"
					offset="0.0~-0.07,-0.07~-0.15,-0.15~-0.25,-0.25~-0.2,-0.2~-0.1,-0.1~0.25,0.25~0.55,0.55~0.25,0.25~0.1,0.1~0.0"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="sword-1.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
			[/attack_anim]
			[death]
				start_time=0
				[frame]
					image="units/human-loyalists/fencer-die[1~5].png:100"
				[/frame]
			[/death]
			[defend]
				hits="miss"
				start_time=-126
				[frame]
					image="units/human-loyalists/fencer.png:1"
				[/frame]
				[frame]
					image="units/human-loyalists/fencer-defend-1-[1,2,1].png:[83,83,85]"
				[/frame]
			[/defend]
			[defend]
				hits="hit,kill"
				start_time=-126
				[frame]
					image="units/human-loyalists/fencer.png:1,units/human-loyalists/fencer-defend.png:250,units/human-loyalists/fencer.png:1"
				[/frame]
				[if]
					base_score=1
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="human-hit-[1~5].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[idle_anim]
				start_time=0
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned=yes
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count=0
						is_enemy=yes
					[/filter_adjacent]
				[/filter]
				[frame]
					image="units/human-loyalists/fencer-idle-[1~7,6~1].png:100"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/humans/transparent/fencer.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/fencer.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[standing_anim]
				start_time=0
				[frame]
					image="units/human-loyalists/fencer-stand-[1~8].png:80"
				[/frame]
			[/standing_anim]
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=2
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=2
				swamp_water=2
				village=1
			[/movement_costs]
			[defense]
				castle=30
				cave=50
				flat=40
				forest=30
				frozen=60
				fungus=30
				hills=30
				mountains=30
				reef=50
				sand=60
				shallow_water=60
				swamp_water=60
				village=30
			[/defense]
			[resistance]
				arcane=80
				blade=130
				cold=90
				fire=100
				impact=120
				pierce=120
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				uncovered=yes
			[/status]
			[attack]
				damage=4
#textdomain wesnoth-units
				description=_"saber"
				icon="attacks/saber-human.png"
				name="saber"
				number=4
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth-help
					female_name=_"female^quick"
					id="quick"
					male_name=_"quick"
					[effect]
						apply_to="movement"
						increase=1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
				[trait]
					female_name=_"female^intelligent"
					id="intelligent"
					male_name=_"intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Dragoon"
			alignment="lawful"
			alpha=256
			attacks_left=0
			cost=17
#textdomain wesnoth-units
			description=_"Cavalrymen are distinguished from horsemen by their tactics and equipment. A cavalryman wears heavier armor, and carries a sword and shield, rather than a lance. Their tactics do not include charging; instead they maneuver to slash with a sword, using both horse and rider as an effective tool of melee.

Cavalrymen are very useful for taking and holding positions on open ground, for screening friendly soldiers, and also for scouting work."
			experience=0
			extra_recruit=""
			facing="nw"
			flag_rgb="magenta"
			gender="male"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=28
			id="Cavalryman-17"
			image="units/human-loyalists/cavalryman/cavalryman.png"
			jamming=0
			language_name=_"Cavalryman"
			level=1
			max_attacks=1
			max_experience=28
			max_hitpoints=40
			max_moves=8
			moves=0
			name="Dircyn"
			overlays=""
			profile="portraits/humans/transparent/cavalryman.png"
			race="human"
			random_traits=no
			resting=no
			role=""
			side=2
			small_profile="portraits/humans/cavalryman.png"
			type="Cavalryman"
			undead_variation="mounted"
			underlying_id=17
			unrenamable=no
			upkeep="full"
			usage="scout"
			variation=""
			vision=-1
			x=12
			y=4
			zoc=yes
			[attack_anim]
				attack_sound_start_time=-150
				start_time=-225
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					image="units/human-loyalists/cavalryman/cavalryman.png:25"
				[/frame]
				[frame]
					image="units/human-loyalists/cavalryman/cavalryman.png:50"
					sound="horse-canter.wav"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="sword-1.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/human-loyalists/cavalryman/cavalryman.png:300"
				[/frame]
				[frame]
					image="units/human-loyalists/cavalryman/cavalryman.png:50"
				[/frame]
				[frame]
					image="units/human-loyalists/cavalryman/cavalryman.png:25"
				[/frame]
			[/attack_anim]
			[death]
				start_time=0
				[frame]
					image="units/human-loyalists/cavalryman/cavalryman.png:200"
				[/frame]
			[/death]
			[defend]
				start_time=-126
				[frame]
					image="units/human-loyalists/cavalryman/cavalryman.png:1,units/human-loyalists/cavalryman/cavalryman.png:250,units/human-loyalists/cavalryman/cavalryman.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="horse-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[movement_anim]
				start_time=0
				[frame]
					image="units/human-loyalists/cavalryman/cavalryman.png:150"
				[/frame]
			[/movement_anim]
			[portrait]
				image="portraits/humans/transparent/cavalryman.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/cavalryman.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[movement_costs]
				castle=1
				cave=4
				flat=1
				forest=3
				frozen=2
				fungus=4
				hills=2
				reef=3
				sand=2
				shallow_water=4
				swamp_water=4
				village=1
			[/movement_costs]
			[defense]
				castle=60
				cave=80
				flat=60
				forest=-70
				frozen=70
				fungus=80
				hills=60
				reef=70
				sand=70
				shallow_water=80
				swamp_water=80
				village=60
			[/defense]
			[resistance]
				arcane=80
				blade=70
				cold=80
				fire=100
				impact=60
				pierce=120
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				uncovered=yes
			[/status]
			[attack]
				damage=7
				description=_"sword"
				icon="attacks/sword-human.png"
				name="sword"
				number=3
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth-help
					female_name=_"female^resilient"
					id="resilient"
					male_name=_"resilient"
					[effect]
						apply_to="hitpoints"
						increase_total=4
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total=1
						times="per level"
					[/effect]
				[/trait]
				[trait]
					female_name=_"female^strong"
					id="strong"
					male_name=_"strong"
					[effect]
						apply_to="attack"
						increase_damage=1
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total=1
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="White Mage,Red Mage"
			alignment="lawful"
			alpha=256
			attacks_left=0
			cost=20
#textdomain wesnoth-units
			description=_"Humans have often pondered the workings of the world in which they live. Some endeavor to take this beyond idle musing, to set it as the primary enterprise of their lives. Any magi worthy of the title have spent at least a decade in study, amassing a sum of knowledge which sets them apart from other people. These men and women, who have committed themselves fully to the pursuit of wisdom, stand in stark contrast to a world where few can even read and write. Their ranks are filled with the children of hopeful nobility, or those who sought an escape from the intellectual void of manual labor.

It is an irony that, with all their knowledge, and their unassuming monopoly thereof, the collective community of magi could likely rule society, were they ever to try. However, their true love is neither money, nor power, and those who see the study of magic as a means to such ends often lack the very conviction required for true mastery.

Physically frail, and lacking familiarity with combat, magi do possess certain arts which are of great utility in battle." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit has magical attacks, which always have a high chance of hitting an opponent."
			experience=9
			extra_recruit=""
			facing="sw"
			flag_rgb="magenta"
			gender="female"
			generate_name=no
			goto_x=-999
			goto_y=-999
			hitpoints=24
			id="Mage-18"
			image="units/human-magi/mage+female.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"female^Mage"
			level=1
			max_attacks=1
			max_experience=38
			max_hitpoints=24
			max_moves=6
			moves=0
			name="Caelyan"
			overlays=""
			profile="portraits/humans/transparent/mage+female.png"
			race="human"
			random_traits=no
			resting=no
			role=""
			side=2
			small_profile="portraits/humans/mage+female.png"
			type="Mage"
			undead_variation=""
			underlying_id=18
			unrenamable=no
			upkeep="full"
			usage="mixed fighter"
			variation=""
			vision=-1
			x=15
			y=8
			zoc=yes
			[attack_anim]
				attack_sound_start_time=-350
				magic_missile_flare_start_time=-750
				magic_missile_start_time=-750
				magic_missile_trail_1_start_time=-350
				magic_missile_trail_2_start_time=-350
				magic_missile_trail_3_start_time=-350
				offset=0
				start_time=-800
				[filter_attack]
					name="missile"
				[/filter_attack]
				[magic_missile_frame]
					duration=400
					halo="halo/mage-halo[1~5].png"
					halo_x="11~0"
					halo_y="-20~-54"
					offset="0.001~-0.083,-0.083~-0.25,-0.25~-0.5"
				[/magic_missile_frame]
				[magic_missile_frame]
					duration=350
					halo="halo/mage-halo[1~5].png"
					halo_y="-54~-45,-45~-27,-27~0"
					offset="-0.5~-0.25,-0.25~0.25,0.25~1.0"
				[/magic_missile_frame]
				[magic_missile_trail_1_frame]
					duration=350
					halo="misc/blank-hex.png:40,halo/mage-preparation-halo[1~7].png"
					halo_y="-54:40,-54~-45,-45~-27,-27~0"
					offset="0.001:40,-0.5~-0.25,-0.25~0.25,0.25~1.0"
				[/magic_missile_trail_1_frame]
				[magic_missile_trail_2_frame]
					duration=350
					halo="misc/blank-hex.png:80,halo/mage-preparation-halo[1~7].png"
					halo_y="-54:80,-54~-45,-45~-27,-27~0"
					offset="0.001:80,-0.5~-0.25,-0.25~0.25,0.25~1.0"
				[/magic_missile_trail_2_frame]
				[magic_missile_trail_3_frame]
					duration=350
					halo="misc/blank-hex.png:120,halo/mage-preparation-halo[1~7].png"
					halo_y="-54:120,-54~-45,-45~-27,-27~0"
					offset="0.001:120,-0.5~-0.25,-0.25~0.25,0.25~1.0"
				[/magic_missile_trail_3_frame]
				[magic_missile_flare_frame]
					duration=600
					halo="halo/mage-preparation-halo[1~7].png"
					halo_x=11
					halo_y=-20
					offset=0
				[/magic_missile_flare_frame]
				[frame]
					image="units/human-magi/mage+female-attack-magic[1,2,1].png:[100,700,200]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="magic-missile-[1~3].ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="magic-missile-[1~3]-miss.ogg"
					[/attack_sound_frame]
				[/else]
			[/attack_anim]
			[attack_anim]
				attack_sound_start_time=-100
				start_time=-250
				[filter_attack]
					name="staff"
				[/filter_attack]
				[frame]
					image="units/human-magi/mage+female.png:50"
				[/frame]
				[frame]
					image="units/human-magi/mage+female-attack-staff[1~2].png:[100,200]"
				[/frame]
				[if]
					hits=yes
					[attack_sound_frame]
						sound="staff.wav"
					[/attack_sound_frame]
				[/if]
				[else]
					hits=no
					[attack_sound_frame]
						sound="miss-[1~3].ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					image="units/human-magi/mage+female-attack-magic1.png:50"
				[/frame]
				[frame]
					image="units/human-magi/mage+female.png:50"
				[/frame]
			[/attack_anim]
			[defend]
				start_time=-126
				[frame]
					image="units/human-magi/mage+female.png:1,units/human-magi/mage+female-defend.png:250,units/human-magi/mage+female.png:1"
				[/frame]
				[if]
					hit_sound_start_time=-25
					hits="hit"
					[hit_sound_frame]
						sound="human-female-hit-[1~3].ogg"
					[/hit_sound_frame]
				[/if]
			[/defend]
			[portrait]
				image="portraits/humans/transparent/mage+female.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/mage+female.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=3
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=3
				swamp_water=3
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				flat=60
				forest=50
				frozen=80
				fungus=50
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=80
				village=40
			[/defense]
			[resistance]
				arcane=80
				blade=100
				cold=100
				fire=100
				impact=100
				pierce=100
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				uncovered=yes
			[/status]
			[attack]
				damage=6
				description=_"staff"
				icon="attacks/staff-magic.png"
				name="staff"
				number=1
				range="melee"
				type="impact"
			[/attack]
			[attack]
				damage=7
				description=_"missile"
				icon="attacks/magic-missile.png"
				name="missile"
				number=3
				range="ranged"
				type="fire"
				[specials]
					[chance_to_hit]
						cumulative=no
#textdomain wesnoth-help
						description=_"This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
						id="magical"
						name=_"magical"
						value=70
					[/chance_to_hit]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					female_name=_"female^strong"
					id="strong"
					male_name=_"strong"
					[effect]
						apply_to="attack"
						increase_damage=1
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total=1
					[/effect]
				[/trait]
				[trait]
					female_name=_"female^quick"
					id="quick"
					male_name=_"quick"
					[effect]
						apply_to="movement"
						increase=1
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
	[/side]
	[time]
		blue=0
		green=-20
		id="dawn"
		image="misc/time-schedules/default/schedule-dawn.png"
		lawful_bonus=0
		mask=""
		name=_"Dawn"
		red=-20
		sound="ambient/morning.ogg"
	[/time]
	[time]
		blue=0
		green=0
		id="morning"
		image="misc/time-schedules/default/schedule-morning.png"
		lawful_bonus=25
		mask=""
		name=_"Morning"
		red=0
		sound=""
	[/time]
	[time]
		blue=0
		green=0
		id="afternoon"
		image="misc/time-schedules/default/schedule-afternoon.png"
		lawful_bonus=25
		mask=""
		name=_"Afternoon"
		red=0
		sound=""
	[/time]
	[time]
		blue=-20
		green=-20
		id="dusk"
		image="misc/time-schedules/default/schedule-dusk.png"
		lawful_bonus=0
		mask=""
		name=_"Dusk"
		red=0
		sound="ambient/night.ogg"
	[/time]
	[time]
		blue=-10
		green=-35
		id="first_watch"
		image="misc/time-schedules/default/schedule-firstwatch.png"
		lawful_bonus=-25
		mask=""
		name=_"First Watch"
		red=-45
		sound=""
	[/time]
	[time]
		blue=-10
		green=-35
		id="second_watch"
		image="misc/time-schedules/default/schedule-secondwatch.png"
		lawful_bonus=-25
		mask=""
		name=_"Second Watch"
		red=-45
		sound=""
	[/time]
	[undo_stack]
		committed=yes
		side=2
	[/undo_stack]
	[event]
	[/event]
	[event]
	[/event]
	[event]
		name="time over"
		[lua]
			code="
                local _ = wesnoth.textdomain ""wesnoth-multiplayer""
                local function all_sides()
                    local function f(s, i)
                        i = i + 1
                        local t = wesnoth.sides[i]
                        return t and i, t
                    end
                    return f, nil, 0
                end

                local income_factor = 5

                local side_num = -1
                local total_score = -1
                local side_comparison = """"
                for side, team in all_sides() do
                    repeat -- ugly hack to convert 'break' into 'continue'
                    if team.__cfg.hidden then
                        break
                    end
                    local r, g, b = 255, 255, 255
                    if     team.__cfg.color == 1 then r, g, b = 255,   0,   0
                    elseif team.__cfg.color == 2 then r, g, b =   0,   0, 255
                    elseif team.__cfg.color == 3 then r, g, b =   0, 255,   0
                    elseif team.__cfg.color == 4 then r, g, b = 155,  48, 255
                    elseif team.__cfg.color == 5 then r, g, b =   0,   0,   0
                    elseif team.__cfg.color == 6 then r, g, b = 165,  42,  42
                    elseif team.__cfg.color == 7 then r, g, b = 255, 165,   0
                    elseif team.__cfg.color == 8 then r, g, b = 255, 255, 255
                    elseif team.__cfg.color == 9 then r, g, b =   0, 128, 128 end
                    if # wesnoth.get_units( { side = side } ) == 0 then
                        side_comparison = side_comparison ..
                            string.format( tostring( _ ""<span strikethrough='true' foreground='#%02x%02x%02x'>Side %d</span>"") .. ""\n"",
                                r, g, b, side)
                        break
                    end
                    local income = team.total_income * income_factor
                    local units = 0
                    -- Calc the total unit-score here
                    for i, unit in ipairs( wesnoth.get_units { side = side } ) do
                        if not unit.__cfg.canrecruit then
                            wesnoth.fire(""unit_worth"", { id = unit.id })
                            units = units + wesnoth.get_variable(""unit_worth"")
                        end
                    end
                    -- Up to here
                    local total = units + team.gold + income
                    side_comparison = side_comparison ..
                        string.format( tostring( _ ""<span foreground='#%02x%02x%02x'>Side %d</span>:  Income score = %d  Unit score = %d  Gold = %d"") .. ""\n"" .. tostring( _ ""Grand total: <b>%d</b>"") .. ""\n"",
                            r, g, b, side, income, units, team.gold, total)
                    if total > total_score then
                        color = string.format(""#%02x%02x%02x"", r, g, b)
                        side_num = side
                        total_score = total
                    end
                    until true -- end ugly hack
                end
                side_comparison = side_comparison ..
                    string.format( ""\n"" .. tostring( _ ""<span foreground='%s'>Side %d</span> has the advantage.""), color, side_num)
                wesnoth.fire(""message"", { message = side_comparison, speaker = ""narrator"", image = ""wesnoth-icon.png""})
            "
		[/lua]
	[/event]
	[event]
	[/event]
	[event]
		first_time_only=no
		name="die"
		[filter]
			[filter_location]
				[not]
					terrain="Wo,Wog,Wot,Ww,Wwg,Wwt,Ss,Qlf,Ql,Qxe,Qxua,Qxu"
				[/not]
			[/filter_location]
		[/filter]
		[store_locations]
			find_in="corpse_xy"
			variable="corpse_xy"
			[or]
				x="$x1"
				y="$y1"
			[/or]
		[/store_locations]
		[if]
			[variable]
				greater_than_equal_to=1
				name="turn_number"
			[/variable]
			[then]
				[switch]
					variable="unit.type"
					[case]
						value="Cavalryman,Dragoon,Cavalier,EAE Cavalryman,EAE Dragoon,EAE Cavalier"
						[item]
							image="units/humans/cavalryman-die-2.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Horseman,Lancer,Knight,EAE Horseman,EAE Lancer,EAE Knight"
						[if]
							[variable]
								equals="se"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="s"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="sw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/human-loyalists/horseman/horseman-se-die5.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
						[/if]
						[if]
							[variable]
								equals="ne"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="n"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/human-loyalists/horseman/horseman-ne-die5.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
						[/if]
					[/case]
					[case]
						value="Fencer,Master at Arms,Duelist,EAE Fencer,EAE Master at Arms,EAE Duelist"
						[item]
							image="units/human-loyalists/fencer-die5.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Sergeant,Lieutenant,General,Grand Marshal,EAE Sergeant,EAE Lieutenant,EAE General,EAE Grand Marshal"
						[item]
							image="units/human-loyalists/lieutenant-die-9.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Pikeman,EAE Pikeman"
						[item]
							image="units/human-loyalists/pikeman-die-5.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Spearman,EAE Spearman"
						[item]
							image="units/human-loyalists/spearman-death4.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Rogue,EAE Rogue"
						[item]
							image="units/human-outlaws/rogue-die-6.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
						[if]
							[variable]
								equals="female"
								name="unit.gender"
							[/variable]
							[then]
								[item]
									image="units/human-outlaws/rougue female-die-6.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/human-outlaws/rogue-die-7.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Thief,EAE Thief"
						[if]
							[variable]
								equals="female"
								name="unit.gender"
							[/variable]
							[then]
								[item]
									image="units/human-outlaws/thief female-die-7.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/human-outlaws/thief-die-7.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Trapper,Huntsman,EAE Trapper,EAE Huntsman"
						[item]
							image="units/human-outlaws/trapper-die-8.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Dark Adept,Dark Sorcerer,Necromancer,EAE Dark Adept,EAE Dark Sorcerer,EAE Necromancer"
						[item]
							image="units/undead-necromancers/adept-die8.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Fighter,Elvish Archer,Elvish Scout,Elvish Hunter,Elvish Trapper,Elvish Prowler,EAE Elvish Fighter,EAE Elvish Archer,EAE Elvish Scout,EAE Elvish Hunter,EAE Elvish Trapper,EAE Elvish Prowler"
						[item]
							image="units/elves-wood/archer-die4.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Ranger,Elvish Rider,EAE Elvish Ranger,EAE Elvish Rider"
						[item]
							image="units/elves-wood/ranger-die4.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Avenger,Elvish Outrider,Elvish Captain,Elvish Hero,Elvish Champion,Elvish Marshal,EAE Elvish Avenger,EAE Elvish Outrider,EAE Elvish Captain,EAE Elvish Hero,EAE Elvish Champion,EAE Elvish Marshal"
						[item]
							image="units/elves-wood/avenger-die4.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Marksman,EAE Elvish Marksman"
						[item]
							image="units/elves-wood/marksman-die-5.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Sharpshooter,EAE Elvish Sharpshooter"
						[item]
							image="units/elves-wood/sharpshooter-die4.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Lord,Elvish High Lord,EAE Elvish Lord,EAE Elvish High Lord"
						[item]
							image="items/corpse-elf.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Orcish Assassin,Orcish Slayer,Orcish Nightblade,EAE Orcish Assassin,EAE Orcish Slayer,EAE Orcish Nightblade"
						[item]
							image="units/orcs/assassin-die-10.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Orcish Grunt,Orcish Warrior,Orcish Warlord,EAE Orcish Grunt,EAE Orcish Warrior,EAE Orcish Warlord"
						[item]
							image="units/orcs/grunt-die-6.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Goblin Spearman,Goblin Impaler,Goblin Rouser,EAE Goblin Spearman,EAE Goblin Impaler,EAE Goblin Rouser"
						[item]
							image="units/goblins/impaler-death-9.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Dwarvish Thunderer,Dwarvish Thunderguard,EAE Dwarvish Thunderer,EAE Dwarvish Thunderguard"
						[item]
							image="units/dwarves/thunderer/thunderer-die3.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Saurian Ambusher,EAE Saurian Ambusher"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/ambusher/ambusher-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/ambusher/ambusher-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Saurian Augur,EAE Saurian Augur"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/augur/augur-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/augur/augur-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Saurian Flanker,EAE Saurian Flanker"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/flanker/flanker-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/flanker/flanker-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Saurian Oracle,Saurian Prophet,EAE Saurian Oracle,EAE Saurian Prophet"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/oracle/oracle-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/oracle/oracle-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Saurian Skirmisher,EAE Saurian Skirmisher"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/skirmisher/skirmisher-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/skirmisher/skirmisher-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Saurian Soothsayer,Saurian Bonecaster,EAE Saurian Soothsayer,EAE Saurian Bonecaster"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/soothsayer/soothsayer-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/soothsayer/soothsayer-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Woodsman,Bowman,Poacher,Longbowman,Master Bowman,Orcish Archer,Orcish Crossbowman,Orcish Slurbow,EAE Woodsman,EAE Bowman,EAE Poacher,EAE Longbowman,EAE Master Bowman,EAE Orcish Archer,EAE Orcish Crossbowman,EAE Orcish Slurbow"
						[item]
							image="units/undead-skeletal/archer-die-13.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Halberdier,Dwarvish Ulfserker,Dwarvish Berserker,EAE Halberdier,EAE Dwarvish Ulfserker,EAE Dwarvish Berserker"
						[item]
							image="units/undead-skeletal/revenant-dying-7.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Orcish Sovereign,Orcish Ruler,Orcish Leader,EAE Orcish Sovereign,EAE Orcish Ruler,EAE Orcish Leader"
						[item]
							image="units/undead-skeletal/deathblade-dying-7.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Ghost,Shadow,Wraith,Nightgaunt,Spectre,Ghoul,Necrophage,Ghast,EAE Ghost,EAE Shadow,EAE Wraith,EAE Nightgaunt,EAE Spectre,EAE Ghoul,EAE Necrophage,EAE Ghast"
					[/case]
					[else]
						[item]
							image="items/bones.png"
							x="$x1"
							y="$y1"
						[/item]
					[/else]
				[/switch]
			[/then]
		[/if]
	[/event]
	[event]
	[/event]
	[event]
		name="mirroralertmessage"
		[if]
			[variable]
				equals="$p2_faction"
				name="p1_faction"
			[/variable]
			[then]
				[message]
					message="Mirror! Sorry."
					speaker="narrator"
				[/message]
			[/then]
			[else]
				[message]
					message="Not a mirror. Have fun!"
					speaker="narrator"
				[/message]
			[/else]
		[/if]
		[clear_menu_item]
			id="mirroralert"
		[/clear_menu_item]
	[/event]
	[item]
		image="items/bones.png"
		x=16
		y=9
	[/item]
	[item]
		image="items/bones.png"
		x=17
		y=11
	[/item]
	[item]
		image="items/burial.png"
		x=4
		y=9
	[/item]
	[item]
		image="items/burial.png"
		x=15
		y=13
	[/item]
	[item]
		image="units/human-loyalists/horseman/horseman-ne-die5.png~TC(2,magenta)"
		x=13
		y=9
	[/item]
	[item]
		image="items/burial.png"
		x=26
		y=16
	[/item]
	[music]
		ms_after=0
		ms_before=12000
		name="knolls.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="wanderer.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="battle.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="transience.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="revelation.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="loyalists.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_king_is_dead.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="knalgan_theme.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_city_falls.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="nunc_dimittis.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="breaking_the_chains.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="elvish-theme.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="legends_of_the_north.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="traveling_minstrels.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="underground.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="vengeful.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="frantic.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_dangerous_symphony.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="heroes_rite.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="suspense.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_deep_path.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="siege_of_laurelmor.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="casualties_of_war.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="silvan_sanctuary.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="battle-epic.ogg"
	[/music]
	[variables]
		damage_inflicted=5
		next_scenario="SANDBOX_Den_of_Onis_12"
		p1_faction="Undead"
		p2_faction="Loyalists"
		random=30
		side_number=2
		turn_number=6
		x1=13
		x2=0
		y1=21
		y2=0
		[factions]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Drakes"
				image="units/drakes/flare.png"
				leader="Drake Flare,Fire Drake,Drake Arbiter,Drake Thrasher,Drake Warrior,Saurian Oracle,Saurian Soothsayer"
#textdomain wesnoth-multiplayer
				name=_"Drakes"
				random_leader="Drake Flare,Fire Drake,Drake Arbiter,Drake Thrasher,Drake Warrior"
				recruit="Drake Burner,Drake Clasher,Drake Glider,Drake Fighter,Saurian Skirmisher,Saurian Augur"
				terrain_liked="Hh,Ha,Ds,Ss"
				type="random"
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Knalgan Alliance"
				image="units/dwarves/steelclad.png"
				leader="Dwarvish Steelclad,Dwarvish Thunderguard,Dwarvish Stalwart,Rogue,Trapper"
				name=_"Knalgan Alliance"
				recruit="Dwarvish Guardsman,Dwarvish Fighter,Dwarvish Ulfserker,Dwarvish Thunderer,Thief,Poacher,Footpad,Gryphon Rider"
				terrain_liked="Hh,Ha,Mm"
				type="random"
				[ai]
					[aspect]
						id="recruitment_pattern"
						[facet]
							value="fighter,fighter,fighter,mixed fighter,archer,scout"
						[/facet]
					[/aspect]
				[/ai]
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Loyalists"
				image="units/human-loyalists/lieutenant.png"
				leader="Lieutenant,Swordsman,Pikeman,Javelineer,Shock Trooper,Longbowman,White Mage,Red Mage"
				name=_"Loyalists"
				random_leader="Lieutenant,Swordsman,Pikeman,Javelineer,Longbowman,White Mage,Red Mage"
				recruit="Cavalryman,Horseman,Spearman,Fencer,Heavy Infantryman,Bowman,Mage,Merman Fighter"
				terrain_liked="Gg,Ww,Wo"
				type="random"
				[ai]
					recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
				[/ai]
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Northerners"
				image="units/orcs/warrior.png"
				leader="Orcish Warrior,Troll,Troll Rocklobber,Orcish Crossbowman,Orcish Slayer"
				name=_"Northerners"
				recruit="Orcish Grunt,Troll Whelp,Wolf Rider,Orcish Archer,Orcish Assassin,Naga Fighter,Goblin Spearman"
				terrain_liked="Hh,Ha,Mm,Ss"
				type="random"
				[ai]
					recruitment_pattern="fighter,fighter,fighter,mixed fighter,archer,scout"
				[/ai]
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Rebels"
				image="units/elves-wood/captain.png"
				leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,White Mage,Red Mage,Elder Wose"
				name=_"Rebels"
				random_leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,White Mage,Red Mage"
				recruit="Elvish Fighter,Elvish Archer,Mage,Elvish Shaman,Elvish Scout,Wose,Merman Hunter"
				terrain_liked="Ff,Fa,Ss,Ww"
				type="random"
				[ai]
					recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
				[/ai]
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Undead"
				image="units/undead-necromancers/dark-sorcerer.png"
				leader="Dark Sorcerer,Revenant,Deathblade,Bone Shooter,Necrophage"
				name=_"Undead"
				random_leader="Dark Sorcerer,Revenant,Deathblade,Bone Shooter"
				recruit="Skeleton,Skeleton Archer,Walking Corpse,Ghost,Vampire Bat,Dark Adept,Ghoul"
				terrain_liked="Ss,Hh,Ha,Ww"
				type="random"
				[ai]
					recruitment_pattern="fighter,fighter,archer,fighter,scout,archer"
				[/ai]
			[/multiplayer_side]
		[/factions]
		[corpse_xy]
			terrain="Rd"
			x=13
			y=9
		[/corpse_xy]
		[corpse_xy]
			terrain="Uh"
			x=16
			y=9
		[/corpse_xy]
		[corpse_xy]
			terrain="Rd"
			x=17
			y=11
		[/corpse_xy]
	[/variables]
	[menu_item]
		description="Is it mirror?"
		id="mirroralert"
		image=""
		needs_select=no
		use_hotkey=yes
		[command]
			first_time_only=no
			id="mirroralert"
			name="menu_item mirroralert"
			[fire_event]
				name="mirroralertmessage"
			[/fire_event]
		[/command]
	[/menu_item]
[/snapshot]
[replay_start]
	abbrev=""
	allow_new_game=no
	campaign=""
	campaign_define=""
	campaign_extra_defines=""
	campaign_type="multiplayer"
	can_end_turn=yes
	completion=""
	current_time=0
	description=_"This most unusual of caves was once known as the Chamber of Laughing Devils, and was the inner citadel of the Kah Ruuk Oni. The Kah Ruuk were a wicked and cunning race of man-eating demons, who terrorized the people of the Eastern Lands for nearly four hundred years, before vanishing from Irdya without a trace. Since that time, many factions have vied for dominion over the Den of Onis, hoping to unlock the strange and mysterious magics of its creators."
	difficulty="NORMAL"
	disallow_recall=yes
	end_credits=yes
	end_text=""
	end_text_duration=0
	experience_modifier=70
	force_lock_settings=""
	history=""
	id="SANDBOX_Den_of_Onis_12"
	init_side_done=yes
	label="2p - Den of Onis"
	map_data="border_size=1
usage=map

Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ql, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ql, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ur, 2 Kud, Uu, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Uh^Emf, Wwf, Wwf, Rd, Rd, Cud, Ur, Uu^Uf, Ur^Emf, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ur, Uu^Vu, Wwf, Wwf, Rd, Cud, Cud, Ur, Ur, Hh, Ss, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Rd, Xu, Wwf, Rd, Rd, Ur, Ur, Wwf, Wwf, Rd, Rd, Cud, Rp, Gs^Fp, Ss^Vhs, Ss, Rp, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Ur, Ur, Ur, Rd, Rd, Wwf, Rd, Mm, Ur, Ur, Ur^Fp, Ur^Fp, Uh, Rd, Rd, Rp, Wwf, Rp, Hh, Rp, Uu^Vu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Ql, Uu^Uf, Xu, Ur, Xu, Xu, Wwf, Wwf, Rd, Ql, Ql, Ur, Uu^Uf, Ur, Rd, Rd, Hh, Gs^Fp, Rp, Xu, Rp, Wwf, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Rd, Gs^Fp, Rd, Ur, Xu, Ww, Ww, Xu, Xu, Xu, Uu^Vu, Ur, Rd, Rd, Rd, Rd, Rd, Rd, Xu, Xu, Rp, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Ql, Xu, Rd, Uu^Vu, Xu, Rd, Xu, Ww, Wwf, Uh, Rd, Rd, Rd, Ur^Fp, Uh, Rd, Rp, Mm, Wwf, Ss^Vhs, Rp, Rp, Gs^Fp, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Rp, Xu, Xu, Uh, Gs^Fp, Xu, Wwf, Mm, Wwf, Rd^Uf, Hh^Fp, Hh, Rd, Rd, Rd, Rp, Hh, Wwf, Rp, Xu, Xu, Uh, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Wwf, Wwf, Gs^Fp, Rd, Rd, Uu^Uf, Xu, Wwf, Wwf, Wwf, Ww, Ww, Hh, Rp, Rd, Rd, Rr^Uf, Gs^Fp, Hh, Wwf, Xu, Rp, Rd, Uu^Uf, Xu, Xu, Xu, Xu, Xu
Xu, Rp, Wwf, Rp, Rp, Rd, Xu, Ur, Xu, Wwf, Rr, Ww, Rp, Gs^Fp, Rp, Rp, Rd, Rd, Rd, Gs^Fp, Rp, Wwf, Uh, Gs^Fp, Rd, Rd, Uh, Xu, Wo, Xu, Xu
Xu, Xu, Wo, Ww, Uh, Uh, Rd, Xu, Uh, Wwf, Rp, Rp, Rd, Rp, Rd, Rd, Rp, Rp, Rp, Rp, Rr, Wwf, Xu, Xu, Xu, Uh, Rp, Ww, Wwf, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Rd, Rd, Gs^Fp, Xu, Wwf, Hh, Gs^Fp, Rr^Uf, Rd, Rd, Rp, Hh, Gs^Fp, Ww, Ww, Wwf, Wwf, Xu, Rd, Rd, Rd, Gs^Fp, Rp, Wwf, Rp, Xu
Xu, Xu, Xu, Xu, Xu, Uu^Uf, Uh, Rp, Xu, Wwf, Wwf, Gs^Fp, Rp, Rd, Rd, Rp, Hh, Ww, Rd^Uf, Wwf, Mm, Wwf, Xu, Uu^Uf, Uh, Rd, Xu, Wwf, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Gs^Fp, Xu, Rp, Rp, Wwf, Hh, Rp, Rd, Uh, Rd, Rd, Hh^Fp, Rd, Wwf, Wwf, Wwf, Xu, Gs^Fp, Xu, Xu, Rd, Rd, Ql, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Rp, Rp, Xu, Ss^Vhs, Rd, Mm, Rd, Rd, Rd, Ur^Fp, Uu^Vu, Rd, Xu, Uh, Ww, Ww, Xu, Rd, Rd, Uu^Vu, Rd, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Wwf, Xu, Xu, Rd, Rd^Fp, Rd, Rd, Rd, Ur, Ur, Ur, Xu, Ql, Xu, Wwf, Ww, Xu, Ur, Ur, Gs^Fp, Uu^Uf, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Uu^Vu, Rp, Hh, Rp, Wwf, Hh, Rd, Rd, Uh, Uu^Uf, Ur^Fp, Ql, Ur, Rd, Rd, Wwf, Rd, Xu, Ur, Xu, Ur, Ql, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Rp, Rp, Rp, Ss^Vhs, Rp, Rp, Rd, Rd, Ur^Fp, Wwf, Ur, Ur, Mm, Rd, Wwf, Wwf, Rd, Rd, Ur, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ss, Ss, Gs^Fp, Ur, Cud, Cud, Rd, Rd, Wwf, Wwf, Ur, Ur, Rd, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Hh, Ur^Emf, Ur, Ur, Cud, Rd, Wwf, Wwf, Uu^Vu, Uh^Emf, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ql, Uu^Uf, Uu, Cud, Ur, Rd, Xu, Wwf, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ql, Ql, 1 Kud, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Ql, Ql, Ql, Ql, Ql, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu, Xu
"
	name=_"2p - Den of Onis"
	next_scenario=""
	next_teleport_group_id=0
	next_underlying_unit_id=2
	objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>

<big>Defeat:</big>
<span foreground='red'>Death of your leader</span>"
	observer=yes
	playing_team=0
	random_calls=0
	random_seed=17085
	random_start_time=no
	scenario="SANDBOX_Den_of_Onis_12"
	shuffle_sides=yes
	snapshot=yes
	turn_at=1
	turns=-1
	unit_wml_ids="Red Mage,Revenant,era_events,mod_CorpseMode_events,mod_mirrormate_events"
	used_items=""
	version="1.12.2"
	[side]
		action_bonus_count=0
		allow_player=yes
		auto_shroud=yes
		chose_random=no
		color=1
		controller="human"
		countdown_time=0
		current_player="ElderofZion2"
		defeat_condition="no_leader_left"
		disallow_observers=no
		flag=""
		flag_icon=""
		fog=yes
		fog_data=""
		gold=100
		gold_add=no
		hidden=no
		id="SANDBOXSide1"
		income=0
		lost=no
		name="ElderofZion2"
		no_leader=yes
		objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>

<big>Defeat:</big>
<span foreground='red'>Death of your leader</span>"
		objectives_changed=yes
		persistent=yes
		recall_cost=20
		recruit="Dark Adept,Ghost,Ghoul,Skeleton,Skeleton Archer,Vampire Bat,Walking Corpse"
		save_id="SANDBOXSide1"
		scroll_to_leader=yes
		share_maps=no
		share_view=no
		shroud=no
		shroud_data=""
		side=1
		start_gold=100
		suppress_end_turn_confirmation=no
		team_name=1
		user_team_name="Drużyna 1"
		village_gold=2
		village_support=1
		[ai]
#textdomain wesnoth-ai
			description=_"Multiplayer_AI^Default AI (RCA)"
			id="ai_default_rca"
			version=10710
			[stage]
				id="main_loop"
				name="ai_default_rca::candidate_action_evaluation_loop"
				[candidate_action]
					engine="cpp"
					id="goto"
					max_score=200000
					name="ai_default_rca::goto_phase"
					score=200000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="recruitment"
					max_score=180000
					name="default_recruitment::recruitment"
					score=180000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_goals"
					max_score=140000
					name="ai_default_rca::move_leader_to_goals_phase"
					score=140000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_keep"
					max_score=120000
					name="ai_default_rca::move_leader_to_keep_phase"
					score=120000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="combat"
					max_score=100000
					name="ai_default_rca::combat_phase"
					score=100000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="healing"
					max_score=80000
					name="ai_default_rca::get_healing_phase"
					score=80000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="villages"
					max_score=60000
					name="ai_default_rca::get_villages_phase"
					score=60000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="retreat"
					max_score=40000
					name="ai_default_rca::retreat_phase"
					score=40000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_to_targets"
					max_score=20000
					name="ai_default_rca::move_to_targets_phase"
					score=20000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="leader_shares_keep"
					max_score=10000
					name="ai_default_rca::leader_shares_keep_phase"
					score=10000
				[/candidate_action]
			[/stage]
			[aspect]
				engine="cpp"
				id="advancements"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.4
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attack_depth"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=5
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attacks"
				invalidate_on_gamestate_change=yes
				name="composite_aspect"
				[default]
					engine="cpp"
					invalidate_on_gamestate_change=yes
					name="ai_default_rca::aspect_attacks"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="avoid"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[not]
						[/not]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="caution"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="grouping"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="offensive"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="-4.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_goal"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_ignores_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="3.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="number_of_possible_recruits_to_force_recruit"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3.1
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader_shares_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						engine="cpp"
						name="ai_default::recruitment"
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_diversity"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="2.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_ignore_bad_combat"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_ignore_bad_movement"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_instructions"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[recruit]
							importance=0
						[/recruit]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_more"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_pattern"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_randomness"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=50
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_save_gold"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						active=0
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="scout_village_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="simple_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="support_villages"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="village_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="villages_per_scout"
				name="composite_aspect"
				[facet]
					engine="cpp"
					name="standard_aspect"
					value=8
				[/facet]
				[default]
					engine="cpp"
					name="standard_aspect"
					value=4
				[/default]
			[/aspect]
		[/ai]
		[unit]
			advances_to="Draug"
			alignment="chaotic"
			alpha=256
			attacks_left=1
			canrecruit=yes
			cost=28
#textdomain wesnoth-units
			description=_"Given false life to do battle once more, the creatures known as Revenants were clearly great warriors in their time, though the memory of that time is almost wholly lost to their undead selves. Even the sorcerers who raised them can only speculate on their past. Such questions aside, a Revenant is a powerful tool in combat: a fearless warrior that feels no pain and will fight to the bitter end." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit can move unseen in deep water, requiring no air from the surface."
			experience=0
			extra_recruit=""
			facing="ne"
			flag_rgb="magenta"
			gender="male"
			goto_x=0
			goto_y=0
			hitpoints=47
			id="SANDBOXSide1"
			image="units/undead-skeletal/revenant.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"Revenant"
			level=2
			max_attacks=1
			max_experience=60
			max_hitpoints=47
			max_moves=5
			moves=5
			name="ElderofZion2"
			overlays=""
			profile="portraits/undead/transparent/revenant.png"
			race="undead"
			random_traits=no
			resting=no
			role=""
			side=1
			small_profile="portraits/undead/revenant.png"
			type="Revenant"
			undead_variation=""
			underlying_id=1
			unrenamable=no
			upkeep="full"
			usage="fighter"
			variation=""
			vision=-1
			x=15
			y=24
			zoc=yes
			[portrait]
				image="portraits/undead/transparent/revenant.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/undead/transparent/revenant.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[abilities]
				[hides]
					affect_self=yes
#textdomain wesnoth-help
					description=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					description_inactive=_"This unit can hide in deep water, and remain undetected by its enemies.

Enemy units cannot see this unit while it is in deep water, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
					female_name=_"female^submerge"
					female_name_inactive=_"female^submerge"
					id="submerge"
					name=_"submerge"
					name_inactive=_"submerge"
					[filter]
						[filter_location]
							terrain="Wo*^*"
						[/filter_location]
					[/filter]
				[/hides]
			[/abilities]
			[movement_costs]
				castle=1
				cave=2
				deep_water=3
				flat=1
				forest=2
				frozen=2
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=2
				swamp_water=2
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				deep_water=90
				flat=60
				forest=50
				frozen=70
				fungus=40
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=70
				village=40
			[/defense]
			[resistance]
				arcane=150
				blade=60
				cold=40
				fire=120
				impact=120
				pierce=40
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
				not_living=yes
				undrainable=yes
				unplagueable=yes
				unpoisonable=yes
			[/status]
			[attack]
				damage=8
#textdomain wesnoth-units
				description=_"axe"
				icon="attacks/axe-undead.png"
				name="axe"
				number=4
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth-help
					description=_"Immune to drain, poison, and plague"
					female_name=_"female^undead"
					id="undead"
					male_name=_"undead"
					[effect]
						add="unpoisonable"
						apply_to="status"
					[/effect]
					[effect]
						add="undrainable"
						apply_to="status"
					[/effect]
					[effect]
						add="unplagueable"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
	[/side]
	[side]
		action_bonus_count=0
		allow_player=yes
		auto_shroud=yes
		chose_random=no
		color=2
		controller="network"
		countdown_time=0
		current_player="Machcik04"
		defeat_condition="no_leader_left"
		disallow_observers=no
		flag=""
		flag_icon=""
		fog=yes
		fog_data=""
		gold=100
		gold_add=no
		hidden=no
		id="SANDBOXSide2"
		income=0
		lost=no
		name="Machcik04"
		no_leader=yes
		objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>

<big>Defeat:</big>
<span foreground='red'>Death of your leader</span>"
		objectives_changed=yes
		persistent=yes
		recall_cost=20
		recruit="Bowman,Cavalryman,Fencer,Heavy Infantryman,Horseman,Mage,Merman Fighter,Spearman"
		save_id="SANDBOXSide2"
		scroll_to_leader=yes
		share_maps=no
		share_view=no
		shroud=no
		shroud_data=""
		side=2
		start_gold=100
		suppress_end_turn_confirmation=no
		team_name=2
		user_team_name="Drużyna 2"
		village_gold=2
		village_support=1
		[ai]
#textdomain wesnoth-ai
			description=_"Multiplayer_AI^Default AI (RCA)"
			id="ai_default_rca"
			version=10710
			[stage]
				id="main_loop"
				name="ai_default_rca::candidate_action_evaluation_loop"
				[candidate_action]
					engine="cpp"
					id="goto"
					max_score=200000
					name="ai_default_rca::goto_phase"
					score=200000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="recruitment"
					max_score=180000
					name="default_recruitment::recruitment"
					score=180000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_goals"
					max_score=140000
					name="ai_default_rca::move_leader_to_goals_phase"
					score=140000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_keep"
					max_score=120000
					name="ai_default_rca::move_leader_to_keep_phase"
					score=120000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="combat"
					max_score=100000
					name="ai_default_rca::combat_phase"
					score=100000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="healing"
					max_score=80000
					name="ai_default_rca::get_healing_phase"
					score=80000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="villages"
					max_score=60000
					name="ai_default_rca::get_villages_phase"
					score=60000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="retreat"
					max_score=40000
					name="ai_default_rca::retreat_phase"
					score=40000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_to_targets"
					max_score=20000
					name="ai_default_rca::move_to_targets_phase"
					score=20000
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="leader_shares_keep"
					max_score=10000
					name="ai_default_rca::leader_shares_keep_phase"
					score=10000
				[/candidate_action]
			[/stage]
			[aspect]
				engine="cpp"
				id="advancements"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.4
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attack_depth"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=5
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="attacks"
				invalidate_on_gamestate_change=yes
				name="composite_aspect"
				[default]
					engine="cpp"
					invalidate_on_gamestate_change=yes
					name="ai_default_rca::aspect_attacks"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="avoid"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[not]
						[/not]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="caution"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=0.25
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="grouping"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="offensive"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_aggression"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="-4.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_goal"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_ignores_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="leader_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="3.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="number_of_possible_recruits_to_force_recruit"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3.1
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="passive_leader_shares_keep"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						engine="cpp"
						name="ai_default::recruitment"
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_diversity"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="2.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_ignore_bad_combat"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_ignore_bad_movement"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_instructions"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						[recruit]
							importance=0
						[/recruit]
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_more"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_pattern"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_randomness"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=50
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="recruitment_save_gold"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					[value]
						active=0
					[/value]
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="scout_village_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=3
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="simple_targeting"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="support_villages"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value=no
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="village_value"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
					value="1.0"
				[/default]
			[/aspect]
			[aspect]
				engine="cpp"
				id="villages_per_scout"
				name="composite_aspect"
				[facet]
					engine="cpp"
					name="standard_aspect"
					value=8
				[/facet]
				[default]
					engine="cpp"
					name="standard_aspect"
					value=4
				[/default]
			[/aspect]
		[/ai]
		[village]
			x=24
			y=6
		[/village]
		[unit]
			advances_to="Arch Mage,Silver Mage"
			alignment="neutral"
			alpha=256
			attacks_left=1
			canrecruit=yes
			cost=40
#textdomain wesnoth-units
			description=_"Upon the successful culmination of their apprenticeship, a mage is stripped of the brown robes of an apprentice and given the ruddy cloak of a master. The significance of this change is often lost on the peasantry, who mistakenly title Master Magi as ‘Red Magi’. Likewise, the symbolism of the change in colors is often mistaken to signify the mage’s ability to seemingly conjure fire from nothing but thin air, a trick which, although undeniably useful, is viewed by the magi themselves as a crass application of their hard-won knowledge.

Though physically frail, and untrained as warriors, the ‘Red Magi’ have a number of tricks up their sleeves, including the gouts of fire which may have cemented their colloquial name." +
#textdomain wesnoth-help
				_"

Special Notes:" +
				_" This unit has magical attacks, which always have a high chance of hitting an opponent."
			experience=0
			extra_recruit=""
			facing="sw"
			flag_rgb="magenta"
			gender="female"
			goto_x=0
			goto_y=0
			hitpoints=42
			id="SANDBOXSide2"
			image="units/human-magi/red-mage+female.png"
			jamming=0
#textdomain wesnoth-units
			language_name=_"female^Red Mage"
			level=2
			max_attacks=1
			max_experience=70
			max_hitpoints=42
			max_moves=5
			moves=5
			name="Machcik04"
			overlays=""
			profile="portraits/humans/transparent/mage-red+female.png"
			race="human"
			random_traits=no
			resting=no
			role=""
			side=2
			small_profile="portraits/humans/mage-red+female.png"
			type="Red Mage"
			undead_variation=""
			underlying_id=2
			unrenamable=no
			upkeep="full"
			usage="mixed fighter"
			variation=""
			vision=-1
			x=15
			y=2
			zoc=yes
			[portrait]
				image="portraits/humans/transparent/mage-red+female.png"
				mirror=false
				side="left"
				size=400
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/mage-red+female.png"
				mirror=true
				side="right"
				size=400
			[/portrait]
			[movement_costs]
				castle=1
				cave=2
				flat=1
				forest=2
				frozen=3
				fungus=2
				hills=2
				mountains=3
				reef=2
				sand=2
				shallow_water=3
				swamp_water=3
				village=1
			[/movement_costs]
			[defense]
				castle=40
				cave=60
				flat=60
				forest=50
				frozen=80
				fungus=50
				hills=50
				mountains=40
				reef=70
				sand=70
				shallow_water=80
				swamp_water=80
				village=40
			[/defense]
			[resistance]
				arcane=80
				blade=100
				cold=100
				fire=90
				impact=100
				pierce=100
			[/resistance]
			[variables]
			[/variables]
			[filter_recall]
			[/filter_recall]
			[status]
			[/status]
			[attack]
				damage=6
				description=_"staff"
				icon="attacks/staff-magic.png"
				name="staff"
				number=2
				range="melee"
				type="impact"
			[/attack]
			[attack]
				damage=8
				description=_"fireball"
				name="fireball"
				number=4
				range="ranged"
				type="fire"
				[specials]
					[chance_to_hit]
						cumulative=no
#textdomain wesnoth-help
						description=_"This attack always has a 70% chance to hit regardless of the defensive ability of the unit being attacked."
						id="magical"
						name=_"magical"
						value=70
					[/chance_to_hit]
				[/specials]
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
	[/side]
	[time]
		blue=0
		green=-20
		id="dawn"
		image="misc/time-schedules/default/schedule-dawn.png"
		lawful_bonus=0
		mask=""
		name=_"Dawn"
		red=-20
		sound="ambient/morning.ogg"
	[/time]
	[time]
		blue=0
		green=0
		id="morning"
		image="misc/time-schedules/default/schedule-morning.png"
		lawful_bonus=25
		mask=""
		name=_"Morning"
		red=0
		sound=""
	[/time]
	[time]
		blue=0
		green=0
		id="afternoon"
		image="misc/time-schedules/default/schedule-afternoon.png"
		lawful_bonus=25
		mask=""
		name=_"Afternoon"
		red=0
		sound=""
	[/time]
	[time]
		blue=-20
		green=-20
		id="dusk"
		image="misc/time-schedules/default/schedule-dusk.png"
		lawful_bonus=0
		mask=""
		name=_"Dusk"
		red=0
		sound="ambient/night.ogg"
	[/time]
	[time]
		blue=-10
		green=-35
		id="first_watch"
		image="misc/time-schedules/default/schedule-firstwatch.png"
		lawful_bonus=-25
		mask=""
		name=_"First Watch"
		red=-45
		sound=""
	[/time]
	[time]
		blue=-10
		green=-35
		id="second_watch"
		image="misc/time-schedules/default/schedule-secondwatch.png"
		lawful_bonus=-25
		mask=""
		name=_"Second Watch"
		red=-45
		sound=""
	[/time]
	[display]
		color_adjust_blue=0
		color_adjust_green=0
		color_adjust_red=0
		view_locked=no
	[/display]
	[undo_stack]
		committed=no
		side=1
	[/undo_stack]
	[event]
	[/event]
	[event]
		name="prestart"
		[store_unit]
			kill=yes
			variable="leaders_to_make_quick"
			[filter]
				canrecruit=yes
				[filter_wml]
					max_moves=4
				[/filter_wml]
			[/filter]
		[/store_unit]
		[set_variable]
			name="i"
			value=0
		[/set_variable]
		[while]
			[variable]
				less_than="$leaders_to_make_quick.length"
				name="i"
			[/variable]
			[do]
				[if]
					[variable]
						boolean_equals=yes
						name="leaders_to_make_quick[$i].variables.dont_make_me_quick"
					[/variable]
					[then]
						[unstore_unit]
							variable="leaders_to_make_quick[$i]"
						[/unstore_unit]
					[/then]
					[else]
						[set_variables]
							name="temp"
							[literal]
								[trait]
									female_name=_"female^quick"
									id="quick"
									male_name=_"quick"
									[effect]
										apply_to="movement"
										increase=1
									[/effect]
									[effect]
										apply_to="hitpoints"
										increase_total="-5%"
									[/effect]
								[/trait]
							[/literal]
						[/set_variables]
						[set_variables]
							mode="append"
							name="leaders_to_make_quick[$i].modifications.trait"
							[insert_tag]
								name="literal"
								variable="temp.trait"
							[/insert_tag]
						[/set_variables]
						[clear_variable]
							name="leaders_to_make_quick[$i].max_moves,leaders_to_make_quick[$i].moves,leaders_to_make_quick[$i].max_hitpoints,leaders_to_make_quick[$i].hitpoints"
						[/clear_variable]
						[unstore_unit]
							variable="leaders_to_make_quick[$i]"
						[/unstore_unit]
					[/else]
				[/if]
				[set_variable]
					add=1
					name="i"
				[/set_variable]
			[/do]
		[/while]
		[clear_variable]
			name="i"
		[/clear_variable]
		[clear_variable]
			name="leaders_to_make_quick,temp"
		[/clear_variable]
	[/event]
	[event]
		name="prestart"
		[music]
			ms_before=12000
			name="knolls.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="wanderer.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="battle.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="transience.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="revelation.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="loyalists.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_king_is_dead.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="knalgan_theme.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_city_falls.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="nunc_dimittis.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="breaking_the_chains.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="elvish-theme.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="legends_of_the_north.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="traveling_minstrels.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="underground.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="vengeful.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="frantic.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_dangerous_symphony.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="heroes_rite.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="suspense.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="the_deep_path.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="siege_of_laurelmor.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="casualties_of_war.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="silvan_sanctuary.ogg"
		[/music]
		[music]
			append=yes
			ms_before=12000
			name="battle-epic.ogg"
		[/music]
	[/event]
	[event]
	[/event]
	[event]
		name="prestart"
		[store_unit]
			kill=yes
			variable="leaders_to_make_quick"
			[filter]
				canrecruit=yes
				[filter_wml]
					max_moves=4
				[/filter_wml]
			[/filter]
		[/store_unit]
		[set_variable]
			name="i"
			value=0
		[/set_variable]
		[while]
			[variable]
				less_than="$leaders_to_make_quick.length"
				name="i"
			[/variable]
			[do]
				[if]
					[variable]
						boolean_equals=yes
						name="leaders_to_make_quick[$i].variables.dont_make_me_quick"
					[/variable]
					[then]
						[unstore_unit]
							variable="leaders_to_make_quick[$i]"
						[/unstore_unit]
					[/then]
					[else]
						[set_variables]
							name="temp"
							[literal]
								[trait]
									female_name=_"female^quick"
									id="quick"
									male_name=_"quick"
									[effect]
										apply_to="movement"
										increase=1
									[/effect]
									[effect]
										apply_to="hitpoints"
										increase_total="-5%"
									[/effect]
								[/trait]
							[/literal]
						[/set_variables]
						[set_variables]
							mode="append"
							name="leaders_to_make_quick[$i].modifications.trait"
							[insert_tag]
								name="literal"
								variable="temp.trait"
							[/insert_tag]
						[/set_variables]
						[clear_variable]
							name="leaders_to_make_quick[$i].max_moves,leaders_to_make_quick[$i].moves,leaders_to_make_quick[$i].max_hitpoints,leaders_to_make_quick[$i].hitpoints"
						[/clear_variable]
						[unstore_unit]
							variable="leaders_to_make_quick[$i]"
						[/unstore_unit]
					[/else]
				[/if]
				[set_variable]
					add=1
					name="i"
				[/set_variable]
			[/do]
		[/while]
		[clear_variable]
			name="i"
		[/clear_variable]
		[clear_variable]
			name="leaders_to_make_quick,temp"
		[/clear_variable]
	[/event]
	[event]
		name="time over"
		[lua]
			code="
                local _ = wesnoth.textdomain ""wesnoth-multiplayer""
                local function all_sides()
                    local function f(s, i)
                        i = i + 1
                        local t = wesnoth.sides[i]
                        return t and i, t
                    end
                    return f, nil, 0
                end

                local income_factor = 5

                local side_num = -1
                local total_score = -1
                local side_comparison = """"
                for side, team in all_sides() do
                    repeat -- ugly hack to convert 'break' into 'continue'
                    if team.__cfg.hidden then
                        break
                    end
                    local r, g, b = 255, 255, 255
                    if     team.__cfg.color == 1 then r, g, b = 255,   0,   0
                    elseif team.__cfg.color == 2 then r, g, b =   0,   0, 255
                    elseif team.__cfg.color == 3 then r, g, b =   0, 255,   0
                    elseif team.__cfg.color == 4 then r, g, b = 155,  48, 255
                    elseif team.__cfg.color == 5 then r, g, b =   0,   0,   0
                    elseif team.__cfg.color == 6 then r, g, b = 165,  42,  42
                    elseif team.__cfg.color == 7 then r, g, b = 255, 165,   0
                    elseif team.__cfg.color == 8 then r, g, b = 255, 255, 255
                    elseif team.__cfg.color == 9 then r, g, b =   0, 128, 128 end
                    if # wesnoth.get_units( { side = side } ) == 0 then
                        side_comparison = side_comparison ..
                            string.format( tostring( _ ""<span strikethrough='true' foreground='#%02x%02x%02x'>Side %d</span>"") .. ""\n"",
                                r, g, b, side)
                        break
                    end
                    local income = team.total_income * income_factor
                    local units = 0
                    -- Calc the total unit-score here
                    for i, unit in ipairs( wesnoth.get_units { side = side } ) do
                        if not unit.__cfg.canrecruit then
                            wesnoth.fire(""unit_worth"", { id = unit.id })
                            units = units + wesnoth.get_variable(""unit_worth"")
                        end
                    end
                    -- Up to here
                    local total = units + team.gold + income
                    side_comparison = side_comparison ..
                        string.format( tostring( _ ""<span foreground='#%02x%02x%02x'>Side %d</span>:  Income score = %d  Unit score = %d  Gold = %d"") .. ""\n"" .. tostring( _ ""Grand total: <b>%d</b>"") .. ""\n"",
                            r, g, b, side, income, units, team.gold, total)
                    if total > total_score then
                        color = string.format(""#%02x%02x%02x"", r, g, b)
                        side_num = side
                        total_score = total
                    end
                    until true -- end ugly hack
                end
                side_comparison = side_comparison ..
                    string.format( ""\n"" .. tostring( _ ""<span foreground='%s'>Side %d</span> has the advantage.""), color, side_num)
                wesnoth.fire(""message"", { message = side_comparison, speaker = ""narrator"", image = ""wesnoth-icon.png""})
            "
		[/lua]
	[/event]
	[event]
	[/event]
	[event]
		first_time_only=no
		name="die"
		[filter]
			[filter_location]
				[not]
					terrain="Wo,Wog,Wot,Ww,Wwg,Wwt,Ss,Qlf,Ql,Qxe,Qxua,Qxu"
				[/not]
			[/filter_location]
		[/filter]
		[store_locations]
			find_in="corpse_xy"
			variable="corpse_xy"
			[or]
				x="$x1"
				y="$y1"
			[/or]
		[/store_locations]
		[if]
			[variable]
				greater_than_equal_to=1
				name="turn_number"
			[/variable]
			[then]
				[switch]
					variable="unit.type"
					[case]
						value="Cavalryman,Dragoon,Cavalier,EAE Cavalryman,EAE Dragoon,EAE Cavalier"
						[item]
							image="units/humans/cavalryman-die-2.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Horseman,Lancer,Knight,EAE Horseman,EAE Lancer,EAE Knight"
						[if]
							[variable]
								equals="se"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="s"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="sw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/human-loyalists/horseman/horseman-se-die5.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
						[/if]
						[if]
							[variable]
								equals="ne"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="n"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/human-loyalists/horseman/horseman-ne-die5.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
						[/if]
					[/case]
					[case]
						value="Fencer,Master at Arms,Duelist,EAE Fencer,EAE Master at Arms,EAE Duelist"
						[item]
							image="units/human-loyalists/fencer-die5.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Sergeant,Lieutenant,General,Grand Marshal,EAE Sergeant,EAE Lieutenant,EAE General,EAE Grand Marshal"
						[item]
							image="units/human-loyalists/lieutenant-die-9.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Pikeman,EAE Pikeman"
						[item]
							image="units/human-loyalists/pikeman-die-5.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Spearman,EAE Spearman"
						[item]
							image="units/human-loyalists/spearman-death4.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Rogue,EAE Rogue"
						[item]
							image="units/human-outlaws/rogue-die-6.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
						[if]
							[variable]
								equals="female"
								name="unit.gender"
							[/variable]
							[then]
								[item]
									image="units/human-outlaws/rougue female-die-6.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/human-outlaws/rogue-die-7.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Thief,EAE Thief"
						[if]
							[variable]
								equals="female"
								name="unit.gender"
							[/variable]
							[then]
								[item]
									image="units/human-outlaws/thief female-die-7.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/human-outlaws/thief-die-7.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Trapper,Huntsman,EAE Trapper,EAE Huntsman"
						[item]
							image="units/human-outlaws/trapper-die-8.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Dark Adept,Dark Sorcerer,Necromancer,EAE Dark Adept,EAE Dark Sorcerer,EAE Necromancer"
						[item]
							image="units/undead-necromancers/adept-die8.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Fighter,Elvish Archer,Elvish Scout,Elvish Hunter,Elvish Trapper,Elvish Prowler,EAE Elvish Fighter,EAE Elvish Archer,EAE Elvish Scout,EAE Elvish Hunter,EAE Elvish Trapper,EAE Elvish Prowler"
						[item]
							image="units/elves-wood/archer-die4.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Ranger,Elvish Rider,EAE Elvish Ranger,EAE Elvish Rider"
						[item]
							image="units/elves-wood/ranger-die4.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Avenger,Elvish Outrider,Elvish Captain,Elvish Hero,Elvish Champion,Elvish Marshal,EAE Elvish Avenger,EAE Elvish Outrider,EAE Elvish Captain,EAE Elvish Hero,EAE Elvish Champion,EAE Elvish Marshal"
						[item]
							image="units/elves-wood/avenger-die4.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Marksman,EAE Elvish Marksman"
						[item]
							image="units/elves-wood/marksman-die-5.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Sharpshooter,EAE Elvish Sharpshooter"
						[item]
							image="units/elves-wood/sharpshooter-die4.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Elvish Lord,Elvish High Lord,EAE Elvish Lord,EAE Elvish High Lord"
						[item]
							image="items/corpse-elf.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Orcish Assassin,Orcish Slayer,Orcish Nightblade,EAE Orcish Assassin,EAE Orcish Slayer,EAE Orcish Nightblade"
						[item]
							image="units/orcs/assassin-die-10.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Orcish Grunt,Orcish Warrior,Orcish Warlord,EAE Orcish Grunt,EAE Orcish Warrior,EAE Orcish Warlord"
						[item]
							image="units/orcs/grunt-die-6.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Goblin Spearman,Goblin Impaler,Goblin Rouser,EAE Goblin Spearman,EAE Goblin Impaler,EAE Goblin Rouser"
						[item]
							image="units/goblins/impaler-death-9.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Dwarvish Thunderer,Dwarvish Thunderguard,EAE Dwarvish Thunderer,EAE Dwarvish Thunderguard"
						[item]
							image="units/dwarves/thunderer/thunderer-die3.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Saurian Ambusher,EAE Saurian Ambusher"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/ambusher/ambusher-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/ambusher/ambusher-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Saurian Augur,EAE Saurian Augur"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/augur/augur-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/augur/augur-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Saurian Flanker,EAE Saurian Flanker"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/flanker/flanker-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/flanker/flanker-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Saurian Oracle,Saurian Prophet,EAE Saurian Oracle,EAE Saurian Prophet"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/oracle/oracle-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/oracle/oracle-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Saurian Skirmisher,EAE Saurian Skirmisher"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/skirmisher/skirmisher-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/skirmisher/skirmisher-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Saurian Soothsayer,Saurian Bonecaster,EAE Saurian Soothsayer,EAE Saurian Bonecaster"
						[if]
							[variable]
								equals="n"
								name="unit.facing"
							[/variable]
							[or]
								[variable]
									equals="ne"
									name="unit.facing"
								[/variable]
							[/or]
							[or]
								[variable]
									equals="nw"
									name="unit.facing"
								[/variable]
							[/or]
							[then]
								[item]
									image="units/saurians/soothsayer/soothsayer-ne-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/then]
							[else]
								[item]
									image="units/saurians/soothsayer/soothsayer-se-die4.png~TC($unit.side,magenta)"
									x="$x1"
									y="$y1"
								[/item]
							[/else]
						[/if]
					[/case]
					[case]
						value="Woodsman,Bowman,Poacher,Longbowman,Master Bowman,Orcish Archer,Orcish Crossbowman,Orcish Slurbow,EAE Woodsman,EAE Bowman,EAE Poacher,EAE Longbowman,EAE Master Bowman,EAE Orcish Archer,EAE Orcish Crossbowman,EAE Orcish Slurbow"
						[item]
							image="units/undead-skeletal/archer-die-13.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Halberdier,Dwarvish Ulfserker,Dwarvish Berserker,EAE Halberdier,EAE Dwarvish Ulfserker,EAE Dwarvish Berserker"
						[item]
							image="units/undead-skeletal/revenant-dying-7.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Orcish Sovereign,Orcish Ruler,Orcish Leader,EAE Orcish Sovereign,EAE Orcish Ruler,EAE Orcish Leader"
						[item]
							image="units/undead-skeletal/deathblade-dying-7.png~TC($unit.side,magenta)"
							x="$x1"
							y="$y1"
						[/item]
					[/case]
					[case]
						value="Ghost,Shadow,Wraith,Nightgaunt,Spectre,Ghoul,Necrophage,Ghast,EAE Ghost,EAE Shadow,EAE Wraith,EAE Nightgaunt,EAE Spectre,EAE Ghoul,EAE Necrophage,EAE Ghast"
					[/case]
					[else]
						[item]
							image="items/bones.png"
							x="$x1"
							y="$y1"
						[/item]
					[/else]
				[/switch]
			[/then]
		[/if]
	[/event]
	[event]
	[/event]
	[event]
		name="prestart"
		[set_variables]
			name="factions"
			[value]
				[multiplayer_side]
					flag_rgb="magenta"
					id="Drakes"
					image="units/drakes/flare.png"
					leader="Drake Flare,Fire Drake,Drake Arbiter,Drake Thrasher,Drake Warrior,Saurian Oracle,Saurian Soothsayer"
#textdomain wesnoth-multiplayer
					name=_"Drakes"
					random_leader="Drake Flare,Fire Drake,Drake Arbiter,Drake Thrasher,Drake Warrior"
					recruit="Drake Burner,Drake Clasher,Drake Glider,Drake Fighter,Saurian Skirmisher,Saurian Augur"
					terrain_liked="Hh,Ha,Ds,Ss"
					type="random"
				[/multiplayer_side]
				[multiplayer_side]
					flag_rgb="magenta"
					id="Knalgan Alliance"
					image="units/dwarves/steelclad.png"
					leader="Dwarvish Steelclad,Dwarvish Thunderguard,Dwarvish Stalwart,Rogue,Trapper"
					name=_"Knalgan Alliance"
					recruit="Dwarvish Guardsman,Dwarvish Fighter,Dwarvish Ulfserker,Dwarvish Thunderer,Thief,Poacher,Footpad,Gryphon Rider"
					terrain_liked="Hh,Ha,Mm"
					type="random"
					[ai]
						[aspect]
							id="recruitment_pattern"
							[facet]
								value="fighter,fighter,fighter,mixed fighter,archer,scout"
							[/facet]
						[/aspect]
					[/ai]
				[/multiplayer_side]
				[multiplayer_side]
					flag_rgb="magenta"
					id="Loyalists"
					image="units/human-loyalists/lieutenant.png"
					leader="Lieutenant,Swordsman,Pikeman,Javelineer,Shock Trooper,Longbowman,White Mage,Red Mage"
					name=_"Loyalists"
					random_leader="Lieutenant,Swordsman,Pikeman,Javelineer,Longbowman,White Mage,Red Mage"
					recruit="Cavalryman,Horseman,Spearman,Fencer,Heavy Infantryman,Bowman,Mage,Merman Fighter"
					terrain_liked="Gg,Ww,Wo"
					type="random"
					[ai]
						recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
					[/ai]
				[/multiplayer_side]
				[multiplayer_side]
					flag_rgb="magenta"
					id="Northerners"
					image="units/orcs/warrior.png"
					leader="Orcish Warrior,Troll,Troll Rocklobber,Orcish Crossbowman,Orcish Slayer"
					name=_"Northerners"
					recruit="Orcish Grunt,Troll Whelp,Wolf Rider,Orcish Archer,Orcish Assassin,Naga Fighter,Goblin Spearman"
					terrain_liked="Hh,Ha,Mm,Ss"
					type="random"
					[ai]
						recruitment_pattern="fighter,fighter,fighter,mixed fighter,archer,scout"
					[/ai]
				[/multiplayer_side]
				[multiplayer_side]
					flag_rgb="magenta"
					id="Rebels"
					image="units/elves-wood/captain.png"
					leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,White Mage,Red Mage,Elder Wose"
					name=_"Rebels"
					random_leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,White Mage,Red Mage"
					recruit="Elvish Fighter,Elvish Archer,Mage,Elvish Shaman,Elvish Scout,Wose,Merman Hunter"
					terrain_liked="Ff,Fa,Ss,Ww"
					type="random"
					[ai]
						recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
					[/ai]
				[/multiplayer_side]
				[multiplayer_side]
					flag_rgb="magenta"
					id="Undead"
					image="units/undead-necromancers/dark-sorcerer.png"
					leader="Dark Sorcerer,Revenant,Deathblade,Bone Shooter,Necrophage"
					name=_"Undead"
					random_leader="Dark Sorcerer,Revenant,Deathblade,Bone Shooter"
					recruit="Skeleton,Skeleton Archer,Walking Corpse,Ghost,Vampire Bat,Dark Adept,Ghoul"
					terrain_liked="Ss,Hh,Ha,Ww"
					type="random"
					[ai]
						recruitment_pattern="fighter,fighter,archer,fighter,scout,archer"
					[/ai]
				[/multiplayer_side]
			[/value]
		[/set_variables]
		[lua]
			actual="wesnoth.set_variable(1)"
			code="
	local factions = wesnoth.get_variable(""factions"")
	local function detect_faction(side_number)
		local helper = wesnoth.require(""lua/helper.lua"")
		for multiplayer_side in helper.child_range(factions, ""multiplayer_side"") do
			local function recruits_match()
				local count = 0
				for searched in string.gmatch(multiplayer_side.recruit, ""[^%s,][^,]*"") do
					count = count + 1
					local found = false
					for i, actual in ipairs(wesnoth.sides[side_number].recruit) do
						if searched == actual then
							found = true
							break
						end
					end
					if not found then return false end
				end
				return count == #wesnoth.sides[side_number].recruit
			end
			local function leader_matches()
				local actual = wesnoth.get_units({ canrecruit = true, side = side_number })[1]
				for searched in string.gmatch(multiplayer_side.leader, ""[^%s,][^,]*"") do
					if searched == actual.type then return true end
				end
			end
			if recruits_match() and leader_matches() then
				wesnoth.set_variable(""p"" .. tostring(side_number) .. ""_faction"", multiplayer_side.id)
				return
			end
		end
	end
	detect_faction(1)
	detect_faction(2)
"
		[/lua]
		[set_menu_item]
			description="Is it mirror?"
			id="mirroralert"
			[command]
				[fire_event]
					name="mirroralertmessage"
				[/fire_event]
			[/command]
		[/set_menu_item]
	[/event]
	[event]
		name="mirroralertmessage"
		[if]
			[variable]
				equals="$p2_faction"
				name="p1_faction"
			[/variable]
			[then]
				[message]
					message="Mirror! Sorry."
					speaker="narrator"
				[/message]
			[/then]
			[else]
				[message]
					message="Not a mirror. Have fun!"
					speaker="narrator"
				[/message]
			[/else]
		[/if]
		[clear_menu_item]
			id="mirroralert"
		[/clear_menu_item]
	[/event]
	[music]
		ms_after=0
		ms_before=12000
		name="knolls.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="wanderer.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="battle.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="transience.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_king_is_dead.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="knalgan_theme.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_city_falls.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="nunc_dimittis.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="revelation.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="loyalists.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="breaking_the_chains.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="elvish-theme.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="legends_of_the_north.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="traveling_minstrels.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="underground.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="vengeful.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="frantic.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_dangerous_symphony.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="heroes_rite.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="suspense.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="the_deep_path.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="siege_of_laurelmor.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="casualties_of_war.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="silvan_sanctuary.ogg"
	[/music]
	[music]
		append=yes
		ms_after=0
		ms_before=12000
		name="battle-epic.ogg"
	[/music]
	[variables]
		next_scenario="SANDBOX_Den_of_Onis_12"
		random=30
		turn_number=1
		x1=0
		x2=0
		y1=0
		y2=0
		[factions]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Drakes"
				image="units/drakes/flare.png"
				leader="Drake Flare,Fire Drake,Drake Arbiter,Drake Thrasher,Drake Warrior,Saurian Oracle,Saurian Soothsayer"
				name=_"Drakes"
				random_leader="Drake Flare,Fire Drake,Drake Arbiter,Drake Thrasher,Drake Warrior"
				recruit="Drake Burner,Drake Clasher,Drake Glider,Drake Fighter,Saurian Skirmisher,Saurian Augur"
				terrain_liked="Hh,Ha,Ds,Ss"
				type="random"
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Knalgan Alliance"
				image="units/dwarves/steelclad.png"
				leader="Dwarvish Steelclad,Dwarvish Thunderguard,Dwarvish Stalwart,Rogue,Trapper"
				name=_"Knalgan Alliance"
				recruit="Dwarvish Guardsman,Dwarvish Fighter,Dwarvish Ulfserker,Dwarvish Thunderer,Thief,Poacher,Footpad,Gryphon Rider"
				terrain_liked="Hh,Ha,Mm"
				type="random"
				[ai]
					[aspect]
						id="recruitment_pattern"
						[facet]
							value="fighter,fighter,fighter,mixed fighter,archer,scout"
						[/facet]
					[/aspect]
				[/ai]
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Loyalists"
				image="units/human-loyalists/lieutenant.png"
				leader="Lieutenant,Swordsman,Pikeman,Javelineer,Shock Trooper,Longbowman,White Mage,Red Mage"
				name=_"Loyalists"
				random_leader="Lieutenant,Swordsman,Pikeman,Javelineer,Longbowman,White Mage,Red Mage"
				recruit="Cavalryman,Horseman,Spearman,Fencer,Heavy Infantryman,Bowman,Mage,Merman Fighter"
				terrain_liked="Gg,Ww,Wo"
				type="random"
				[ai]
					recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
				[/ai]
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Northerners"
				image="units/orcs/warrior.png"
				leader="Orcish Warrior,Troll,Troll Rocklobber,Orcish Crossbowman,Orcish Slayer"
				name=_"Northerners"
				recruit="Orcish Grunt,Troll Whelp,Wolf Rider,Orcish Archer,Orcish Assassin,Naga Fighter,Goblin Spearman"
				terrain_liked="Hh,Ha,Mm,Ss"
				type="random"
				[ai]
					recruitment_pattern="fighter,fighter,fighter,mixed fighter,archer,scout"
				[/ai]
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Rebels"
				image="units/elves-wood/captain.png"
				leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,White Mage,Red Mage,Elder Wose"
				name=_"Rebels"
				random_leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,White Mage,Red Mage"
				recruit="Elvish Fighter,Elvish Archer,Mage,Elvish Shaman,Elvish Scout,Wose,Merman Hunter"
				terrain_liked="Ff,Fa,Ss,Ww"
				type="random"
				[ai]
					recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
				[/ai]
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Undead"
				image="units/undead-necromancers/dark-sorcerer.png"
				leader="Dark Sorcerer,Revenant,Deathblade,Bone Shooter,Necrophage"
				name=_"Undead"
				random_leader="Dark Sorcerer,Revenant,Deathblade,Bone Shooter"
				recruit="Skeleton,Skeleton Archer,Walking Corpse,Ghost,Vampire Bat,Dark Adept,Ghoul"
				terrain_liked="Ss,Hh,Ha,Ww"
				type="random"
				[ai]
					recruitment_pattern="fighter,fighter,archer,fighter,scout,archer"
				[/ai]
			[/multiplayer_side]
		[/factions]
	[/variables]
[/replay_start]
[carryover_sides]
	difficulty=""
	next_scenario=""
	random_calls=0
	random_seed=0
	[end_level_data]
		bonus=yes
		carryover_add=no
		carryover_percentage=80
		prescenario_save=yes
		replay_save=yes
	[/end_level_data]
	[variables]
	[/variables]
[/carryover_sides]
[carryover_sides_start]
[/carryover_sides_start]
[replay]
	[command]
		sent=yes
		[start]
		[/start]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[upload_log]
		[ai_log]
			ai_id1="ai_default_rca"
			ai_id2="ai_default_rca"
			faction1="ElderofZion2"
			faction2="Machcik04"
			version="1.12.2"
			[turn_info]
				event="TURN_START"
				gold=100
				side=1
				turn=1
				units=1
				units_cost=28
				villages=0
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=100
				side=2
				turn=1
				units=1
				units_cost=40
				villages=1
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=45
				side=1
				turn=2
				units=5
				units_cost=86
				villages=1
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=33
				side=2
				turn=2
				units=5
				units_cost=107
				villages=2
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=9
				side=1
				turn=3
				units=8
				units_cost=131
				villages=4
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=18
				side=2
				turn=3
				units=6
				units_cost=126
				villages=5
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=15
				side=1
				turn=4
				units=9
				units_cost=139
				villages=6
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=30
				side=2
				turn=4
				units=6
				units_cost=126
				villages=6
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=15
				side=1
				turn=5
				units=10
				units_cost=153
				villages=6
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=7
				side=2
				turn=5
				units=8
				units_cost=163
				villages=3
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=21
				side=1
				turn=6
				units=10
				units_cost=152
				villages=9
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold=11
				side=2
				turn=6
				units=7
				units_cost=144
				villages=3
			[/turn_info]
		[/ai_log]
	[/upload_log]
	[command]
		sent=""
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="Machcik04 advances to the next scenario"
		[/speak]
	[/command]
	[command]
		sent=""
		undo=no
		[speak]
			id="ElderofZion2"
			message="gl"
			side=1
			time=1494712660
		[/speak]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="ewder has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Vampire Bat"
			x=15
			y=23
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="l1ew4sUyTNm7B3Dos58r9cxR9SFtH8sDhk5r1P><hZsfgB8oqPv0X.wBsBJcvtSvTrOwBKNrKQTxISZwjtVMmNBnFNvLBsNk<CQR1DkER+nxfDRDBNvGFKvQogGPqynG"
			[/result]
			[result]
				random_calls=13
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Machcik04"
			message="hf"
			side=2
			time=1494712667
		[/speak]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="Br-siergat has logged into the lobby"
		[/speak]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=990759703
		[/random_seed]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Vampire Bat"
			x=15
			y=22
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="l1ew4sUyTNm7B3Dos>8r9cxR9SFtH8sDek5r1P><hZtfgB8oqPv0X.wBsBJcvtSvTrOwBKNrKPTxISZwjtVMmNBnFNvLBsNk<CQR1DkER+nxfDRDBNvGFKvQogGPqynG"
			[/result]
			[result]
				random_calls=13
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=354463783
		[/random_seed]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Dark Adept"
			x=13
			y=21
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="sUKNMWb>Db,4R3>lAAd<8YqjMfljoOAoGM7Hn3YsE5JzEj0U7AEQYSp-,rO0Hx7A>j-a,5lX5.f9yo2c+-dqO8D5z8eF8bb0i+.F8be5uZ<ohV100h>ng<kc76-lbxbc"
			[/result]
			[result]
				random_calls=15
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="testa has logged into the lobby"
		[/speak]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=626238415
		[/random_seed]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Ghoul"
			x=14
			y=21
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="jikfcnPgPs9T6-Z-X<W2j+y51G<Y3Z-efjp4dcwf+kikkGvyGOICDvwwqsBN7BwMvBMwoUwEBscHCBAOzUwO1q-G2FGTArvyVeTMH.JtKcpwJxSOOGnvRzUoNGWtEqqw"
			[/result]
			[result]
				random_calls=12
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=747380834
		[/random_seed]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="15,16,17,18,19"
			y="24,23,23,22,22"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=22
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[recruit]
			type="Spearman"
			x=17
			y=5
			[from]
				x=15
				y=2
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="k1ol,103yj24a5.6.359hA5J30pg0QhQhonfZ26G7x81<>da1m+k0z<.HZld0oDyuSzPqHvzNRnFT.FNDKsFcQOCmz6yQsBvM<oJ<v,LReMEtKAIHnStwPgDM6v7LKKv"
			[/result]
			[result]
				random_calls=14
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1304990282
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="SupremoS has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=yes
		[recruit]
			type="Bowman"
			x=16
			y=4
			[from]
				x=15
				y=2
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="+KMnJjnRbJVatVQrAdNsK8qDBBFyHyJuKrqJ9qFvLHRuGEPtTqSyHBSVQPq9GTMMRBCtmExDdtHzqED9fO9o3EG9TvyFrPQgNyDI7MThE0UVVECupDtBuLOsy8yBMpNB"
			[/result]
			[result]
				random_calls=14
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=248306121
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[recruit]
			type="Fencer"
			x=15
			y=3
			[from]
				x=15
				y=2
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="nS1u6OxI3uD+nvLtOMvVHJyANowOA8tDD9vMEusrKELCmVAIEtFyuzAJ<tGDnyOxINLSM-CsQJLxeYBeLkvt<uEQuIAzXmRMr0Fw6L7vuuLPFKwGOVoBHR>RODKCOMkb"
			[/result]
			[result]
				random_calls=14
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=188488531
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[recruit]
			type="Horseman"
			x=15
			y=4
			[from]
				x=15
				y=2
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="GryMNCByPCm3QMVQFcorLBL-5FDsyFBON5DxvzEkVxUxt.5QeuQxns-b>4igBjnpf5h8.d55u6cRjhi82ajKI5.j0>A,Z+2N1X<8,16r<4uaK6fjjji06ne0X6-3B8ff"
			[/result]
			[result]
				random_calls=14
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1790018498
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="15,14,13,12,11"
			y="2,2,3,3,4"
		[/move]
		[checkup]
			[result]
				final_hex_x=11
				final_hex_y=4
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=""
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="14,13,12,11,10"
			y="21,21,20,20,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=10
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="15,14,13,12,11,10,9,8,7,6"
			y="22,21,22,21,21,21,21,20,20,19"
		[/move]
		[checkup]
			[result]
				final_hex_x=6
				final_hex_y=19
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="13,13,13,14,15,16"
			y="21,20,19,18,18,17"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=17
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="19,18,17,16,15"
			y="22,22,23,23,24"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=24
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Skeleton"
			x=13
			y=21
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum=".pow,+-4yb0tpg-NpOqQNf,Hgv5YF0NNL0ma-7c9pa0swGN<-t<im5jji4ViefhFx5n5Dan1jnk1j<rrFbZhU4oravDh8-j7e5ABEspyQ8.RNo6wTVi0xMkmEroITRIR"
			[/result]
			[result]
				random_calls=12
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=465437524
		[/random_seed]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Dark Adept"
			x=14
			y=21
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="KILRCLT6B,Xr6KHpTa5oWf9XuZUoedvRRdCK4vog<wUaDFwdlt9wPT+N2.dyP7pukA>j-a,5lX5.f9zl2c+-dqO8D5z8eF8bb0i+.F8be5uZ<ohV100h>ng<kc76-lbx"
			[/result]
			[result]
				random_calls=15
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1511150224
		[/random_seed]
	[/command]
	[command]
		sent=""
		[move]
			x="15,16,17,18,19"
			y="23,22,22,21,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=21
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Skeleton Archer"
			x=15
			y=22
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="IPPADxErDQ>z<MBRsIaAAhxb.nFKROTOEDBF,58.As<yEEVJJIq7IMNLX>rFrpQ9vJFGvJw55nRDG6qC5Q1ZLmBJpMr+-W27,amzbf6U<97Iu>eG8W56i9bib6f0z,>4"
			[/result]
			[result]
				random_calls=12
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="BR_Scotta has logged into the lobby"
		[/speak]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=764938706
		[/random_seed]
	[/command]
	[command]
		sent=""
		[move]
			x="19,20,21,22,23"
			y="21,20,20,20,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="15,15,14,14,14,14"
			y="4,5,5,6,7,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="17,18,19,20,21,21,21"
			y="5,5,6,6,7,8,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="16,17,18,19,20"
			y="4,5,5,6,5"
		[/move]
		[checkup]
			[result]
				final_hex_x=20
				final_hex_y=5
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="15,14,13,12,11,10,9,8"
			y="3,3,4,4,5,5,6,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=8
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="11,12,13,14,15"
			y="4,3,3,2,2"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=2
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[recruit]
			type="Heavy Infantryman"
			x=17
			y=5
			[from]
				x=15
				y=2
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum=",pj+IMoPMyq9HJtOsdEVIqsK+KKPuMBuKDNAnPu.pPHRSwNDvKAtQDHpEqGLIJ5HD.SIrrOLrK7wvgJuoHi5NuIfVK5zOKvMqMHvvFw,EqjEltMnOOPpDtBuLOsy8yBM"
			[/result]
			[result]
				random_calls=14
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1253954203
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=""
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="6,6,6,7"
			y="19,18,17,17"
		[/move]
		[checkup]
			[result]
				final_hex_x=7
				final_hex_y=17
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="7,8"
			y="17,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=8
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="8,9"
			y="16,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=9
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="13,13,13,13,13,13"
			y="21,20,19,18,17,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="9,9"
			y="16,15"
		[/move]
		[checkup]
			[result]
				final_hex_x=9
				final_hex_y=15
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="9,9,9"
			y="15,16,17"
		[/move]
		[checkup]
			[result]
				final_hex_x=9
				final_hex_y=17
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="10,11,12,12,12,12"
			y="20,20,19,18,17,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=12
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="23,24,24,25,26,26"
			y="20,19,18,18,17,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="26,27"
			y="16,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=27
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="27,26,25"
			y="16,16,17"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=17
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="15,14,13,13,13,13"
			y="22,21,21,20,19,18"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=18
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="14,13,13,13,13,13"
			y="21,21,20,19,18,17"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=17
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="16,16,15,14,13,12"
			y="17,16,16,15,15,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=12
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Walking Corpse"
			x=15
			y=22
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="b.7UfXahDk+Q.YZD.z0EiLgcch2ain351H.8j1ym66OEuuyquPxNHnQtv6rtRLGFANrRDRGWHrSURswsO2ONu<wLQqLrgewxNP9EnO2YM9PRospvGLHsRUAcxBqqwBIy"
			[/result]
			[result]
				random_calls=12
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1919995913
		[/random_seed]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=no
		[speak]
			id="ElderofZion2"
			message="feels good matchup"
			side=1
			time=1494712900
		[/speak]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="14,14,15,15,15"
			y="8,9,10,11,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=9
				stopped_early=yes
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="14,15,15,15"
			y="9,10,11,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=10
				stopped_early=yes
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="15,15,15"
			y="10,11,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="8,7,6,6,6,5"
			y="6,6,6,7,8,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=5
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="21,21,21,21,22"
			y="9,10,11,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=22
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="Karnaf has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="17,17,17,17,17"
			y="5,6,7,8,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="20,20,21,21,21"
			y="5,6,7,8,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="15,15,15,14,14"
			y="12,11,10,9,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="22,21"
			y="12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=""
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="15,16,17,18,19"
			y="22,21,21,20,21"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=21
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="25,26,27,27,26"
			y="17,16,16,15,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=16
				stopped_early=yes
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="26,27,27,26"
			y="16,16,15,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="26,26"
			y="14,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=26
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="13,13,13,13,13,13"
			y="18,17,16,15,14,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="9,9,9,9"
			y="17,16,15,14"
		[/move]
		[checkup]
			[result]
				final_hex_x=9
				final_hex_y=14
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="9,9"
			y="14,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=9
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="9,9,9"
			y="13,12,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=9
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="9,9"
			y="11,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=9
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="12,12,13,14,15,15"
			y="16,15,15,14,14,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="13,14,14,15,16,16"
			y="16,15,14,14,13,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="13,13,13,14,14"
			y="17,16,15,14,13"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=13
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="12,12,12,13"
			y="14,13,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="14,13,12"
			y="13,13,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=12
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="9,9"
			y="10,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=9
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="9,9"
			y="9,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=9
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Skeleton Archer"
			x=13
			y=21
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="IPPADxErDQ>z<MBRsIaAAhxb.nFKROTOEDBF,58.As<yEEVJJIq7IMNLX>rFrpQ9vJFGvJw55nRDG6qC5Q1ZLmBJpMr+-W27,amzbf6U<97Iu>eG8W56i9bib6f0z,>4"
			[/result]
			[result]
				random_calls=12
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=170978403
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="Morfel_Br has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		[move]
			x="13,14"
			y="12,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[recruit]
			type="Cavalryman"
			x=17
			y=5
			[from]
				x=15
				y=2
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="mClAw20cOWiJao158.tl8c33a6k+al75,mdhc+,iag9h-e9ie.b-4-<,JWp-+ik<g6Rc-6Y<976icrq.ol.kU0-m.y-gcipldJW9wfBhocccd71gp7014,q>ooo4ba8i"
			[/result]
			[result]
				random_calls=14
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1145278623
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="Blutrausch has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=yes
		[recruit]
			type="Mage"
			x=16
			y=4
			[from]
				x=15
				y=2
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="ldl0N<-,N<5Tbo81Kr4jn0s1a1ql79,2A+0eHk->j6Zb<9nEbqob,h2<DBmzDMMBGssFHA.DGDmwvsMGHRGhytKwKy3bp8q,LReMEtKAIHnStwPgDM6v7LKKvNFuMyqp"
			[/result]
			[result]
				random_calls=15
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=184802568
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="15,15,15,15,15"
			y="2,3,4,5,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="5,4,3,3"
			y="9,9,10,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=3
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="3,3,4,5"
			y="11,10,9,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=5
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="14,15,16"
			y="8,8,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="17,17,17"
			y="9,8,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="21,20,19,19"
			y="9,8,8,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=19
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="21,21,21,21"
			y="12,11,10,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=21
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="16,16"
			y="7,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=""
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="26,26,25,24,24,24,24,24,24"
			y="13,12,12,11,10,9,8,7,6"
		[/move]
		[checkup]
			[result]
				final_hex_x=24
				final_hex_y=6
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="15,15,15,15,14,14"
			y="13,12,11,10,9,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="16,16,16,16"
			y="12,11,10,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="13,14,15,16,16"
			y="13,12,12,11,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="16,16"
			y="10,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="14,14"
			y="11,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="12,13,14"
			y="12,12,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="9,9,9,9,9,10,10,11"
			y="10,9,8,7,6,5,4,4"
		[/move]
		[checkup]
			[result]
				final_hex_x=11
				final_hex_y=4
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="13,13,13,13,13,13"
			y="21,20,19,18,17,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Skeleton Archer"
			x=13
			y=21
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="IPPADxErDQ>z<MBRsIaAAhxb.nFKROTOEDBF,58.As<yEEVJJIq7IMNLX>rFrpQ9vJFGvJw55nRDG6qC5Q1ZLmBJpMr+-W27,amzbf6U<97Iu>eG8W56i9bib6f0z,>4"
			[/result]
			[result]
				random_calls=12
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=622334671
		[/random_seed]
	[/command]
	[command]
		sent=""
		[move]
			x="19,20,21,22,23"
			y="21,20,20,19,20"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=20
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="Sp4rkle201 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="15,15,16,17,17"
			y="6,7,7,8,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=2
			attacker_type="Red Mage"
			defender_lvl=1
			defender_type="Skeleton"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=1
			[source]
				x=17
				y=9
			[/source]
			[destination]
				x=16
				y=9
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=799246454
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="16,16,16,16,16"
			y="4,5,6,7,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Mage"
			defender_lvl=1
			defender_type="Skeleton"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=1
			[source]
				x=16
				y=8
			[/source]
			[destination]
				x=16
				y=9
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=6
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=227488990
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="17,17,17,17,17"
			y="7,8,9,10,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Heavy Infantryman"
			defender_lvl=1
			defender_type="Skeleton Archer"
			defender_weapon=0
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=17
				y=11
			[/source]
			[destination]
				x=16
				y=11
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=10
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=2065294229
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="16,16,16,16,15"
			y="6,7,8,9,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=9
				stopped_early=yes
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="16,15"
			y="9,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Horseman"
			defender_lvl=1
			defender_type="Dark Adept"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=15
				y=10
			[/source]
			[destination]
				x=14
				y=10
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=14
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=625035478
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="17,16,15,14,13,12"
			y="5,4,4,3,4,4"
		[/move]
		[checkup]
			[result]
				final_hex_x=12
				final_hex_y=4
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Cavalryman"
			defender_lvl=0
			defender_type="Vampire Bat"
			defender_weapon=0
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=12
				y=4
			[/source]
			[destination]
				x=11
				y=4
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1325018432
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="5,6,6,6,7,8,9,10"
			y="9,8,7,6,6,5,5,4"
		[/move]
		[checkup]
			[result]
				final_hex_x=10
				final_hex_y=4
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Fencer"
			defender_lvl=0
			defender_type="Vampire Bat"
			defender_weapon=0
			tod="first_watch"
			turn=5
			weapon=0
			[source]
				x=10
				y=4
			[/source]
			[destination]
				x=11
				y=4
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=6
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=6
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=694386445
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="19,20,21,22,23"
			y="7,6,7,6,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=23
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Bowman"
			defender_lvl=0
			defender_type="Vampire Bat"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=1
			[source]
				x=23
				y=7
			[/source]
			[destination]
				x=24
				y=6
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1539016173
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="ezysquire has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="Dreadlock has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="21,20,19,18,17,16,15"
			y="9,8,8,7,7,7,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Spearman"
			defender_lvl=1
			defender_type="Ghoul"
			defender_weapon=-1
			tod="first_watch"
			turn=5
			weapon=1
			[source]
				x=15
				y=8
			[/source]
			[destination]
				x=14
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=1
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=2094133489
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
		[checkup2]
			[result]
				random_calls=0
			[/result]
		[/checkup2]
	[/command]
	[command]
		sent=""
		[init_side]
			side_number=1
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="14,15,16,17,18,18"
			y="11,12,12,13,12,11"
		[/move]
		[checkup]
			[result]
				final_hex_x=18
				final_hex_y=11
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[attack]
			attacker_lvl=1
			attacker_type="Dark Adept"
			defender_lvl=1
			defender_type="Heavy Infantryman"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=18
				y=11
			[/source]
			[destination]
				x=17
				y=11
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=14
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=620639704
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="Dunno has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		[move]
			x="14,14,15,16,17"
			y="10,11,12,12,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=17
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[attack]
			attacker_lvl=1
			attacker_type="Dark Adept"
			defender_lvl=1
			defender_type="Heavy Infantryman"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=17
				y=12
			[/source]
			[destination]
				x=17
				y=11
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=14
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=14
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				random_calls=2
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1298726907
		[/random_seed]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="16,16"
			y="11,10"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=10
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="13,13,14,15,15,15"
			y="16,15,14,14,13,12"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=12
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[attack]
			attacker_lvl=1
			attacker_type="Skeleton Archer"
			defender_lvl=1
			defender_type="Horseman"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=1
			[source]
				x=16
				y=10
			[/source]
			[destination]
				x=15
				y=10
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=9
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=9
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=9
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=692727077
		[/random_seed]
	[/command]
	[command]
		sent=""
		[attack]
			attacker_lvl=1
			attacker_type="Ghoul"
			defender_lvl=1
			defender_type="Spearman"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=14
				y=8
			[/source]
			[destination]
				x=15
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=6
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=100566258
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="akkksze has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		[attack]
			attacker_lvl=0
			attacker_type="Vampire Bat"
			defender_lvl=1
			defender_type="Bowman"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=24
				y=6
			[/source]
			[destination]
				x=23
				y=7
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1101728431
		[/random_seed]
	[/command]
	[command]
		sent=""
		[move]
			x="13,13,13,13,13,13"
			y="21,20,19,18,17,16"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=16
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[move]
			x="23,24,24,24,25"
			y="20,19,18,17,17"
		[/move]
		[checkup]
			[result]
				final_hex_x=25
				final_hex_y=17
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=""
		[recruit]
			type="Skeleton Archer"
			x=13
			y=21
			[from]
				x=15
				y=24
			[/from]
		[/recruit]
		[checkup]
			[result]
				checksum="IPPADxErDQ>z<MBRsIaAAhxb.nFKROTOEDBF,58.As<yEEVJJIq7IMNLX>rFrpQ9vJFGvJw55nRDG6qC5Q1ZLmBJpMr+-W27,amzbf6U<97Iu>eG8W56i9bib6f0z,>4"
			[/result]
			[result]
				random_calls=12
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="zonk has logged into the lobby"
		[/speak]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1814760027
		[/random_seed]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
		[checkup1]
			[result]
				random_calls=0
			[/result]
		[/checkup1]
	[/command]
	[command]
		sent=yes
		[init_side]
			side_number=2
		[/init_side]
		[checkup]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="17,17,16,15,14"
			y="9,8,7,7,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=14
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=2
			attacker_type="Red Mage"
			defender_lvl=1
			defender_type="Ghoul"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=1
			[source]
				x=14
				y=7
			[/source]
			[destination]
				x=14
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=7
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=969931635
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="15,16"
			y="8,7"
		[/move]
		[checkup]
			[result]
				final_hex_x=16
				final_hex_y=7
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="16,15"
			y="8,8"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=8
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Mage"
			defender_lvl=1
			defender_type="Ghoul"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=1
			[source]
				x=15
				y=8
			[/source]
			[destination]
				x=14
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=70
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=70
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=266434963
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[move]
			skip_sighted="only_ally"
			x="15,14,13,13"
			y="10,10,10,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=13
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Horseman"
			defender_lvl=1
			defender_type="Ghoul"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=13
				y=9
			[/source]
			[destination]
				x=14
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=8
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=8
				hits=yes
			[/result]
			[result]
				dies=yes
			[/result]
			[result]
				random_calls=4
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1229880444
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=""
		[move]
			skip_sighted="only_ally"
			x="16,16,15"
			y="7,8,9"
		[/move]
		[checkup]
			[result]
				final_hex_x=15
				final_hex_y=9
				stopped_early=no
			[/result]
			[result]
				random_calls=0
			[/result]
		[/checkup]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Spearman"
			defender_lvl=1
			defender_type="Ghoul"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=15
				y=9
			[/source]
			[destination]
				x=14
				y=8
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=6
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=1802329549
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Cavalryman"
			defender_lvl=0
			defender_type="Vampire Bat"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=12
				y=4
			[/source]
			[destination]
				x=11
				y=4
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=60
				damage=4
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=5
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=2135560350
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Fencer"
			defender_lvl=0
			defender_type="Vampire Bat"
			defender_weapon=0
			tod="second_watch"
			turn=6
			weapon=0
			[source]
				x=10
				y=4
			[/source]
			[destination]
				x=11
				y=4
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=40
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=3
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=6
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=999969538
		[/random_seed]
	[/command]
	[command]
		sent=yes
		[attack]
			attacker_lvl=1
			attacker_type="Bowman"
			defender_lvl=0
			defender_type="Vampire Bat"
			defender_weapon=-1
			tod="second_watch"
			turn=6
			weapon=1
			[source]
				x=23
				y=7
			[/source]
			[destination]
				x=24
				y=6
			[/destination]
		[/attack]
		[checkup]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=5
				hits=yes
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				chance=50
				damage=0
				hits=no
			[/result]
			[result]
				dies=no
			[/result]
			[result]
				random_calls=3
			[/result]
		[/checkup]
	[/command]
	[command]
		dependent=yes
		from_side="server"
		sent=yes
		[random_seed]
			new_seed=2034208359
		[/random_seed]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Machcik04"
			message="gg so sad"
			side=2
			time=1494713505
		[/speak]
	[/command]
	[command]
		sent=""
		undo=no
		[speak]
			id="ElderofZion2"
			message="gg"
			side=1
			time=1494713503
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Machcik04"
			message="just "
			side=2
			time=1494713509
		[/speak]
	[/command]
	[command]
		sent=""
		undo=no
		[speak]
			id="ElderofZion2"
			message="sry for luck"
			side=1
			time=1494713504
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Machcik04"
			message="just aty at night"
			side=2
			time=1494713522
		[/speak]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="joueur has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Machcik04"
			message="done"
			side=2
			time=1494713523
		[/speak]
	[/command]
	[command]
		sent=""
		undo=no
		[speak]
			id="ElderofZion2"
			message="well you gave me 2 villages so i was like yeah i have to attack"
			side=1
			time=1494713533
		[/speak]
	[/command]
	[command]
		sent=""
		undo=no
		[speak]
			id="ElderofZion2"
			message="for bats"
			side=1
			time=1494713542
		[/speak]
	[/command]
	[command]
		sent=""
		undo=no
		[speak]
			id="ElderofZion2"
			message="so actually 3"
			side=1
			time=1494713544
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Machcik04"
			message=true
			side=2
			time=1494713552
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Machcik04"
			message="but i wanan take free gold and xp"
			side=2
			time=1494713562
		[/speak]
	[/command]
	[command]
		sent=""
		undo=no
		[speak]
			id="ElderofZion2"
			message="i can rmk if u want"
			side=1
			time=1494713563
		[/speak]
	[/command]
	[command]
		sent=yes
		undo=no
		[speak]
			id="Machcik04"
			message="sure"
			side=2
			time=1494713573
		[/speak]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="Machcik04 has left the game."
		[/speak]
	[/command]
	[command]
		sent=yes
		[speak]
			id="server"
			message="ElderofZion2 takes control of side 2."
		[/speak]
	[/command]
[/replay]

