campaign_type="multiplayer"
difficulty="NORMAL"
label="2p - The Walls of Pyrennis Turn 14"
mp_game_title="Ladder Qsto vs tom030890"
random_seed="769693490"
version="1.8.5"
[replay]

[command]

		sent=""
		[move]
			x="28,28,27,26,25,24,23,22,21,20"
			y="4,3,3,2,2,1,1,1,1,1"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="0"
attacker_type="Vampire Bat"
defender_lvl="1"
defender_type="Bowman"
defender_weapon="0"
seed="1625406286"
tod="first_watch"
turn="5"
weapon="0"
[source]

				x="20"
				y="1"
			[/source]
[destination]

				x="19"
				y="2"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="7,7,7"
			y="17,16,15"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="5,5,5,5,5,5,5,6"
			y="9,10,11,12,13,14,15,15"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="25,26,27"
			y="24,23,24"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="26,25,25,25,24"
			y="18,18,17,16,15"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="7,6,5"
			y="15,15,15"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[recruit]
			value="4"
			x="17"
			y="17"
		[/recruit]
		[random]
			value="1584"
		[/random]
		[random]
			value="30046"
		[/random]
		[random]
			value="21494"
		[/random]
		[random]
			value="12470"
		[/random]
		[random]
			value="20726"
		[/random]
		[random]
			value="10998"
		[/random]
		[random]
			value="3378"
		[/random]
		[random]
			value="2187"
		[/random]
		[random]
			value="29092"
		[/random]
		[random]
			value="3819"
		[/random]
		[random]
			value="21431"
		[/random]
		[random]
			value="28889"
			[results]
				checksum="LC73rfHCI1>vj-Q.pNMLJq,IoxsBqqswLMscutVmvVBwBJwHwqMQVLMHvyApGR5>4HuT+C5PyWV0wlSMStxHKkAB>70IzEaRtXBKysncPrQD6crPSy0nsORCOQH8a8sv"
			[/results]
		[/random]
	[/command]
	[command]
		sent=""
		[move]
			x="20,20,21,22,23,24,25,26,27,28"
			y="15,14,14,13,13,12,12,11,12,11"
		[/move]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="1"
			value="223000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Bowman"
defender_lvl="0"
defender_type="Vampire Bat"
defender_weapon="-1"
seed="1166142257"
tod="first_watch"
turn="5"
weapon="1"
[source]

				x="19"
				y="2"
			[/source]
[destination]

				x="20"
				y="1"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="5,5,5,5,5"
			y="3,4,5,6,7"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="5,6,7"
			y="7,7,8"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="15,15,14,14"
			y="10,9,8,7"
		[/move]
	[/command]

	[command]
		sent=""
		[recruit]
			value="3"
			x="15"
			y="10"
		[/recruit]
		[random]
			value="30938"
		[/random]
		[random]
			value="3222"
		[/random]
		[random]
			value="1414"
		[/random]
		[random]
			value="5532"
		[/random]
		[random]
			value="5898"
		[/random]
		[random]
			value="24725"
		[/random]
		[random]
			value="26"
		[/random]
		[random]
			value="27529"
		[/random]
		[random]
			value="13926"
		[/random]
		[random]
			value="8544"
		[/random]
		[random]
			value="18787"
		[/random]
		[random]
			value="25563"
		[/random]
		[random]
			value="17844"
		[/random]
		[random]
			value="8588"
			[results]
				checksum="KL3d1ef5Em6ckgd+thd,2kNl5b52b<830n6+e<,935b991jpb4a89dgltQEOHuGBJLFOqAtqtLuJqoFPQPOVN.LKLuLHvIyIw<NEDqImHsCNVOGRx<Nts2GEKyFAtoaw"
			[/results]
		[/random]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

	[command]
		sent=""
		[move]
			x="28,28,28,28,28,27,26,26,25"
			y="11,10,9,8,7,7,6,5,5"
		[/move]
	[/command]

[command]
sent=""
[attack]
attacker_lvl="0"
attacker_type="Vampire Bat"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="0"
seed="568842787"
tod="second_watch"
turn="6"
weapon="0"
[source]

				x="25"
				y="5"
			[/source]
[destination]

				x="24"
				y="5"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="20,21,21,22,23,24"
			y="1,2,3,3,4,4"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="0"
attacker_type="Vampire Bat"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="0"
seed="1816828237"
tod="second_watch"
turn="6"
weapon="0"
[source]

				x="24"
				y="4"
			[/source]
[destination]

				x="24"
				y="5"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		undo=""
		[move]
			x="24,23,22,21,20"
			y="15,16,16,16,15"
		[/move]
	[/command]
[command]

		sent=""
		[move]
			x="6,7,8,8,8,9,10"
			y="15,15,14,13,12,12,11"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Ghost"
defender_lvl="1"
defender_type="Mage"
defender_weapon="0"
seed="209071950"
tod="second_watch"
turn="6"
weapon="0"
[source]

				x="10"
				y="11"
			[/source]
[destination]

				x="11"
				y="11"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="5,5,6"
			y="15,14,13"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="17,16,15,14,13,13"
			y="17,17,17,16,16,15"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="14,14,13,13,14"
			y="17,16,16,15,14"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[recruit]
			value="4"
			x="17"
			y="17"
		[/recruit]
		[random]
			value="7472"
		[/random]
		[random]
			value="31791"
		[/random]
		[random]
			value="21369"
		[/random]
		[random]
			value="17380"
		[/random]
		[random]
			value="588"
		[/random]
		[random]
			value="12288"
		[/random]
		[random]
			value="15508"
		[/random]
		[random]
			value="20916"
		[/random]
		[random]
			value="11380"
		[/random]
		[random]
			value="23682"
		[/random]
		[random]
			value="28862"
		[/random]
		[random]
			value="29812"
			[results]
				checksum="LC73rfHCI1>vj-Q.pNMLJq,IoxsBqqswLMscutVmvVBwBJwHwqMQVLMHvyApGR5>4HuT+C5PyWV0wlSMStxHKkAB>70IzEaRtXBKysncPrQD6crPSy0nsORCOQH8a8sv"
			[/results]
		[/random]
	[/command]
	[command]
		sent=""
		[recruit]
			value="4"
			x="16"
			y="17"
		[/recruit]
		[random]
			value="19934"
		[/random]
		[random]
			value="21654"
		[/random]
		[random]
			value="23870"
		[/random]
		[random]
			value="30451"
		[/random]
		[random]
			value="22545"
		[/random]
		[random]
			value="22018"
		[/random]
		[random]
			value="16922"
		[/random]
		[random]
			value="19503"
		[/random]
		[random]
			value="1718"
		[/random]
		[random]
			value="12577"
		[/random]
		[random]
			value="32343"
		[/random]
		[random]
			value="19659"
			[results]
				checksum="LC73rfHCI1>vj-Q.pNMLJq,IoxsBqqswLMscutVmvVBwBJwHwqMQVLMHvyApGR5>4HuT+C5PyWV0wlSMStxHKkAB>70IzEaRtXBKysncPrQD6crPSy0nsORCOQH8a8sv"
			[/results]
		[/random]
	[/command]

[command]
sent=""
undo="no"
[speak]
id="Qsto"
message="fail"
side="1"
[/speak]
[/command]

[command]
sent=""
undo="no"
[speak]
id="tom030890"
message="fail?"
side="2"
[/speak]
[/command]

[command]
sent=""
undo="no"
[speak]
id="Qsto"
message="recruit that what i didn't wanted but ok ;p"
side="1"
[/speak]
[/command]

	[command]
		sent=""
		[countdown_update]
			team="1"
			value="259000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

[command]

		sent=""
		[move]
			x="19,20,21,22,23"
			y="2,2,3,3,4"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Bowman"
defender_lvl="0"
defender_type="Vampire Bat"
defender_weapon="-1"
seed="1505703485"
tod="second_watch"
turn="6"
weapon="1"
[source]

				x="23"
				y="4"
			[/source]
[destination]

				x="24"
				y="4"
			[/destination]
[/attack]
[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Spearman"
defender_lvl="0"
defender_type="Vampire Bat"
defender_weapon="-1"
seed="987583748"
tod="second_watch"
turn="6"
weapon="1"
[source]

				x="24"
				y="5"
			[/source]
[destination]

				x="25"
				y="5"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="15,14,13,12,12"
			y="10,10,10,10,11"
		[/move]
	[/command]
	[command]
		sent=""
		[recruit]
			value="3"
			x="15"
			y="10"
		[/recruit]
		[random]
			value="29265"
		[/random]
		[random]
			value="21220"
		[/random]
		[random]
			value="16988"
		[/random]
		[random]
			value="30676"
		[/random]
		[random]
			value="5820"
		[/random]
		[random]
			value="11620"
		[/random]
		[random]
			value="20777"
		[/random]
		[random]
			value="26236"
		[/random]
		[random]
			value="28405"
		[/random]
		[random]
			value="9241"
		[/random]
		[random]
			value="15814"
		[/random]
		[random]
			value="3209"
		[/random]
		[random]
			value="31307"
		[/random]
		[random]
			value="13749"
			[results]
				checksum="KL3d1ee5Em6ckgd+thd,2kNl5b52b<830n6+e<,935b991jpb4a89dgltQEOHuGuJLFOqAtqtLBFqoFPQPOVN.LKLuLHvIyIw<NEDqImHsCNVIGRx<Nts2GEKyFvpoaw"
			[/results]
		[/random]
	[/command]

	[command]
		sent=""
		[move]
			x="20,19,19"
			y="8,9,10"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="19,18"
			y="10,10"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="14,15,16,17"
			y="7,7,7,8"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="17,17"
			y="8,9"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="17,18,19,20"
			y="9,8,9,8"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="15,14,13,12"
			y="9,9,10,10"
		[/move]
	[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Mage"
defender_lvl="1"
defender_type="Ghost"
defender_weapon="1"
seed="2046115463"
tod="second_watch"
turn="6"
weapon="1"
[source]

				x="11"
				y="11"
			[/source]
[destination]

				x="10"
				y="11"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="7,8,9,10,11,12,13,13"
			y="8,7,8,7,8,8,9,10"
		[/move]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

	[command]
		sent=""
		[move]
			x="6,7"
			y="13,13"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="14,13,13,14,14"
			y="14,15,16,16,17"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="13,13,12,11"
			y="15,16,16,16"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="7,7,7"
			y="13,14,15"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="16,15,14,13"
			y="17,17,16,17"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="17,18,19,20,21"
			y="17,16,17,16,16"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="25,26,27,28,28,28,28,28,28,29"
			y="5,5,6,6,7,8,9,10,11,12"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="27,27,27,27,27,27"
			y="24,23,22,21,20,19"
		[/move]
	[/command]

	[command]
		sent=""
		[recruit]
			value="2"
			x="17"
			y="17"
		[/recruit]
		[random]
			value="15417"
		[/random]
		[random]
			value="16206"
		[/random]
		[random]
			value="25584"
		[/random]
		[random]
			value="16752"
		[/random]
		[random]
			value="3107"
		[/random]
		[random]
			value="21517"
		[/random]
		[random]
			value="20369"
		[/random]
		[random]
			value="17865"
		[/random]
		[random]
			value="3895"
		[/random]
		[random]
			value="5367"
		[/random]
		[random]
			value="28"
		[/random]
		[random]
			value="20572"
			[results]
				checksum="6d-9cj.>GIlg<ffbbd<o9j>40h8pe.8YfXXgh6ii>-f<j<1.-7a2,30cif5gaZud.,ebke12>jede,Pb-Y9iA2kk>jEmgjdXPcCDKyVPRGTxHquE2PPzTrNBFHRNTIsG"
			[/results]
		[/random]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="1"
			value="302000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

	[command]
		sent=""
		[move]
			x="24,24,24,24"
			y="5,6,7,8"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="23,24,24"
			y="4,4,5"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="12,12,12,12,13"
			y="11,12,13,14,15"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="15,15,15,15,15"
			y="10,11,12,13,14"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="18,17,16,16"
			y="10,11,11,12"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="12,13,14,15"
			y="10,10,9,9"
		[/move]
	[/command]
	[command]
		sent=""
		[recruit]
			value="5"
			x="15"
			y="10"
		[/recruit]
		[random]
			value="15085"
		[/random]
		[random]
			value="21169"
		[/random]
		[random]
			value="19133"
		[/random]
		[random]
			value="14414"
		[/random]
		[random]
			value="20946"
		[/random]
		[random]
			value="31677"
		[/random]
		[random]
			value="10813"
		[/random]
		[random]
			value="25163"
		[/random]
		[random]
			value="13864"
		[/random]
		[random]
			value="17514"
		[/random]
		[random]
			value="21572"
		[/random]
		[random]
			value="14337"
		[/random]
		[random]
			value="21764"
		[/random]
		[random]
			value="32518"
		[/random]
		[random]
			value="17573"
			[results]
				checksum="03lf54GCJ<huY,8mp2Hf8LbXF<o9j>40h8pb.-15<Wlh+WpZ+4jbbai70n8dk<jZl-dhebbc1p-c7cac2Zk,jWfU43mZS+cll-93NQc1I--QSwLDEHAMRzxx4NVVMyQO"
			[/results]
		[/random]
	[/command]

[command]

		sent=""
		[move]
			x="20,21,22,23,24,25,26,27,28"
			y="8,9,9,10,10,11,11,12,12"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Cavalryman"
defender_lvl="0"
defender_type="Vampire Bat"
defender_weapon="0"
seed="1078756659"
tod="dawn"
turn="7"
weapon="0"
[source]

				x="28"
				y="12"
			[/source]
[destination]

				x="29"
				y="12"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="6,7,8,9,9,9,10"
			y="8,9,9,10,11,12,12"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="13,12,12,12,12,13"
			y="10,10,11,12,13,14"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="11,12,12,12,12"
			y="11,11,12,13,14"
		[/move]
	[/command]
	[command]
		sent=""
		[countdown_update]
			team="2"
			value="326000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

	[command]
		sent=""
		[move]
			x="29,29,29,29,29,29,29,29,29,29"
			y="12,11,10,9,8,7,6,5,4,3"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="27,26"
			y="19,18"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="7,6"
			y="15,15"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="13,13,12"
			y="17,18,18"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="14,15,16,17,18"
			y="17,18,18,19,19"
		[/move]
	[/command]

[command]

		sent=""
		[move]
			x="11,12,13"
			y="16,16,16"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton Archer"
defender_lvl="1"
defender_type="Heavy Infantryman"
defender_weapon="-1"
seed="2141043425"
tod="morning"
turn="8"
weapon="1"
[source]

				x="13"
				y="16"
			[/source]
[destination]

				x="13"
				y="15"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="17,17,17"
			y="17,16,15"
		[/move]
	[/command]

[command]

		sent=""
		[move]
			x="17,16"
			y="15,14"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Ghoul"
defender_lvl="1"
defender_type="Heavy Infantryman"
defender_weapon="0"
seed="2019277544"
tod="morning"
turn="8"
weapon="0"
[source]

				x="16"
				y="14"
			[/source]
[destination]

				x="15"
				y="14"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		undo=""
		[recruit]
			value="3"
			x="17"
			y="17"
		[/recruit]
		[random]
			value="22333"
		[/random]
		[random]
			value="26"
		[/random]
		[random]
			value="11016"
		[/random]
		[random]
			value="19078"
		[/random]
		[random]
			value="16882"
		[/random]
		[random]
			value="12964"
		[/random]
		[random]
			value="8831"
		[/random]
		[random]
			value="13703"
		[/random]
		[random]
			value="20617"
		[/random]
		[random]
			value="19336"
		[/random]
		[random]
			value="21095"
		[/random]
		[random]
			value="27584"
			[results]
				checksum="FGz-f.zGr8wa+sllwFCviq607ah,ifyi6>2-442<he2O037817->-j<l<4ea7hel18-bl5FQJkc-C2Jlbv3nkR>8hkhlfyb9Dqq0ZfVp6Fpg,29Od5aZoO5d8,uF2cbY"
			[/results]
		[/random]
	[/command]
	[command]
		sent=""
		[countdown_update]
			team="1"
			value="296000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

[command]

		sent=""
		undo=""
		[move]
			x="15,14,14,13,12,11"
			y="14,13,12,12,11,11"
		[/move]
	[/command]
[command]

		sent=""
		undo=""
		[move]
			x="15,15,15,15,15"
			y="9,10,11,12,13"
		[/move]
	[/command]
[command]

		sent=""
		[move]
			x="12,13,14,15"
			y="14,14,14,14"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Mage"
defender_lvl="1"
defender_type="Ghoul"
defender_weapon="-1"
seed="1607171332"
tod="morning"
turn="8"
weapon="1"
[source]

				x="15"
				y="14"
			[/source]
[destination]

				x="16"
				y="14"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		undo=""
		[move]
			x="15,14,14"
			y="13,13,14"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Heavy Infantryman"
defender_lvl="1"
defender_type="Skeleton Archer"
defender_weapon="0"
seed="1832670042"
tod="morning"
turn="8"
weapon="0"
[source]

				x="13"
				y="15"
			[/source]
[destination]

				x="13"
				y="16"
			[/destination]
[/attack]
[/command]

[command]
sent=""
undo="no"
[speak]
id="Qsto"
message="as you can see ,im horrible player ,especialy as an undeads"
side="1"
[/speak]
[/command]

[command]

		sent=""
		[move]
			x="16,16,16,16,17"
			y="12,13,14,15,16"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Heavy Infantryman"
defender_lvl="1"
defender_type="Skeleton"
defender_weapon="0"
seed="549460142"
tod="morning"
turn="8"
weapon="0"
[source]

				x="17"
				y="16"
			[/source]
[destination]

				x="17"
				y="17"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="13,12,11,10,9,8,7"
			y="14,13,14,13,14,14,15"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Cavalryman"
defender_lvl="1"
defender_type="Skeleton"
defender_weapon="0"
seed="320449334"
tod="morning"
turn="8"
weapon="0"
[source]

				x="7"
				y="15"
			[/source]
[destination]

				x="6"
				y="15"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="10,10,9,8,7"
			y="12,13,14,13,14"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="24,24,23,22,21"
			y="5,4,4,3,4"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="24,25,25,25,25"
			y="8,9,10,11,12"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="28,27,26,25,24,23,22,21,20"
			y="12,12,11,11,10,10,9,9,8"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="15,15,15,15,14,13"
			y="10,11,12,13,13,14"
		[/move]
	[/command]
	[command]
		sent=""
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

[command]

		sent=""
		[move]
			x="18,18,18,18"
			y="19,18,17,16"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Dark Adept"
defender_lvl="1"
defender_type="Heavy Infantryman"
defender_weapon="-1"
seed="600889738"
tod="afternoon"
turn="9"
weapon="0"
[source]

				x="18"
				y="16"
			[/source]
[destination]

				x="17"
				y="16"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="17,16,15,15,16"
			y="17,17,17,16,15"
		[/move]
	[/command]

[command]

		sent=""
		[move]
			x="17,17"
			y="18,17"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="2"
attacker_type="Bone Shooter"
defender_lvl="1"
defender_type="Heavy Infantryman"
defender_weapon="-1"
seed="2033284991"
tod="afternoon"
turn="9"
weapon="1"
[source]

				x="17"
				y="17"
			[/source]
[destination]

				x="17"
				y="16"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="20,19,18,17,16"
			y="15,15,14,14,14"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton"
defender_lvl="1"
defender_type="Mage"
defender_weapon="0"
seed="339639038"
tod="afternoon"
turn="9"
weapon="0"
[source]

				x="16"
				y="14"
			[/source]
[destination]

				x="15"
				y="14"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="21,20,19,18"
			y="16,15,16,15"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton Archer"
defender_lvl="1"
defender_type="Heavy Infantryman"
defender_weapon="-1"
seed="98287805"
tod="afternoon"
turn="9"
weapon="1"
[source]

				x="18"
				y="15"
			[/source]
[destination]

				x="17"
				y="16"
			[/destination]
[/attack]
[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton"
defender_lvl="1"
defender_type="Heavy Infantryman"
defender_weapon="0"
seed="1664611614"
tod="afternoon"
turn="9"
weapon="0"
[source]

				x="16"
				y="15"
			[/source]
[destination]

				x="17"
				y="16"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="12,13,14,15,16,16"
			y="18,19,18,18,17,16"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton Archer"
defender_lvl="1"
defender_type="Heavy Infantryman"
defender_weapon="-1"
seed="1225124271"
tod="afternoon"
turn="9"
weapon="1"
[source]

				x="16"
				y="16"
			[/source]
[destination]

				x="17"
				y="16"
			[/destination]
[/attack]
[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton"
defender_lvl="1"
defender_type="Cavalryman"
defender_weapon="0"
seed="1233045675"
tod="afternoon"
turn="9"
weapon="0"
[source]

				x="6"
				y="15"
			[/source]
[destination]

				x="7"
				y="15"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="29,28"
			y="3,3"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="28,27"
			y="3,4"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="27,28"
			y="4,3"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="28,28"
			y="3,2"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="28,27,26"
			y="2,2,1"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="26,25,24,23"
			y="18,18,17,17"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="23,22"
			y="17,16"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="22,21"
			y="16,16"
		[/move]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Mage"
defender_lvl="1"
defender_type="Skeleton"
defender_weapon="-1"
seed="1882801842"
tod="afternoon"
turn="9"
weapon="1"
[source]

				x="15"
				y="14"
			[/source]
[destination]

				x="16"
				y="14"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="14,15,16"
			y="14,14,13"
		[/move]
	[/command]

[command]

		sent=""
		[move]
			x="13,14,15,16"
			y="14,13,14,14"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Mage"
defender_lvl="1"
defender_type="Skeleton"
defender_weapon="-1"
seed="1192745870"
tod="afternoon"
turn="9"
weapon="1"
[source]

				x="16"
				y="14"
			[/source]
[destination]

				x="16"
				y="15"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="16,17"
			y="13,14"
		[/move]
	[/command]

	[command]
		sent=""
		undo="no"
		[label]
			colour="107,140,255,0"
			team_name="north"
			text="hi"
			visible_in_fog="yes"
			visible_in_shroud="no"
			x="11"
			y="11"
		[/label]
	[/command]

[command]

		sent=""
		[move]
			x="20,20,20,19,19,18,18,18"
			y="8,9,10,11,12,12,13,14"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Cavalryman"
defender_lvl="1"
defender_type="Skeleton Archer"
defender_weapon="0"
seed="1892729924"
tod="afternoon"
turn="9"
weapon="0"
[source]

				x="18"
				y="14"
			[/source]
[destination]

				x="18"
				y="15"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="13,14,15,16,16"
			y="15,14,14,14,15"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Heavy Infantryman"
defender_lvl="1"
defender_type="Skeleton Archer"
defender_weapon="0"
seed="168225753"
tod="afternoon"
turn="9"
weapon="0"
[source]

				x="16"
				y="15"
			[/source]
[destination]

				x="16"
				y="16"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="17,16,16,16"
			y="14,13,12,11"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="25,24,24,24,24"
			y="12,12,13,14,15"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="7,8,9,10,11,12,12,12"
			y="15,14,15,15,16,16,17,18"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="7,8,9,9,9,9"
			y="14,14,15,16,17,18"
		[/move]
	[/command]
	[command]
		sent=""
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		undo="no"
		[clear_labels]
			team_name="north"
		[/clear_labels]
	[/command]
	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

[command]

		sent=""
		[move]
			x="6,7,8,8"
			y="15,16,16,17"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="0"
seed="789839385"
tod="dusk"
turn="10"
weapon="0"
[source]

				x="8"
				y="17"
			[/source]
[destination]

				x="9"
				y="18"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="16,15,14,13"
			y="16,17,17,18"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton Archer"
defender_lvl="1"
defender_type="Cavalryman"
defender_weapon="-1"
seed="192929408"
tod="dusk"
turn="10"
weapon="1"
[source]

				x="13"
				y="18"
			[/source]
[destination]

				x="12"
				y="18"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="17,16,15,14,13"
			y="17,17,18,18,19"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="2"
attacker_type="Bone Shooter"
defender_lvl="1"
defender_type="Cavalryman"
defender_weapon="-1"
seed="1541797506"
tod="dusk"
turn="10"
weapon="1"
[source]

				x="13"
				y="19"
			[/source]
[destination]

				x="12"
				y="18"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="18,17,16,15,14,13,12"
			y="16,17,17,18,18,18,18"
		[/move]
	[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton Archer"
defender_lvl="1"
defender_type="Cavalryman"
defender_weapon="-1"
seed="2004034092"
tod="dusk"
turn="10"
weapon="1"
[source]

				x="18"
				y="15"
			[/source]
[destination]

				x="18"
				y="14"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="21,22,23,24"
			y="16,16,17,16"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Ghoul"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="0"
seed="1220802790"
tod="dusk"
turn="10"
weapon="0"
[source]

				x="24"
				y="16"
			[/source]
[destination]

				x="24"
				y="15"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="26,25,24,23,22,21,20,19"
			y="1,1,1,1,1,2,1,2"
		[/move]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

[command]

		sent=""
		[move]
			x="21,20,19"
			y="4,3,3"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Bowman"
defender_lvl="0"
defender_type="Vampire Bat"
defender_weapon="-1"
seed="1011004941"
tod="dusk"
turn="10"
weapon="1"
[source]

				x="19"
				y="3"
			[/source]
[destination]

				x="19"
				y="2"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="16,16,15,15"
			y="11,10,10,9"
		[/move]
	[/command]

	[command]
		sent=""
		[recruit]
			value="3"
			x="16"
			y="9"
		[/recruit]
		[random]
			value="18801"
		[/random]
		[random]
			value="6641"
		[/random]
		[random]
			value="13580"
		[/random]
		[random]
			value="7347"
		[/random]
		[random]
			value="23173"
		[/random]
		[random]
			value="13082"
		[/random]
		[random]
			value="27603"
		[/random]
		[random]
			value="22935"
		[/random]
		[random]
			value="24876"
		[/random]
		[random]
			value="16037"
		[/random]
		[random]
			value="14752"
		[/random]
		[random]
			value="28909"
		[/random]
		[random]
			value="25435"
		[/random]
		[random]
			value="20873"
			[results]
				checksum="KL3d1ee5Em6ckgd+thd,2kNl5b52b<830n6+e<,935b991jpb4a89dgltQEOHuGBJLFOqAtqtLBEqoFPQPOVN.LKLuLHvIyIw<NEDqImHsCNVOGRx<Nts2GEKyFvooaw"
			[/results]
		[/random]
	[/command]

	[command]
		sent=""
		[recruit]
			value="1"
			x="15"
			y="10"
		[/recruit]
		[random]
			value="23900"
		[/random]
		[random]
			value="13126"
		[/random]
		[random]
			value="21587"
		[/random]
		[random]
			value="25803"
		[/random]
		[random]
			value="4575"
		[/random]
		[random]
			value="9710"
		[/random]
		[random]
			value="345"
		[/random]
		[random]
			value="27022"
		[/random]
		[random]
			value="16134"
		[/random]
		[random]
			value="29658"
		[/random]
		[random]
			value="3633"
		[/random]
		[random]
			value="4562"
		[/random]
		[random]
			value="8347"
		[/random]
		[random]
			value="338"
			[results]
				checksum="rzLLCsL7.SLWrRPnn-T2IqNGzruyw+snGsxBsIBSu5CqCKAIzUuvmCwtvqKGozCnuPpLuTRGnqbY063jvfhdZ-0>j5mmwppp6h33987<1,>jm8<8aZ<h<1ic10YPa9f-"
			[/results]
		[/random]
	[/command]

	[command]
		sent=""
		[move]
			x="9,9,9,8,8"
			y="18,19,20,20,21"
		[/move]
	[/command]

[command]

		sent=""
		[move]
			x="16,15,14,13"
			y="15,16,16,17"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Heavy Infantryman"
defender_lvl="1"
defender_type="Skeleton Archer"
defender_weapon="0"
seed="311688336"
tod="dusk"
turn="10"
weapon="0"
[source]

				x="13"
				y="17"
			[/source]
[destination]

				x="13"
				y="18"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="18,19,20,20,21,22,23"
			y="14,14,14,15,16,16,16"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Cavalryman"
defender_lvl="1"
defender_type="Ghoul"
defender_weapon="0"
seed="65303111"
tod="dusk"
turn="10"
weapon="0"
[source]

				x="23"
				y="16"
			[/source]
[destination]

				x="24"
				y="16"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="24,25,25,25,26"
			y="15,16,17,18,18"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="16,16,15,15,14"
			y="14,13,13,12,11"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="11,12"
			y="11,11"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="15,15,14,13,12,11"
			y="14,13,12,12,11,11"
		[/move]
	[/command]
	[command]
		sent=""
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

	[command]
		sent=""
		[move]
			x="19,18,17,16,15"
			y="2,1,2,2,3"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="15,14,13,12,11"
			y="3,2,3,3,4"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="13,14,15,16,17"
			y="19,18,18,17,18"
		[/move]
	[/command]

	[command]
		sent=""
		[recruit]
			value="2"
			x="16"
			y="17"
		[/recruit]
		[random]
			value="32210"
		[/random]
		[random]
			value="15552"
		[/random]
		[random]
			value="26495"
		[/random]
		[random]
			value="31304"
		[/random]
		[random]
			value="12053"
		[/random]
		[random]
			value="23468"
		[/random]
		[random]
			value="12384"
		[/random]
		[random]
			value="23486"
		[/random]
		[random]
			value="30488"
		[/random]
		[random]
			value="1395"
		[/random]
		[random]
			value="24906"
		[/random]
		[random]
			value="6917"
			[results]
				checksum="6d-9cj.>GIlg<ffbbd<o9j>40h8pe.8YfXXgh6ii>-f<j<1.-7a2,30cif5gaZud.,ebke12>jede,Pb-Y9iA2kk>jEmgjdXPcCDKyVPRGTxHquE2PPzTrNBFHRNTIsG"
			[/results]
		[/random]
	[/command]

	[command]
		sent=""
		undo=""
		[recruit]
			value="4"
			x="17"
			y="17"
		[/recruit]
		[random]
			value="6456"
		[/random]
		[random]
			value="21989"
		[/random]
		[random]
			value="24166"
		[/random]
		[random]
			value="5761"
		[/random]
		[random]
			value="13709"
		[/random]
		[random]
			value="24470"
		[/random]
		[random]
			value="7351"
		[/random]
		[random]
			value="27525"
		[/random]
		[random]
			value="15522"
		[/random]
		[random]
			value="15072"
		[/random]
		[random]
			value="12863"
		[/random]
		[random]
			value="23093"
			[results]
				checksum="LC73rfHCI1>vj-Q.pNMLJq,IoxsBqqswLMscutVmvVBwBJwHwqMQVLMHvyApGR5>4HuT+C5PyWV0wlSMStxHKkAB>70IzEaRtXBKysncPrQD6crPSy0nsORCOQH8a8sv"
			[/results]
		[/random]
	[/command]
	[command]
		sent=""
		[move]
			x="18,19,20"
			y="15,15,15"
		[/move]
	[/command]

[command]

		sent=""
		[move]
			x="20,21,22"
			y="15,16,16"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton Archer"
defender_lvl="1"
defender_type="Cavalryman"
defender_weapon="-1"
seed="1067040342"
tod="first_watch"
turn="11"
weapon="1"
[source]

				x="22"
				y="16"
			[/source]
[destination]

				x="23"
				y="16"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="12,13,14,14"
			y="18,19,18,17"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Dark Adept"
defender_lvl="1"
defender_type="Heavy Infantryman"
defender_weapon="-1"
seed="1330463166"
tod="first_watch"
turn="11"
weapon="0"
[source]

				x="14"
				y="17"
			[/source]
[destination]

				x="13"
				y="17"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="8,9,10,11,12"
			y="17,17,17,17,17"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton"
defender_lvl="1"
defender_type="Heavy Infantryman"
defender_weapon="0"
seed="776573459"
tod="first_watch"
turn="11"
weapon="0"
[source]

				x="12"
				y="17"
			[/source]
[destination]

				x="13"
				y="17"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

	[command]
		sent=""
		[move]
			x="8,8,9,10,11,12,13"
			y="21,22,23,23,24,24,25"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="26,27,28,29,29"
			y="18,19,19,20,21"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="23,23,24,24,24,25,25,25,25"
			y="16,15,14,13,12,12,11,10,9"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="19,19"
			y="3,2"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="11,10,9,8,7,6"
			y="11,10,10,9,9,8"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="14,13,12,11"
			y="11,12,11,11"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="16,15,14,13"
			y="9,10,10,11"
		[/move]
	[/command]
	[command]
		sent=""
		[recruit]
			value="3"
			x="16"
			y="9"
		[/recruit]
		[random]
			value="26669"
		[/random]
		[random]
			value="2275"
		[/random]
		[random]
			value="23911"
		[/random]
		[random]
			value="1788"
		[/random]
		[random]
			value="24790"
		[/random]
		[random]
			value="5059"
		[/random]
		[random]
			value="14840"
		[/random]
		[random]
			value="8918"
		[/random]
		[random]
			value="30094"
		[/random]
		[random]
			value="18410"
		[/random]
		[random]
			value="1353"
		[/random]
		[random]
			value="6385"
		[/random]
		[random]
			value="16260"
		[/random]
		[random]
			value="18331"
			[results]
				checksum="KL3d1ef5Em6ckgd+thd,2kNl5b52b<830n6+e<,935b991jpb4a89dgltQEOHuGBJLFOqAtqtLuJqoFPQPOVN.LKLuLHvIyIw<NEDqImHsCNVIGRx<Nts2GEKyFAtoaw"
			[/results]
		[/random]
	[/command]

	[command]
		sent=""
		[move]
			x="15,15,14,13,12,12,12,12"
			y="10,9,8,8,7,6,5,4"
		[/move]
	[/command]

[command]

		sent=""
		[move]
			x="15,14,13,13,12,11,11"
			y="9,8,8,7,6,6,5"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="2"
attacker_type="Lieutenant"
defender_lvl="0"
defender_type="Vampire Bat"
defender_weapon="-1"
seed="1255264700"
tod="first_watch"
turn="11"
weapon="1"
[source]

				x="11"
				y="5"
			[/source]
[destination]

				x="11"
				y="4"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="12,11"
			y="4,4"
		[/move]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

	[command]
		sent=""
		[move]
			x="22,23,24"
			y="16,17,17"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="24,25,26"
			y="17,18,18"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="14,13,12"
			y="17,18,18"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="12,13,14"
			y="18,18,17"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="12,12"
			y="17,18"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="16,15,14,13,12,11"
			y="17,18,18,19,19,20"
		[/move]
	[/command]

	[command]
		sent=""
		[recruit]
			value="1"
			x="16"
			y="17"
		[/recruit]
		[random]
			value="26607"
		[/random]
		[random]
			value="15253"
		[/random]
		[random]
			value="32561"
		[/random]
		[random]
			value="5434"
		[/random]
		[random]
			value="31143"
		[/random]
		[random]
			value="16233"
		[/random]
		[random]
			value="21055"
		[/random]
		[random]
			value="7220"
		[/random]
		[random]
			value="8433"
		[/random]
		[random]
			value="26934"
		[/random]
		[random]
			value="750"
		[/random]
		[random]
			value="3276"
			[results]
				checksum="9Yr66Zh5Ia4xlOgkegq66km3V>bi7eaiic8n3r<67>06Z74bp6-+3>g7e+4u<JmbqTjYpoe4>3,RpEllhC+57epD>3jepsJjm<dG>1uMDmtzuSuLIoFfvpKwOpVQIGsF"
			[/results]
		[/random]
	[/command]

	[command]
		sent=""
		[move]
			x="17,18,19,20,21"
			y="17,16,17,16,16"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="17,18,19,19,19,19"
			y="18,18,19,20,21,22"
		[/move]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

	[command]
		sent=""
		[move]
			x="25,25,25,24,24"
			y="9,8,7,6,5"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="19,20,21,22,22,22"
			y="2,2,3,3,4,5"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="11,11,12,13,13,14,15"
			y="5,6,6,7,8,8,9"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="11,11,11,11,12,13,14,15,15"
			y="4,5,6,7,7,8,8,9,10"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="29,28,28,28,27"
			y="21,21,22,23,24"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="13,12"
			y="25,24"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="12,11,10,9,8,8"
			y="24,24,23,23,22,21"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="6,6,6,6,6"
			y="8,9,10,11,12"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="16,16,16"
			y="9,10,11"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="12,12,12,12,13"
			y="11,12,13,14,15"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="13,13,14,14,15"
			y="11,12,12,13,14"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="11,12,12,12,12"
			y="11,11,12,13,14"
		[/move]
	[/command]
	[command]
		sent=""
		[recruit]
			value="5"
			x="16"
			y="9"
		[/recruit]
		[random]
			value="6089"
		[/random]
		[random]
			value="24546"
		[/random]
		[random]
			value="2059"
		[/random]
		[random]
			value="31667"
		[/random]
		[random]
			value="19240"
		[/random]
		[random]
			value="7397"
		[/random]
		[random]
			value="10935"
		[/random]
		[random]
			value="29325"
		[/random]
		[random]
			value="15262"
		[/random]
		[random]
			value="20260"
		[/random]
		[random]
			value="15855"
		[/random]
		[random]
			value="6795"
		[/random]
		[random]
			value="15884"
		[/random]
		[random]
			value="30619"
		[/random]
		[random]
			value="18477"
			[results]
				checksum="03l854GCJ<huY,8mp2Hf8LbXF<o9j>40h8pb.-15<Wlh+WpZ+4jbbai70n8dk<jZl-dhebbc1p-c7cac2Zb,jWfU43mZS+cll-93NQc1I--QSwLDEHAHTzxx4NVVMyQO"
			[/results]
		[/random]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

[command]

		sent=""
		[move]
			x="14,13,12,11,10,9,8"
			y="17,18,18,19,19,20,20"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Dark Adept"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="1"
seed="818167699"
tod="dawn"
turn="13"
weapon="0"
[source]

				x="8"
				y="20"
			[/source]
[destination]

				x="8"
				y="21"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="11,10,9,8,7,7"
			y="20,19,20,19,20,21"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Ghoul"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="0"
seed="1552754057"
tod="dawn"
turn="13"
weapon="0"
[source]

				x="7"
				y="21"
			[/source]
[destination]

				x="8"
				y="21"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="12,11,10,10,9"
			y="18,19,19,20,21"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="0"
seed="1915926181"
tod="dawn"
turn="13"
weapon="0"
[source]

				x="9"
				y="21"
			[/source]
[destination]

				x="8"
				y="21"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="16,16,16,16,16,15,15,14"
			y="17,18,19,20,21,22,23,23"
		[/move]
	[/command]

[command]

		sent=""
		[move]
			x="26,27,27,27,27,27"
			y="18,19,20,21,22,23"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton Archer"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="1"
seed="1076196849"
tod="dawn"
turn="13"
weapon="1"
[source]

				x="27"
				y="23"
			[/source]
[destination]

				x="27"
				y="24"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="21,22"
			y="16,16"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="22,23,24,25,26"
			y="16,17,17,18,18"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="19,19,19,19,18"
			y="22,21,20,19,18"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="18,19"
			y="18,19"
		[/move]
	[/command]
	[command]
		sent=""
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="6,7,8,9,9"
			y="12,13,13,14,15"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="13,13"
			y="15,16"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="13,12,12,12"
			y="16,16,17,18"
		[/move]
	[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Spearman"
defender_lvl="1"
defender_type="Dark Adept"
defender_weapon="-1"
seed="471787200"
tod="dawn"
turn="13"
weapon="0"
[source]

				x="8"
				y="21"
			[/source]
[destination]

				x="8"
				y="20"
			[/destination]
[/attack]
[/command]

[command]
sent=""
undo="no"
[speak]
id="Qsto"
message=":|"
side="1"
[/speak]
[/command]

	[command]
		sent=""
		[move]
			x="15,16"
			y="14,14"
		[/move]
	[/command]

[command]
sent=""
undo="no"
[speak]
id="Qsto"
message="ok i think it's over"
side="1"
[/speak]
[/command]

	[command]
		sent=""
		[move]
			x="16,16,16,17,17"
			y="14,15,16,17,18"
		[/move]
	[/command]

	[command]
		sent=""
		[move]
			x="12,13,13,14,14"
			y="14,15,16,16,17"
		[/move]
	[/command]

[command]
sent=""
undo="no"
[speak]
id="tom030890"
message="surrender?"
side="2"
[/speak]
[/command]

[command]
sent=""
undo="no"
[speak]
id="tom030890"
message="i think it would be fair"
side="2"
[/speak]
[/command]

[command]
sent=""
undo="no"
[speak]
id="Qsto"
message="no i will take my fight to an end"
side="1"
[/speak]
[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="16,16,16,16,16"
			y="11,12,13,14,15"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="15,15,16,16,17,18,19"
			y="10,11,11,12,13,13,14"
		[/move]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="16,17,18,19,19"
			y="9,10,10,11,12"
		[/move]
	[/command]
	[command]
		sent=""
		[recruit]
			value="3"
			x="15"
			y="10"
		[/recruit]
		[random]
			value="29036"
		[/random]
		[random]
			value="20654"
		[/random]
		[random]
			value="10648"
		[/random]
		[random]
			value="21977"
		[/random]
		[random]
			value="19419"
		[/random]
		[random]
			value="1010"
		[/random]
		[random]
			value="798"
		[/random]
		[random]
			value="31323"
		[/random]
		[random]
			value="3867"
		[/random]
		[random]
			value="26507"
		[/random]
		[random]
			value="21381"
		[/random]
		[random]
			value="4201"
		[/random]
		[random]
			value="2329"
		[/random]
		[random]
			value="2167"
			[results]
				checksum="KL3d1ee5Em6ckgd+thd,2kNl5b52b<830n6+e<,935b991jpb4a89dgltQEOHuGBJLFOqAtqtLuHqoFPQPOVN.LKLuLHvIyIw<NEDqImHsCNVIGRx<Nts2GEKyFAroaw"
			[/results]
		[/random]
	[/command]

	[command]
		sent=""
		undo=""
		[move]
			x="15,16,16,16,16,16"
			y="9,9,10,11,12,13"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="22,22,22,22,22,22"
			y="5,6,7,8,9,10"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="24,24,23,22,21,20"
			y="5,6,7,7,8,8"
		[/move]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

	[command]
		sent=""
		[move]
			x="14,15,16,17,18"
			y="23,23,22,23,22"
		[/move]
	[/command]

[command]
sent=""
undo="no"
[speak]
id="tom030890"
message="i don't mind either way"
side="2"
[/speak]
[/command]

[command]

		sent=""
		[move]
			x="19,19,19,18,17"
			y="19,18,17,16,17"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="2"
attacker_type="Bone Shooter"
defender_lvl="1"
defender_type="Heavy Infantryman"
defender_weapon="-1"
seed="1115825850"
tod="morning"
turn="14"
weapon="1"
[source]

				x="17"
				y="17"
			[/source]
[destination]

				x="17"
				y="18"
			[/destination]
[/attack]
[/command]

[command]
sent=""
undo="no"
[speak]
id="Qsto"
message="Make it quick"
side="1"
[/speak]
[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Ghoul"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="0"
seed="1048239130"
tod="morning"
turn="14"
weapon="0"
[source]

				x="7"
				y="21"
			[/source]
[destination]

				x="8"
				y="21"
			[/destination]
[/attack]
[/command]

[command]
sent=""
undo="no"
[speak]
id="tom030890"
message="i'll try to"
side="2"
[/speak]
[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="0"
seed="741814370"
tod="morning"
turn="14"
weapon="0"
[source]

				x="9"
				y="21"
			[/source]
[destination]

				x="8"
				y="21"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="27,26"
			y="23,23"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton Archer"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="1"
seed="1620058350"
tod="morning"
turn="14"
weapon="1"
[source]

				x="26"
				y="23"
			[/source]
[destination]

				x="27"
				y="24"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="26,27,27,27,27,27"
			y="18,19,20,21,22,23"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Skeleton Archer"
defender_lvl="1"
defender_type="Spearman"
defender_weapon="1"
seed="884657408"
tod="morning"
turn="14"
weapon="1"
[source]

				x="27"
				y="23"
			[/source]
[destination]

				x="27"
				y="24"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="18,18,18,18"
			y="22,21,20,19"
		[/move]
	[/command]

	[command]
		sent=""
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]

	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]

[command]

		sent=""
		undo=""
		[move]
			x="15,15,15,15,15,16"
			y="10,11,12,13,14,14"
		[/move]
	[/command]
[command]

		sent=""
		undo=""
		[move]
			x="16,17,17"
			y="13,14,15"
		[/move]
	[/command]
[command]

		sent=""
		[move]
			x="16,17"
			y="15,16"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Heavy Infantryman"
defender_lvl="2"
defender_type="Bone Shooter"
defender_weapon="0"
seed="1473794174"
tod="morning"
turn="14"
weapon="0"
[source]

				x="17"
				y="16"
			[/source]
[destination]

				x="17"
				y="17"
			[/destination]
[/attack]
[/command]

[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Heavy Infantryman"
defender_lvl="2"
defender_type="Bone Shooter"
defender_weapon="0"
seed="1052653225"
tod="morning"
turn="14"
weapon="0"
[source]

				x="17"
				y="18"
			[/source]
[destination]

				x="17"
				y="17"
			[/destination]
[/attack]
[/command]

[command]

		sent=""
		[move]
			x="14,15,16"
			y="17,18,17"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Mage"
defender_lvl="2"
defender_type="Bone Shooter"
defender_weapon="1"
seed="1553514471"
tod="morning"
turn="14"
weapon="1"
[source]

				x="16"
				y="17"
			[/source]
[destination]

				x="17"
				y="17"
			[/destination]
[/attack]
[/command]

	[command]
		sent=""
		[move]
			x="19,19,20,21"
			y="14,15,15,16"
		[/move]
	[/command]

[command]

		sent=""
		[move]
			x="19,18,18,18,18,18"
			y="12,12,13,14,15,16"
		[/move]
	[/command]
[command]
sent=""
[attack]
attacker_lvl="1"
attacker_type="Mage"
defender_lvl="2"
defender_type="Bone Shooter"
defender_weapon="1"
seed="923201195"
tod="morning"
turn="14"
weapon="1"
[source]

				x="18"
				y="16"
			[/source]
[destination]

				x="17"
				y="17"
			[/destination]
[/attack]
[/command]

[command]
sent=""
undo="no"
[speak]
id="Qsto"
message="gg"
side="1"
[/speak]
[/command]

[command]
sent=""
undo="no"
[speak]
id="tom030890"
message="gg"
side="2"
[/speak]
[/command]

[command]
[speak]
id="server"
message="Qsto has left the game."
[/speak]
[/command]

[command]
[speak]
id="server"
message="tom030890 has been chosen as the new host."
[/speak]
[/command]

[command]
[speak]
id="server"
message="tom030890 takes control of side 1."
[/speak]
[/command]
[/replay]
[replay_start]
completion="running"
current_tod="0"
id="RMP_The_Walls_of_Pyrennis_12"
map_data="border_size=1
usage=map

Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          
Xv          , Mm          , Mm          , Mm          , Hh^Fp       , Hh^Fmw      , Gg          , Gg          , Ggf         , Gg          , Hh          , Gs^Fp       , Rp          , Rp          , Ko^Xo       , Rp          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Rp          , Gg          , Rp          , Gg          , Gg          , Gg          , Gg          , Gg          , Ww          , Ww          , Xv          
Xv          , Mm          , Gs^Fp       , Hh          , Gg          , Gs^Fp       , Hh          , Gg          , Gg          , Gg          , Gg          , Gs^Fp       , Rp          , Ko^Xo       , Rp          , Rp          , Gg          , Gg          , Gg          , Rr^Vd       , Gg          , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Rp          , Rp          , Gs^Fp       , Ss          , Gg          , Ww^Bw\      , Ww          , Xv          
Xv          , Gs^Fp       , Hh          , Gs^Fp       , Gg          , Rp^Vhc      , Rp          , Rp          , Rp          , Gg          , Gg^Uf       , Gg          , Gg          , Rp          , Gg          , Ggf         , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Hh          , Wo          , Ww          , Wwr         , Gg          , Xv          
Xv          , Ss          , Gg          , Gg          , Gg          , Gg          , Rp          , Ko^Xo       , Rp          , Hh          , Gs^Fp       , Gg^Ve       , Gg          , Gg          , Wwf         , Wwf         , 2 Ko        , Co          , Gg          , Gg          , Wwf         , Hh^Fmw      , Gg          , Rp          , Rp          , Rp          , Wwf         , Wwf         , Gg          , Ww          , Gg          , Wwf         , Xv          
Xv          , Gg          , Gg          , Gg          , Gg          , Ggf         , Rp          , Ko^Xo       , Rp          , Gg          , Gg          , Gg          , Gg          , Gg          , Wwf         , Co          , Co          , Co          , Rp          , Gg          , Rp          , Wwf         , Wwf         , Ss          , Ss^Vhs      , Wwf^Uf      , Gg          , Gg          , Gs^Fp       , Wwf         , Ss          , Wwf         , Xv          
Xv          , Gg          , Gg          , Hh          , Gs^Fp       , Gg          , Ss          , Rp          , Wwf         , Gg          , Co          , Co          , Co          , Gg          , Wwf         , Gg          , Gg          , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Rp          , Gg          , Hh^Fmw      , Wwf         , Gg          , Rp          , Hh          , Gs^Fp       , Hh          , Mm          , Wwf         , Xv          
Xv          , Rp          , Rp          , Rp          , Rp          , Gg          , Wwf         , Wwf         , Gg          , Wwf         , Rp          , Ko          , Wwf         , Wwf         , Hh          , Gg          , Gg          , Rp          , Rp          , Ko^Xo       , Rp          , Rp          , Wwf         , Gg          , Wwf         , Rp          , Ko^Xo       , Rp          , Rp          , Gs^Fp       , Hh^Fp       , Wwf         , Xv          
Xv          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Wwf         , Gg^Vh       , Hh^Fp       , Rp          , Rp          , Ko^Xo       , Rp          , Wwf         , Gg          , Gg          , Gs^Fp       , Gg          , Gg          , Ggf         , Rp          , Rp^Vhc      , Wwf         , Gg          , Wwf         , Mm          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Wwf         , Wwf         , Xv          
Xv          , Rp          , Rp          , Rp          , Hh^Fp       , Wwf         , Gg          , Gg          , Rp          , Ko^Xo       , Rp          , Rp          , Gg          , Wwf         , Ss^Uf       , Ko          , Co          , Gg          , Mm          , Gg          , Gg          , Wwf         , Gg          , Gs^Fp       , Hh          , Rp          , Rp          , Ko^Xo       , Rp          , Wwf         , Ggf         , Ww          , Xv          
Xv          , Gg          , Gg          , Ss          , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Gg          , Ggf         , Gg          , Wwf         , Rp          , Co          , Wwf         , Wwf         , Rp          , Hh^Uf       , Rp          , Wwf         , Wwf         , Gg          , Wwf         , Gg          , Wwf         , Rp          , Wwf         , Wwf         , Wwf         , Wo          , Xv          
Xv          , Gg          , Gs^Fp       , Hh          , Wwf         , Gg          , Gg          , Gg          , Wwf^Uf      , Wwf         , Wwr         , Ss^Vhs      , Cud         , Hh^Fp       , Gs^Fp       , Wwf         , Rp          , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Rp          , Rp          , Wwf         , Wwf^Uf      , Wwf         , Co          , Wwf         , Gs^Fp       , Hh          , Ss          , Wwr         , Xv          
Xv          , Ss          , Gg          , Gg          , Ww          , Wwf         , Gs^Fp       , Gs^Fp       , Rp          , Rp          , Rp          , Wwf         , Rp          , Rp          , Rp          , Wwf         , Rp          , Ko^Xo       , Rp          , Rp          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Rp          , Co          , Gg          , Co          , Wwf         , Gg          , Wwr         , Ww          , Xv          
Xv          , Wo          , Gg          , Wo          , Wwf         , Wwf         , Mm          , Hh          , Rp          , Ko^Xo       , Rp          , Wwf         , Wwf         , Hh^Fmw      , Wwf         , Wwf         , Wwf         , Rp          , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Rp          , Rp          , Gg^Uf       , Mm          , Gg          , Wwf         , Wwf         , Gg          , Ww          , Xv          
Xv          , Ww          , Wwr         , Wwf         , Wwf         , Gg          , Gg          , Gg^Uf       , Rp          , Rp          , Ko^Xo       , Rp          , Rp          , Wwf         , Rp          , Rp          , Rp          , Wwf         , Rp          , Hh^Fmw      , Rp          , Wwf         , Rp          , Ko^Xo       , Rp          , Hh          , Gs^Fp       , Wwf         , Ww          , Wo          , Gg          , Wo          , Xv          
Xv          , Ww          , Ss          , Gg          , Gs^Fp       , Co          , Co          , Co          , Wwf^Uf      , Rp          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Wwf         , Gs^Fp       , Rp          , Cud         , Wwf         , Wwr         , Rp          , Wwf^Uf      , Gs^Fp       , Gg          , Wwf         , Wwf         , Gg          , Gs^Fp       , Ss          , Xv          
Xv          , Wwr         , Wwf         , Hh          , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Rp          , Rp          , Rp          , Wwf         , Wwf         , Rp          , Hh^Fp       , Gg          , Ss^Vhs      , Gg          , Wwf         , Wwf         , Gg          , Wwf         , Gg          , Wwf         , Hh          , Gg          , Gg          , Xv          
Xv          , Wo          , Ggf         , Wwf         , Rp          , Rp          , Rp          , Gg          , Hh          , Gg          , Gg          , Wwf         , Gg          , Hh^Uf       , Mm          , Wwf         , Co          , Co          , Ss^Uf       , Wwf         , Gg          , Ggf         , Rp          , Rp          , Rp          , Wwf         , Gg          , Wwf         , Hh^Fp       , Ss          , Rp          , Gg          , Xv          
Xv          , Ww          , Wwf         , Wwf         , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Mm          , Gs^Fp       , Gg          , Wwf         , Rp^Vhc      , Gg          , Ggf         , Gg          , Gg          , Ko          , Gg          , Wwf         , Wwf         , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Gg^Vh       , Wwf         , Rp          , Rp          , Ko^Xo       , Rp          , Xv          
Xv          , Wwf         , Hh^Fp       , Gg          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Rp          , Gg          , Gg          , Gs^Fp       , Hh          , Gg          , Wwf         , Rp          , Rp          , Rp          , Gg          , Hh^Fp       , Wwf         , Wwf         , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Xv          
Xv          , Wwf         , Mm          , Gs^Fp       , Gs^Fp       , Rp          , Rp          , Rp          , Wwf         , Gg          , Gg          , Rp          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Gg          , Wwf         , Wwf         , Co          , Ko          , Co          , Wwf         , Wwf         , Wwf         , Ss          , Gg          , Gs^Fp       , Rp          , Gg          , Rp          , Xv          
Xv          , Wwf         , Ss          , Hh          , Gs^Fp       , Hh          , Gg          , Gg          , Ss^Vhs      , Hh^Fmw      , Wwf         , Rp          , Rp          , Rp          , Rp          , Rp          , Co          , Gg          , Wwf         , Gg          , Gg          , Co          , Gg          , Gg          , Rp          , Rp          , Rp          , Gg          , Gg          , Hh          , Gg          , Gg          , Xv          
Xv          , Wwf         , Gg          , Wwf         , Gg          , Gg          , Wwf         , Wwf^Uf      , Rp          , Ss          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Co          , 1 Ko        , Co          , Wwf         , Gg          , Gg          , Gg          , Gs^Fp       , Gg          , Rp          , Ko^Xo       , Rp          , Ggf         , Gg          , Gg          , Gg          , Gg          , Xv          
Xv          , Wwf         , Wwr         , Ww          , Wo          , Wwf         , Rp          , Rp          , Ko^Xo       , Rp          , Rp          , Hh^Fmw      , Wwf         , Gg          , Wwf         , Co          , Wwf         , Wwf         , Gg          , Gg          , Gg          , Gg^Ve       , Gg^Uf       , Hh          , Rp          , Ko^Xo       , Rp          , Gg          , Gg          , Gg          , Hh          , Ss          , Xv          
Xv          , Gg          , Ww^Bw\      , Ww          , Ss          , Hh          , Rp          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Wwf         , Gg          , Wwf         , Gg          , Gg          , Rp          , Rp          , Rp          , Gg          , Gg          , Gg          , Gg          , Rp          , Hh          , Rp^Vhc      , Gg          , Gs^Fp       , Gs^Fp       , Gs^Fp       , Xv          
Xv          , Ww          , Ww          , Gg          , Gg          , Gs^Fp       , Gg          , Rp          , Rp          , Rp          , Rp          , Rp          , Gg          , Rr^Vd       , Gg          , Ggf         , Gg          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Gs^Fp       , Hh          , Gg          , Ggf         , Gg          , Gg          , Gs^Fp       , Hh^Fp       , Hh          , Mm          , Mm          , Xv          
Xv          , Ww          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Rp          , Xv          , Rp          , Xv          , Gs^Fp       , Xv          , Gg          , Xv          , Gg          , Xv          , Hh^Fmw      , Xv          , Mm          , Xv          , Mm          , Xv          
Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          
"
name="2p - The Walls of Pyrennis"
next_underlying_unit_id="16"
objectives="<big>" + 
	#textdomain wesnoth
_ "Victory:" + 
	"</big>
<span foreground=""#00ff00"">" + 
	_ "Defeat enemy leader(s)" + 
	"</span>"
observer="yes"
random_calls="0"
random_seed="769693490"
random_start_time=""
turn="5"
turn_at="5"
turns=""
version="1.8.5"
[multiplayer]

	experience_modifier="70"
	hash=""
	mp_countdown="yes"
	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_scenario="RMP_Conservative_v30"
	mp_shroud="no"
	mp_use_map_settings="yes"
	mp_village_gold="2"
	observer="yes"
	savegame="yes"
	scenario="Ladder Qsto 1450"
[/multiplayer]
[snapshot]

	abbrev=""
	allow_new_game="no"
	campaign=""
	campaign_define=""
	campaign_extra_defines=""
	campaign_type="multiplayer"
	completion="running"
	current_tod="4"
#textdomain wesnoth-units
	description=_ "Rigor's new map."
	difficulty="NORMAL"
	end_text=""
	end_text_duration="0"
	experience_modifier="70"
	history=""
	id="RMP_The_Walls_of_Pyrennis_12"
	label="2p - The Walls of Pyrennis"
	map_data="border_size=1
usage=map

Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          
Xv          , Mm          , Mm          , Mm          , Hh^Fp       , Hh^Fmw      , Gg          , Gg          , Ggf         , Gg          , Hh          , Gs^Fp       , Rp          , Rp          , Ko^Xo       , Rp          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Rp          , Gg          , Rp          , Gg          , Gg          , Gg          , Gg          , Gg          , Ww          , Ww          , Xv          
Xv          , Mm          , Gs^Fp       , Hh          , Gg          , Gs^Fp       , Hh          , Gg          , Gg          , Gg          , Gg          , Gs^Fp       , Rp          , Ko^Xo       , Rp          , Rp          , Gg          , Gg          , Gg          , Rr^Vd       , Gg          , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Rp          , Rp          , Gs^Fp       , Ss          , Gg          , Ww^Bw\      , Ww          , Xv          
Xv          , Gs^Fp       , Hh          , Gs^Fp       , Gg          , Rp^Vhc      , Rp          , Rp          , Rp          , Gg          , Gg^Uf       , Gg          , Gg          , Rp          , Gg          , Ggf         , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Hh          , Wo          , Ww          , Wwr         , Gg          , Xv          
Xv          , Ss          , Gg          , Gg          , Gg          , Gg          , Rp          , Ko^Xo       , Rp          , Hh          , Gs^Fp       , Gg^Ve       , Gg          , Gg          , Wwf         , Wwf         , 2 Ko        , Co          , Gg          , Gg          , Wwf         , Hh^Fmw      , Gg          , Rp          , Rp          , Rp          , Wwf         , Wwf         , Gg          , Ww          , Gg          , Wwf         , Xv          
Xv          , Gg          , Gg          , Gg          , Gg          , Ggf         , Rp          , Ko^Xo       , Rp          , Gg          , Gg          , Gg          , Gg          , Gg          , Wwf         , Co          , Co          , Co          , Rp          , Gg          , Rp          , Wwf         , Wwf         , Ss          , Ss^Vhs      , Wwf^Uf      , Gg          , Gg          , Gs^Fp       , Wwf         , Ss          , Wwf         , Xv          
Xv          , Gg          , Gg          , Hh          , Gs^Fp       , Gg          , Ss          , Rp          , Wwf         , Gg          , Co          , Co          , Co          , Gg          , Wwf         , Gg          , Gg          , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Rp          , Gg          , Hh^Fmw      , Wwf         , Gg          , Rp          , Hh          , Gs^Fp       , Hh          , Mm          , Wwf         , Xv          
Xv          , Rp          , Rp          , Rp          , Rp          , Gg          , Wwf         , Wwf         , Gg          , Wwf         , Rp          , Ko          , Wwf         , Wwf         , Hh          , Gg          , Gg          , Rp          , Rp          , Ko^Xo       , Rp          , Rp          , Wwf         , Gg          , Wwf         , Rp          , Ko^Xo       , Rp          , Rp          , Gs^Fp       , Hh^Fp       , Wwf         , Xv          
Xv          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Wwf         , Gg^Vh       , Hh^Fp       , Rp          , Rp          , Ko^Xo       , Rp          , Wwf         , Gg          , Gg          , Gs^Fp       , Gg          , Gg          , Ggf         , Rp          , Rp^Vhc      , Wwf         , Gg          , Wwf         , Mm          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Wwf         , Wwf         , Xv          
Xv          , Rp          , Rp          , Rp          , Hh^Fp       , Wwf         , Gg          , Gg          , Rp          , Ko^Xo       , Rp          , Rp          , Gg          , Wwf         , Ss^Uf       , Ko          , Co          , Gg          , Mm          , Gg          , Gg          , Wwf         , Gg          , Gs^Fp       , Hh          , Rp          , Rp          , Ko^Xo       , Rp          , Wwf         , Ggf         , Ww          , Xv          
Xv          , Gg          , Gg          , Ss          , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Gg          , Ggf         , Gg          , Wwf         , Rp          , Co          , Wwf         , Wwf         , Rp          , Hh^Uf       , Rp          , Wwf         , Wwf         , Gg          , Wwf         , Gg          , Wwf         , Rp          , Wwf         , Wwf         , Wwf         , Wo          , Xv          
Xv          , Gg          , Gs^Fp       , Hh          , Wwf         , Gg          , Gg          , Gg          , Wwf^Uf      , Wwf         , Wwr         , Ss^Vhs      , Cud         , Hh^Fp       , Gs^Fp       , Wwf         , Rp          , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Rp          , Rp          , Wwf         , Wwf^Uf      , Wwf         , Co          , Wwf         , Gs^Fp       , Hh          , Ss          , Wwr         , Xv          
Xv          , Ss          , Gg          , Gg          , Ww          , Wwf         , Gs^Fp       , Gs^Fp       , Rp          , Rp          , Rp          , Wwf         , Rp          , Rp          , Rp          , Wwf         , Rp          , Ko^Xo       , Rp          , Rp          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Rp          , Co          , Gg          , Co          , Wwf         , Gg          , Wwr         , Ww          , Xv          
Xv          , Wo          , Gg          , Wo          , Wwf         , Wwf         , Mm          , Hh          , Rp          , Ko^Xo       , Rp          , Wwf         , Wwf         , Hh^Fmw      , Wwf         , Wwf         , Wwf         , Rp          , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Rp          , Rp          , Gg^Uf       , Mm          , Gg          , Wwf         , Wwf         , Gg          , Ww          , Xv          
Xv          , Ww          , Wwr         , Wwf         , Wwf         , Gg          , Gg          , Gg^Uf       , Rp          , Rp          , Ko^Xo       , Rp          , Rp          , Wwf         , Rp          , Rp          , Rp          , Wwf         , Rp          , Hh^Fmw      , Rp          , Wwf         , Rp          , Ko^Xo       , Rp          , Hh          , Gs^Fp       , Wwf         , Ww          , Wo          , Gg          , Wo          , Xv          
Xv          , Ww          , Ss          , Gg          , Gs^Fp       , Co          , Co          , Co          , Wwf^Uf      , Rp          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Wwf         , Gs^Fp       , Rp          , Cud         , Wwf         , Wwr         , Rp          , Wwf^Uf      , Gs^Fp       , Gg          , Wwf         , Wwf         , Gg          , Gs^Fp       , Ss          , Xv          
Xv          , Wwr         , Wwf         , Hh          , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Rp          , Rp          , Rp          , Wwf         , Wwf         , Rp          , Hh^Fp       , Gg          , Ss^Vhs      , Gg          , Wwf         , Wwf         , Gg          , Wwf         , Gg          , Wwf         , Hh          , Gg          , Gg          , Xv          
Xv          , Wo          , Ggf         , Wwf         , Rp          , Rp          , Rp          , Gg          , Hh          , Gg          , Gg          , Wwf         , Gg          , Hh^Uf       , Mm          , Wwf         , Co          , Co          , Ss^Uf       , Wwf         , Gg          , Ggf         , Rp          , Rp          , Rp          , Wwf         , Gg          , Wwf         , Hh^Fp       , Ss          , Rp          , Gg          , Xv          
Xv          , Ww          , Wwf         , Wwf         , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Mm          , Gs^Fp       , Gg          , Wwf         , Rp^Vhc      , Gg          , Ggf         , Gg          , Gg          , Ko          , Gg          , Wwf         , Wwf         , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Gg^Vh       , Wwf         , Rp          , Rp          , Ko^Xo       , Rp          , Xv          
Xv          , Wwf         , Hh^Fp       , Gg          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Rp          , Gg          , Gg          , Gs^Fp       , Hh          , Gg          , Wwf         , Rp          , Rp          , Rp          , Gg          , Hh^Fp       , Wwf         , Wwf         , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Xv          
Xv          , Wwf         , Mm          , Gs^Fp       , Gs^Fp       , Rp          , Rp          , Rp          , Wwf         , Gg          , Gg          , Rp          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Gg          , Wwf         , Wwf         , Co          , Ko          , Co          , Wwf         , Wwf         , Wwf         , Ss          , Gg          , Gs^Fp       , Rp          , Gg          , Rp          , Xv          
Xv          , Wwf         , Ss          , Hh          , Gs^Fp       , Hh          , Gg          , Gg          , Ss^Vhs      , Hh^Fmw      , Wwf         , Rp          , Rp          , Rp          , Rp          , Rp          , Co          , Gg          , Wwf         , Gg          , Gg          , Co          , Gg          , Gg          , Rp          , Rp          , Rp          , Gg          , Gg          , Hh          , Gg          , Gg          , Xv          
Xv          , Wwf         , Gg          , Wwf         , Gg          , Gg          , Wwf         , Wwf^Uf      , Rp          , Ss          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Co          , 1 Ko        , Co          , Wwf         , Gg          , Gg          , Gg          , Gs^Fp       , Gg          , Rp          , Ko^Xo       , Rp          , Ggf         , Gg          , Gg          , Gg          , Gg          , Xv          
Xv          , Wwf         , Wwr         , Ww          , Wo          , Wwf         , Rp          , Rp          , Ko^Xo       , Rp          , Rp          , Hh^Fmw      , Wwf         , Gg          , Wwf         , Co          , Wwf         , Wwf         , Gg          , Gg          , Gg          , Gg^Ve       , Gg^Uf       , Hh          , Rp          , Ko^Xo       , Rp          , Gg          , Gg          , Gg          , Hh          , Ss          , Xv          
Xv          , Gg          , Ww^Bw\      , Ww          , Ss          , Hh          , Rp          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Wwf         , Gg          , Wwf         , Gg          , Gg          , Rp          , Rp          , Rp          , Gg          , Gg          , Gg          , Gg          , Rp          , Hh          , Rp^Vhc      , Gg          , Gs^Fp       , Gs^Fp       , Gs^Fp       , Xv          
Xv          , Ww          , Ww          , Gg          , Gg          , Gs^Fp       , Gg          , Rp          , Rp          , Rp          , Rp          , Rp          , Gg          , Rr^Vd       , Gg          , Ggf         , Gg          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Gs^Fp       , Hh          , Gg          , Ggf         , Gg          , Gg          , Gs^Fp       , Hh^Fp       , Hh          , Mm          , Mm          , Xv          
Xv          , Ww          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Rp          , Xv          , Rp          , Xv          , Gs^Fp       , Xv          , Gg          , Xv          , Gg          , Xv          , Hh^Fmw      , Xv          , Mm          , Xv          , Mm          , Xv          
Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          
"
	name=_ "2p - The Walls of Pyrennis"
	next_scenario=""
	next_underlying_unit_id="16"
	objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>"
	playing_team="0"
	random_calls="0"
	random_seed="769693490"
	random_start_time="no"
	scenario="RMP_The_Walls_of_Pyrennis_12"
	snapshot="yes"
	turn_at="5"
	turns="-1"
	unit_wml_ids="Bone Shooter,Bowman,Cavalryman,Dark Adept,Ghost,Ghoul,Heavy Infantryman,Lieutenant,Mage,Skeleton,Spearman,Vampire Bat"
	used_items=""
	version="1.8.5"
	[side]
		action_bonus_count="0"
		allow_player="yes"
		colour="1"
		controller="human"
		countdown_time="203688"
		current_player="Qsto"
		disallow_observers="no"
		flag=""
		flag_icon=""
		fog="yes"
		gold="26"
		gold_add="no"
		hidden="no"
		id="RMPSide1"
		income="0"
		name="Qsto"
		no_leader="yes"
		objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>"
		objectives_changed="no"
		persistent="yes"
		recruit="Dark Adept,Ghost,Ghoul,Skeleton,Skeleton Archer,Vampire Bat,Walking Corpse"
		save_id="RMPSide1"
		share_maps="yes"
		share_view="no"
		shroud="no"
		shroud_data=""
		side="1"
		start_gold="100"
		team_name="north"
		user_team_name=_ "teamname^North"
		village_gold="2"
		[ai]
			description=_ "Multiplayer_AI^RCA AI"
			id="testing_ai_default"
			version="10710"
			[stage]
				id="main_loop"
				name="testing_ai_default::candidate_action_evaluation_loop"
				[candidate_action]
					engine="cpp"
					id="goto"
					max_score="    200000"
					name="testing_ai_default::goto_phase"
					score="    200000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="recruitment"
					max_score="    180000"
					name="testing_ai_default::aspect_recruitment_phase"
					score="    180000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_goals"
					max_score="    140000"
					name="testing_ai_default::move_leader_to_goals_phase"
					score="    140000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_keep"
					max_score="    120000"
					name="testing_ai_default::move_leader_to_keep_phase"
					score="    120000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="combat"
					max_score="    100000"
					name="testing_ai_default::combat_phase"
					score="    100000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="healing"
					max_score="    80000"
					name="testing_ai_default::get_healing_phase"
					score="    80000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="villages"
					max_score="    60000"
					name="testing_ai_default::get_villages_phase"
					score="    60000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="retreat"
					max_score="    40000"
					name="testing_ai_default::retreat_phase"
					score="    40000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_to_targets"
					max_score="    20000"
					name="testing_ai_default::testing_move_to_targets_phase"
					score="    20000"
				[/candidate_action]
			[/stage]
			[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="testing_ai_default::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_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_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_pattern"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/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="8"
			y="21"
		[/village]
		[village]
			x="12"
			y="18"
		[/village]
		[village]
			x="13"
			y="25"
		[/village]
		[village]
			x="21"
			y="16"
		[/village]
		[village]
			x="21"
			y="23"
		[/village]
		[village]
			x="26"
			y="18"
		[/village]
		[unit]
			advances_to="Banebow"
			ai_special=""
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			cost="26"
			experience="0"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="40"
			id="RMPSide1"
			image="units/undead-skeletal/bone-shooter.png"
			language_name=_ "Bone Shooter"
			level="2"
			max_attacks="1"
			max_experience="56"
			max_hitpoints="40"
			max_moves="5"
			moves="5"
			name="Qsto"
			overlays=""
			profile=""
			race="undead"
			random_traits="no"
			resting="yes"
			role=""
			side="1"
			type="Bone Shooter"
			undead_variation=""
			underlying_id="1"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			variation=""
			x="17"
			y="18"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="150"
				blade="60"
				cold="40"
				fire="120"
				impact="120"
				pierce="40"
			[/resistance]
			[abilities]
				[hides]
					affect_self="yes"
#textdomain wesnoth
					description=_ "Submerge:
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=_ "Submerge:
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_self]
						[filter_location]
							terrain="Wo"
						[/filter_location]
					[/filter_self]
				[/hides]
			[/abilities]
			[variables]
			[/variables]
			[status]
				not_living="yes"
			[/status]
			[attack]
				damage="6"
#textdomain wesnoth-units
				description=_ "dagger"
				icon="attacks/dagger-undead.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="10"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth
					description=_ "Immune to drain, poison and plague"
					female_name=_ "female^undead"
					id="undead"
					male_name=_ "undead"
					name=_ "undead"
					[effect]
						add="not_living"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Wraith,Shadow"
			ai_special=""
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="20"
			ellipse="misc/ellipse"
			experience="1"
			facing="ne"
			flag_rgb="magenta"
			flying="yes"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="12"
			id="Ghost-3"
			image="units/undead/ghost-s-2.png"
#textdomain wesnoth-units
			language_name=_ "Ghost"
			level="1"
			max_attacks="1"
			max_experience="21"
			max_hitpoints="18"
			max_moves="7"
			moves="7"
			name=""
			overlays=""
			profile="portraits/undead/ghost.png"
			race="undead"
			random_traits="no"
			resting="yes"
			role=""
			side="1"
			type="Ghost"
			undead_variation=""
			underlying_id="3"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			variation=""
			x="5"
			y="9"
			zoc="yes"
			[defense]
				castle="50"
				cave="50"
				deep_water="50"
				flat="50"
				forest="50"
				frozen="50"
				fungus="50"
				hills="50"
				mountains="50"
				reef="50"
				sand="50"
				shallow_water="50"
				swamp_water="50"
				unwalkable="50"
				village="50"
			[/defense]
			[movement_costs]
				castle="1"
				cave="1"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="1"
				fungus="1"
				hills="1"
				mountains="1"
				reef="2"
				sand="1"
				shallow_water="2"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="50"
				cold="30"
				fire="90"
				impact="50"
				pierce="50"
			[/resistance]
			[attack_anim]
				start_time="-200"
				[filter_attack]
					name="wail"
				[/filter_attack]
				[if]
					direction="n,ne,nw"
					[missile_frame]
						begin="-300"
						end="-230"
						image="projectiles/wailprojectile-n-1.png"
						image_diagonal="projectiles/wailprojectile-ne-1.png"
					[/missile_frame]
					[missile_frame]
						begin="-230"
						end="-160"
						image="projectiles/wailprojectile-n-2.png"
						image_diagonal="projectiles/wailprojectile-ne-2.png"
					[/missile_frame]
					[missile_frame]
						begin="-160"
						end="0"
						image="projectiles/wailprojectile-n-3.png"
						image_diagonal="projectiles/wailprojectile-ne-3.png"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="40"
						image="projectiles/wailprojectile-n-4.png"
						image_diagonal="projectiles/wailprojectile-ne-4.png"
					[/missile_frame]
					[missile_frame]
						begin="40"
						end="80"
						image="projectiles/wailprojectile-n-5.png"
						image_diagonal="projectiles/wailprojectile-ne-5.png"
					[/missile_frame]
					[missile_frame]
						begin="80"
						end="120"
						image="projectiles/wailprojectile-n-6.png"
						image_diagonal="projectiles/wailprojectile-ne-6.png"
					[/missile_frame]
				[/if]
				[else]
					direction="s,se,sw"
					[missile_frame]
						begin="-300"
						end="-230"
						image="projectiles/wailprojectile-s-1.png"
						image_diagonal="projectiles/wailprojectile-se-1.png"
					[/missile_frame]
					[missile_frame]
						begin="-230"
						end="-160"
						image="projectiles/wailprojectile-s-2.png"
						image_diagonal="projectiles/wailprojectile-se-2.png"
					[/missile_frame]
					[missile_frame]
						begin="-160"
						end="0"
						image="projectiles/wailprojectile-s-3.png"
						image_diagonal="projectiles/wailprojectile-se-3.png"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="40"
						image="projectiles/wailprojectile-s-4.png"
						image_diagonal="projectiles/wailprojectile-se-4.png"
					[/missile_frame]
					[missile_frame]
						begin="40"
						end="80"
						image="projectiles/wailprojectile-s-5.png"
						image_diagonal="projectiles/wailprojectile-se-5.png"
					[/missile_frame]
					[missile_frame]
						begin="80"
						end="120"
						image="projectiles/wailprojectile-s-6.png"
						image_diagonal="projectiles/wailprojectile-se-6.png"
					[/missile_frame]
				[/else]
				[if]
					direction="s,se,sw"
					[frame]
						duration="25"
						image="units/undead/ghost-s-2.png"
					[/frame]
					[frame]
						duration="75"
						image="units/undead/ghost-s-attack-1.png"
					[/frame]
					[frame]
						duration="150"
						image="units/undead/ghost-s-attack-2.png"
						sound="wail-sml.wav"
					[/frame]
					[frame]
						duration="75"
						image="units/undead/ghost-s-attack-1.png"
					[/frame]
					[frame]
						duration="25"
						image="units/undead/ghost-s-2.png"
					[/frame]
				[/if]
				[else]
					direction="n,ne,nw"
					[frame]
						duration="25"
						image="units/undead/ghost-n-2.png"
					[/frame]
					[frame]
						duration="75"
						image="units/undead/ghost-n-attack-1.png"
					[/frame]
					[frame]
						duration="150"
						image="units/undead/ghost-n-attack-2.png"
						sound="wail-sml.wav"
					[/frame]
					[frame]
						duration="75"
						image="units/undead/ghost-n-attack-1.png"
					[/frame]
					[frame]
						duration="25"
						image="units/undead/ghost-n-2.png"
					[/frame]
				[/else]
			[/attack_anim]
			[attack_anim]
				alpha="0.8~0.0:425,0.0~0.8:225"
				direction="s,se,sw"
				offset="0.0~1.0:425,0.0:225"
				start_time="-500"
				[filter_attack]
					name="touch"
				[/filter_attack]
				[frame]
					duration="25"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="175"
					image="units/undead/ghost-s-attack-1.png"
				[/frame]
				[frame]
					duration="175"
					image="units/undead/ghost-s-attack-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/ghost-s-attack-3.png"
					sound="wail-sml.wav"
				[/frame]
				[frame]
					duration="75"
					image="units/undead/ghost-s-attack-2.png"
				[/frame]
				[frame]
					duration="75"
					image="units/undead/ghost-s-attack-1.png"
				[/frame]
				[frame]
					duration="25"
					image="units/undead/ghost-s-2.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				alpha="0.8~0.0:425,0.0~0.8:225"
				direction="n,ne,nw"
				offset="0.0~1.0:425,0.0:225"
				start_time="-500"
				[filter_attack]
					name="touch"
				[/filter_attack]
				[frame]
					duration="25"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="175"
					image="units/undead/ghost-n-attack-1.png"
				[/frame]
				[frame]
					duration="175"
					image="units/undead/ghost-n-attack-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/ghost-n-attack-3.png"
					sound="wail-sml.wav"
				[/frame]
				[frame]
					duration="75"
					image="units/undead/ghost-n-attack-2.png"
				[/frame]
				[frame]
					duration="75"
					image="units/undead/ghost-n-attack-1.png"
				[/frame]
				[frame]
					duration="25"
					image="units/undead/ghost-n-2.png"
				[/frame]
			[/attack_anim]
			[defend]
				direction="s,se,sw"
				start_time="-126"
				[if]
					alpha="0.8~0.5:126,0.5~0.8:126"
					hits="hit,kill"
					offset="0.0~-0.05:126,-0.05~0.0:126"
					[frame]
						duration="1"
						image="units/undead/ghost-s-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/undead/ghost-s-attack-1.png"
					[/frame]
					[frame]
						duration="150"
						image="units/undead/ghost-s-attack-1.png"
						sound="wail-sml.wav"
					[/frame]
					[frame]
						duration="1"
						image="units/undead/ghost-s-2.png"
					[/frame]
				[/if]
				[else]
					alpha="0.8~0.25:126,0.25~0.8:126"
					hits="miss"
					offset="0.0~-0.1:126,-0.1~0.0:126"
					[frame]
						duration="1"
						image="units/undead/ghost-s-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/undead/ghost-s-attack-1.png"
					[/frame]
					[frame]
						duration="150"
						image="units/undead/ghost-s-attack-1.png"
					[/frame]
					[frame]
						duration="1"
						image="units/undead/ghost-s-2.png"
					[/frame]
				[/else]
			[/defend]
			[defend]
				direction="n,ne,nw"
				start_time="-126"
				[if]
					alpha="0.8~0.5:126,0.5~0.8:126"
					hits="hit,kill"
					offset="0.0~-0.05:126,-0.05~0.0:126"
					[frame]
						duration="1"
						image="units/undead/ghost-n-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/undead/ghost-n-attack-1.png"
					[/frame]
					[frame]
						duration="150"
						image="units/undead/ghost-n-attack-1.png"
						sound="wail-sml.wav"
					[/frame]
					[frame]
						duration="1"
						image="units/undead/ghost-n-2.png"
					[/frame]
				[/if]
				[else]
					alpha="0.8~0.25:126,0.25~0.8:126"
					hits="miss"
					offset="0.0~-0.1:126,-0.1~0.0:126"
					[frame]
						duration="1"
						image="units/undead/ghost-n-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/undead/ghost-n-attack-1.png"
					[/frame]
					[frame]
						duration="150"
						image="units/undead/ghost-n-attack-1.png"
					[/frame]
					[frame]
						duration="1"
						image="units/undead/ghost-n-2.png"
					[/frame]
				[/else]
			[/defend]
			[portrait]
				image="portraits/undead/transparent/ghost.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/undead/transparent/ghost.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[standing_anim]
				alpha="0.8~0.4:1400,0.4~0.6:600,0.6~0.4:600,0.4~0.8:1400"
				direction="s,se,sw"
				start_time="0"
				[frame]
					duration="250"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-1.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-3.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-1.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-3.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-1.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-3.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-1.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-s-3.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				alpha="0.8~0.4:1400,0.4~0.6:600,0.6~0.4:600,0.4~0.8:1400"
				direction="n,ne,nw"
				start_time="0"
				[frame]
					duration="250"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-1.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-3.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-1.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-3.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-1.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-3.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-1.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="250"
					image="units/undead/ghost-n-3.png"
				[/frame]
			[/standing_anim]
			[variables]
			[/variables]
			[status]
				not_living="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "touch"
				icon="attacks/touch-undead.png"
				name="touch"
				number="3"
				range="melee"
				type="arcane"
				[specials]
					[drains]
#textdomain wesnoth
						description=_ "Drain:
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]
			[attack]
				damage="3"
#textdomain wesnoth-units
				description=_ "wail"
				name="wail"
				number="3"
				range="ranged"
				type="cold"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth
					description=_ "Immune to drain, poison and plague"
					female_name=_ "female^undead"
					id="undead"
					male_name=_ "undead"
					name=_ "undead"
					[effect]
						add="not_living"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Blood Bat"
			ai_special=""
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="13"
			ellipse="misc/ellipse-nozoc"
			experience="0"
			facing="n"
			flag_rgb="magenta"
			flying="yes"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="16"
			id="Vampire Bat-4"
			image="units/undead/bat-se-3.png"
#textdomain wesnoth-units
			language_name=_ "Vampire Bat"
			level="0"
			max_attacks="1"
			max_experience="15"
			max_hitpoints="16"
			max_moves="9"
			moves="9"
			name=""
			overlays=""
			profile="portraits/monsters/bat.png"
			race="bats"
			random_traits="no"
			resting="yes"
			role=""
			side="1"
			type="Vampire Bat"
			undead_variation="bat"
			underlying_id="4"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			variation=""
			x="28"
			y="4"
			zoc="no"
			[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="60"
			[/defense]
			[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]
			[resistance]
				arcane="80"
				blade="100"
				cold="70"
				fire="100"
				impact="120"
				pierce="100"
			[/resistance]
			[attack_anim]
				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]
					duration="30"
					image="units/undead/bat-se-3.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-se-2.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-se-1.png"
					sound="bat-flapping.wav"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-se-2.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-se-3.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="70"
						image="units/undead/bat-se-4.png"
						sound="bite-small.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="70"
						image="units/undead/bat-se-4.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="50"
					image="units/undead/bat-se-3.png"
				[/frame]
				[frame]
					duration="50"
					image="units/undead/bat-se-2.png"
				[/frame]
				[frame]
					duration="40"
					image="units/undead/bat-se-3.png"
				[/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="fangs"
				[/filter_attack]
				[frame]
					duration="30"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-ne-2.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-ne-1.png"
					sound="bat-flapping.wav"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-ne-2.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="70"
						image="units/undead/bat-ne-4.png"
						sound="bite-small.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="70"
						image="units/undead/bat-ne-4.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="50"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[frame]
					duration="50"
					image="units/undead/bat-ne-2.png"
				[/frame]
				[frame]
					duration="40"
					image="units/undead/bat-ne-3.png"
				[/frame]
			[/attack_anim]
			[defend]
				direction="s,sw,se"
				start_time="-126"
				[if]
					hits="miss"
					offset="0.0~-0.15,-0.15~0.0"
				[/if]
				[frame]
					duration="1"
					image="units/undead/bat-se-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/bat-se-4.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/undead/bat-se-4.png"
						sound="bat-hit-1.ogg,bat-hit-2.ogg,bat-hit-3.ogg,bat-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/undead/bat-se-4.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/undead/bat-se-3.png"
				[/frame]
			[/defend]
			[defend]
				direction="n,nw,ne"
				start_time="-126"
				[if]
					hits="miss"
					offset="0.0~-0.15,-0.15~0.0"
				[/if]
				[frame]
					duration="1"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/bat-ne-4.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/undead/bat-ne-4.png"
						sound="bat-hit-1.ogg,bat-hit-2.ogg,bat-hit-3.ogg,bat-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/undead/bat-ne-4.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/undead/bat-ne-3.png"
				[/frame]
			[/defend]
			[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]
					duration="50"
					image="units/undead/bat-se-3.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-se-2.png"
				[/frame]
				[frame]
					duration="80"
					image="units/undead/bat-se-1.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-se-2.png"
				[/frame]
				[frame]
					duration="50"
					image="units/undead/bat-se-3.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-se-4.png"
				[/frame]
				[frame]
					duration="80"
					image="units/undead/bat-se-5.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-se-4.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				direction="n,ne,nw"
				layer="60"
				start_time="0"
				[frame]
					duration="50"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-ne-2.png"
				[/frame]
				[frame]
					duration="80"
					image="units/undead/bat-ne-1.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-ne-2.png"
				[/frame]
				[frame]
					duration="50"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-ne-4.png"
				[/frame]
				[frame]
					duration="80"
					image="units/undead/bat-ne-5.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-ne-4.png"
				[/frame]
			[/standing_anim]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="5"
				description=_ "fangs"
				icon="attacks/fangs-animal.png"
				name="fangs"
				number="2"
				range="melee"
				type="blade"
				[specials]
					[drains]
#textdomain wesnoth
						description=_ "Drain:
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]
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					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"
					name=_ "quick"
					[effect]
						apply_to="movement"
						increase="1"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Revenant,Deathblade"
			ai_special=""
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="15"
			ellipse="misc/ellipse"
			experience="0"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="34"
			id="Skeleton-5"
			image="units/undead-skeletal/skeleton.png"
#textdomain wesnoth-units
			language_name=_ "Skeleton"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="34"
			max_moves="5"
			moves="5"
			name=""
			overlays=""
			profile="portraits/undead/skeleton.png"
			race="undead"
			random_traits="no"
			resting="yes"
			role=""
			side="1"
			type="Skeleton"
			undead_variation=""
			underlying_id="5"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			variation=""
			x="7"
			y="17"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="150"
				blade="60"
				cold="40"
				fire="120"
				impact="120"
				pierce="40"
			[/resistance]
			[abilities]
				[hides]
					affect_self="yes"
#textdomain wesnoth
					description=_ "Submerge:
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=_ "Submerge:
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_self]
						[filter_location]
							terrain="Wo"
						[/filter_location]
					[/filter_self]
				[/hides]
			[/abilities]
			[attack_anim]
				offset="0.0~0.3,0.3~0.45,0.45~0.3,0.3~0.0"
				start_time="-250"
				[filter_attack]
					name="axe"
				[/filter_attack]
				[frame]
					duration="150"
					image="units/undead-skeletal/skeleton-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="100"
						image="units/undead-skeletal/skeleton-attack-2.png"
						sound="axe.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="100"
						image="units/undead-skeletal/skeleton-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-attack-3.png"
				[/frame]
				[frame]
					duration="90"
					image="units/undead-skeletal/skeleton-attack-4.png"
				[/frame]
				[frame]
					duration="80"
					image="units/undead-skeletal/skeleton-attack-5.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="100"
					image="units/undead-skeletal/skeleton-dying-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/undead-skeletal/skeleton-dying-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/undead-skeletal/skeleton-dying-3.png"
				[/frame]
				[frame]
					begin="300"
					end="400"
					image="units/undead-skeletal/skeleton-dying-4.png"
				[/frame]
				[frame]
					begin="400"
					end="500"
					image="units/undead-skeletal/skeleton-dying-5.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/undead-skeletal/skeleton-dying-6.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/undead-skeletal/skeleton-dying-7.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/undead-skeletal/skeleton-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/undead-skeletal/skeleton-defend-2.png"
						sound="skeleton-hit-1.ogg,skeleton-hit-2.ogg,skeleton-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/undead-skeletal/skeleton-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/undead-skeletal/skeleton-defend-1.png"
				[/frame]
			[/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]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-2.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/undead/transparent/skeleton.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/undead/transparent/skeleton.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[recruit_anim]
				[frame]
					alpha="0~1:300"
					begin="-200"
					end="100"
					image="units/undead-skeletal/skeleton-dying-7.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/undead-skeletal/skeleton-dying-6.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/undead-skeletal/skeleton-dying-5.png"
				[/frame]
				[frame]
					begin="300"
					end="400"
					image="units/undead-skeletal/skeleton-dying-4.png"
				[/frame]
				[frame]
					begin="400"
					end="500"
					image="units/undead-skeletal/skeleton-dying-3.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/undead-skeletal/skeleton-dying-2.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/undead-skeletal/skeleton-dying-1.png"
				[/frame]
			[/recruit_anim]
			[variables]
			[/variables]
			[status]
				not_living="yes"
			[/status]
			[attack]
				damage="7"
#textdomain wesnoth-units
				description=_ "axe"
				icon="attacks/axe-undead.png"
				name="axe"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth
					description=_ "Immune to drain, poison and plague"
					female_name=_ "female^undead"
					id="undead"
					male_name=_ "undead"
					name=_ "undead"
					[effect]
						add="not_living"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Necrophage"
			ai_special=""
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="16"
			ellipse="misc/ellipse"
			experience="0"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="33"
			id="Ghoul-6"
			image="units/undead/ghoul.png"
#textdomain wesnoth-units
			language_name=_ "Ghoul"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="33"
			max_moves="5"
			moves="5"
			name=""
			overlays=""
			profile="portraits/undead/ghoul.png"
			race="undead"
			random_traits="no"
			resting="yes"
			role=""
			side="1"
			type="Ghoul"
			undead_variation=""
			underlying_id="6"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			variation=""
			x="25"
			y="24"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="80"
				blade="90"
				cold="60"
				fire="90"
				impact="100"
				pierce="70"
			[/resistance]
			[attack_anim]
				[filter_attack]
					name="claws"
				[/filter_attack]
				[frame]
					begin="-250"
					end="-200"
					image="units/undead/ghoul.png"
				[/frame]
				[frame]
					begin="-200"
					end="-125"
					image="units/undead/ghoul-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-125"
						end="-50"
						image="units/undead/ghoul-attack-2.png"
						sound="claws.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-125"
						end="-50"
						image="units/undead/ghoul-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[if]
					hits="hit"
					poisoned_sound_start_time="-100"
					[filter_second]
						[not]
							[filter_wml]
								[status]
									poisoned="yes"
								[/status]
							[/filter_wml]
						[/not]
					[/filter_second]
					[poisoned_sound_frame]
						duration="100"
						sound="poison.ogg"
					[/poisoned_sound_frame]
				[/if]
				[frame]
					begin="-50"
					end="50"
					image="units/undead/ghoul-attack-3.png"
				[/frame]
				[frame]
					begin="50"
					end="125"
					image="units/undead/ghoul-attack-4.png"
				[/frame]
				[frame]
					begin="125"
					end="200"
					image="units/undead/ghoul.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/undead/ghoul-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/ghoul-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/undead/ghoul-defend-2.png"
						sound="ghoul-hit.wav"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/undead/ghoul-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/undead/ghoul-defend-1.png"
				[/frame]
			[/defend]
			[trait]
				availability="musthave"
#textdomain wesnoth
				description=_ "Fights normally during unfavorable times of day/night"
				female_name=_ "female^fearless"
				id="fearless"
				male_name=_ "fearless"
			[/trait]
			[variables]
			[/variables]
			[status]
				not_living="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
						description=_ "Poison:
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"
					name=_ "undead"
					[effect]
						add="not_living"
						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"
					name=_ "fearless"
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Dark Sorcerer"
			ai_special=""
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="16"
			ellipse="misc/ellipse"
			experience="0"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="27"
			id="Dark Adept-10"
			image="units/undead-necromancers/adept.png"
#textdomain wesnoth-units
			language_name=_ "Dark Adept"
			level="1"
			max_attacks="1"
			max_experience="27"
			max_hitpoints="27"
			max_moves="6"
			moves="6"
			name="Meoddry"
			overlays=""
			profile="portraits/humans/dark-adept.png"
			race="human"
			random_traits="no"
			resting="yes"
			role=""
			side="1"
			type="Dark Adept"
			undead_variation=""
			underlying_id="10"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			variation=""
			x="14"
			y="17"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[attack_anim]
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[missile_frame]
					begin="-50"
					end="150"
					image="projectiles/darkmissile-n.png"
					image_diagonal="projectiles/darkmissile-ne.png"
				[/missile_frame]
				[frame]
					begin="-450"
					end="-420"
					image="units/undead-necromancers/adept.png"
				[/frame]
				[frame]
					begin="-420"
					end="-395"
					image="units/undead-necromancers/adept-magic-1.png"
				[/frame]
				[frame]
					begin="-395"
					end="-320"
					image="units/undead-necromancers/adept-magic-2.png"
				[/frame]
				[frame]
					begin="-320"
					end="-300"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					halo="halo/undead/dark-magic-1.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-200"
					halo="halo/undead/dark-magic-2.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-200"
					end="-150"
					halo="halo/undead/dark-magic-3.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-150"
					end="-100"
					halo="halo/undead/dark-magic-4.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					halo="halo/undead/dark-magic-5.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-50"
						end="0"
						halo="halo/undead/dark-magic-6.png"
						halo_x="0"
						halo_y="-12"
						image="units/undead-necromancers/adept-magic-3.png"
						sound="magic-dark-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-50"
						end="0"
						halo="halo/undead/dark-magic-6.png"
						halo_x="0"
						halo_y="-12"
						image="units/undead-necromancers/adept-magic-3.png"
						sound="magic-dark.ogg"
					[/frame]
				[/else]
				[frame]
					begin="0"
					end="50"
					image="units/undead-necromancers/adept-magic-2.png"
				[/frame]
				[frame]
					begin="50"
					end="90"
					image="units/undead-necromancers/adept-magic-1.png"
				[/frame]
				[frame]
					begin="90"
					end="100"
					image="units/undead-necromancers/adept.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="100"
					image="units/undead-necromancers/adept-die1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/undead-necromancers/adept-die2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/undead-necromancers/adept-die3.png"
				[/frame]
				[frame]
					begin="300"
					end="400"
					image="units/undead-necromancers/adept-die4.png"
				[/frame]
				[frame]
					begin="400"
					end="520"
					image="units/undead-necromancers/adept-die5.png"
				[/frame]
				[frame]
					begin="520"
					end="640"
					image="units/undead-necromancers/adept-die6.png"
				[/frame]
				[frame]
					begin="640"
					end="780"
					image="units/undead-necromancers/adept-die7.png"
				[/frame]
				[frame]
					begin="780"
					end="900"
					image="units/undead-necromancers/adept-die8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/undead-necromancers/adept-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-necromancers/adept-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/undead-necromancers/adept-defend-2.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/undead-necromancers/adept-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/undead-necromancers/adept-defend-1.png"
				[/frame]
			[/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]
				[filter_second]
					race="undead"
				[/filter_second]
				[frame]
					begin="-450"
					end="-420"
					image="units/undead-necromancers/adept.png"
				[/frame]
				[frame]
					begin="-420"
					end="-395"
					image="units/undead-necromancers/adept-magic-1.png"
				[/frame]
				[frame]
					begin="-395"
					end="-320"
					image="units/undead-necromancers/adept-magic-2.png"
				[/frame]
				[frame]
					begin="-320"
					end="-300"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					halo="halo/undead/dark-magic-1.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-200"
					halo="halo/undead/dark-magic-2.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-200"
					end="-150"
					halo="halo/undead/dark-magic-3.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-150"
					end="-100"
					halo="halo/undead/dark-magic-4.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					halo="halo/undead/dark-magic-5.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
				[/frame]
				[frame]
					begin="-50"
					end="0"
					halo="halo/undead/dark-magic-6.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
					sound="magic-dark.ogg"
				[/frame]
				[frame]
					begin="0"
					end="50"
					image="units/undead-necromancers/adept-magic-2.png"
				[/frame]
				[frame]
					begin="50"
					end="90"
					image="units/undead-necromancers/adept-magic-1.png"
				[/frame]
				[frame]
					begin="90"
					end="100"
					image="units/undead-necromancers/adept.png"
				[/frame]
			[/recruiting_anim]
			[trait]
#textdomain wesnoth
				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]
			[variables]
			[/variables]
			[status]
			[/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
						description=_ "Magical:
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
						description=_ "Magical:
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"
					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"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Revenant,Deathblade"
			ai_special=""
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="15"
			ellipse="misc/ellipse"
			experience="0"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="34"
			id="Skeleton-11"
			image="units/undead-skeletal/skeleton.png"
#textdomain wesnoth-units
			language_name=_ "Skeleton"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="34"
			max_moves="5"
			moves="5"
			name=""
			overlays=""
			profile="portraits/undead/skeleton.png"
			race="undead"
			random_traits="no"
			resting="yes"
			role=""
			side="1"
			type="Skeleton"
			undead_variation=""
			underlying_id="11"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			variation=""
			x="26"
			y="18"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="150"
				blade="60"
				cold="40"
				fire="120"
				impact="120"
				pierce="40"
			[/resistance]
			[abilities]
				[hides]
					affect_self="yes"
#textdomain wesnoth
					description=_ "Submerge:
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=_ "Submerge:
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_self]
						[filter_location]
							terrain="Wo"
						[/filter_location]
					[/filter_self]
				[/hides]
			[/abilities]
			[attack_anim]
				offset="0.0~0.3,0.3~0.45,0.45~0.3,0.3~0.0"
				start_time="-250"
				[filter_attack]
					name="axe"
				[/filter_attack]
				[frame]
					duration="150"
					image="units/undead-skeletal/skeleton-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="100"
						image="units/undead-skeletal/skeleton-attack-2.png"
						sound="axe.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="100"
						image="units/undead-skeletal/skeleton-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-attack-3.png"
				[/frame]
				[frame]
					duration="90"
					image="units/undead-skeletal/skeleton-attack-4.png"
				[/frame]
				[frame]
					duration="80"
					image="units/undead-skeletal/skeleton-attack-5.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="100"
					image="units/undead-skeletal/skeleton-dying-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/undead-skeletal/skeleton-dying-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/undead-skeletal/skeleton-dying-3.png"
				[/frame]
				[frame]
					begin="300"
					end="400"
					image="units/undead-skeletal/skeleton-dying-4.png"
				[/frame]
				[frame]
					begin="400"
					end="500"
					image="units/undead-skeletal/skeleton-dying-5.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/undead-skeletal/skeleton-dying-6.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/undead-skeletal/skeleton-dying-7.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/undead-skeletal/skeleton-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/undead-skeletal/skeleton-defend-2.png"
						sound="skeleton-hit-1.ogg,skeleton-hit-2.ogg,skeleton-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/undead-skeletal/skeleton-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/undead-skeletal/skeleton-defend-1.png"
				[/frame]
			[/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]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-idle-2.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/undead/transparent/skeleton.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/undead/transparent/skeleton.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[recruit_anim]
				[frame]
					alpha="0~1:300"
					begin="-200"
					end="100"
					image="units/undead-skeletal/skeleton-dying-7.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/undead-skeletal/skeleton-dying-6.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/undead-skeletal/skeleton-dying-5.png"
				[/frame]
				[frame]
					begin="300"
					end="400"
					image="units/undead-skeletal/skeleton-dying-4.png"
				[/frame]
				[frame]
					begin="400"
					end="500"
					image="units/undead-skeletal/skeleton-dying-3.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/undead-skeletal/skeleton-dying-2.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/undead-skeletal/skeleton-dying-1.png"
				[/frame]
			[/recruit_anim]
			[variables]
			[/variables]
			[status]
				not_living="yes"
			[/status]
			[attack]
				damage="7"
#textdomain wesnoth-units
				description=_ "axe"
				icon="attacks/axe-undead.png"
				name="axe"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth
					description=_ "Immune to drain, poison and plague"
					female_name=_ "female^undead"
					id="undead"
					male_name=_ "undead"
					name=_ "undead"
					[effect]
						add="not_living"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Blood Bat"
			ai_special=""
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="13"
			ellipse="misc/ellipse-nozoc"
			experience="0"
			facing="ne"
			flag_rgb="magenta"
			flying="yes"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="16"
			id="Vampire Bat-14"
			image="units/undead/bat-se-3.png"
#textdomain wesnoth-units
			language_name=_ "Vampire Bat"
			level="0"
			max_attacks="1"
			max_experience="15"
			max_hitpoints="16"
			max_moves="9"
			moves="9"
			name=""
			overlays=""
			profile="portraits/monsters/bat.png"
			race="bats"
			random_traits="no"
			resting="yes"
			role=""
			side="1"
			type="Vampire Bat"
			undead_variation="bat"
			underlying_id="14"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			variation=""
			x="20"
			y="15"
			zoc="no"
			[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="60"
			[/defense]
			[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]
			[resistance]
				arcane="80"
				blade="100"
				cold="70"
				fire="100"
				impact="120"
				pierce="100"
			[/resistance]
			[attack_anim]
				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]
					duration="30"
					image="units/undead/bat-se-3.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-se-2.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-se-1.png"
					sound="bat-flapping.wav"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-se-2.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-se-3.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="70"
						image="units/undead/bat-se-4.png"
						sound="bite-small.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="70"
						image="units/undead/bat-se-4.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="50"
					image="units/undead/bat-se-3.png"
				[/frame]
				[frame]
					duration="50"
					image="units/undead/bat-se-2.png"
				[/frame]
				[frame]
					duration="40"
					image="units/undead/bat-se-3.png"
				[/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="fangs"
				[/filter_attack]
				[frame]
					duration="30"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-ne-2.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-ne-1.png"
					sound="bat-flapping.wav"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-ne-2.png"
				[/frame]
				[frame]
					duration="30"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="70"
						image="units/undead/bat-ne-4.png"
						sound="bite-small.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="70"
						image="units/undead/bat-ne-4.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="50"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[frame]
					duration="50"
					image="units/undead/bat-ne-2.png"
				[/frame]
				[frame]
					duration="40"
					image="units/undead/bat-ne-3.png"
				[/frame]
			[/attack_anim]
			[defend]
				direction="s,sw,se"
				start_time="-126"
				[if]
					hits="miss"
					offset="0.0~-0.15,-0.15~0.0"
				[/if]
				[frame]
					duration="1"
					image="units/undead/bat-se-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/bat-se-4.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/undead/bat-se-4.png"
						sound="bat-hit-1.ogg,bat-hit-2.ogg,bat-hit-3.ogg,bat-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/undead/bat-se-4.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/undead/bat-se-3.png"
				[/frame]
			[/defend]
			[defend]
				direction="n,nw,ne"
				start_time="-126"
				[if]
					hits="miss"
					offset="0.0~-0.15,-0.15~0.0"
				[/if]
				[frame]
					duration="1"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/bat-ne-4.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/undead/bat-ne-4.png"
						sound="bat-hit-1.ogg,bat-hit-2.ogg,bat-hit-3.ogg,bat-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/undead/bat-ne-4.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/undead/bat-ne-3.png"
				[/frame]
			[/defend]
			[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]
					duration="50"
					image="units/undead/bat-se-3.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-se-2.png"
				[/frame]
				[frame]
					duration="80"
					image="units/undead/bat-se-1.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-se-2.png"
				[/frame]
				[frame]
					duration="50"
					image="units/undead/bat-se-3.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-se-4.png"
				[/frame]
				[frame]
					duration="80"
					image="units/undead/bat-se-5.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-se-4.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				direction="n,ne,nw"
				layer="60"
				start_time="0"
				[frame]
					duration="50"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-ne-2.png"
				[/frame]
				[frame]
					duration="80"
					image="units/undead/bat-ne-1.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-ne-2.png"
				[/frame]
				[frame]
					duration="50"
					image="units/undead/bat-ne-3.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-ne-4.png"
				[/frame]
				[frame]
					duration="80"
					image="units/undead/bat-ne-5.png"
				[/frame]
				[frame]
					duration="60"
					image="units/undead/bat-ne-4.png"
				[/frame]
			[/standing_anim]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="5"
				description=_ "fangs"
				icon="attacks/fangs-animal.png"
				name="fangs"
				number="2"
				range="melee"
				type="blade"
				[specials]
					[drains]
#textdomain wesnoth
						description=_ "Drain:
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]
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					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"
					name=_ "quick"
					[effect]
						apply_to="movement"
						increase="1"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
	[/side]
	[side]
		action_bonus_count="6"
		allow_player="yes"
		colour="2"
		controller="network"
		countdown_time="267000"
		current_player="tom030890"
		disallow_observers="no"
		flag=""
		flag_icon=""
		fog="yes"
		gold="18"
		gold_add="no"
		hidden="no"
		id="RMPSide2"
		income="0"
		name="tom030890"
		no_leader="yes"
		objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>"
		objectives_changed="yes"
		persistent="yes"
		recruit="Bowman,Cavalryman,Fencer,Heavy Infantryman,Horseman,Mage,Merman Fighter,Spearman"
		save_id="RMPSide2"
		share_maps="yes"
		share_view="no"
		shroud="no"
		shroud_data=""
		side="2"
		start_gold="100"
		team_name="south"
		user_team_name=_ "teamname^South"
		village_gold="2"
		[ai]
			description=_ "Multiplayer_AI^RCA AI"
			id="testing_ai_default"
			version="10710"
			[stage]
				id="main_loop"
				name="testing_ai_default::candidate_action_evaluation_loop"
				[candidate_action]
					engine="cpp"
					id="goto"
					max_score="    200000"
					name="testing_ai_default::goto_phase"
					score="    200000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="recruitment"
					max_score="    180000"
					name="testing_ai_default::aspect_recruitment_phase"
					score="    180000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_goals"
					max_score="    140000"
					name="testing_ai_default::move_leader_to_goals_phase"
					score="    140000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_leader_to_keep"
					max_score="    120000"
					name="testing_ai_default::move_leader_to_keep_phase"
					score="    120000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="combat"
					max_score="    100000"
					name="testing_ai_default::combat_phase"
					score="    100000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="healing"
					max_score="    80000"
					name="testing_ai_default::get_healing_phase"
					score="    80000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="villages"
					max_score="    60000"
					name="testing_ai_default::get_villages_phase"
					score="    60000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="retreat"
					max_score="    40000"
					name="testing_ai_default::retreat_phase"
					score="    40000"
				[/candidate_action]
				[candidate_action]
					engine="cpp"
					id="move_to_targets"
					max_score="    20000"
					name="testing_ai_default::testing_move_to_targets_phase"
					score="    20000"
				[/candidate_action]
			[/stage]
			[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="testing_ai_default::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_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_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_pattern"
				name="composite_aspect"
				[default]
					engine="cpp"
					name="standard_aspect"
				[/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="3"
		[/village]
		[village]
			x="6"
			y="8"
		[/village]
		[village]
			x="11"
			y="4"
		[/village]
		[village]
			x="11"
			y="11"
		[/village]
		[village]
			x="19"
			y="2"
		[/village]
		[village]
			x="20"
			y="8"
		[/village]
		[village]
			x="24"
			y="5"
		[/village]
		[unit]
			advances_to="General"
			ai_special=""
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			cost="35"
			experience="0"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="40"
			id="RMPSide2"
			image="units/human-loyalists/lieutenant.png"
#textdomain wesnoth-units
			language_name=_ "Lieutenant"
			level="2"
			max_attacks="1"
			max_experience="56"
			max_hitpoints="40"
			max_moves="6"
			moves="6"
			name="tom030890"
			overlays=""
			profile="portraits/humans/lieutenant.png"
			race="human"
			random_traits="no"
			resting="yes"
			role=""
			side="2"
			type="Lieutenant"
			undead_variation=""
			underlying_id="2"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			variation=""
			x="15"
			y="9"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[portrait]
				image="portraits/humans/transparent/lieutenant.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/lieutenant.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[abilities]
				[leadership]
					affect_self="no"
					cumulative="no"
#textdomain wesnoth
					description=_ "Leadership:
This unit can lead our own units that are next to it, making them fight better.

Adjacent own units of lower level will do more damage in battle. When a unit adjacent to, of a lower level than, and on the same side as a unit with Leadership engages in combat, its attacks do 25% more damage times the difference in their levels."
					female_name=_ "female^leadership"
					id="leadership"
					name=_ "leadership"
					value="50"
					[affect_adjacent]
						adjacent="n,ne,se,s,sw,nw"
						[filter]
							level="0"
						[/filter]
					[/affect_adjacent]
				[/leadership]
				[leadership]
					affect_self="no"
					cumulative="no"
					id="leadership"
					value="25"
					[affect_adjacent]
						adjacent="n,ne,se,s,sw,nw"
						[filter]
							level="1"
						[/filter]
					[/affect_adjacent]
				[/leadership]
			[/abilities]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="8"
#textdomain wesnoth-units
				description=_ "sword"
				icon="attacks/sword-human.png"
				name="sword"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "crossbow"
				icon="attacks/crossbow-human.png"
				name="crossbow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Longbowman"
			ai_special=""
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="14"
			ellipse="misc/ellipse"
			experience="0"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="38"
			id="Bowman-7"
			image="units/human-loyalists/bowman.png"
			language_name=_ "Bowman"
			level="1"
			max_attacks="1"
			max_experience="22"
			max_hitpoints="38"
			max_moves="5"
			moves="1"
			name="Gweorcyn"
			overlays=""
			profile="portraits/humans/bowman.png"
			race="human"
			random_traits="no"
			resting="no"
			role=""
			side="2"
			type="Bowman"
			undead_variation="archer"
			underlying_id="7"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			variation=""
			x="19"
			y="2"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[attack_anim]
				start_time="-445"
				[filter_attack]
					name="bow"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[frame]
					duration="65"
					image="units/human-loyalists/bowman-bow.png"
				[/frame]
				[frame]
					duration="75"
					image="units/human-loyalists/bowman-bow-attack-1.png"
				[/frame]
				[frame]
					duration="75"
					image="units/human-loyalists/bowman-bow-attack-2.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						duration="100"
						image="units/human-loyalists/bowman-bow-attack-3.png"
						sound="bow-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						duration="100"
						image="units/human-loyalists/bowman-bow-attack-3.png"
						sound="bow.ogg"
					[/frame]
				[/else]
				[frame]
					duration="130"
					image="units/human-loyalists/bowman-bow-attack-4.png"
				[/frame]
				[frame]
					duration="65"
					image="units/human-loyalists/bowman-bow-attack-1.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				start_time="-275"
				[filter_attack]
					name="short sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/human-loyalists/bowman-melee-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/bowman-melee-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="100"
						image="units/human-loyalists/bowman-melee-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="100"
						image="units/human-loyalists/bowman-melee-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/human-loyalists/bowman-melee-attack-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/bowman-melee-attack-4.png"
				[/frame]
				[frame]
					duration="50"
					image="units/human-loyalists/bowman-melee-defend-1.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/human-loyalists/bowman-melee-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/bowman-melee-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-loyalists/bowman-melee-defend-2.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/human-loyalists/bowman-melee-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-loyalists/bowman-melee-defend-1.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/human-loyalists/bowman-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/bowman-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-loyalists/bowman-bow-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/human-loyalists/bowman-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-loyalists/bowman-bow.png"
				[/frame]
			[/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]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="4"
				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
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Dragoon"
			ai_special=""
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="17"
			ellipse="misc/ellipse"
			experience="1"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="39"
			id="Cavalryman-8"
			image="units/human-loyalists/cavalryman.png"
#textdomain wesnoth-units
			language_name=_ "Cavalryman"
			level="1"
			max_attacks="1"
			max_experience="22"
			max_hitpoints="39"
			max_moves="8"
			moves="2"
			name="Rhyr"
			overlays=""
			profile="portraits/humans/cavalryman.png"
			race="human"
			random_traits="no"
			resting="no"
			role=""
			side="2"
			type="Cavalryman"
			undead_variation="mounted"
			underlying_id="8"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			variation=""
			x="5"
			y="3"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="80"
				blade="70"
				cold="80"
				fire="100"
				impact="60"
				pierce="120"
			[/resistance]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-225"
					end="-200"
					image="units/human-loyalists/cavalryman.png"
				[/frame]
				[frame]
					begin="-200"
					end="-150"
					image="units/human-loyalists/cavalryman-moving.png"
					sound="horse-canter.wav"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-150"
						end="150"
						image="units/human-loyalists/cavalryman-attack.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-150"
						end="150"
						image="units/human-loyalists/cavalryman-attack.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="150"
					end="200"
					image="units/human-loyalists/cavalryman-moving.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/human-loyalists/cavalryman.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="200"
					image="units/human-loyalists/cavalryman-die-1.png"
				[/frame]
				[frame]
					begin="200"
					end="400"
					image="units/human-loyalists/cavalryman-die-2.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/human-loyalists/cavalryman.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/cavalryman-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-loyalists/cavalryman-defend.png"
						sound="horse-hit-1.ogg,horse-hit-2.ogg,horse-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/human-loyalists/cavalryman-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-loyalists/cavalryman.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/human-loyalists/cavalryman-moving.png"
				[/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]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="7"
				description=_ "sword"
				icon="attacks/sword-human.png"
				name="sword"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					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="Dragoon"
			ai_special=""
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="17"
			ellipse="misc/ellipse"
			experience="0"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="44"
			id="Cavalryman-9"
			image="units/human-loyalists/cavalryman.png"
#textdomain wesnoth-units
			language_name=_ "Cavalryman"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="44"
			max_moves="8"
			moves="0"
			name="San"
			overlays=""
			profile="portraits/humans/cavalryman.png"
			race="human"
			random_traits="no"
			resting="no"
			role=""
			side="2"
			type="Cavalryman"
			undead_variation="mounted"
			underlying_id="9"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			variation=""
			x="15"
			y="10"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="80"
				blade="70"
				cold="80"
				fire="100"
				impact="60"
				pierce="120"
			[/resistance]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-225"
					end="-200"
					image="units/human-loyalists/cavalryman.png"
				[/frame]
				[frame]
					begin="-200"
					end="-150"
					image="units/human-loyalists/cavalryman-moving.png"
					sound="horse-canter.wav"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-150"
						end="150"
						image="units/human-loyalists/cavalryman-attack.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-150"
						end="150"
						image="units/human-loyalists/cavalryman-attack.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="150"
					end="200"
					image="units/human-loyalists/cavalryman-moving.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/human-loyalists/cavalryman.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="200"
					image="units/human-loyalists/cavalryman-die-1.png"
				[/frame]
				[frame]
					begin="200"
					end="400"
					image="units/human-loyalists/cavalryman-die-2.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/human-loyalists/cavalryman.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/cavalryman-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-loyalists/cavalryman-defend.png"
						sound="horse-hit-1.ogg,horse-hit-2.ogg,horse-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/human-loyalists/cavalryman-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-loyalists/cavalryman.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/human-loyalists/cavalryman-moving.png"
				[/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]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="7"
				description=_ "sword"
				icon="attacks/sword-human.png"
				name="sword"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					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^resilient"
					id="resilient"
					male_name=_ "resilient"
					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="Swordsman,Pikeman,Javelineer"
			ai_special=""
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="14"
			ellipse="misc/ellipse"
			experience="0"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="35"
			id="Spearman-12"
			image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
			language_name=_ "Spearman"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="35"
			max_moves="6"
			moves="0"
			name="Caroddreobry"
			overlays=""
			profile="portraits/humans/spearman.png"
			race="human"
			random_traits="no"
			resting="no"
			role=""
			side="2"
			type="Spearman"
			undead_variation=""
			underlying_id="12"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			variation=""
			x="6"
			y="8"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[attack_anim]
				[filter_attack]
					name="javelin"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/spear-n.png"
					image_diagonal="projectiles/spear-ne.png"
				[/missile_frame]
				[frame]
					begin="-250"
					end="-150"
					image="units/human-loyalists/spearman-death1.png"
					sound="throw-1.wav,throw-2.wav,throw-3.wav,throw-4.wav"
				[/frame]
				[frame]
					begin="-150"
					end="-100"
					image="units/human-loyalists/spearman-attack-ranged.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="-50"
						image="units/human-loyalists/spearman-attack-ranged.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="-50"
						image="units/human-loyalists/spearman-attack-ranged.png"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="50"
					image="units/human-loyalists/spearman-attack-ranged2.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="s"
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-150"
					image="units/human-loyalists/spearman.png"
				[/frame]
				[frame]
					begin="-150"
					end="-50"
					image="units/human-loyalists/spearman-attack-s-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-50"
						end="100"
						image="units/human-loyalists/spearman-attack-s-2.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-50"
						end="100"
						image="units/human-loyalists/spearman-attack-s-2.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/human-loyalists/spearman-attack-s-1.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="n"
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/human-loyalists/spearman.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack-n.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack-n.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/human-loyalists/spearman.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="ne,nw"
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/human-loyalists/spearman.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack-ne.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack-ne.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/human-loyalists/spearman.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="se,sw"
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/human-loyalists/spearman.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/human-loyalists/spearman.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="125"
					image="units/human-loyalists/spearman-death1.png"
				[/frame]
				[frame]
					begin="125"
					end="250"
					image="units/human-loyalists/spearman-death2.png"
				[/frame]
				[frame]
					begin="250"
					end="375"
					image="units/human-loyalists/spearman-death3.png"
				[/frame]
				[frame]
					begin="375"
					end="500"
					image="units/human-loyalists/spearman-death4.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-loyalists/spearman-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/human-loyalists/spearman-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
			[/defend]
			[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]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="8"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="3"
				range="melee"
				type="pierce"
				[specials]
					[firststrike]
#textdomain wesnoth
						description=_ "First Strike:
This unit always strikes first with this attack, even if they are defending."
						id="firststrike"
						name=_ "firststrike"
					[/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
					female_name=_ "female^quick"
					id="quick"
					male_name=_ "quick"
					name=_ "quick"
					[effect]
						apply_to="movement"
						increase="1"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					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="Swordsman,Pikeman,Javelineer"
			ai_special=""
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="14"
			ellipse="misc/ellipse"
			experience="0"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="37"
			id="Spearman-13"
			image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
			language_name=_ "Spearman"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="37"
			max_moves="5"
			moves="0"
			name="Glillyn"
			overlays=""
			profile="portraits/humans/spearman.png"
			race="human"
			random_traits="no"
			resting="no"
			role=""
			side="2"
			type="Spearman"
			undead_variation=""
			underlying_id="13"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			variation=""
			x="24"
			y="5"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[attack_anim]
				[filter_attack]
					name="javelin"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/spear-n.png"
					image_diagonal="projectiles/spear-ne.png"
				[/missile_frame]
				[frame]
					begin="-250"
					end="-150"
					image="units/human-loyalists/spearman-death1.png"
					sound="throw-1.wav,throw-2.wav,throw-3.wav,throw-4.wav"
				[/frame]
				[frame]
					begin="-150"
					end="-100"
					image="units/human-loyalists/spearman-attack-ranged.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="-50"
						image="units/human-loyalists/spearman-attack-ranged.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="-50"
						image="units/human-loyalists/spearman-attack-ranged.png"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="50"
					image="units/human-loyalists/spearman-attack-ranged2.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="s"
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-150"
					image="units/human-loyalists/spearman.png"
				[/frame]
				[frame]
					begin="-150"
					end="-50"
					image="units/human-loyalists/spearman-attack-s-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-50"
						end="100"
						image="units/human-loyalists/spearman-attack-s-2.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-50"
						end="100"
						image="units/human-loyalists/spearman-attack-s-2.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/human-loyalists/spearman-attack-s-1.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="n"
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/human-loyalists/spearman.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack-n.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack-n.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/human-loyalists/spearman.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="ne,nw"
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/human-loyalists/spearman.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack-ne.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack-ne.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/human-loyalists/spearman.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="se,sw"
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/human-loyalists/spearman.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/spearman-attack.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/human-loyalists/spearman.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="125"
					image="units/human-loyalists/spearman-death1.png"
				[/frame]
				[frame]
					begin="125"
					end="250"
					image="units/human-loyalists/spearman-death2.png"
				[/frame]
				[frame]
					begin="250"
					end="375"
					image="units/human-loyalists/spearman-death3.png"
				[/frame]
				[frame]
					begin="375"
					end="500"
					image="units/human-loyalists/spearman-death4.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-loyalists/spearman-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/human-loyalists/spearman-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
			[/defend]
			[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]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="8"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="3"
				range="melee"
				type="pierce"
				[specials]
					[firststrike]
#textdomain wesnoth
						description=_ "First Strike:
This unit always strikes first with this attack, even if they are defending."
						id="firststrike"
						name=_ "firststrike"
					[/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
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Shock Trooper"
			ai_special=""
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="19"
			ellipse="misc/ellipse"
			experience="0"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="44"
			id="Heavy Infantryman-15"
			image="units/human-loyalists/heavyinfantry.png"
#textdomain wesnoth-units
			language_name=_ "Heavy Infantryman"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="44"
			max_moves="4"
			moves="0"
			name="Sor"
			overlays=""
			profile="portraits/humans/heavy-infantry.png"
			race="human"
			random_traits="no"
			resting="no"
			role=""
			side="2"
			type="Heavy Infantryman"
			undead_variation=""
			underlying_id="15"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			variation=""
			x="20"
			y="8"
			zoc="yes"
			[defense]
				castle="50"
				cave="60"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				reef="80"
				sand="80"
				shallow_water="90"
				swamp_water="90"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				flat="1"
				forest="2"
				frozen="4"
				fungus="2"
				hills="3"
				reef="3"
				sand="2"
				shallow_water="4"
				swamp_water="4"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="50"
				cold="110"
				fire="110"
				impact="90"
				pierce="60"
			[/resistance]
			[attack_anim]
				[filter_attack]
					name="mace"
				[/filter_attack]
				[frame]
					begin="-230"
					end="-100"
					image="units/human-loyalists/heavyinfantry-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/heavyinfantry-attack-2.png"
						sound="mace.wav"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/human-loyalists/heavyinfantry-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="200"
					image="units/human-loyalists/heavyinfantry.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/human-loyalists/heavyinfantry-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavyinfantry-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-loyalists/heavyinfantry-defend-2.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/human-loyalists/heavyinfantry-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-loyalists/heavyinfantry-defend-1.png"
				[/frame]
			[/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]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-3.png"
				[/frame]
				[frame]
					duration="300"
					image="units/human-loyalists/heavy-infantry-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-7.png"
				[/frame]
				[frame]
					duration="1000"
					image="units/human-loyalists/heavy-infantry-idle-8.png"
				[/frame]
				[frame]
					duration="1000"
					image="units/human-loyalists/heavy-infantry-idle-9.png"
				[/frame]
				[frame]
					duration="1000"
					image="units/human-loyalists/heavy-infantry-idle-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/heavy-infantry-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/humans/transparent/heavy-infantry.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/heavy-infantry.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[trait]
#textdomain wesnoth
				description=_ "Fights normally during unfavorable times of day/night"
				female_name=_ "female^fearless"
				id="fearless"
				male_name=_ "fearless"
			[/trait]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="12"
#textdomain wesnoth-units
				description=_ "mace"
				icon="attacks/mace-spiked.png"
				name="mace"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					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"
					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"
			ai_special=""
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="20"
			ellipse="misc/ellipse"
			experience="0"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			generate_name="no"
			goto_x="-999"
			goto_y="-999"
			hitpoints="25"
			id="Mage-16"
			image="units/human-magi/mage.png"
#textdomain wesnoth-units
			language_name=_ "Mage"
			level="1"
			max_attacks="1"
			max_experience="34"
			max_hitpoints="25"
			max_moves="5"
			moves="1"
			name="Bloddyn"
			overlays=""
			profile="portraits/humans/mage.png"
			race="human"
			random_traits="no"
			resting="no"
			role=""
			side="2"
			type="Mage"
			undead_variation=""
			underlying_id="16"
			unrenamable="no"
			upkeep="full"
			usage="mixed fighter"
			variation=""
			x="11"
			y="11"
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[attack_anim]
				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"
				[filter_attack]
					name="missile"
				[/filter_attack]
				[magic_missile_frame]
					duration="400"
					halo="halo/mage-halo1.png,halo/mage-halo2.png,halo/mage-halo3.png,halo/mage-halo4.png,halo/mage-halo5.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-halo1.png,halo/mage-halo2.png,halo/mage-halo3.png,halo/mage-halo4.png,halo/mage-halo5.png,misc/blank-hex.png:1"
					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-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png,misc/blank-hex.png:1"
					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-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png,misc/blank-hex.png:1"
					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-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png,misc/blank-hex.png:1"
					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-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png,misc/blank-hex.png:1"
					halo_x="11"
					halo_y="-20"
					offset="0"
				[/magic_missile_flare_frame]
				[frame]
					begin="-800"
					end="-700"
					image="units/human-magi/mage-attack-magic1.png"
				[/frame]
				[frame]
					begin="-700"
					end="-350"
					image="units/human-magi/mage-attack-magic2.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-350"
						end="-100"
						image="units/human-magi/mage-attack-magic2.png"
						sound="magic-missile-1-miss.ogg,magic-missile-2-miss.ogg,magic-missile-3-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-350"
						end="-100"
						image="units/human-magi/mage-attack-magic2.png"
						sound="magic-missile-1.ogg,magic-missile-2.ogg,magic-missile-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-100"
					end="100"
					image="units/human-magi/mage-attack-magic1.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="staff"
				[/filter_attack]
				[frame]
					begin="-250"
					end="-200"
					image="units/human-magi/mage.png"
				[/frame]
				[frame]
					begin="-200"
					end="-100"
					image="units/human-magi/mage-attack-staff1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/human-magi/mage-attack-staff2.png"
						sound="staff.wav"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/human-magi/mage-attack-staff2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/human-magi/mage-attack-magic1.png"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/human-magi/mage.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/human-magi/mage.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-magi/mage-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-magi/mage-defend.png"
						sound="human-old-hit-1.ogg,human-old-hit-2.ogg,human-old-hit-3.ogg,human-old-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/human-magi/mage-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-magi/mage.png"
				[/frame]
			[/defend]
			[portrait]
				image="portraits/humans/transparent/mage.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/mage.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[variables]
			[/variables]
			[status]
			[/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
						description=_ "Magical:
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"
					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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
	[/side]
	[time]
		blue="0"
		green="-20"
		id="dawn"
		image="misc/schedule-dawn.png"
		lawful_bonus="0"
		mask=""
		name=_ "Dawn"
		red="-20"
	[/time]
	[time]
		blue="0"
		green="0"
		id="morning"
		image="misc/schedule-morning.png"
		lawful_bonus="25"
		mask=""
		name=_ "Morning"
		red="0"
	[/time]
	[time]
		blue="0"
		green="0"
		id="afternoon"
		image="misc/schedule-afternoon.png"
		lawful_bonus="25"
		mask=""
		name=_ "Afternoon"
		red="0"
	[/time]
	[time]
		blue="-20"
		green="-20"
		id="dusk"
		image="misc/schedule-dusk.png"
		lawful_bonus="0"
		mask=""
		name=_ "Dusk"
		red="0"
	[/time]
	[time]
		blue="-10"
		green="-40"
		id="first_watch"
		image="misc/schedule-firstwatch.png"
		lawful_bonus="-25"
		mask=""
		name=_ "First Watch"
		red="-40"
	[/time]
	[time]
		blue="-10"
		green="-40"
		id="second_watch"
		image="misc/schedule-secondwatch.png"
		lawful_bonus="-25"
		mask=""
		name=_ "Second Watch"
		red="-40"
	[/time]
	[event]
		first_time_only="no"
		name="preload"
		[lua]
			code=" wesnoth.dofile(""lua/wml-tags.lua"") "
		[/lua]
	[/event]
	[event]
		first_time_only="no"
		name="preload"
		[lua]
			code="wesnoth.dofile 'campaigns/Legend_of_Wesmere/lua/replace_map.lua'"
		[/lua]
	[/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="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]
	[variables]
		damage_inflicted="3"
		next_scenario="RMP_The_Walls_of_Pyrennis_12"
		random="18"
		side_number="1"
		turn_number="5"
		x1=""
		x2=""
		y1=""
		y2=""
	[/variables]
[/snapshot]
[replay_start]

	allow_new_game="no"
	description=_ "Rigor's new map."
	experience_modifier="70"
	id="RMP_The_Walls_of_Pyrennis_12"
	map_data="border_size=1
usage=map

Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          
Xv          , Mm          , Mm          , Mm          , Hh^Fp       , Hh^Fmw      , Gg          , Gg          , Ggf         , Gg          , Hh          , Gs^Fp       , Rp          , Rp          , Ko^Xo       , Rp          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Rp          , Gg          , Rp          , Gg          , Gg          , Gg          , Gg          , Gg          , Ww          , Ww          , Xv          
Xv          , Mm          , Gs^Fp       , Hh          , Gg          , Gs^Fp       , Hh          , Gg          , Gg          , Gg          , Gg          , Gs^Fp       , Rp          , Ko^Xo       , Rp          , Rp          , Gg          , Gg          , Gg          , Rr^Vd       , Gg          , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Rp          , Rp          , Gs^Fp       , Ss          , Gg          , Ww^Bw\      , Ww          , Xv          
Xv          , Gs^Fp       , Hh          , Gs^Fp       , Gg          , Rp^Vhc      , Rp          , Rp          , Rp          , Gg          , Gg^Uf       , Gg          , Gg          , Rp          , Gg          , Ggf         , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Hh          , Wo          , Ww          , Wwr         , Gg          , Xv          
Xv          , Ss          , Gg          , Gg          , Gg          , Gg          , Rp          , Ko^Xo       , Rp          , Hh          , Gs^Fp       , Gg^Ve       , Gg          , Gg          , Wwf         , Wwf         , 2 Ko        , Co          , Gg          , Gg          , Wwf         , Hh^Fmw      , Gg          , Rp          , Rp          , Rp          , Wwf         , Wwf         , Gg          , Ww          , Gg          , Wwf         , Xv          
Xv          , Gg          , Gg          , Gg          , Gg          , Ggf         , Rp          , Ko^Xo       , Rp          , Gg          , Gg          , Gg          , Gg          , Gg          , Wwf         , Co          , Co          , Co          , Rp          , Gg          , Rp          , Wwf         , Wwf         , Ss          , Ss^Vhs      , Wwf^Uf      , Gg          , Gg          , Gs^Fp       , Wwf         , Ss          , Wwf         , Xv          
Xv          , Gg          , Gg          , Hh          , Gs^Fp       , Gg          , Ss          , Rp          , Wwf         , Gg          , Co          , Co          , Co          , Gg          , Wwf         , Gg          , Gg          , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Rp          , Gg          , Hh^Fmw      , Wwf         , Gg          , Rp          , Hh          , Gs^Fp       , Hh          , Mm          , Wwf         , Xv          
Xv          , Rp          , Rp          , Rp          , Rp          , Gg          , Wwf         , Wwf         , Gg          , Wwf         , Rp          , Ko          , Wwf         , Wwf         , Hh          , Gg          , Gg          , Rp          , Rp          , Ko^Xo       , Rp          , Rp          , Wwf         , Gg          , Wwf         , Rp          , Ko^Xo       , Rp          , Rp          , Gs^Fp       , Hh^Fp       , Wwf         , Xv          
Xv          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Wwf         , Gg^Vh       , Hh^Fp       , Rp          , Rp          , Ko^Xo       , Rp          , Wwf         , Gg          , Gg          , Gs^Fp       , Gg          , Gg          , Ggf         , Rp          , Rp^Vhc      , Wwf         , Gg          , Wwf         , Mm          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Wwf         , Wwf         , Xv          
Xv          , Rp          , Rp          , Rp          , Hh^Fp       , Wwf         , Gg          , Gg          , Rp          , Ko^Xo       , Rp          , Rp          , Gg          , Wwf         , Ss^Uf       , Ko          , Co          , Gg          , Mm          , Gg          , Gg          , Wwf         , Gg          , Gs^Fp       , Hh          , Rp          , Rp          , Ko^Xo       , Rp          , Wwf         , Ggf         , Ww          , Xv          
Xv          , Gg          , Gg          , Ss          , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Gg          , Ggf         , Gg          , Wwf         , Rp          , Co          , Wwf         , Wwf         , Rp          , Hh^Uf       , Rp          , Wwf         , Wwf         , Gg          , Wwf         , Gg          , Wwf         , Rp          , Wwf         , Wwf         , Wwf         , Wo          , Xv          
Xv          , Gg          , Gs^Fp       , Hh          , Wwf         , Gg          , Gg          , Gg          , Wwf^Uf      , Wwf         , Wwr         , Ss^Vhs      , Cud         , Hh^Fp       , Gs^Fp       , Wwf         , Rp          , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Rp          , Rp          , Wwf         , Wwf^Uf      , Wwf         , Co          , Wwf         , Gs^Fp       , Hh          , Ss          , Wwr         , Xv          
Xv          , Ss          , Gg          , Gg          , Ww          , Wwf         , Gs^Fp       , Gs^Fp       , Rp          , Rp          , Rp          , Wwf         , Rp          , Rp          , Rp          , Wwf         , Rp          , Ko^Xo       , Rp          , Rp          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Rp          , Co          , Gg          , Co          , Wwf         , Gg          , Wwr         , Ww          , Xv          
Xv          , Wo          , Gg          , Wo          , Wwf         , Wwf         , Mm          , Hh          , Rp          , Ko^Xo       , Rp          , Wwf         , Wwf         , Hh^Fmw      , Wwf         , Wwf         , Wwf         , Rp          , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Rp          , Rp          , Gg^Uf       , Mm          , Gg          , Wwf         , Wwf         , Gg          , Ww          , Xv          
Xv          , Ww          , Wwr         , Wwf         , Wwf         , Gg          , Gg          , Gg^Uf       , Rp          , Rp          , Ko^Xo       , Rp          , Rp          , Wwf         , Rp          , Rp          , Rp          , Wwf         , Rp          , Hh^Fmw      , Rp          , Wwf         , Rp          , Ko^Xo       , Rp          , Hh          , Gs^Fp       , Wwf         , Ww          , Wo          , Gg          , Wo          , Xv          
Xv          , Ww          , Ss          , Gg          , Gs^Fp       , Co          , Co          , Co          , Wwf^Uf      , Rp          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Wwf         , Gs^Fp       , Rp          , Cud         , Wwf         , Wwr         , Rp          , Wwf^Uf      , Gs^Fp       , Gg          , Wwf         , Wwf         , Gg          , Gs^Fp       , Ss          , Xv          
Xv          , Wwr         , Wwf         , Hh          , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Rp          , Rp          , Rp          , Wwf         , Wwf         , Rp          , Hh^Fp       , Gg          , Ss^Vhs      , Gg          , Wwf         , Wwf         , Gg          , Wwf         , Gg          , Wwf         , Hh          , Gg          , Gg          , Xv          
Xv          , Wo          , Ggf         , Wwf         , Rp          , Rp          , Rp          , Gg          , Hh          , Gg          , Gg          , Wwf         , Gg          , Hh^Uf       , Mm          , Wwf         , Co          , Co          , Ss^Uf       , Wwf         , Gg          , Ggf         , Rp          , Rp          , Rp          , Wwf         , Gg          , Wwf         , Hh^Fp       , Ss          , Rp          , Gg          , Xv          
Xv          , Ww          , Wwf         , Wwf         , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Mm          , Gs^Fp       , Gg          , Wwf         , Rp^Vhc      , Gg          , Ggf         , Gg          , Gg          , Ko          , Gg          , Wwf         , Wwf         , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Gg^Vh       , Wwf         , Rp          , Rp          , Ko^Xo       , Rp          , Xv          
Xv          , Wwf         , Hh^Fp       , Gg          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Wwf         , Wwf         , Wwf         , Wwf         , Rp          , Rp          , Rp          , Gg          , Gg          , Gs^Fp       , Hh          , Gg          , Wwf         , Rp          , Rp          , Rp          , Gg          , Hh^Fp       , Wwf         , Wwf         , Rp          , Ko^Xo       , Rp          , Ko^Xo       , Xv          
Xv          , Wwf         , Mm          , Gs^Fp       , Gs^Fp       , Rp          , Rp          , Rp          , Wwf         , Gg          , Gg          , Rp          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Gg          , Wwf         , Wwf         , Co          , Ko          , Co          , Wwf         , Wwf         , Wwf         , Ss          , Gg          , Gs^Fp       , Rp          , Gg          , Rp          , Xv          
Xv          , Wwf         , Ss          , Hh          , Gs^Fp       , Hh          , Gg          , Gg          , Ss^Vhs      , Hh^Fmw      , Wwf         , Rp          , Rp          , Rp          , Rp          , Rp          , Co          , Gg          , Wwf         , Gg          , Gg          , Co          , Gg          , Gg          , Rp          , Rp          , Rp          , Gg          , Gg          , Hh          , Gg          , Gg          , Xv          
Xv          , Wwf         , Gg          , Wwf         , Gg          , Gg          , Wwf         , Wwf^Uf      , Rp          , Ss          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Co          , 1 Ko        , Co          , Wwf         , Gg          , Gg          , Gg          , Gs^Fp       , Gg          , Rp          , Ko^Xo       , Rp          , Ggf         , Gg          , Gg          , Gg          , Gg          , Xv          
Xv          , Wwf         , Wwr         , Ww          , Wo          , Wwf         , Rp          , Rp          , Ko^Xo       , Rp          , Rp          , Hh^Fmw      , Wwf         , Gg          , Wwf         , Co          , Wwf         , Wwf         , Gg          , Gg          , Gg          , Gg^Ve       , Gg^Uf       , Hh          , Rp          , Ko^Xo       , Rp          , Gg          , Gg          , Gg          , Hh          , Ss          , Xv          
Xv          , Gg          , Ww^Bw\      , Ww          , Ss          , Hh          , Rp          , Ko^Xo       , Ko^Xo       , Ko^Xo       , Ko^Xo       , Rp          , Gg          , Wwf         , Gg          , Wwf         , Gg          , Gg          , Rp          , Rp          , Rp          , Gg          , Gg          , Gg          , Gg          , Rp          , Hh          , Rp^Vhc      , Gg          , Gs^Fp       , Gs^Fp       , Gs^Fp       , Xv          
Xv          , Ww          , Ww          , Gg          , Gg          , Gs^Fp       , Gg          , Rp          , Rp          , Rp          , Rp          , Rp          , Gg          , Rr^Vd       , Gg          , Ggf         , Gg          , Rp          , Ko^Xo       , Ko^Xo       , Rp          , Gs^Fp       , Hh          , Gg          , Ggf         , Gg          , Gg          , Gs^Fp       , Hh^Fp       , Hh          , Mm          , Mm          , Xv          
Xv          , Ww          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Gg          , Xv          , Rp          , Xv          , Rp          , Xv          , Gs^Fp       , Xv          , Gg          , Xv          , Gg          , Xv          , Hh^Fmw      , Xv          , Mm          , Xv          , Mm          , Xv          
Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          , Xv          
"
	name=_ "2p - The Walls of Pyrennis"
	objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>"
	random_start_time="no"
	turns="-1"
	[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]
	[time]
		green="-20"
		id="dawn"
		image="misc/schedule-dawn.png"
		name=_ "Dawn"
		red="-20"
		sound="ambient/morning.ogg"
	[/time]
	[time]
		id="morning"
		image="misc/schedule-morning.png"
		lawful_bonus="25"
		name=_ "Morning"
	[/time]
	[time]
		id="afternoon"
		image="misc/schedule-afternoon.png"
		lawful_bonus="25"
		name=_ "Afternoon"
	[/time]
	[time]
		blue="-20"
		green="-20"
		id="dusk"
		image="misc/schedule-dusk.png"
		name=_ "Dusk"
		sound="ambient/night.ogg"
	[/time]
	[time]
		blue="-10"
		green="-40"
		id="first_watch"
		image="misc/schedule-firstwatch.png"
		lawful_bonus="-25"
		name=_ "First Watch"
		red="-40"
	[/time]
	[time]
		blue="-10"
		green="-40"
		id="second_watch"
		image="misc/schedule-secondwatch.png"
		lawful_bonus="-25"
		name=_ "Second Watch"
		red="-40"
	[/time]
	[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="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="revelation.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="loyalists.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]
	[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]
	[/event]
	[side]
		colour="1"
		controller="human"
		current_player="Qsto"
		fog="yes"
		gold="100"
		gold_add="no"
		id="RMPSide1"
		name="Qsto"
		persistent="1"
		previous_recruits="Dark Adept,Ghost,Ghoul,Skeleton,Skeleton Archer,Vampire Bat,Walking Corpse"
		save_id="RMPSide1"
		side="1"
		team_name="north"
		user_team_name=_ "teamname^North"
		village_gold="2"
		[ai]
			villages_per_scout="8"
		[/ai]
		[unit]
			advances_to="Banebow"
			ai_special=""
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			cost="26"
			experience="0"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="40"
			id="RMPSide1"
			image="units/undead-skeletal/bone-shooter.png"
#textdomain wesnoth-units
			language_name=_ "Bone Shooter"
			level="2"
			max_attacks="1"
			max_experience="56"
			max_hitpoints="40"
			max_moves="5"
			moves="5"
			name="Qsto"
			overlays=""
			profile=""
			race="undead"
			random_traits="no"
			resting="no"
			role=""
			side="1"
			type="Bone Shooter"
			undead_variation=""
			underlying_id="1"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			variation=""
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="150"
				blade="60"
				cold="40"
				fire="120"
				impact="120"
				pierce="40"
			[/resistance]
			[abilities]
				[hides]
					affect_self="yes"
#textdomain wesnoth
					description=_ "Submerge:
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=_ "Submerge:
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_self]
						[filter_location]
							terrain="Wo"
						[/filter_location]
					[/filter_self]
				[/hides]
			[/abilities]
			[variables]
			[/variables]
			[status]
				not_living="yes"
			[/status]
			[attack]
				damage="6"
#textdomain wesnoth-units
				description=_ "dagger"
				icon="attacks/dagger-undead.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="10"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
					availability="musthave"
#textdomain wesnoth
					description=_ "Immune to drain, poison and plague"
					female_name=_ "female^undead"
					id="undead"
					male_name=_ "undead"
					name=_ "undead"
					[effect]
						add="not_living"
						apply_to="status"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
	[/side]
	[side]
		colour="2"
		controller="network"
		current_player="tom030890"
		fog="yes"
		gold="100"
		gold_add="no"
		id="RMPSide2"
		name="tom030890"
		persistent="1"
		previous_recruits="Bowman,Cavalryman,Fencer,Heavy Infantryman,Horseman,Mage,Merman Fighter,Spearman"
		save_id="RMPSide2"
		side="2"
		team_name="south"
		user_team_name=_ "teamname^South"
		village_gold="2"
		[ai]
			villages_per_scout="8"
		[/ai]
		[village]
			x="5"
			y="3"
		[/village]
		[unit]
			advances_to="General"
			ai_special=""
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			cost="35"
			experience="0"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="40"
			id="RMPSide2"
			image="units/human-loyalists/lieutenant.png"
#textdomain wesnoth-units
			language_name=_ "Lieutenant"
			level="2"
			max_attacks="1"
			max_experience="56"
			max_hitpoints="40"
			max_moves="6"
			moves="6"
			name="tom030890"
			overlays=""
			profile="portraits/humans/lieutenant.png"
			race="human"
			random_traits="no"
			resting="no"
			role=""
			side="2"
			type="Lieutenant"
			undead_variation=""
			underlying_id="2"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			variation=""
			zoc="yes"
			[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]
			[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]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[abilities]
				[leadership]
					affect_self="no"
					cumulative="no"
#textdomain wesnoth
					description=_ "Leadership:
This unit can lead our own units that are next to it, making them fight better.

Adjacent own units of lower level will do more damage in battle. When a unit adjacent to, of a lower level than, and on the same side as a unit with Leadership engages in combat, its attacks do 25% more damage times the difference in their levels."
					female_name=_ "female^leadership"
					id="leadership"
					name=_ "leadership"
					value="50"
					[affect_adjacent]
						adjacent="n,ne,se,s,sw,nw"
						[filter]
							level="0"
						[/filter]
					[/affect_adjacent]
				[/leadership]
				[leadership]
					affect_self="no"
					cumulative="no"
					id="leadership"
					value="25"
					[affect_adjacent]
						adjacent="n,ne,se,s,sw,nw"
						[filter]
							level="1"
						[/filter]
					[/affect_adjacent]
				[/leadership]
			[/abilities]
			[portrait]
				image="portraits/humans/transparent/lieutenant.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/lieutenant.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="8"
#textdomain wesnoth-units
				description=_ "sword"
				icon="attacks/sword-human.png"
				name="sword"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "crossbow"
				icon="attacks/crossbow-human.png"
				name="crossbow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
	[/side]
	[event]
		first_time_only="no"
		name="preload"
		[lua]
			code=" wesnoth.dofile(""lua/wml-tags.lua"") "
		[/lua]
	[/event]
	[event]
		first_time_only="no"
		name="preload"
		[lua]
			code="wesnoth.dofile 'campaigns/Legend_of_Wesmere/lua/replace_map.lua'"
		[/lua]
	[/event]
	[variables]
		next_scenario="RMP_The_Walls_of_Pyrennis_12"
		random="18"
		x1=""
		x2=""
		y1=""
		y2=""
	[/variables]
[/replay_start]
[replay]

	[command]
		[start]
		[/start]
	[/command]
	[upload_log]
		[ai_log]
			ai_id1="testing_ai_default"
			ai_id2="testing_ai_default"
			faction1="Qsto"
			faction2="tom030890"
			version="1.8.5"
			[turn_info]
				event="TURN_START"
				gold="100"
				side="1"
				turn="1"
				units="1"
				units_cost="26"
				villages="0"
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold="100"
				side="2"
				turn="1"
				units="1"
				units_cost="35"
				villages="1"
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold="38"
				side="1"
				turn="2"
				units="5"
				units_cost="90"
				villages="1"
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold="52"
				side="2"
				turn="2"
				units="4"
				units_cost="83"
				villages="2"
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold="13"
				side="1"
				turn="3"
				units="7"
				units_cost="121"
				villages="3"
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold="29"
				side="2"
				turn="3"
				units="6"
				units_cost="111"
				villages="5"
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold="12"
				side="1"
				turn="4"
				units="8"
				units_cost="134"
				villages="5"
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold="2"
				side="2"
				turn="4"
				units="8"
				units_cost="150"
				villages="7"
			[/turn_info]
			[turn_info]
				event="TURN_START"
				gold="26"
				side="1"
				turn="5"
				units="8"
				units_cost="134"
				villages="6"
			[/turn_info]
		[/ai_log]
	[/upload_log]
	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="tom030890 advances to the next scenario"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Plum has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		undo="no"
		[speak]
			id="Qsto"
			message="gl hf"
			side="1"
		[/speak]
	[/command]
	[command]
		sent=""
		[recruit]
			value="1"
			x="16"
			y="21"
		[/recruit]
		[random]
			value="22704"
		[/random]
		[random]
			value="16323"
		[/random]
		[random]
			value="12444"
		[/random]
		[random]
			value="30613"
		[/random]
		[random]
			value="18939"
		[/random]
		[random]
			value="20787"
		[/random]
		[random]
			value="12444"
		[/random]
		[random]
			value="28704"
		[/random]
		[random]
			value="21672"
		[/random]
		[random]
			value="24156"
		[/random]
		[random]
			value="28643"
		[/random]
		[random]
			value="22208"
			[results]
				checksum="9Yr66Zh5Ia4xlOgkegq66km3V>bi7eaiic8n3r<67>06Z74bp6-+3>g7e+4u<JmbqTjYpoe4>3,RpEllhC+57epD>3jepsJjm<dG>1uMDmtzuSuLIoFfvpKwOpVQIGsF"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="tom030890"
			message="you too"
			side="2"
		[/speak]
	[/command]
	[command]
		sent=""
		[recruit]
			value="5"
			x="17"
			y="22"
		[/recruit]
		[random]
			value="13712"
		[/random]
		[random]
			value="29724"
		[/random]
		[random]
			value="125"
		[/random]
		[random]
			value="16192"
		[/random]
		[random]
			value="19296"
		[/random]
		[random]
			value="8123"
		[/random]
		[random]
			value="26262"
		[/random]
		[random]
			value="13061"
		[/random]
		[random]
			value="17118"
		[/random]
		[random]
			value="29503"
		[/random]
		[random]
			value="31650"
		[/random]
		[random]
			value="21194"
		[/random]
		[random]
			value="15352"
		[/random]
		[random]
			value="29570"
			[results]
				checksum="AyxoKToP8vxlECGpfP4rroVSiOsTJwoOqJM7YRNqmz2wGwJRbCrrBSMQDPEHPxIFBIsPyD1Mcbz4iyyKBK8CIU2N9OCK2VlvEFrBFPsJYcUKxCfx<hfi965j338heTk8"
			[/results]
		[/random]
	[/command]
	[command]
		sent=""
		undo=""
		[recruit]
			value="3"
			x="15"
			y="22"
		[/recruit]
		[random]
			value="22608"
		[/random]
		[random]
			value="22550"
		[/random]
		[random]
			value="13206"
		[/random]
		[random]
			value="19478"
		[/random]
		[random]
			value="28976"
		[/random]
		[random]
			value="12927"
		[/random]
		[random]
			value="15899"
		[/random]
		[random]
			value="25827"
		[/random]
		[random]
			value="21022"
		[/random]
		[random]
			value="15519"
		[/random]
		[random]
			value="24253"
		[/random]
		[random]
			value="13688"
			[results]
				checksum="FGz-f.zGr8wa+sllwFCviq607ah,ifyi6>2-442<he2O037817->-j<l<4ea7hel18-bl5FQJkc-C2Jlbv3nkR>8hkhlfyb9Dqq0ZfVp6Fpg,29Od5aZoO5d8,uF2cbY"
			[/results]
		[/random]
	[/command]
	[command]
		sent=""
		[recruit]
			value="2"
			x="15"
			y="23"
		[/recruit]
		[random]
			value="9333"
		[/random]
		[random]
			value="17621"
		[/random]
		[random]
			value="1922"
		[/random]
		[random]
			value="29237"
		[/random]
		[random]
			value="27638"
		[/random]
		[random]
			value="26050"
		[/random]
		[random]
			value="3613"
		[/random]
		[random]
			value="28440"
		[/random]
		[random]
			value="9841"
		[/random]
		[random]
			value="27265"
		[/random]
		[random]
			value="8559"
		[/random]
		[random]
			value="21606"
			[results]
				checksum="6d-9cj.>GIlg<ffbbd<o9j>40h8pe.8YfXXgh6ii>-f<j<1.-7a2,30cif5gaZud.,ebke12>jede,Pb-Y9iA2kk>jEmgjdXPcCDKyVPRGTxHquE2PPzTrNBFHRNTIsG"
			[/results]
		[/random]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="16,15,14,14,13"
			y="22,23,23,24,25"
		[/move]
	[/command]
	[command]
		sent=""
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[init_side]
		[/init_side]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="0"
			x="17"
			y="4"
		[/recruit]
		[random]
			value="10411"
		[/random]
		[random]
			value="12179"
		[/random]
		[random]
			value="21086"
		[/random]
		[random]
			value="13419"
		[/random]
		[random]
			value="13218"
		[/random]
		[random]
			value="7935"
		[/random]
		[random]
			value="26839"
		[/random]
		[random]
			value="31043"
		[/random]
		[random]
			value="29127"
		[/random]
		[random]
			value="2181"
		[/random]
		[random]
			value="7303"
		[/random]
		[random]
			value="12359"
		[/random]
		[random]
			value="5951"
		[/random]
		[random]
			value="290"
			[results]
				checksum="gWX.Zn5pOn5Bk786g99uQ0e24k-hYw.p7hgk7a06h5H+N24o5fol3l43g8Xald-,.5jf47-dl40jSmrNLSDcznwImpoLuwI9PywVzAnCrHqMzGT-JzEOqmzAAUALxTbz"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="15"
			y="5"
		[/recruit]
		[random]
			value="22122"
		[/random]
		[random]
			value="24543"
		[/random]
		[random]
			value="9615"
		[/random]
		[random]
			value="2685"
		[/random]
		[random]
			value="28589"
		[/random]
		[random]
			value="4317"
		[/random]
		[random]
			value="16612"
		[/random]
		[random]
			value="3153"
		[/random]
		[random]
			value="26073"
		[/random]
		[random]
			value="27962"
		[/random]
		[random]
			value="3623"
		[/random]
		[random]
			value="1919"
		[/random]
		[random]
			value="9657"
		[/random]
		[random]
			value="3718"
			[results]
				checksum="rzLLCsL7.SLWrRPnn-T2IqNGzruyw+snGsxBsIBSu5CqCKAIzUuvmCwtvqKGozCnuPpLuTRGnqbY063jvfhdZ-0>j5mmwppp6h33987<1,>jm8<8aZ<h<1ic10YPa9f-"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="26056"
		[/random]
		[random]
			value="24302"
		[/random]
		[random]
			value="6416"
		[/random]
		[random]
			value="14392"
		[/random]
		[random]
			value="26437"
		[/random]
		[random]
			value="21035"
		[/random]
		[random]
			value="25340"
		[/random]
		[random]
			value="31126"
		[/random]
		[random]
			value="14715"
		[/random]
		[random]
			value="1464"
		[/random]
		[random]
			value="30504"
		[/random]
		[random]
			value="29564"
		[/random]
		[random]
			value="937"
		[/random]
		[random]
			value="13626"
			[results]
				checksum="rzLLCsL7.SLWrRPnn-T2IqNGzruyw+snGsxBsIBSu5CqCKAIzUuvmCwtvqKGozCnuPpLuQMGnqbY063jvfhdZ-0>j5mmwppp6h33987<7,>jm8<8aZ<h<1hh10YPa9f-"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,16,17,17,18,19,20"
			y="4,5,6,7,7,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]
	[command]
		sent=""
		[move]
			x="17,18,19,19,19,19"
			y="22,21,21,20,19,18"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="19,20,21,21"
			y="18,17,17,16"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="16,15,15,14,13,12"
			y="21,21,20,19,19,18"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="15,14,13,12,11,10"
			y="22,21,21,21,21,20"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="15,16,17,18,19,20"
			y="23,22,22,22,22,22"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="13,13,14,15,16"
			y="25,24,23,23,22"
		[/move]
	[/command]
	[command]
		sent=""
		[recruit]
			value="0"
			x="16"
			y="21"
		[/recruit]
		[random]
			value="14906"
		[/random]
		[random]
			value="15012"
		[/random]
		[random]
			value="3026"
		[/random]
		[random]
			value="257"
		[/random]
		[random]
			value="24394"
		[/random]
		[random]
			value="2549"
		[/random]
		[random]
			value="20016"
		[/random]
		[random]
			value="13957"
		[/random]
		[random]
			value="28470"
		[/random]
		[random]
			value="18407"
		[/random]
		[random]
			value="24514"
		[/random]
		[random]
			value="27423"
		[/random]
		[random]
			value="18388"
		[/random]
		[random]
			value="2781"
		[/random]
		[random]
			value="7843"
			[results]
				checksum=",3JmFuPJ1G35evU6urBIPTOILQmpvyBBNoPuHpUoMGIyrMUqwyJzNMApsidliLfHLbZactpajip1wO6cCVH<PAQG,Y+Ip2zLv8MAiKOnwOG,BwiCs3Ag07d.1bllak95"
			[/results]
		[/random]
	[/command]
	[command]
		sent=""
		undo=""
		[recruit]
			value="3"
			x="17"
			y="22"
		[/recruit]
		[random]
			value="23863"
		[/random]
		[random]
			value="11432"
		[/random]
		[random]
			value="29473"
		[/random]
		[random]
			value="15643"
		[/random]
		[random]
			value="17592"
		[/random]
		[random]
			value="21265"
		[/random]
		[random]
			value="16802"
		[/random]
		[random]
			value="14253"
		[/random]
		[random]
			value="15936"
		[/random]
		[random]
			value="1334"
		[/random]
		[random]
			value="7787"
		[/random]
		[random]
			value="8157"
			[results]
				checksum="FGz-f.zGr8wa+sllwFCviq607ah,ifyi6>2-442<he2O037817->-j<l<4ea7hel18-bl5FQJkc-C2Jlbv3nkR>8hkhlfyb9Dqq0ZfVp6Fpg,29Od5aZoO5d8,uF2cbY"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		undo=""
		[speak]
			id="server"
			message="vul6 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[init_side]
		[/init_side]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="krzysiek1200000000 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,18,19,20,21,22,23,24,24"
			y="5,4,4,3,3,3,4,4,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		undo=""
		[move]
			x="17,18,19,19"
			y="4,3,3,2"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13,12,11"
			y="5,4,4,4,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,19,18,17,16,15"
			y="8,8,8,9,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="15"
			y="10"
		[/recruit]
		[random]
			value="30645"
		[/random]
		[random]
			value="15831"
		[/random]
		[random]
			value="27468"
		[/random]
		[random]
			value="27465"
		[/random]
		[random]
			value="1509"
		[/random]
		[random]
			value="10464"
		[/random]
		[random]
			value="8861"
		[/random]
		[random]
			value="23304"
		[/random]
		[random]
			value="29070"
		[/random]
		[random]
			value="22039"
		[/random]
		[random]
			value="21473"
		[/random]
		[random]
			value="14228"
		[/random]
		[random]
			value="29496"
		[/random]
		[random]
			value="25857"
			[results]
				checksum="9AXicjj3P6.zckjFCi9d,y9Y2v>OiK0,W86h9fd,7ieecc.ka5Yb3.6<,+kb<6cek-l><i7aYa9a2eRbc1pfA<>ph+27a1sf5pe+lSn-ZeML+Bl2gM4QJmPJIFKTqmRB"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Wandalstouring has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="16"
			y="9"
		[/recruit]
		[random]
			value="30072"
		[/random]
		[random]
			value="9481"
		[/random]
		[random]
			value="23837"
		[/random]
		[random]
			value="12189"
		[/random]
		[random]
			value="21159"
		[/random]
		[random]
			value="8045"
		[/random]
		[random]
			value="28351"
		[/random]
		[random]
			value="21168"
		[/random]
		[random]
			value="21792"
		[/random]
		[random]
			value="29513"
		[/random]
		[random]
			value="14180"
		[/random]
		[random]
			value="32172"
		[/random]
		[random]
			value="23380"
		[/random]
		[random]
			value="9217"
			[results]
				checksum="9AXicjj3P6.zakjFCi9d,y6Y2v>OiK0,W86h9fd,7ieecc.ka5Yb3.6<,+kb<6cek-l><i7aYa9a2eRbc1pfA<>ph+29a1sf5pe+lSn-ZeML+Bl2gM4QJmPJIFKTqzRB"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="isutruk has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		[move]
			x="21,21,21"
			y="16,15,14"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="21,22,23,24,25"
			y="14,13,13,13,14"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="25,26,27,28"
			y="14,13,13,13"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="12,11,10,9,9,8"
			y="18,18,17,17,16,15"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="8,8"
			y="15,14"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="8,8"
			y="14,13"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="10,9,8"
			y="20,21,21"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="20,21"
			y="22,23"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="17,18,19,20,21"
			y="22,21,21,20,20"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="21,22"
			y="20,19"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="16,16,16,16,16,16"
			y="21,20,19,18,17,16"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="16,16"
			y="16,17"
		[/move]
	[/command]
	[command]
		sent=""
		undo=""
		[move]
			x="16,16,16,16,16,17"
			y="22,21,20,19,18,18"
		[/move]
	[/command]
	[command]
		sent=""
		[recruit]
			value="5"
			x="17"
			y="17"
		[/recruit]
		[random]
			value="19436"
		[/random]
		[random]
			value="1965"
		[/random]
		[random]
			value="19176"
		[/random]
		[random]
			value="18372"
		[/random]
		[random]
			value="2048"
		[/random]
		[random]
			value="11759"
		[/random]
		[random]
			value="15320"
		[/random]
		[random]
			value="6738"
		[/random]
		[random]
			value="25916"
		[/random]
		[random]
			value="18815"
		[/random]
		[random]
			value="22290"
		[/random]
		[random]
			value="11365"
		[/random]
		[random]
			value="6389"
		[/random]
		[random]
			value="24533"
			[results]
				checksum="AyxoKToP8vxlECGpfP4rroVSiOsTJwoOqJM7YRNqmz2wGwJRbCrrBSMQDPEHPxIFBIsPyD1Mcbz4iyyKBK8CIU2N9OCK2VlvEFrBFPsJYcUKxCfx<hfi965j338heTk8"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="super_rambo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[init_side]
		[/init_side]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,10,9"
			y="4,5,5,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="9,8,7,6,6"
			y="6,6,7,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13,12,11"
			y="10,10,10,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Kehvo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo=""
		[move]
			x="16,17,18,19,20"
			y="9,9,8,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,24"
			y="5,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,25,25,24"
			y="6,7,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Infant has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,23"
			y="9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,22"
			y="10,10"
		[/move]
	[/command]
	[command]
		sent=""
		undo="no"
		[speak]
			id="Qsto"
			message="brb"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="3"
			x="16"
			y="9"
		[/recruit]
		[random]
			value="13118"
		[/random]
		[random]
			value="18048"
		[/random]
		[random]
			value="10112"
		[/random]
		[random]
			value="23541"
		[/random]
		[random]
			value="3923"
		[/random]
		[random]
			value="32002"
		[/random]
		[random]
			value="13169"
		[/random]
		[random]
			value="16986"
		[/random]
		[random]
			value="16429"
		[/random]
		[random]
			value="14908"
		[/random]
		[random]
			value="29975"
		[/random]
		[random]
			value="21207"
		[/random]
		[random]
			value="22340"
		[/random]
		[random]
			value="10075"
			[results]
				checksum="KL3d1ef5Em6ckgd+thd,2kNl5b52b<830n6+e<,935b991jpb4a89dgltQEOHuGuJLFOqAtqtLuCqoFPQPOVN.LKLuLHvIyIw<NEDqImHsCNVIGRx<Nts2GEKyFAmoaw"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="5"
			x="15"
			y="10"
		[/recruit]
		[random]
			value="24526"
		[/random]
		[random]
			value="4832"
		[/random]
		[random]
			value="17194"
		[/random]
		[random]
			value="14447"
		[/random]
		[random]
			value="11883"
		[/random]
		[random]
			value="16594"
		[/random]
		[random]
			value="26237"
		[/random]
		[random]
			value="22252"
		[/random]
		[random]
			value="16905"
		[/random]
		[random]
			value="22739"
		[/random]
		[random]
			value="12677"
		[/random]
		[random]
			value="14301"
		[/random]
		[random]
			value="8593"
		[/random]
		[random]
			value="2918"
		[/random]
		[random]
			value="10928"
			[results]
				checksum="67d2RS35x1-N4aw<lbj,mJh-K5hW,7ieecc.ka5Yb3.6<,+j7<6cek-l><i7aYa9a2eebc1p-c7cac2Z9,jWfU43mZS+cll-93NQc1I--QSwLDEHAHTzxx4NVVMyQOBz"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		undo=""
		[move]
			x="19,19,19,19,19"
			y="2,3,4,5,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Easty has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		undo="no"
		[speak]
			id="Qsto"
			message="5min please"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="tom030890"
			message="ok"
			side="2"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="stophittingme has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="tom030890"
			message="save and reload?"
			side="2"
		[/speak]
	[/command]
	[command]
		sent=""
		[move]
			x="28,28,28,28"
			y="13,12,11,10"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="28,28,28,28,28,28,28"
			y="10,9,8,7,6,5,4"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="8,8,8,7,7,7"
			y="21,20,19,19,18,17"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="8,8,7,7,6,5,5"
			y="13,12,12,11,10,10,9"
		[/move]
	[/command]
	[command]
		sent=""
		[attack]
			attacker_lvl="1"
			attacker_type="Ghost"
			defender_lvl="1"
			defender_type="Cavalryman"
			defender_weapon="0"
			seed="234552956"
			tod="dusk"
			turn="4"
			weapon="0"
			[source]
				x="5"
				y="9"
			[/source]
			[destination]
				x="6"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="15697"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
				unit_hit="defender"
			[/results]
		[/random]
		[random]
			value="3934"
			[results]
				chance="50"
				damage="4"
				dies="no"
				hits="yes"
				unit_hit="defender"
			[/results]
		[/random]
		[random]
			value="7913"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
				unit_hit="defender"
			[/results]
		[/random]
		[random]
			value="1848"
			[results]
				chance="50"
				damage="4"
				dies="no"
				hits="yes"
				unit_hit="defender"
			[/results]
		[/random]
		[random]
			value="23049"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
				unit_hit="defender"
			[/results]
		[/random]
		[random]
			value="3661"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
				unit_hit="defender"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="rebellofhell has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		[move]
			x="21,22,23,24,25"
			y="23,23,24,23,24"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="22,23,24,25,26"
			y="19,19,18,18,18"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="17,18,19,20"
			y="17,16,16,15"
		[/move]
	[/command]
	[command]
		sent=""
		[move]
			x="16,15,14"
			y="17,17,17"
		[/move]
	[/command]
	[command]
		sent=""
		[countdown_update]
			team="1"
			value="220000"
		[/countdown_update]
	[/command]
	[command]
		sent=""
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[init_side]
		[/init_side]
	[/command]
	[command]
		sent=""
		undo="no"
		[speak]
			id="Qsto"
			message="just hold on as long as you can"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,19,19,19"
			y="6,5,4,3,2"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23,24,24"
			y="8,8,7,7,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		undo=""
		[move]
			x="16,17,18,19,20"
			y="9,9,8,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="6,6,5,5,5,5,5"
			y="8,7,7,6,5,4,3"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10,9,8,7,6"
			y="11,10,10,9,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13,12,11"
			y="10,10,10,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,21,20"
			y="10,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,19"
			y="10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="checK has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18,17"
			y="11,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16"
			y="11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Greyskulls has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo=""
		[move]
			x="16,15,15"
			y="11,11,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="267000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent=""
		[init_side]
		[/init_side]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kabritiberik has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent=""
		undo="no"
		[speak]
			id="Qsto"
			message="save and reload"
			side="1"
		[/speak]
	[/command]
[/replay]
[statistics]

	mid_scenario="yes"
	[scenario]
		scenario="RMP Conservative v30"
	[/scenario]
	[scenario]
		scenario="2p - The Walls of Pyrennis"
		[team]
			damage_inflicted="6"
			damage_taken="6"
			expected_damage_inflicted="5400"
			expected_damage_taken="5250"
			recall_cost="0"
			recruit_cost="108"
			turn_damage_inflicted="0"
			turn_damage_taken="0"
			turn_expected_damage_inflicted="0"
			turn_expected_damage_taken="0"
			[recruits]
				Dark Adept="1"
				Ghost="1"
				Ghoul="1"
				Skeleton="2"
				Vampire Bat="2"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
			[/deaths]
			[killed]
			[/killed]
			[attacks]
				[sequence]
					_num="60"
					s011="1"
				[/sequence]
			[/attacks]
			[defends]
			[/defends]
		[/team]
		[team]
			damage_inflicted="6"
			damage_taken="6"
			expected_damage_inflicted="5250"
			expected_damage_taken="5400"
			recall_cost="0"
			recruit_cost="115"
			turn_damage_inflicted="0"
			turn_damage_taken="0"
			turn_expected_damage_inflicted="0"
			turn_expected_damage_taken="0"
			[recruits]
				Bowman="1"
				Cavalryman="2"
				Heavy Infantryman="1"
				Mage="1"
				Spearman="2"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
			[/deaths]
			[killed]
			[/killed]
			[attacks]
			[/attacks]
			[defends]
				[sequence]
					_num="50"
					s110="1"
				[/sequence]
			[/defends]
		[/team]
	[/scenario]
[/statistics]
[era]

	id="era_default"
#textdomain wesnoth-multiplayer
	name=_ "Default"
	[multiplayer_side]
		flag_rgb="magenta"
		id="Random"
		image="units/random-dice.png"
		name=_ "Random"
		random_faction="yes"
	[/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="Lieutenant"
		[ai]
			recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,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="Elvish Captain"
		[ai]
			recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,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="Orcish Warrior"
		[ai]
			recruitment_pattern="fighter,fighter,fighter,mixed fighter,archer,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="Dark Sorcerer"
		[ai]
			recruitment_pattern="fighter,fighter,archer,fighter,scout,archer"
		[/ai]
	[/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="Dwarvish Steelclad"
		[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="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="Drake Flare"
	[/multiplayer_side]
	[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]
#textdomain wesnoth
									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 function all_sides()
                    local function f(s, i)
                        i = i + 1
                        local t = wesnoth.get_side(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 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
                    local r, g, b = 255, 255, 255
                    if     team.__cfg.colour == 1 then r, g, b = 255,   0,   0
                    elseif team.__cfg.colour == 2 then r, g, b =   0,   0, 255
                    elseif team.__cfg.colour == 3 then r, g, b =   0, 255,   0
                    elseif team.__cfg.colour == 4 then r, g, b = 155,  48, 255
                    elseif team.__cfg.colour == 5 then r, g, b =   0,   0,   0
                    elseif team.__cfg.colour == 6 then r, g, b = 165,  42,  42
                    elseif team.__cfg.colour == 7 then r, g, b = 255, 165,   0
                    elseif team.__cfg.colour == 8 then r, g, b = 255, 255, 255
                    elseif team.__cfg.colour == 9 then r, g, b =   0, 128, 128 end
                    side_comparison = side_comparison ..
                        string.format(""<span foreground=\""#%02x%02x%02x\"">Side %d</span>:  Income score = %d  Unit score = %d  Gold = %d\nGrand total: <b>%d</b>\n"",
                            r, g, b, side, income, units, team.gold, total)
                    if total > total_score then
                        colour = 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<span foreground=\""%s\"">Side %d</span> has the advantage."", colour, side_num)
                wesnoth.fire(""message"", { message = side_comparison, speaker = ""narrator"", image = ""wesnoth-icon.png""})
            "
		[/lua]
	[/event]
[/era]
[side]
action_bonus_count="0"
allow_changes="no"
allow_player="yes"
colour="1"
controller="human"
countdown_time="203688"
current_player="tom030890"
disallow_observers="no"
flag=""
flag_icon=""
fog="yes"
gold="26"
gold_add="no"
hidden="no"
id="RMPSide1"
income="0"
name="Qsto"
no_leader="yes"
objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>"
objectives_changed="no"
persistent="yes"
player_id="Qsto1"
recruit="Dark Adept,Ghost,Ghoul,Skeleton,Skeleton Archer,Vampire Bat,Walking Corpse"
save_id="RMPSide1"
share_maps="yes"
share_view="no"
shroud="no"
shroud_data=""
side="1"
start_gold="100"
team_name="north"
user_description="Qsto"
user_team_name="teamname^North"
village_gold="2"
[ai]

		description=_ "Multiplayer_AI^RCA AI"
		id="testing_ai_default"
		version="10710"
		[stage]
			id="main_loop"
			name="testing_ai_default::candidate_action_evaluation_loop"
			[candidate_action]
				engine="cpp"
				id="goto"
				max_score="    200000"
				name="testing_ai_default::goto_phase"
				score="    200000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="recruitment"
				max_score="    180000"
				name="testing_ai_default::aspect_recruitment_phase"
				score="    180000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="move_leader_to_goals"
				max_score="    140000"
				name="testing_ai_default::move_leader_to_goals_phase"
				score="    140000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="move_leader_to_keep"
				max_score="    120000"
				name="testing_ai_default::move_leader_to_keep_phase"
				score="    120000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="combat"
				max_score="    100000"
				name="testing_ai_default::combat_phase"
				score="    100000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="healing"
				max_score="    80000"
				name="testing_ai_default::get_healing_phase"
				score="    80000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="villages"
				max_score="    60000"
				name="testing_ai_default::get_villages_phase"
				score="    60000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="retreat"
				max_score="    40000"
				name="testing_ai_default::retreat_phase"
				score="    40000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="move_to_targets"
				max_score="    20000"
				name="testing_ai_default::testing_move_to_targets_phase"
				score="    20000"
			[/candidate_action]
		[/stage]
		[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="testing_ai_default::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_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_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_pattern"
			name="composite_aspect"
			[default]
				engine="cpp"
				name="standard_aspect"
			[/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="8"
		y="21"
	[/village]
[village]

		x="12"
		y="18"
	[/village]
[village]

		x="13"
		y="25"
	[/village]
[village]

		x="21"
		y="16"
	[/village]
[village]

		x="21"
		y="23"
	[/village]
[village]

		x="26"
		y="18"
	[/village]
[unit]

		advances_to="Banebow"
		ai_special=""
		alignment="chaotic"
		alpha="256"
		attacks_left="1"
		canrecruit="yes"
		cost="26"
		experience="0"
		facing="n"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		goto_x="-999"
		goto_y="-999"
		hitpoints="40"
		id="RMPSide1"
		image="units/undead-skeletal/bone-shooter.png"
		language_name=_ "Bone Shooter"
		level="2"
		max_attacks="1"
		max_experience="56"
		max_hitpoints="40"
		max_moves="5"
		moves="5"
		name="Qsto"
		overlays=""
		profile=""
		race="undead"
		random_traits="no"
		resting="yes"
		role=""
		side="1"
		type="Bone Shooter"
		undead_variation=""
		underlying_id="1"
		unrenamable="no"
		upkeep="full"
		usage="archer"
		variation=""
		x="17"
		y="18"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="150"
			blade="60"
			cold="40"
			fire="120"
			impact="120"
			pierce="40"
		[/resistance]
		[abilities]
			[hides]
				affect_self="yes"
#textdomain wesnoth
				description=_ "Submerge:
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=_ "Submerge:
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_self]
					[filter_location]
						terrain="Wo"
					[/filter_location]
				[/filter_self]
			[/hides]
		[/abilities]
		[variables]
		[/variables]
		[status]
			not_living="yes"
		[/status]
		[attack]
			damage="6"
#textdomain wesnoth-units
			description=_ "dagger"
			icon="attacks/dagger-undead.png"
			name="dagger"
			number="2"
			range="melee"
			type="blade"
		[/attack]
		[attack]
			damage="10"
			description=_ "bow"
			icon="attacks/bow-orcish.png"
			name="bow"
			number="3"
			range="ranged"
			type="pierce"
		[/attack]
		[modifications]
			[trait]
				availability="musthave"
#textdomain wesnoth
				description=_ "Immune to drain, poison and plague"
				female_name=_ "female^undead"
				id="undead"
				male_name=_ "undead"
				name=_ "undead"
				[effect]
					add="not_living"
					apply_to="status"
				[/effect]
			[/trait]
		[/modifications]
	[/unit]
[unit]

		advances_to="Wraith,Shadow"
		ai_special=""
		alignment="chaotic"
		alpha="256"
		attacks_left="1"
		cost="20"
		ellipse="misc/ellipse"
		experience="1"
		facing="ne"
		flag_rgb="magenta"
		flying="yes"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="12"
		id="Ghost-3"
		image="units/undead/ghost-s-2.png"
#textdomain wesnoth-units
		language_name=_ "Ghost"
		level="1"
		max_attacks="1"
		max_experience="21"
		max_hitpoints="18"
		max_moves="7"
		moves="7"
		name=""
		overlays=""
		profile="portraits/undead/ghost.png"
		race="undead"
		random_traits="no"
		resting="yes"
		role=""
		side="1"
		type="Ghost"
		undead_variation=""
		underlying_id="3"
		unrenamable="no"
		upkeep="full"
		usage="scout"
		variation=""
		x="5"
		y="9"
		zoc="yes"
		[defense]
			castle="50"
			cave="50"
			deep_water="50"
			flat="50"
			forest="50"
			frozen="50"
			fungus="50"
			hills="50"
			mountains="50"
			reef="50"
			sand="50"
			shallow_water="50"
			swamp_water="50"
			unwalkable="50"
			village="50"
		[/defense]
		[movement_costs]
			castle="1"
			cave="1"
			deep_water="2"
			flat="1"
			forest="1"
			frozen="1"
			fungus="1"
			hills="1"
			mountains="1"
			reef="2"
			sand="1"
			shallow_water="2"
			swamp_water="1"
			unwalkable="1"
			village="1"
		[/movement_costs]
		[resistance]
			arcane="110"
			blade="50"
			cold="30"
			fire="90"
			impact="50"
			pierce="50"
		[/resistance]
		[attack_anim]
			start_time="-200"
			[filter_attack]
				name="wail"
			[/filter_attack]
			[if]
				direction="n,ne,nw"
				[missile_frame]
					begin="-300"
					end="-230"
					image="projectiles/wailprojectile-n-1.png"
					image_diagonal="projectiles/wailprojectile-ne-1.png"
				[/missile_frame]
				[missile_frame]
					begin="-230"
					end="-160"
					image="projectiles/wailprojectile-n-2.png"
					image_diagonal="projectiles/wailprojectile-ne-2.png"
				[/missile_frame]
				[missile_frame]
					begin="-160"
					end="0"
					image="projectiles/wailprojectile-n-3.png"
					image_diagonal="projectiles/wailprojectile-ne-3.png"
				[/missile_frame]
				[missile_frame]
					begin="0"
					end="40"
					image="projectiles/wailprojectile-n-4.png"
					image_diagonal="projectiles/wailprojectile-ne-4.png"
				[/missile_frame]
				[missile_frame]
					begin="40"
					end="80"
					image="projectiles/wailprojectile-n-5.png"
					image_diagonal="projectiles/wailprojectile-ne-5.png"
				[/missile_frame]
				[missile_frame]
					begin="80"
					end="120"
					image="projectiles/wailprojectile-n-6.png"
					image_diagonal="projectiles/wailprojectile-ne-6.png"
				[/missile_frame]
			[/if]
			[else]
				direction="s,se,sw"
				[missile_frame]
					begin="-300"
					end="-230"
					image="projectiles/wailprojectile-s-1.png"
					image_diagonal="projectiles/wailprojectile-se-1.png"
				[/missile_frame]
				[missile_frame]
					begin="-230"
					end="-160"
					image="projectiles/wailprojectile-s-2.png"
					image_diagonal="projectiles/wailprojectile-se-2.png"
				[/missile_frame]
				[missile_frame]
					begin="-160"
					end="0"
					image="projectiles/wailprojectile-s-3.png"
					image_diagonal="projectiles/wailprojectile-se-3.png"
				[/missile_frame]
				[missile_frame]
					begin="0"
					end="40"
					image="projectiles/wailprojectile-s-4.png"
					image_diagonal="projectiles/wailprojectile-se-4.png"
				[/missile_frame]
				[missile_frame]
					begin="40"
					end="80"
					image="projectiles/wailprojectile-s-5.png"
					image_diagonal="projectiles/wailprojectile-se-5.png"
				[/missile_frame]
				[missile_frame]
					begin="80"
					end="120"
					image="projectiles/wailprojectile-s-6.png"
					image_diagonal="projectiles/wailprojectile-se-6.png"
				[/missile_frame]
			[/else]
			[if]
				direction="s,se,sw"
				[frame]
					duration="25"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="75"
					image="units/undead/ghost-s-attack-1.png"
				[/frame]
				[frame]
					duration="150"
					image="units/undead/ghost-s-attack-2.png"
					sound="wail-sml.wav"
				[/frame]
				[frame]
					duration="75"
					image="units/undead/ghost-s-attack-1.png"
				[/frame]
				[frame]
					duration="25"
					image="units/undead/ghost-s-2.png"
				[/frame]
			[/if]
			[else]
				direction="n,ne,nw"
				[frame]
					duration="25"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="75"
					image="units/undead/ghost-n-attack-1.png"
				[/frame]
				[frame]
					duration="150"
					image="units/undead/ghost-n-attack-2.png"
					sound="wail-sml.wav"
				[/frame]
				[frame]
					duration="75"
					image="units/undead/ghost-n-attack-1.png"
				[/frame]
				[frame]
					duration="25"
					image="units/undead/ghost-n-2.png"
				[/frame]
			[/else]
		[/attack_anim]
		[attack_anim]
			alpha="0.8~0.0:425,0.0~0.8:225"
			direction="s,se,sw"
			offset="0.0~1.0:425,0.0:225"
			start_time="-500"
			[filter_attack]
				name="touch"
			[/filter_attack]
			[frame]
				duration="25"
				image="units/undead/ghost-s-2.png"
			[/frame]
			[frame]
				duration="175"
				image="units/undead/ghost-s-attack-1.png"
			[/frame]
			[frame]
				duration="175"
				image="units/undead/ghost-s-attack-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead/ghost-s-attack-3.png"
				sound="wail-sml.wav"
			[/frame]
			[frame]
				duration="75"
				image="units/undead/ghost-s-attack-2.png"
			[/frame]
			[frame]
				duration="75"
				image="units/undead/ghost-s-attack-1.png"
			[/frame]
			[frame]
				duration="25"
				image="units/undead/ghost-s-2.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			alpha="0.8~0.0:425,0.0~0.8:225"
			direction="n,ne,nw"
			offset="0.0~1.0:425,0.0:225"
			start_time="-500"
			[filter_attack]
				name="touch"
			[/filter_attack]
			[frame]
				duration="25"
				image="units/undead/ghost-n-2.png"
			[/frame]
			[frame]
				duration="175"
				image="units/undead/ghost-n-attack-1.png"
			[/frame]
			[frame]
				duration="175"
				image="units/undead/ghost-n-attack-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead/ghost-n-attack-3.png"
				sound="wail-sml.wav"
			[/frame]
			[frame]
				duration="75"
				image="units/undead/ghost-n-attack-2.png"
			[/frame]
			[frame]
				duration="75"
				image="units/undead/ghost-n-attack-1.png"
			[/frame]
			[frame]
				duration="25"
				image="units/undead/ghost-n-2.png"
			[/frame]
		[/attack_anim]
		[defend]
			direction="s,se,sw"
			start_time="-126"
			[if]
				alpha="0.8~0.5:126,0.5~0.8:126"
				hits="hit,kill"
				offset="0.0~-0.05:126,-0.05~0.0:126"
				[frame]
					duration="1"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/ghost-s-attack-1.png"
				[/frame]
				[frame]
					duration="150"
					image="units/undead/ghost-s-attack-1.png"
					sound="wail-sml.wav"
				[/frame]
				[frame]
					duration="1"
					image="units/undead/ghost-s-2.png"
				[/frame]
			[/if]
			[else]
				alpha="0.8~0.25:126,0.25~0.8:126"
				hits="miss"
				offset="0.0~-0.1:126,-0.1~0.0:126"
				[frame]
					duration="1"
					image="units/undead/ghost-s-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/ghost-s-attack-1.png"
				[/frame]
				[frame]
					duration="150"
					image="units/undead/ghost-s-attack-1.png"
				[/frame]
				[frame]
					duration="1"
					image="units/undead/ghost-s-2.png"
				[/frame]
			[/else]
		[/defend]
		[defend]
			direction="n,ne,nw"
			start_time="-126"
			[if]
				alpha="0.8~0.5:126,0.5~0.8:126"
				hits="hit,kill"
				offset="0.0~-0.05:126,-0.05~0.0:126"
				[frame]
					duration="1"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/ghost-n-attack-1.png"
				[/frame]
				[frame]
					duration="150"
					image="units/undead/ghost-n-attack-1.png"
					sound="wail-sml.wav"
				[/frame]
				[frame]
					duration="1"
					image="units/undead/ghost-n-2.png"
				[/frame]
			[/if]
			[else]
				alpha="0.8~0.25:126,0.25~0.8:126"
				hits="miss"
				offset="0.0~-0.1:126,-0.1~0.0:126"
				[frame]
					duration="1"
					image="units/undead/ghost-n-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/undead/ghost-n-attack-1.png"
				[/frame]
				[frame]
					duration="150"
					image="units/undead/ghost-n-attack-1.png"
				[/frame]
				[frame]
					duration="1"
					image="units/undead/ghost-n-2.png"
				[/frame]
			[/else]
		[/defend]
		[portrait]
			image="portraits/undead/transparent/ghost.png"
			mirror="false"
			side="left"
			size="400"
		[/portrait]
		[portrait]
			image="portraits/undead/transparent/ghost.png"
			mirror="true"
			side="right"
			size="400"
		[/portrait]
		[standing_anim]
			alpha="0.8~0.4:1400,0.4~0.6:600,0.6~0.4:600,0.4~0.8:1400"
			direction="s,se,sw"
			start_time="0"
			[frame]
				duration="250"
				image="units/undead/ghost-s-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-1.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-3.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-1.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-3.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-1.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-3.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-1.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-s-3.png"
			[/frame]
		[/standing_anim]
		[standing_anim]
			alpha="0.8~0.4:1400,0.4~0.6:600,0.6~0.4:600,0.4~0.8:1400"
			direction="n,ne,nw"
			start_time="0"
			[frame]
				duration="250"
				image="units/undead/ghost-n-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-1.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-3.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-1.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-3.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-1.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-3.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-1.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-2.png"
			[/frame]
			[frame]
				duration="250"
				image="units/undead/ghost-n-3.png"
			[/frame]
		[/standing_anim]
		[variables]
		[/variables]
		[status]
			not_living="yes"
		[/status]
		[attack]
			damage="4"
			description=_ "touch"
			icon="attacks/touch-undead.png"
			name="touch"
			number="3"
			range="melee"
			type="arcane"
			[specials]
				[drains]
#textdomain wesnoth
					description=_ "Drain:
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]
		[attack]
			damage="3"
#textdomain wesnoth-units
			description=_ "wail"
			name="wail"
			number="3"
			range="ranged"
			type="cold"
		[/attack]
		[modifications]
			[trait]
				availability="musthave"
#textdomain wesnoth
				description=_ "Immune to drain, poison and plague"
				female_name=_ "female^undead"
				id="undead"
				male_name=_ "undead"
				name=_ "undead"
				[effect]
					add="not_living"
					apply_to="status"
				[/effect]
			[/trait]
		[/modifications]
	[/unit]
[unit]

		advances_to="Blood Bat"
		ai_special=""
		alignment="chaotic"
		alpha="256"
		attacks_left="1"
		cost="13"
		ellipse="misc/ellipse-nozoc"
		experience="0"
		facing="n"
		flag_rgb="magenta"
		flying="yes"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="16"
		id="Vampire Bat-4"
		image="units/undead/bat-se-3.png"
#textdomain wesnoth-units
		language_name=_ "Vampire Bat"
		level="0"
		max_attacks="1"
		max_experience="15"
		max_hitpoints="16"
		max_moves="9"
		moves="9"
		name=""
		overlays=""
		profile="portraits/monsters/bat.png"
		race="bats"
		random_traits="no"
		resting="yes"
		role=""
		side="1"
		type="Vampire Bat"
		undead_variation="bat"
		underlying_id="4"
		unrenamable="no"
		upkeep="full"
		usage="scout"
		variation=""
		x="28"
		y="4"
		zoc="no"
		[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="60"
		[/defense]
		[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]
		[resistance]
			arcane="80"
			blade="100"
			cold="70"
			fire="100"
			impact="120"
			pierce="100"
		[/resistance]
		[attack_anim]
			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]
				duration="30"
				image="units/undead/bat-se-3.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-se-2.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-se-1.png"
				sound="bat-flapping.wav"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-se-2.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-se-3.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					duration="70"
					image="units/undead/bat-se-4.png"
					sound="bite-small.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					duration="70"
					image="units/undead/bat-se-4.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				duration="50"
				image="units/undead/bat-se-3.png"
			[/frame]
			[frame]
				duration="50"
				image="units/undead/bat-se-2.png"
			[/frame]
			[frame]
				duration="40"
				image="units/undead/bat-se-3.png"
			[/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="fangs"
			[/filter_attack]
			[frame]
				duration="30"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-ne-2.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-ne-1.png"
				sound="bat-flapping.wav"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-ne-2.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					duration="70"
					image="units/undead/bat-ne-4.png"
					sound="bite-small.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					duration="70"
					image="units/undead/bat-ne-4.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				duration="50"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[frame]
				duration="50"
				image="units/undead/bat-ne-2.png"
			[/frame]
			[frame]
				duration="40"
				image="units/undead/bat-ne-3.png"
			[/frame]
		[/attack_anim]
		[defend]
			direction="s,sw,se"
			start_time="-126"
			[if]
				hits="miss"
				offset="0.0~-0.15,-0.15~0.0"
			[/if]
			[frame]
				duration="1"
				image="units/undead/bat-se-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead/bat-se-4.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/undead/bat-se-4.png"
					sound="bat-hit-1.ogg,bat-hit-2.ogg,bat-hit-3.ogg,bat-hit-4.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/undead/bat-se-4.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/undead/bat-se-3.png"
			[/frame]
		[/defend]
		[defend]
			direction="n,nw,ne"
			start_time="-126"
			[if]
				hits="miss"
				offset="0.0~-0.15,-0.15~0.0"
			[/if]
			[frame]
				duration="1"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead/bat-ne-4.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/undead/bat-ne-4.png"
					sound="bat-hit-1.ogg,bat-hit-2.ogg,bat-hit-3.ogg,bat-hit-4.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/undead/bat-ne-4.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/undead/bat-ne-3.png"
			[/frame]
		[/defend]
		[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]
				duration="50"
				image="units/undead/bat-se-3.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-se-2.png"
			[/frame]
			[frame]
				duration="80"
				image="units/undead/bat-se-1.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-se-2.png"
			[/frame]
			[frame]
				duration="50"
				image="units/undead/bat-se-3.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-se-4.png"
			[/frame]
			[frame]
				duration="80"
				image="units/undead/bat-se-5.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-se-4.png"
			[/frame]
		[/standing_anim]
		[standing_anim]
			direction="n,ne,nw"
			layer="60"
			start_time="0"
			[frame]
				duration="50"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-ne-2.png"
			[/frame]
			[frame]
				duration="80"
				image="units/undead/bat-ne-1.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-ne-2.png"
			[/frame]
			[frame]
				duration="50"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-ne-4.png"
			[/frame]
			[frame]
				duration="80"
				image="units/undead/bat-ne-5.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-ne-4.png"
			[/frame]
		[/standing_anim]
		[variables]
		[/variables]
		[status]
		[/status]
		[attack]
			damage="5"
			description=_ "fangs"
			icon="attacks/fangs-animal.png"
			name="fangs"
			number="2"
			range="melee"
			type="blade"
			[specials]
				[drains]
#textdomain wesnoth
					description=_ "Drain:
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]
				female_name=_ "female^strong"
				id="strong"
				male_name=_ "strong"
				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"
				name=_ "quick"
				[effect]
					apply_to="movement"
					increase="1"
				[/effect]
				[effect]
					apply_to="hitpoints"
					increase_total="-5%"
				[/effect]
			[/trait]
		[/modifications]
	[/unit]
[unit]

		advances_to="Revenant,Deathblade"
		ai_special=""
		alignment="chaotic"
		alpha="256"
		attacks_left="1"
		cost="15"
		ellipse="misc/ellipse"
		experience="0"
		facing="n"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="34"
		id="Skeleton-5"
		image="units/undead-skeletal/skeleton.png"
#textdomain wesnoth-units
		language_name=_ "Skeleton"
		level="1"
		max_attacks="1"
		max_experience="25"
		max_hitpoints="34"
		max_moves="5"
		moves="5"
		name=""
		overlays=""
		profile="portraits/undead/skeleton.png"
		race="undead"
		random_traits="no"
		resting="yes"
		role=""
		side="1"
		type="Skeleton"
		undead_variation=""
		underlying_id="5"
		unrenamable="no"
		upkeep="full"
		usage="fighter"
		variation=""
		x="7"
		y="17"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="150"
			blade="60"
			cold="40"
			fire="120"
			impact="120"
			pierce="40"
		[/resistance]
		[abilities]
			[hides]
				affect_self="yes"
#textdomain wesnoth
				description=_ "Submerge:
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=_ "Submerge:
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_self]
					[filter_location]
						terrain="Wo"
					[/filter_location]
				[/filter_self]
			[/hides]
		[/abilities]
		[attack_anim]
			offset="0.0~0.3,0.3~0.45,0.45~0.3,0.3~0.0"
			start_time="-250"
			[filter_attack]
				name="axe"
			[/filter_attack]
			[frame]
				duration="150"
				image="units/undead-skeletal/skeleton-attack-1.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-attack-2.png"
					sound="axe.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-attack-2.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-attack-3.png"
			[/frame]
			[frame]
				duration="90"
				image="units/undead-skeletal/skeleton-attack-4.png"
			[/frame]
			[frame]
				duration="80"
				image="units/undead-skeletal/skeleton-attack-5.png"
			[/frame]
		[/attack_anim]
		[death]
			[frame]
				begin="0"
				end="100"
				image="units/undead-skeletal/skeleton-dying-1.png"
			[/frame]
			[frame]
				begin="100"
				end="200"
				image="units/undead-skeletal/skeleton-dying-2.png"
			[/frame]
			[frame]
				begin="200"
				end="300"
				image="units/undead-skeletal/skeleton-dying-3.png"
			[/frame]
			[frame]
				begin="300"
				end="400"
				image="units/undead-skeletal/skeleton-dying-4.png"
			[/frame]
			[frame]
				begin="400"
				end="500"
				image="units/undead-skeletal/skeleton-dying-5.png"
			[/frame]
			[frame]
				begin="500"
				end="600"
				image="units/undead-skeletal/skeleton-dying-6.png"
			[/frame]
			[frame]
				begin="600"
				end="700"
				image="units/undead-skeletal/skeleton-dying-7.png"
			[/frame]
		[/death]
		[defend]
			start_time="-126"
			[frame]
				duration="1"
				image="units/undead-skeletal/skeleton-defend-1.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-defend-2.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/undead-skeletal/skeleton-defend-2.png"
					sound="skeleton-hit-1.ogg,skeleton-hit-2.ogg,skeleton-hit-3.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/undead-skeletal/skeleton-defend-2.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/undead-skeletal/skeleton-defend-1.png"
			[/frame]
		[/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]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-1.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-2.png"
			[/frame]
		[/idle_anim]
		[portrait]
			image="portraits/undead/transparent/skeleton.png"
			mirror="false"
			side="left"
			size="400"
		[/portrait]
		[portrait]
			image="portraits/undead/transparent/skeleton.png"
			mirror="true"
			side="right"
			size="400"
		[/portrait]
		[recruit_anim]
			[frame]
				alpha="0~1:300"
				begin="-200"
				end="100"
				image="units/undead-skeletal/skeleton-dying-7.png"
			[/frame]
			[frame]
				begin="100"
				end="200"
				image="units/undead-skeletal/skeleton-dying-6.png"
			[/frame]
			[frame]
				begin="200"
				end="300"
				image="units/undead-skeletal/skeleton-dying-5.png"
			[/frame]
			[frame]
				begin="300"
				end="400"
				image="units/undead-skeletal/skeleton-dying-4.png"
			[/frame]
			[frame]
				begin="400"
				end="500"
				image="units/undead-skeletal/skeleton-dying-3.png"
			[/frame]
			[frame]
				begin="500"
				end="600"
				image="units/undead-skeletal/skeleton-dying-2.png"
			[/frame]
			[frame]
				begin="600"
				end="700"
				image="units/undead-skeletal/skeleton-dying-1.png"
			[/frame]
		[/recruit_anim]
		[variables]
		[/variables]
		[status]
			not_living="yes"
		[/status]
		[attack]
			damage="7"
#textdomain wesnoth-units
			description=_ "axe"
			icon="attacks/axe-undead.png"
			name="axe"
			number="3"
			range="melee"
			type="blade"
		[/attack]
		[modifications]
			[trait]
				availability="musthave"
#textdomain wesnoth
				description=_ "Immune to drain, poison and plague"
				female_name=_ "female^undead"
				id="undead"
				male_name=_ "undead"
				name=_ "undead"
				[effect]
					add="not_living"
					apply_to="status"
				[/effect]
			[/trait]
		[/modifications]
	[/unit]
[unit]

		advances_to="Necrophage"
		ai_special=""
		alignment="chaotic"
		alpha="256"
		attacks_left="1"
		cost="16"
		ellipse="misc/ellipse"
		experience="0"
		facing="se"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="33"
		id="Ghoul-6"
		image="units/undead/ghoul.png"
#textdomain wesnoth-units
		language_name=_ "Ghoul"
		level="1"
		max_attacks="1"
		max_experience="25"
		max_hitpoints="33"
		max_moves="5"
		moves="5"
		name=""
		overlays=""
		profile="portraits/undead/ghoul.png"
		race="undead"
		random_traits="no"
		resting="yes"
		role=""
		side="1"
		type="Ghoul"
		undead_variation=""
		underlying_id="6"
		unrenamable="no"
		upkeep="full"
		usage="fighter"
		variation=""
		x="25"
		y="24"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="80"
			blade="90"
			cold="60"
			fire="90"
			impact="100"
			pierce="70"
		[/resistance]
		[attack_anim]
			[filter_attack]
				name="claws"
			[/filter_attack]
			[frame]
				begin="-250"
				end="-200"
				image="units/undead/ghoul.png"
			[/frame]
			[frame]
				begin="-200"
				end="-125"
				image="units/undead/ghoul-attack-1.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-125"
					end="-50"
					image="units/undead/ghoul-attack-2.png"
					sound="claws.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-125"
					end="-50"
					image="units/undead/ghoul-attack-2.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[if]
				hits="hit"
				poisoned_sound_start_time="-100"
				[filter_second]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter_second]
				[poisoned_sound_frame]
					duration="100"
					sound="poison.ogg"
				[/poisoned_sound_frame]
			[/if]
			[frame]
				begin="-50"
				end="50"
				image="units/undead/ghoul-attack-3.png"
			[/frame]
			[frame]
				begin="50"
				end="125"
				image="units/undead/ghoul-attack-4.png"
			[/frame]
			[frame]
				begin="125"
				end="200"
				image="units/undead/ghoul.png"
			[/frame]
		[/attack_anim]
		[defend]
			start_time="-126"
			[frame]
				duration="1"
				image="units/undead/ghoul-defend-1.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead/ghoul-defend-2.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/undead/ghoul-defend-2.png"
					sound="ghoul-hit.wav"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/undead/ghoul-defend-2.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/undead/ghoul-defend-1.png"
			[/frame]
		[/defend]
		[trait]
			availability="musthave"
#textdomain wesnoth
			description=_ "Fights normally during unfavorable times of day/night"
			female_name=_ "female^fearless"
			id="fearless"
			male_name=_ "fearless"
		[/trait]
		[variables]
		[/variables]
		[status]
			not_living="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
					description=_ "Poison:
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"
				name=_ "undead"
				[effect]
					add="not_living"
					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"
				name=_ "fearless"
			[/trait]
		[/modifications]
	[/unit]
[unit]

		advances_to="Dark Sorcerer"
		ai_special=""
		alignment="chaotic"
		alpha="256"
		attacks_left="1"
		cost="16"
		ellipse="misc/ellipse"
		experience="0"
		facing="sw"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="27"
		id="Dark Adept-10"
		image="units/undead-necromancers/adept.png"
#textdomain wesnoth-units
		language_name=_ "Dark Adept"
		level="1"
		max_attacks="1"
		max_experience="27"
		max_hitpoints="27"
		max_moves="6"
		moves="6"
		name="Meoddry"
		overlays=""
		profile="portraits/humans/dark-adept.png"
		race="human"
		random_traits="no"
		resting="yes"
		role=""
		side="1"
		type="Dark Adept"
		undead_variation=""
		underlying_id="10"
		unrenamable="no"
		upkeep="full"
		usage="archer"
		variation=""
		x="14"
		y="17"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="80"
			blade="100"
			cold="100"
			fire="100"
			impact="100"
			pierce="100"
		[/resistance]
		[attack_anim]
			[filter_attack]
				range="ranged"
			[/filter_attack]
			[missile_frame]
				begin="-50"
				end="150"
				image="projectiles/darkmissile-n.png"
				image_diagonal="projectiles/darkmissile-ne.png"
			[/missile_frame]
			[frame]
				begin="-450"
				end="-420"
				image="units/undead-necromancers/adept.png"
			[/frame]
			[frame]
				begin="-420"
				end="-395"
				image="units/undead-necromancers/adept-magic-1.png"
			[/frame]
			[frame]
				begin="-395"
				end="-320"
				image="units/undead-necromancers/adept-magic-2.png"
			[/frame]
			[frame]
				begin="-320"
				end="-300"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-300"
				end="-250"
				halo="halo/undead/dark-magic-1.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-250"
				end="-200"
				halo="halo/undead/dark-magic-2.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-200"
				end="-150"
				halo="halo/undead/dark-magic-3.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-150"
				end="-100"
				halo="halo/undead/dark-magic-4.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-100"
				end="-50"
				halo="halo/undead/dark-magic-5.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[if]
				hits="no"
				[frame]
					begin="-50"
					end="0"
					halo="halo/undead/dark-magic-6.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
					sound="magic-dark-miss.ogg"
				[/frame]
			[/if]
			[else]
				hits="yes"
				[frame]
					begin="-50"
					end="0"
					halo="halo/undead/dark-magic-6.png"
					halo_x="0"
					halo_y="-12"
					image="units/undead-necromancers/adept-magic-3.png"
					sound="magic-dark.ogg"
				[/frame]
			[/else]
			[frame]
				begin="0"
				end="50"
				image="units/undead-necromancers/adept-magic-2.png"
			[/frame]
			[frame]
				begin="50"
				end="90"
				image="units/undead-necromancers/adept-magic-1.png"
			[/frame]
			[frame]
				begin="90"
				end="100"
				image="units/undead-necromancers/adept.png"
			[/frame]
		[/attack_anim]
		[death]
			[frame]
				begin="0"
				end="100"
				image="units/undead-necromancers/adept-die1.png"
			[/frame]
			[frame]
				begin="100"
				end="200"
				image="units/undead-necromancers/adept-die2.png"
			[/frame]
			[frame]
				begin="200"
				end="300"
				image="units/undead-necromancers/adept-die3.png"
			[/frame]
			[frame]
				begin="300"
				end="400"
				image="units/undead-necromancers/adept-die4.png"
			[/frame]
			[frame]
				begin="400"
				end="520"
				image="units/undead-necromancers/adept-die5.png"
			[/frame]
			[frame]
				begin="520"
				end="640"
				image="units/undead-necromancers/adept-die6.png"
			[/frame]
			[frame]
				begin="640"
				end="780"
				image="units/undead-necromancers/adept-die7.png"
			[/frame]
			[frame]
				begin="780"
				end="900"
				image="units/undead-necromancers/adept-die8.png"
			[/frame]
		[/death]
		[defend]
			start_time="-126"
			[frame]
				duration="1"
				image="units/undead-necromancers/adept-defend-1.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-necromancers/adept-defend-2.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/undead-necromancers/adept-defend-2.png"
					sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/undead-necromancers/adept-defend-2.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/undead-necromancers/adept-defend-1.png"
			[/frame]
		[/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]
			[filter_second]
				race="undead"
			[/filter_second]
			[frame]
				begin="-450"
				end="-420"
				image="units/undead-necromancers/adept.png"
			[/frame]
			[frame]
				begin="-420"
				end="-395"
				image="units/undead-necromancers/adept-magic-1.png"
			[/frame]
			[frame]
				begin="-395"
				end="-320"
				image="units/undead-necromancers/adept-magic-2.png"
			[/frame]
			[frame]
				begin="-320"
				end="-300"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-300"
				end="-250"
				halo="halo/undead/dark-magic-1.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-250"
				end="-200"
				halo="halo/undead/dark-magic-2.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-200"
				end="-150"
				halo="halo/undead/dark-magic-3.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-150"
				end="-100"
				halo="halo/undead/dark-magic-4.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-100"
				end="-50"
				halo="halo/undead/dark-magic-5.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
			[/frame]
			[frame]
				begin="-50"
				end="0"
				halo="halo/undead/dark-magic-6.png"
				halo_x="0"
				halo_y="-12"
				image="units/undead-necromancers/adept-magic-3.png"
				sound="magic-dark.ogg"
			[/frame]
			[frame]
				begin="0"
				end="50"
				image="units/undead-necromancers/adept-magic-2.png"
			[/frame]
			[frame]
				begin="50"
				end="90"
				image="units/undead-necromancers/adept-magic-1.png"
			[/frame]
			[frame]
				begin="90"
				end="100"
				image="units/undead-necromancers/adept.png"
			[/frame]
		[/recruiting_anim]
		[trait]
#textdomain wesnoth
			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]
		[variables]
		[/variables]
		[status]
		[/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
					description=_ "Magical:
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
					description=_ "Magical:
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"
				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"
				name=_ "intelligent"
				[effect]
					apply_to="max_experience"
					increase="-20%"
				[/effect]
			[/trait]
		[/modifications]
	[/unit]
[unit]

		advances_to="Revenant,Deathblade"
		ai_special=""
		alignment="chaotic"
		alpha="256"
		attacks_left="1"
		cost="15"
		ellipse="misc/ellipse"
		experience="0"
		facing="se"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="34"
		id="Skeleton-11"
		image="units/undead-skeletal/skeleton.png"
#textdomain wesnoth-units
		language_name=_ "Skeleton"
		level="1"
		max_attacks="1"
		max_experience="25"
		max_hitpoints="34"
		max_moves="5"
		moves="5"
		name=""
		overlays=""
		profile="portraits/undead/skeleton.png"
		race="undead"
		random_traits="no"
		resting="yes"
		role=""
		side="1"
		type="Skeleton"
		undead_variation=""
		underlying_id="11"
		unrenamable="no"
		upkeep="full"
		usage="fighter"
		variation=""
		x="26"
		y="18"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="150"
			blade="60"
			cold="40"
			fire="120"
			impact="120"
			pierce="40"
		[/resistance]
		[abilities]
			[hides]
				affect_self="yes"
#textdomain wesnoth
				description=_ "Submerge:
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=_ "Submerge:
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_self]
					[filter_location]
						terrain="Wo"
					[/filter_location]
				[/filter_self]
			[/hides]
		[/abilities]
		[attack_anim]
			offset="0.0~0.3,0.3~0.45,0.45~0.3,0.3~0.0"
			start_time="-250"
			[filter_attack]
				name="axe"
			[/filter_attack]
			[frame]
				duration="150"
				image="units/undead-skeletal/skeleton-attack-1.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-attack-2.png"
					sound="axe.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					duration="100"
					image="units/undead-skeletal/skeleton-attack-2.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-attack-3.png"
			[/frame]
			[frame]
				duration="90"
				image="units/undead-skeletal/skeleton-attack-4.png"
			[/frame]
			[frame]
				duration="80"
				image="units/undead-skeletal/skeleton-attack-5.png"
			[/frame]
		[/attack_anim]
		[death]
			[frame]
				begin="0"
				end="100"
				image="units/undead-skeletal/skeleton-dying-1.png"
			[/frame]
			[frame]
				begin="100"
				end="200"
				image="units/undead-skeletal/skeleton-dying-2.png"
			[/frame]
			[frame]
				begin="200"
				end="300"
				image="units/undead-skeletal/skeleton-dying-3.png"
			[/frame]
			[frame]
				begin="300"
				end="400"
				image="units/undead-skeletal/skeleton-dying-4.png"
			[/frame]
			[frame]
				begin="400"
				end="500"
				image="units/undead-skeletal/skeleton-dying-5.png"
			[/frame]
			[frame]
				begin="500"
				end="600"
				image="units/undead-skeletal/skeleton-dying-6.png"
			[/frame]
			[frame]
				begin="600"
				end="700"
				image="units/undead-skeletal/skeleton-dying-7.png"
			[/frame]
		[/death]
		[defend]
			start_time="-126"
			[frame]
				duration="1"
				image="units/undead-skeletal/skeleton-defend-1.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-defend-2.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/undead-skeletal/skeleton-defend-2.png"
					sound="skeleton-hit-1.ogg,skeleton-hit-2.ogg,skeleton-hit-3.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/undead-skeletal/skeleton-defend-2.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/undead-skeletal/skeleton-defend-1.png"
			[/frame]
		[/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]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-1.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead-skeletal/skeleton-idle-2.png"
			[/frame]
		[/idle_anim]
		[portrait]
			image="portraits/undead/transparent/skeleton.png"
			mirror="false"
			side="left"
			size="400"
		[/portrait]
		[portrait]
			image="portraits/undead/transparent/skeleton.png"
			mirror="true"
			side="right"
			size="400"
		[/portrait]
		[recruit_anim]
			[frame]
				alpha="0~1:300"
				begin="-200"
				end="100"
				image="units/undead-skeletal/skeleton-dying-7.png"
			[/frame]
			[frame]
				begin="100"
				end="200"
				image="units/undead-skeletal/skeleton-dying-6.png"
			[/frame]
			[frame]
				begin="200"
				end="300"
				image="units/undead-skeletal/skeleton-dying-5.png"
			[/frame]
			[frame]
				begin="300"
				end="400"
				image="units/undead-skeletal/skeleton-dying-4.png"
			[/frame]
			[frame]
				begin="400"
				end="500"
				image="units/undead-skeletal/skeleton-dying-3.png"
			[/frame]
			[frame]
				begin="500"
				end="600"
				image="units/undead-skeletal/skeleton-dying-2.png"
			[/frame]
			[frame]
				begin="600"
				end="700"
				image="units/undead-skeletal/skeleton-dying-1.png"
			[/frame]
		[/recruit_anim]
		[variables]
		[/variables]
		[status]
			not_living="yes"
		[/status]
		[attack]
			damage="7"
#textdomain wesnoth-units
			description=_ "axe"
			icon="attacks/axe-undead.png"
			name="axe"
			number="3"
			range="melee"
			type="blade"
		[/attack]
		[modifications]
			[trait]
				availability="musthave"
#textdomain wesnoth
				description=_ "Immune to drain, poison and plague"
				female_name=_ "female^undead"
				id="undead"
				male_name=_ "undead"
				name=_ "undead"
				[effect]
					add="not_living"
					apply_to="status"
				[/effect]
			[/trait]
		[/modifications]
	[/unit]
[unit]

		advances_to="Blood Bat"
		ai_special=""
		alignment="chaotic"
		alpha="256"
		attacks_left="1"
		cost="13"
		ellipse="misc/ellipse-nozoc"
		experience="0"
		facing="ne"
		flag_rgb="magenta"
		flying="yes"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="16"
		id="Vampire Bat-14"
		image="units/undead/bat-se-3.png"
#textdomain wesnoth-units
		language_name=_ "Vampire Bat"
		level="0"
		max_attacks="1"
		max_experience="15"
		max_hitpoints="16"
		max_moves="9"
		moves="9"
		name=""
		overlays=""
		profile="portraits/monsters/bat.png"
		race="bats"
		random_traits="no"
		resting="yes"
		role=""
		side="1"
		type="Vampire Bat"
		undead_variation="bat"
		underlying_id="14"
		unrenamable="no"
		upkeep="full"
		usage="scout"
		variation=""
		x="20"
		y="15"
		zoc="no"
		[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="60"
		[/defense]
		[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]
		[resistance]
			arcane="80"
			blade="100"
			cold="70"
			fire="100"
			impact="120"
			pierce="100"
		[/resistance]
		[attack_anim]
			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]
				duration="30"
				image="units/undead/bat-se-3.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-se-2.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-se-1.png"
				sound="bat-flapping.wav"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-se-2.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-se-3.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					duration="70"
					image="units/undead/bat-se-4.png"
					sound="bite-small.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					duration="70"
					image="units/undead/bat-se-4.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				duration="50"
				image="units/undead/bat-se-3.png"
			[/frame]
			[frame]
				duration="50"
				image="units/undead/bat-se-2.png"
			[/frame]
			[frame]
				duration="40"
				image="units/undead/bat-se-3.png"
			[/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="fangs"
			[/filter_attack]
			[frame]
				duration="30"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-ne-2.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-ne-1.png"
				sound="bat-flapping.wav"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-ne-2.png"
			[/frame]
			[frame]
				duration="30"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					duration="70"
					image="units/undead/bat-ne-4.png"
					sound="bite-small.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					duration="70"
					image="units/undead/bat-ne-4.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				duration="50"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[frame]
				duration="50"
				image="units/undead/bat-ne-2.png"
			[/frame]
			[frame]
				duration="40"
				image="units/undead/bat-ne-3.png"
			[/frame]
		[/attack_anim]
		[defend]
			direction="s,sw,se"
			start_time="-126"
			[if]
				hits="miss"
				offset="0.0~-0.15,-0.15~0.0"
			[/if]
			[frame]
				duration="1"
				image="units/undead/bat-se-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead/bat-se-4.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/undead/bat-se-4.png"
					sound="bat-hit-1.ogg,bat-hit-2.ogg,bat-hit-3.ogg,bat-hit-4.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/undead/bat-se-4.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/undead/bat-se-3.png"
			[/frame]
		[/defend]
		[defend]
			direction="n,nw,ne"
			start_time="-126"
			[if]
				hits="miss"
				offset="0.0~-0.15,-0.15~0.0"
			[/if]
			[frame]
				duration="1"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/undead/bat-ne-4.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/undead/bat-ne-4.png"
					sound="bat-hit-1.ogg,bat-hit-2.ogg,bat-hit-3.ogg,bat-hit-4.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/undead/bat-ne-4.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/undead/bat-ne-3.png"
			[/frame]
		[/defend]
		[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]
				duration="50"
				image="units/undead/bat-se-3.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-se-2.png"
			[/frame]
			[frame]
				duration="80"
				image="units/undead/bat-se-1.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-se-2.png"
			[/frame]
			[frame]
				duration="50"
				image="units/undead/bat-se-3.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-se-4.png"
			[/frame]
			[frame]
				duration="80"
				image="units/undead/bat-se-5.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-se-4.png"
			[/frame]
		[/standing_anim]
		[standing_anim]
			direction="n,ne,nw"
			layer="60"
			start_time="0"
			[frame]
				duration="50"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-ne-2.png"
			[/frame]
			[frame]
				duration="80"
				image="units/undead/bat-ne-1.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-ne-2.png"
			[/frame]
			[frame]
				duration="50"
				image="units/undead/bat-ne-3.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-ne-4.png"
			[/frame]
			[frame]
				duration="80"
				image="units/undead/bat-ne-5.png"
			[/frame]
			[frame]
				duration="60"
				image="units/undead/bat-ne-4.png"
			[/frame]
		[/standing_anim]
		[variables]
		[/variables]
		[status]
		[/status]
		[attack]
			damage="5"
			description=_ "fangs"
			icon="attacks/fangs-animal.png"
			name="fangs"
			number="2"
			range="melee"
			type="blade"
			[specials]
				[drains]
#textdomain wesnoth
					description=_ "Drain:
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]
				female_name=_ "female^strong"
				id="strong"
				male_name=_ "strong"
				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"
				name=_ "quick"
				[effect]
					apply_to="movement"
					increase="1"
				[/effect]
				[effect]
					apply_to="hitpoints"
					increase_total="-5%"
				[/effect]
			[/trait]
		[/modifications]
	[/unit]
[/side]
[side]
action_bonus_count="6"
allow_changes="no"
allow_player="yes"
colour="2"
controller="human"
countdown_time="267000"
current_player="tom030890"
disallow_observers="no"
fog="yes"
gold="18"
gold_add="no"
hidden="no"
id="RMPSide2"
income="0"
name="tom030890"
no_leader="yes"
objectives="<big>Victory:</big>
<span foreground='green'>Defeat enemy leader</span>"
objectives_changed="yes"
persistent="yes"
player_id="tom0308902"
recruit="Bowman,Cavalryman,Fencer,Heavy Infantryman,Horseman,Mage,Merman Fighter,Spearman"
save_id="RMPSide2"
share_maps="yes"
share_view="no"
shroud="no"
side="2"
start_gold="100"
team_name="south"
user_description="tom030890"
user_team_name="teamname^South"
village_gold="2"
[ai]

		description=_ "Multiplayer_AI^RCA AI"
		id="testing_ai_default"
		version="10710"
		[stage]
			id="main_loop"
			name="testing_ai_default::candidate_action_evaluation_loop"
			[candidate_action]
				engine="cpp"
				id="goto"
				max_score="    200000"
				name="testing_ai_default::goto_phase"
				score="    200000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="recruitment"
				max_score="    180000"
				name="testing_ai_default::aspect_recruitment_phase"
				score="    180000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="move_leader_to_goals"
				max_score="    140000"
				name="testing_ai_default::move_leader_to_goals_phase"
				score="    140000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="move_leader_to_keep"
				max_score="    120000"
				name="testing_ai_default::move_leader_to_keep_phase"
				score="    120000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="combat"
				max_score="    100000"
				name="testing_ai_default::combat_phase"
				score="    100000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="healing"
				max_score="    80000"
				name="testing_ai_default::get_healing_phase"
				score="    80000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="villages"
				max_score="    60000"
				name="testing_ai_default::get_villages_phase"
				score="    60000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="retreat"
				max_score="    40000"
				name="testing_ai_default::retreat_phase"
				score="    40000"
			[/candidate_action]
			[candidate_action]
				engine="cpp"
				id="move_to_targets"
				max_score="    20000"
				name="testing_ai_default::testing_move_to_targets_phase"
				score="    20000"
			[/candidate_action]
		[/stage]
		[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="testing_ai_default::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_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_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_pattern"
			name="composite_aspect"
			[default]
				engine="cpp"
				name="standard_aspect"
			[/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="3"
	[/village]
[village]

		x="6"
		y="8"
	[/village]
[village]

		x="11"
		y="4"
	[/village]
[village]

		x="11"
		y="11"
	[/village]
[village]

		x="19"
		y="2"
	[/village]
[village]

		x="20"
		y="8"
	[/village]
[village]

		x="24"
		y="5"
	[/village]
[unit]

		advances_to="General"
		ai_special=""
		alignment="lawful"
		alpha="256"
		attacks_left="1"
		canrecruit="yes"
		cost="35"
		experience="0"
		facing="s"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		goto_x="-999"
		goto_y="-999"
		hitpoints="40"
		id="RMPSide2"
		image="units/human-loyalists/lieutenant.png"
#textdomain wesnoth-units
		language_name=_ "Lieutenant"
		level="2"
		max_attacks="1"
		max_experience="56"
		max_hitpoints="40"
		max_moves="6"
		moves="6"
		name="tom030890"
		overlays=""
		profile="portraits/humans/lieutenant.png"
		race="human"
		random_traits="no"
		resting="yes"
		role=""
		side="2"
		type="Lieutenant"
		undead_variation=""
		underlying_id="2"
		unrenamable="no"
		upkeep="full"
		usage="fighter"
		variation=""
		x="15"
		y="9"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="80"
			blade="100"
			cold="100"
			fire="100"
			impact="100"
			pierce="100"
		[/resistance]
		[portrait]
			image="portraits/humans/transparent/lieutenant.png"
			mirror="false"
			side="left"
			size="400"
		[/portrait]
		[portrait]
			image="portraits/humans/transparent/lieutenant.png"
			mirror="true"
			side="right"
			size="400"
		[/portrait]
		[abilities]
			[leadership]
				affect_self="no"
				cumulative="no"
#textdomain wesnoth
				description=_ "Leadership:
This unit can lead our own units that are next to it, making them fight better.

Adjacent own units of lower level will do more damage in battle. When a unit adjacent to, of a lower level than, and on the same side as a unit with Leadership engages in combat, its attacks do 25% more damage times the difference in their levels."
				female_name=_ "female^leadership"
				id="leadership"
				name=_ "leadership"
				value="50"
				[affect_adjacent]
					adjacent="n,ne,se,s,sw,nw"
					[filter]
						level="0"
					[/filter]
				[/affect_adjacent]
			[/leadership]
			[leadership]
				affect_self="no"
				cumulative="no"
				id="leadership"
				value="25"
				[affect_adjacent]
					adjacent="n,ne,se,s,sw,nw"
					[filter]
						level="1"
					[/filter]
				[/affect_adjacent]
			[/leadership]
		[/abilities]
		[variables]
		[/variables]
		[status]
		[/status]
		[attack]
			damage="8"
#textdomain wesnoth-units
			description=_ "sword"
			icon="attacks/sword-human.png"
			name="sword"
			number="3"
			range="melee"
			type="blade"
		[/attack]
		[attack]
			damage="5"
			description=_ "crossbow"
			icon="attacks/crossbow-human.png"
			name="crossbow"
			number="3"
			range="ranged"
			type="pierce"
		[/attack]
		[modifications]
		[/modifications]
	[/unit]
[unit]

		advances_to="Longbowman"
		ai_special=""
		alignment="lawful"
		alpha="256"
		attacks_left="1"
		cost="14"
		ellipse="misc/ellipse"
		experience="0"
		facing="n"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="38"
		id="Bowman-7"
		image="units/human-loyalists/bowman.png"
		language_name=_ "Bowman"
		level="1"
		max_attacks="1"
		max_experience="22"
		max_hitpoints="38"
		max_moves="5"
		moves="1"
		name="Gweorcyn"
		overlays=""
		profile="portraits/humans/bowman.png"
		race="human"
		random_traits="no"
		resting="no"
		role=""
		side="2"
		type="Bowman"
		undead_variation="archer"
		underlying_id="7"
		unrenamable="no"
		upkeep="full"
		usage="archer"
		variation=""
		x="19"
		y="2"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="80"
			blade="100"
			cold="100"
			fire="100"
			impact="100"
			pierce="100"
		[/resistance]
		[attack_anim]
			start_time="-445"
			[filter_attack]
				name="bow"
			[/filter_attack]
			[missile_frame]
				begin="-150"
				end="0"
				image="projectiles/missile-n.png"
				image_diagonal="projectiles/missile-ne.png"
			[/missile_frame]
			[frame]
				duration="65"
				image="units/human-loyalists/bowman-bow.png"
			[/frame]
			[frame]
				duration="75"
				image="units/human-loyalists/bowman-bow-attack-1.png"
			[/frame]
			[frame]
				duration="75"
				image="units/human-loyalists/bowman-bow-attack-2.png"
			[/frame]
			[if]
				hits="no"
				[frame]
					duration="100"
					image="units/human-loyalists/bowman-bow-attack-3.png"
					sound="bow-miss.ogg"
				[/frame]
			[/if]
			[else]
				hits="yes"
				[frame]
					duration="100"
					image="units/human-loyalists/bowman-bow-attack-3.png"
					sound="bow.ogg"
				[/frame]
			[/else]
			[frame]
				duration="130"
				image="units/human-loyalists/bowman-bow-attack-4.png"
			[/frame]
			[frame]
				duration="65"
				image="units/human-loyalists/bowman-bow-attack-1.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			start_time="-275"
			[filter_attack]
				name="short sword"
			[/filter_attack]
			[frame]
				duration="50"
				image="units/human-loyalists/bowman-melee-defend-1.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/bowman-melee-attack-1.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					duration="100"
					image="units/human-loyalists/bowman-melee-attack-2.png"
					sound="sword-1.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					duration="100"
					image="units/human-loyalists/bowman-melee-attack-2.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				duration="100"
				image="units/human-loyalists/bowman-melee-attack-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/bowman-melee-attack-4.png"
			[/frame]
			[frame]
				duration="50"
				image="units/human-loyalists/bowman-melee-defend-1.png"
			[/frame]
		[/attack_anim]
		[defend]
			start_time="-126"
			[filter_attack]
				range="melee"
			[/filter_attack]
			[frame]
				duration="1"
				image="units/human-loyalists/bowman-melee-defend-1.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/bowman-melee-defend-2.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/human-loyalists/bowman-melee-defend-2.png"
					sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/human-loyalists/bowman-melee-defend-2.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/human-loyalists/bowman-melee-defend-1.png"
			[/frame]
		[/defend]
		[defend]
			start_time="-126"
			[filter_attack]
				range="ranged"
			[/filter_attack]
			[frame]
				duration="1"
				image="units/human-loyalists/bowman-bow.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/bowman-bow-defend.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/human-loyalists/bowman-bow-defend.png"
					sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/human-loyalists/bowman-bow-defend.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/human-loyalists/bowman-bow.png"
			[/frame]
		[/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]
		[variables]
		[/variables]
		[status]
		[/status]
		[attack]
			damage="4"
			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
				female_name=_ "female^resilient"
				id="resilient"
				male_name=_ "resilient"
				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^intelligent"
				id="intelligent"
				male_name=_ "intelligent"
				name=_ "intelligent"
				[effect]
					apply_to="max_experience"
					increase="-20%"
				[/effect]
			[/trait]
		[/modifications]
	[/unit]
[unit]

		advances_to="Dragoon"
		ai_special=""
		alignment="lawful"
		alpha="256"
		attacks_left="1"
		cost="17"
		ellipse="misc/ellipse"
		experience="1"
		facing="n"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="39"
		id="Cavalryman-8"
		image="units/human-loyalists/cavalryman.png"
#textdomain wesnoth-units
		language_name=_ "Cavalryman"
		level="1"
		max_attacks="1"
		max_experience="22"
		max_hitpoints="39"
		max_moves="8"
		moves="2"
		name="Rhyr"
		overlays=""
		profile="portraits/humans/cavalryman.png"
		race="human"
		random_traits="no"
		resting="no"
		role=""
		side="2"
		type="Cavalryman"
		undead_variation="mounted"
		underlying_id="8"
		unrenamable="no"
		upkeep="full"
		usage="scout"
		variation=""
		x="5"
		y="3"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="80"
			blade="70"
			cold="80"
			fire="100"
			impact="60"
			pierce="120"
		[/resistance]
		[attack_anim]
			[filter_attack]
				name="sword"
			[/filter_attack]
			[frame]
				begin="-225"
				end="-200"
				image="units/human-loyalists/cavalryman.png"
			[/frame]
			[frame]
				begin="-200"
				end="-150"
				image="units/human-loyalists/cavalryman-moving.png"
				sound="horse-canter.wav"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-150"
					end="150"
					image="units/human-loyalists/cavalryman-attack.png"
					sound="sword-1.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-150"
					end="150"
					image="units/human-loyalists/cavalryman-attack.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				begin="150"
				end="200"
				image="units/human-loyalists/cavalryman-moving.png"
			[/frame]
			[frame]
				begin="200"
				end="225"
				image="units/human-loyalists/cavalryman.png"
			[/frame]
		[/attack_anim]
		[death]
			[frame]
				begin="0"
				end="200"
				image="units/human-loyalists/cavalryman-die-1.png"
			[/frame]
			[frame]
				begin="200"
				end="400"
				image="units/human-loyalists/cavalryman-die-2.png"
			[/frame]
		[/death]
		[defend]
			start_time="-126"
			[frame]
				duration="1"
				image="units/human-loyalists/cavalryman.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/cavalryman-defend.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/human-loyalists/cavalryman-defend.png"
					sound="horse-hit-1.ogg,horse-hit-2.ogg,horse-hit-3.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/human-loyalists/cavalryman-defend.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/human-loyalists/cavalryman.png"
			[/frame]
		[/defend]
		[movement_anim]
			[frame]
				begin="0"
				end="150"
				image="units/human-loyalists/cavalryman-moving.png"
			[/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]
		[variables]
		[/variables]
		[status]
		[/status]
		[attack]
			damage="7"
			description=_ "sword"
			icon="attacks/sword-human.png"
			name="sword"
			number="3"
			range="melee"
			type="blade"
		[/attack]
		[modifications]
			[trait]
#textdomain wesnoth
				female_name=_ "female^intelligent"
				id="intelligent"
				male_name=_ "intelligent"
				name=_ "intelligent"
				[effect]
					apply_to="max_experience"
					increase="-20%"
				[/effect]
			[/trait]
			[trait]
				female_name=_ "female^strong"
				id="strong"
				male_name=_ "strong"
				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="Dragoon"
		ai_special=""
		alignment="lawful"
		alpha="256"
		attacks_left="1"
		cost="17"
		ellipse="misc/ellipse"
		experience="0"
		facing="n"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="44"
		id="Cavalryman-9"
		image="units/human-loyalists/cavalryman.png"
#textdomain wesnoth-units
		language_name=_ "Cavalryman"
		level="1"
		max_attacks="1"
		max_experience="28"
		max_hitpoints="44"
		max_moves="8"
		moves="0"
		name="San"
		overlays=""
		profile="portraits/humans/cavalryman.png"
		race="human"
		random_traits="no"
		resting="no"
		role=""
		side="2"
		type="Cavalryman"
		undead_variation="mounted"
		underlying_id="9"
		unrenamable="no"
		upkeep="full"
		usage="scout"
		variation=""
		x="15"
		y="10"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="80"
			blade="70"
			cold="80"
			fire="100"
			impact="60"
			pierce="120"
		[/resistance]
		[attack_anim]
			[filter_attack]
				name="sword"
			[/filter_attack]
			[frame]
				begin="-225"
				end="-200"
				image="units/human-loyalists/cavalryman.png"
			[/frame]
			[frame]
				begin="-200"
				end="-150"
				image="units/human-loyalists/cavalryman-moving.png"
				sound="horse-canter.wav"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-150"
					end="150"
					image="units/human-loyalists/cavalryman-attack.png"
					sound="sword-1.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-150"
					end="150"
					image="units/human-loyalists/cavalryman-attack.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				begin="150"
				end="200"
				image="units/human-loyalists/cavalryman-moving.png"
			[/frame]
			[frame]
				begin="200"
				end="225"
				image="units/human-loyalists/cavalryman.png"
			[/frame]
		[/attack_anim]
		[death]
			[frame]
				begin="0"
				end="200"
				image="units/human-loyalists/cavalryman-die-1.png"
			[/frame]
			[frame]
				begin="200"
				end="400"
				image="units/human-loyalists/cavalryman-die-2.png"
			[/frame]
		[/death]
		[defend]
			start_time="-126"
			[frame]
				duration="1"
				image="units/human-loyalists/cavalryman.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/cavalryman-defend.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/human-loyalists/cavalryman-defend.png"
					sound="horse-hit-1.ogg,horse-hit-2.ogg,horse-hit-3.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/human-loyalists/cavalryman-defend.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/human-loyalists/cavalryman.png"
			[/frame]
		[/defend]
		[movement_anim]
			[frame]
				begin="0"
				end="150"
				image="units/human-loyalists/cavalryman-moving.png"
			[/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]
		[variables]
		[/variables]
		[status]
		[/status]
		[attack]
			damage="7"
			description=_ "sword"
			icon="attacks/sword-human.png"
			name="sword"
			number="3"
			range="melee"
			type="blade"
		[/attack]
		[modifications]
			[trait]
#textdomain wesnoth
				female_name=_ "female^strong"
				id="strong"
				male_name=_ "strong"
				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^resilient"
				id="resilient"
				male_name=_ "resilient"
				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="Swordsman,Pikeman,Javelineer"
		ai_special=""
		alignment="lawful"
		alpha="256"
		attacks_left="1"
		cost="14"
		ellipse="misc/ellipse"
		experience="0"
		facing="nw"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="35"
		id="Spearman-12"
		image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
		language_name=_ "Spearman"
		level="1"
		max_attacks="1"
		max_experience="29"
		max_hitpoints="35"
		max_moves="6"
		moves="0"
		name="Caroddreobry"
		overlays=""
		profile="portraits/humans/spearman.png"
		race="human"
		random_traits="no"
		resting="no"
		role=""
		side="2"
		type="Spearman"
		undead_variation=""
		underlying_id="12"
		unrenamable="no"
		upkeep="full"
		usage="fighter"
		variation=""
		x="6"
		y="8"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="80"
			blade="100"
			cold="100"
			fire="100"
			impact="100"
			pierce="100"
		[/resistance]
		[attack_anim]
			[filter_attack]
				name="javelin"
			[/filter_attack]
			[missile_frame]
				begin="-150"
				end="0"
				image="projectiles/spear-n.png"
				image_diagonal="projectiles/spear-ne.png"
			[/missile_frame]
			[frame]
				begin="-250"
				end="-150"
				image="units/human-loyalists/spearman-death1.png"
				sound="throw-1.wav,throw-2.wav,throw-3.wav,throw-4.wav"
			[/frame]
			[frame]
				begin="-150"
				end="-100"
				image="units/human-loyalists/spearman-attack-ranged.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-100"
					end="-50"
					image="units/human-loyalists/spearman-attack-ranged.png"
					sound="spear.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-100"
					end="-50"
					image="units/human-loyalists/spearman-attack-ranged.png"
				[/frame]
			[/else]
			[frame]
				begin="-50"
				end="50"
				image="units/human-loyalists/spearman-attack-ranged2.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			direction="s"
			[filter_attack]
				name="spear"
			[/filter_attack]
			[frame]
				begin="-200"
				end="-150"
				image="units/human-loyalists/spearman.png"
			[/frame]
			[frame]
				begin="-150"
				end="-50"
				image="units/human-loyalists/spearman-attack-s-1.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-50"
					end="100"
					image="units/human-loyalists/spearman-attack-s-2.png"
					sound="spear.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-50"
					end="100"
					image="units/human-loyalists/spearman-attack-s-2.png"
					sound="spear-miss.ogg"
				[/frame]
			[/else]
			[frame]
				begin="100"
				end="150"
				image="units/human-loyalists/spearman-attack-s-1.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			direction="n"
			[filter_attack]
				name="spear"
			[/filter_attack]
			[frame]
				begin="-200"
				end="-100"
				image="units/human-loyalists/spearman.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack-n.png"
					sound="spear.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack-n.png"
					sound="spear-miss.ogg"
				[/frame]
			[/else]
			[frame]
				begin="100"
				end="150"
				image="units/human-loyalists/spearman.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			direction="ne,nw"
			[filter_attack]
				name="spear"
			[/filter_attack]
			[frame]
				begin="-200"
				end="-100"
				image="units/human-loyalists/spearman.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack-ne.png"
					sound="spear.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack-ne.png"
					sound="spear-miss.ogg"
				[/frame]
			[/else]
			[frame]
				begin="100"
				end="150"
				image="units/human-loyalists/spearman.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			direction="se,sw"
			[filter_attack]
				name="spear"
			[/filter_attack]
			[frame]
				begin="-200"
				end="-100"
				image="units/human-loyalists/spearman.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack.png"
					sound="spear.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack.png"
					sound="spear-miss.ogg"
				[/frame]
			[/else]
			[frame]
				begin="100"
				end="150"
				image="units/human-loyalists/spearman.png"
			[/frame]
		[/attack_anim]
		[death]
			[frame]
				begin="0"
				end="125"
				image="units/human-loyalists/spearman-death1.png"
			[/frame]
			[frame]
				begin="125"
				end="250"
				image="units/human-loyalists/spearman-death2.png"
			[/frame]
			[frame]
				begin="250"
				end="375"
				image="units/human-loyalists/spearman-death3.png"
			[/frame]
			[frame]
				begin="375"
				end="500"
				image="units/human-loyalists/spearman-death4.png"
			[/frame]
		[/death]
		[defend]
			start_time="-126"
			[frame]
				duration="1"
				image="units/human-loyalists/spearman-defend-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/spearman-defend.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/human-loyalists/spearman-defend.png"
					sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/human-loyalists/spearman-defend-2.png"
			[/frame]
		[/defend]
		[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]
		[variables]
		[/variables]
		[status]
		[/status]
		[attack]
			damage="8"
			description=_ "spear"
			icon="attacks/spear.png"
			name="spear"
			number="3"
			range="melee"
			type="pierce"
			[specials]
				[firststrike]
#textdomain wesnoth
					description=_ "First Strike:
This unit always strikes first with this attack, even if they are defending."
					id="firststrike"
					name=_ "firststrike"
				[/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
				female_name=_ "female^quick"
				id="quick"
				male_name=_ "quick"
				name=_ "quick"
				[effect]
					apply_to="movement"
					increase="1"
				[/effect]
				[effect]
					apply_to="hitpoints"
					increase_total="-5%"
				[/effect]
			[/trait]
			[trait]
				female_name=_ "female^strong"
				id="strong"
				male_name=_ "strong"
				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="Swordsman,Pikeman,Javelineer"
		ai_special=""
		alignment="lawful"
		alpha="256"
		attacks_left="1"
		cost="14"
		ellipse="misc/ellipse"
		experience="0"
		facing="n"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="37"
		id="Spearman-13"
		image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
		language_name=_ "Spearman"
		level="1"
		max_attacks="1"
		max_experience="24"
		max_hitpoints="37"
		max_moves="5"
		moves="0"
		name="Glillyn"
		overlays=""
		profile="portraits/humans/spearman.png"
		race="human"
		random_traits="no"
		resting="no"
		role=""
		side="2"
		type="Spearman"
		undead_variation=""
		underlying_id="13"
		unrenamable="no"
		upkeep="full"
		usage="fighter"
		variation=""
		x="24"
		y="5"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="80"
			blade="100"
			cold="100"
			fire="100"
			impact="100"
			pierce="100"
		[/resistance]
		[attack_anim]
			[filter_attack]
				name="javelin"
			[/filter_attack]
			[missile_frame]
				begin="-150"
				end="0"
				image="projectiles/spear-n.png"
				image_diagonal="projectiles/spear-ne.png"
			[/missile_frame]
			[frame]
				begin="-250"
				end="-150"
				image="units/human-loyalists/spearman-death1.png"
				sound="throw-1.wav,throw-2.wav,throw-3.wav,throw-4.wav"
			[/frame]
			[frame]
				begin="-150"
				end="-100"
				image="units/human-loyalists/spearman-attack-ranged.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-100"
					end="-50"
					image="units/human-loyalists/spearman-attack-ranged.png"
					sound="spear.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-100"
					end="-50"
					image="units/human-loyalists/spearman-attack-ranged.png"
				[/frame]
			[/else]
			[frame]
				begin="-50"
				end="50"
				image="units/human-loyalists/spearman-attack-ranged2.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			direction="s"
			[filter_attack]
				name="spear"
			[/filter_attack]
			[frame]
				begin="-200"
				end="-150"
				image="units/human-loyalists/spearman.png"
			[/frame]
			[frame]
				begin="-150"
				end="-50"
				image="units/human-loyalists/spearman-attack-s-1.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-50"
					end="100"
					image="units/human-loyalists/spearman-attack-s-2.png"
					sound="spear.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-50"
					end="100"
					image="units/human-loyalists/spearman-attack-s-2.png"
					sound="spear-miss.ogg"
				[/frame]
			[/else]
			[frame]
				begin="100"
				end="150"
				image="units/human-loyalists/spearman-attack-s-1.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			direction="n"
			[filter_attack]
				name="spear"
			[/filter_attack]
			[frame]
				begin="-200"
				end="-100"
				image="units/human-loyalists/spearman.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack-n.png"
					sound="spear.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack-n.png"
					sound="spear-miss.ogg"
				[/frame]
			[/else]
			[frame]
				begin="100"
				end="150"
				image="units/human-loyalists/spearman.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			direction="ne,nw"
			[filter_attack]
				name="spear"
			[/filter_attack]
			[frame]
				begin="-200"
				end="-100"
				image="units/human-loyalists/spearman.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack-ne.png"
					sound="spear.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack-ne.png"
					sound="spear-miss.ogg"
				[/frame]
			[/else]
			[frame]
				begin="100"
				end="150"
				image="units/human-loyalists/spearman.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			direction="se,sw"
			[filter_attack]
				name="spear"
			[/filter_attack]
			[frame]
				begin="-200"
				end="-100"
				image="units/human-loyalists/spearman.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack.png"
					sound="spear.ogg"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/spearman-attack.png"
					sound="spear-miss.ogg"
				[/frame]
			[/else]
			[frame]
				begin="100"
				end="150"
				image="units/human-loyalists/spearman.png"
			[/frame]
		[/attack_anim]
		[death]
			[frame]
				begin="0"
				end="125"
				image="units/human-loyalists/spearman-death1.png"
			[/frame]
			[frame]
				begin="125"
				end="250"
				image="units/human-loyalists/spearman-death2.png"
			[/frame]
			[frame]
				begin="250"
				end="375"
				image="units/human-loyalists/spearman-death3.png"
			[/frame]
			[frame]
				begin="375"
				end="500"
				image="units/human-loyalists/spearman-death4.png"
			[/frame]
		[/death]
		[defend]
			start_time="-126"
			[frame]
				duration="1"
				image="units/human-loyalists/spearman-defend-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/spearman-defend.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/human-loyalists/spearman-defend.png"
					sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/human-loyalists/spearman-defend-2.png"
			[/frame]
		[/defend]
		[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]
		[variables]
		[/variables]
		[status]
		[/status]
		[attack]
			damage="8"
			description=_ "spear"
			icon="attacks/spear.png"
			name="spear"
			number="3"
			range="melee"
			type="pierce"
			[specials]
				[firststrike]
#textdomain wesnoth
					description=_ "First Strike:
This unit always strikes first with this attack, even if they are defending."
					id="firststrike"
					name=_ "firststrike"
				[/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
				female_name=_ "female^strong"
				id="strong"
				male_name=_ "strong"
				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^intelligent"
				id="intelligent"
				male_name=_ "intelligent"
				name=_ "intelligent"
				[effect]
					apply_to="max_experience"
					increase="-20%"
				[/effect]
			[/trait]
		[/modifications]
	[/unit]
[unit]

		advances_to="Shock Trooper"
		ai_special=""
		alignment="lawful"
		alpha="256"
		attacks_left="1"
		cost="19"
		ellipse="misc/ellipse"
		experience="0"
		facing="se"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="44"
		id="Heavy Infantryman-15"
		image="units/human-loyalists/heavyinfantry.png"
#textdomain wesnoth-units
		language_name=_ "Heavy Infantryman"
		level="1"
		max_attacks="1"
		max_experience="28"
		max_hitpoints="44"
		max_moves="4"
		moves="0"
		name="Sor"
		overlays=""
		profile="portraits/humans/heavy-infantry.png"
		race="human"
		random_traits="no"
		resting="no"
		role=""
		side="2"
		type="Heavy Infantryman"
		undead_variation=""
		underlying_id="15"
		unrenamable="no"
		upkeep="full"
		usage="fighter"
		variation=""
		x="20"
		y="8"
		zoc="yes"
		[defense]
			castle="50"
			cave="60"
			flat="70"
			forest="60"
			frozen="80"
			fungus="60"
			hills="60"
			reef="80"
			sand="80"
			shallow_water="90"
			swamp_water="90"
			village="60"
		[/defense]
		[movement_costs]
			castle="1"
			cave="2"
			flat="1"
			forest="2"
			frozen="4"
			fungus="2"
			hills="3"
			reef="3"
			sand="2"
			shallow_water="4"
			swamp_water="4"
			village="1"
		[/movement_costs]
		[resistance]
			arcane="80"
			blade="50"
			cold="110"
			fire="110"
			impact="90"
			pierce="60"
		[/resistance]
		[attack_anim]
			[filter_attack]
				name="mace"
			[/filter_attack]
			[frame]
				begin="-230"
				end="-100"
				image="units/human-loyalists/heavyinfantry-attack-1.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/heavyinfantry-attack-2.png"
					sound="mace.wav"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-100"
					end="100"
					image="units/human-loyalists/heavyinfantry-attack-2.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				begin="100"
				end="200"
				image="units/human-loyalists/heavyinfantry.png"
			[/frame]
		[/attack_anim]
		[defend]
			start_time="-126"
			[frame]
				duration="1"
				image="units/human-loyalists/heavyinfantry-defend-1.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavyinfantry-defend-2.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/human-loyalists/heavyinfantry-defend-2.png"
					sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/human-loyalists/heavyinfantry-defend-2.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/human-loyalists/heavyinfantry-defend-1.png"
			[/frame]
		[/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]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-1.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-3.png"
			[/frame]
			[frame]
				duration="300"
				image="units/human-loyalists/heavy-infantry-idle-4.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-5.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-6.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-7.png"
			[/frame]
			[frame]
				duration="1000"
				image="units/human-loyalists/heavy-infantry-idle-8.png"
			[/frame]
			[frame]
				duration="1000"
				image="units/human-loyalists/heavy-infantry-idle-9.png"
			[/frame]
			[frame]
				duration="1000"
				image="units/human-loyalists/heavy-infantry-idle-8.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-7.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-6.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-5.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-4.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-3.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-2.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-loyalists/heavy-infantry-idle-1.png"
			[/frame]
		[/idle_anim]
		[portrait]
			image="portraits/humans/transparent/heavy-infantry.png"
			mirror="false"
			side="left"
			size="400"
		[/portrait]
		[portrait]
			image="portraits/humans/transparent/heavy-infantry.png"
			mirror="true"
			side="right"
			size="400"
		[/portrait]
		[trait]
#textdomain wesnoth
			description=_ "Fights normally during unfavorable times of day/night"
			female_name=_ "female^fearless"
			id="fearless"
			male_name=_ "fearless"
		[/trait]
		[variables]
		[/variables]
		[status]
		[/status]
		[attack]
			damage="12"
#textdomain wesnoth-units
			description=_ "mace"
			icon="attacks/mace-spiked.png"
			name="mace"
			number="2"
			range="melee"
			type="impact"
		[/attack]
		[modifications]
			[trait]
#textdomain wesnoth
				female_name=_ "female^resilient"
				id="resilient"
				male_name=_ "resilient"
				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"
				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"
		ai_special=""
		alignment="lawful"
		alpha="256"
		attacks_left="1"
		cost="20"
		ellipse="misc/ellipse"
		experience="0"
		facing="sw"
		flag_rgb="magenta"
		flying="no"
		gender="male"
		generate_name="no"
		goto_x="-999"
		goto_y="-999"
		hitpoints="25"
		id="Mage-16"
		image="units/human-magi/mage.png"
#textdomain wesnoth-units
		language_name=_ "Mage"
		level="1"
		max_attacks="1"
		max_experience="34"
		max_hitpoints="25"
		max_moves="5"
		moves="1"
		name="Bloddyn"
		overlays=""
		profile="portraits/humans/mage.png"
		race="human"
		random_traits="no"
		resting="no"
		role=""
		side="2"
		type="Mage"
		undead_variation=""
		underlying_id="16"
		unrenamable="no"
		upkeep="full"
		usage="mixed fighter"
		variation=""
		x="11"
		y="11"
		zoc="yes"
		[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]
		[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]
		[resistance]
			arcane="80"
			blade="100"
			cold="100"
			fire="100"
			impact="100"
			pierce="100"
		[/resistance]
		[attack_anim]
			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"
			[filter_attack]
				name="missile"
			[/filter_attack]
			[magic_missile_frame]
				duration="400"
				halo="halo/mage-halo1.png,halo/mage-halo2.png,halo/mage-halo3.png,halo/mage-halo4.png,halo/mage-halo5.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-halo1.png,halo/mage-halo2.png,halo/mage-halo3.png,halo/mage-halo4.png,halo/mage-halo5.png,misc/blank-hex.png:1"
				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-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png,misc/blank-hex.png:1"
				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-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png,misc/blank-hex.png:1"
				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-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png,misc/blank-hex.png:1"
				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-halo1.png,halo/mage-preparation-halo2.png,halo/mage-preparation-halo3.png,halo/mage-preparation-halo4.png,halo/mage-preparation-halo5.png,halo/mage-preparation-halo6.png,halo/mage-preparation-halo7.png,misc/blank-hex.png:1"
				halo_x="11"
				halo_y="-20"
				offset="0"
			[/magic_missile_flare_frame]
			[frame]
				begin="-800"
				end="-700"
				image="units/human-magi/mage-attack-magic1.png"
			[/frame]
			[frame]
				begin="-700"
				end="-350"
				image="units/human-magi/mage-attack-magic2.png"
			[/frame]
			[if]
				hits="no"
				[frame]
					begin="-350"
					end="-100"
					image="units/human-magi/mage-attack-magic2.png"
					sound="magic-missile-1-miss.ogg,magic-missile-2-miss.ogg,magic-missile-3-miss.ogg"
				[/frame]
			[/if]
			[else]
				hits="yes"
				[frame]
					begin="-350"
					end="-100"
					image="units/human-magi/mage-attack-magic2.png"
					sound="magic-missile-1.ogg,magic-missile-2.ogg,magic-missile-3.ogg"
				[/frame]
			[/else]
			[frame]
				begin="-100"
				end="100"
				image="units/human-magi/mage-attack-magic1.png"
			[/frame]
		[/attack_anim]
		[attack_anim]
			[filter_attack]
				name="staff"
			[/filter_attack]
			[frame]
				begin="-250"
				end="-200"
				image="units/human-magi/mage.png"
			[/frame]
			[frame]
				begin="-200"
				end="-100"
				image="units/human-magi/mage-attack-staff1.png"
			[/frame]
			[if]
				hits="yes"
				[frame]
					begin="-100"
					end="100"
					image="units/human-magi/mage-attack-staff2.png"
					sound="staff.wav"
				[/frame]
			[/if]
			[else]
				hits="no"
				[frame]
					begin="-100"
					end="100"
					image="units/human-magi/mage-attack-staff2.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
			[/else]
			[frame]
				begin="100"
				end="150"
				image="units/human-magi/mage-attack-magic1.png"
			[/frame]
			[frame]
				begin="150"
				end="200"
				image="units/human-magi/mage.png"
			[/frame]
		[/attack_anim]
		[defend]
			start_time="-126"
			[frame]
				duration="1"
				image="units/human-magi/mage.png"
			[/frame]
			[frame]
				duration="100"
				image="units/human-magi/mage-defend.png"
			[/frame]
			[if]
				hits="hit"
				[frame]
					duration="150"
					image="units/human-magi/mage-defend.png"
					sound="human-old-hit-1.ogg,human-old-hit-2.ogg,human-old-hit-3.ogg,human-old-hit-4.ogg"
				[/frame]
			[/if]
			[else]
				hits="miss,kill"
				[frame]
					duration="150"
					image="units/human-magi/mage-defend.png"
				[/frame]
			[/else]
			[frame]
				duration="1"
				image="units/human-magi/mage.png"
			[/frame]
		[/defend]
		[portrait]
			image="portraits/humans/transparent/mage.png"
			mirror="false"
			side="left"
			size="400"
		[/portrait]
		[portrait]
			image="portraits/humans/transparent/mage.png"
			mirror="true"
			side="right"
			size="400"
		[/portrait]
		[variables]
		[/variables]
		[status]
		[/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
					description=_ "Magical:
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"
				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^intelligent"
				id="intelligent"
				male_name=_ "intelligent"
				name=_ "intelligent"
				[effect]
					apply_to="max_experience"
					increase="-20%"
				[/effect]
			[/trait]
		[/modifications]
	[/unit]
[/side]
[/replay_start]
