label="2p - The Freelands Turn 41 Sku"
version="1.6"
completion="running"
campaign_type="multiplayer"
difficulty="NORMAL"
random_seed="10408"
random_calls="0"
next_underlying_unit_id="118"
end_text_duration="0"
[variables]
	damage_inflicted="3"
	side_number="2"
	turn_number="17"
[/variables]
[replay]
	[command]
		[start]
		[/start]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="11192"
		[/random]
		[random]
			value="22749"
		[/random]
		[random]
			value="15475"
		[/random]
		[random]
			value="2703"
		[/random]
		[random]
			value="18382"
		[/random]
		[random]
			value="8903"
		[/random]
		[random]
			value="32110"
		[/random]
		[random]
			value="32694"
		[/random]
		[random]
			value="851"
		[/random]
		[random]
			value="21904"
		[/random]
		[random]
			value="4687"
		[/random]
		[random]
			value="8606"
		[/random]
		[random]
			value="17218"
		[/random]
		[random]
			value="20243"
		[/random]
		[random]
			value="31513"
			[results]
				checksum="14,Wfc>cu2lH0olW9-5N-m<e6f60hfabkcij<4>i3h3e2.t0a1f<j870h0k565.Y0>ide2Hi80k.d8da021n<.26Z+40CN5c8b.-X,48K.7v3f3XdJFikGNVwGMoVOFH"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="2"
			x="18"
			y="4"
		[/recruit]
		[random]
			value="27993"
		[/random]
		[random]
			value="8926"
		[/random]
		[random]
			value="30240"
		[/random]
		[random]
			value="18781"
		[/random]
		[random]
			value="12112"
		[/random]
		[random]
			value="19048"
		[/random]
		[random]
			value="3708"
		[/random]
		[random]
			value="19868"
		[/random]
		[random]
			value="19417"
		[/random]
		[random]
			value="17722"
		[/random]
		[random]
			value="18427"
		[/random]
		[random]
			value="20858"
		[/random]
		[random]
			value="9321"
		[/random]
		[random]
			value="12106"
		[/random]
		[random]
			value="19920"
			[results]
				checksum="RVQsCRORlSP,DLsxDMMfFuzJRDJCyOyPpHMVsOIMzEOKRzPuHEfJqwNzzmyJIhVwVwSxvLzMAS8wEVRB+JCszfJzd4jC+rc<MF13amk4yil5K7b35>-yp,-88,eyb6ac"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="5"
			x="18"
			y="3"
		[/recruit]
		[random]
			value="4270"
		[/random]
		[random]
			value="11213"
		[/random]
		[random]
			value="12272"
		[/random]
		[random]
			value="5623"
		[/random]
		[random]
			value="29633"
		[/random]
		[random]
			value="13620"
		[/random]
		[random]
			value="281"
		[/random]
		[random]
			value="19101"
		[/random]
		[random]
			value="3238"
		[/random]
		[random]
			value="14398"
		[/random]
		[random]
			value="14350"
		[/random]
		[random]
			value="27074"
		[/random]
		[random]
			value="22124"
		[/random]
		[random]
			value="2957"
		[/random]
		[random]
			value="14716"
			[results]
				checksum="ixp,4nc1oNO<LLyKmJLIEhoF>vyBA6mszOAMDTywuzyODCrTtRLwFwmIsr1QENmxPFHFw.RFKFnqypNKqM8mwoFomIhFlq1.CL-<<ddBfkHDONNHvMSO1I9LGCHpACmL"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="6"
			x="20"
			y="3"
		[/recruit]
		[random]
			value="8891"
		[/random]
		[random]
			value="22302"
		[/random]
		[random]
			value="17682"
		[/random]
		[random]
			value="24272"
		[/random]
		[random]
			value="6134"
		[/random]
		[random]
			value="1490"
		[/random]
		[random]
			value="11009"
		[/random]
		[random]
			value="32538"
		[/random]
		[random]
			value="18445"
		[/random]
		[random]
			value="11500"
		[/random]
		[random]
			value="20694"
		[/random]
		[random]
			value="30837"
		[/random]
		[random]
			value="26286"
		[/random]
		[random]
			value="20275"
		[/random]
		[random]
			value="5319"
			[results]
				checksum="XBfX4cmdHYau810h3t9co8gj2UWo-1,n-62ad7l9i<dX9dX-4o9W2w2-6hZd9kbd.d07gZj2f,ep8ybXfdk5k4Nw>d595,cp6dzgA.Zj4982<j3D1<4M96i7zO.<CyyI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="18203"
		[/random]
		[random]
			value="3807"
		[/random]
		[random]
			value="12765"
		[/random]
		[random]
			value="5176"
		[/random]
		[random]
			value="7318"
		[/random]
		[random]
			value="221"
		[/random]
		[random]
			value="30930"
		[/random]
		[random]
			value="3018"
		[/random]
		[random]
			value="26318"
		[/random]
		[random]
			value="19628"
		[/random]
		[random]
			value="24134"
		[/random]
		[random]
			value="10249"
		[/random]
		[random]
			value="13945"
		[/random]
		[random]
			value="20917"
		[/random]
		[random]
			value="20300"
			[results]
				checksum=",Ad3Y5f-GtmsAp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLAM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzhOI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="19"
			y="5"
		[/recruit]
		[random]
			value="32237"
		[/random]
		[random]
			value="23650"
		[/random]
		[random]
			value="22066"
		[/random]
		[random]
			value="6182"
		[/random]
		[random]
			value="14160"
		[/random]
		[random]
			value="4399"
		[/random]
		[random]
			value="27183"
		[/random]
		[random]
			value="17734"
		[/random]
		[random]
			value="29678"
		[/random]
		[random]
			value="4514"
		[/random]
		[random]
			value="16174"
		[/random]
		[random]
			value="22401"
		[/random]
		[random]
			value="19668"
		[/random]
		[random]
			value="3686"
		[/random]
		[random]
			value="4033"
			[results]
				checksum="14,Wfc>cu2lH0olW9-5N-m<e6f60hfabkcij<4>i3h3e2.t0a1f<j870h0k565.Y0>ide9Mi80k.d8da021n<.26Z+40CN5c8b.-X,48E.7v3f3XdJFikGGOwGMoVOFH"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,19,19,19,19,18"
			y="4,5,6,7,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="2"
			x="18"
			y="21"
		[/recruit]
		[random]
			value="1162896629"
		[/random]
		[random]
			value="219789751"
		[/random]
		[random]
			value="482071979"
		[/random]
		[random]
			value="1832722605"
		[/random]
		[random]
			value="225963349"
		[/random]
		[random]
			value="1181324621"
		[/random]
		[random]
			value="1189147497"
		[/random]
		[random]
			value="120630023"
		[/random]
		[random]
			value="1754518908"
		[/random]
		[random]
			value="44372127"
		[/random]
		[random]
			value="1079967520"
		[/random]
		[random]
			value="1485506997"
		[/random]
		[random]
			value="1888731038"
		[/random]
		[random]
			value="979580004"
		[/random]
		[random]
			value="779633545"
			[results]
				checksum="5OmKwDKUXxq,TxsyxcPSqynxyiENEnLUmPIBJLzMORyvQtLtMsz3uNvNwJSpuLuGnUrzCuxIPMnkISuGzPSPQusvFwzsUDAquYfrOmRzwFyqGfDMfDAHFKdeVs241d4."
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="18"
			y="20"
		[/recruit]
		[random]
			value="1593814891"
		[/random]
		[random]
			value="1984590011"
		[/random]
		[random]
			value="860783067"
		[/random]
		[random]
			value="1813604642"
		[/random]
		[random]
			value="319178342"
		[/random]
		[random]
			value="546022025"
		[/random]
		[random]
			value="2039567991"
		[/random]
		[random]
			value="1500502964"
		[/random]
		[random]
			value="1735169522"
		[/random]
		[random]
			value="12714367"
		[/random]
		[random]
			value="1107538224"
		[/random]
		[random]
			value="1779541649"
		[/random]
		[random]
			value="1092681887"
		[/random]
		[random]
			value="445561573"
		[/random]
		[random]
			value="1520789039"
			[results]
				checksum="ACIByNSVYyLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9vumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="507399865"
		[/random]
		[random]
			value="310224099"
		[/random]
		[random]
			value="1719717182"
		[/random]
		[random]
			value="1048259339"
		[/random]
		[random]
			value="8110537"
		[/random]
		[random]
			value="1166048425"
		[/random]
		[random]
			value="885365702"
		[/random]
		[random]
			value="868893605"
		[/random]
		[random]
			value="832169419"
		[/random]
		[random]
			value="1204544045"
		[/random]
		[random]
			value="1414915630"
		[/random]
		[random]
			value="724253762"
		[/random]
		[random]
			value="557563361"
		[/random]
		[random]
			value="1002601504"
		[/random]
		[random]
			value="736968129"
			[results]
				checksum="ACIByNSVYrLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9CumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="20"
			y="20"
		[/recruit]
		[random]
			value="333697319"
		[/random]
		[random]
			value="831182457"
		[/random]
		[random]
			value="1061063953"
		[/random]
		[random]
			value="2053414501"
		[/random]
		[random]
			value="1879441796"
		[/random]
		[random]
			value="1069174490"
		[/random]
		[random]
			value="1071979278"
		[/random]
		[random]
			value="617323850"
		[/random]
		[random]
			value="1938068095"
		[/random]
		[random]
			value="1904148697"
		[/random]
		[random]
			value="1821867895"
		[/random]
		[random]
			value="1205500077"
		[/random]
		[random]
			value="480918811"
		[/random]
		[random]
			value="231947608"
		[/random]
		[random]
			value="60617933"
			[results]
				checksum="ACIByNSVYoLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9BumVnpCouMKPBb5TJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="1905766143"
		[/random]
		[random]
			value="1597795160"
		[/random]
		[random]
			value="158473560"
		[/random]
		[random]
			value="827456985"
		[/random]
		[random]
			value="522290790"
		[/random]
		[random]
			value="775797410"
		[/random]
		[random]
			value="618041433"
		[/random]
		[random]
			value="278955839"
		[/random]
		[random]
			value="450181658"
		[/random]
		[random]
			value="1823541510"
		[/random]
		[random]
			value="759874651"
		[/random]
		[random]
			value="682129266"
		[/random]
		[random]
			value="1884159444"
		[/random]
		[random]
			value="1977761592"
		[/random]
		[random]
			value="431694812"
			[results]
				checksum="ACIByNSVYmLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9zumVnpCouMKPBb5OJGPbmz3o>.fjcflW4p97m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="20"
			y="21"
		[/recruit]
		[random]
			value="2044300170"
		[/random]
		[random]
			value="63065752"
		[/random]
		[random]
			value="226367730"
		[/random]
		[random]
			value="2138162506"
		[/random]
		[random]
			value="1421232741"
		[/random]
		[random]
			value="1969184333"
		[/random]
		[random]
			value="835381048"
		[/random]
		[random]
			value="965613400"
		[/random]
		[random]
			value="248216097"
		[/random]
		[random]
			value="593663543"
		[/random]
		[random]
			value="415924913"
		[/random]
		[random]
			value="406689657"
		[/random]
		[random]
			value="1421120528"
		[/random]
		[random]
			value="938215703"
		[/random]
		[random]
			value="1182487068"
			[results]
				checksum="ACIByNSVYzLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9uumVnpCouMKPBb5OJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18,17,16"
			y="21,21,22,22"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,19,19,19,19,19"
			y="9,9,8,7,6,5,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,20,21,22"
			y="3,2,2,2"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,21,21,22,23,24"
			y="4,5,6,7,7,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,20,21,22,23,24,25,26,27,28"
			y="5,5,5,4,4,3,4,4,5,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15,14,13,12"
			y="3,3,3,3,3,3,2"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15,14,13,12"
			y="4,5,5,6,5,6,5"
		[/move]
	[/command]
	[command]
		undo="no"
		[speak]
			id="Sku"
			message="shit"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,12,12,11"
			y="5,5,6,6,7,7,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15,14,13,12,11"
			y="21,21,20,21,21,21,20,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10"
			y="20,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,19,19,19,20"
			y="20,19,18,17,16,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15,14"
			y="20,20,19,19,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,22,23,24,25,25"
			y="20,20,21,21,22,23"
		[/move]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="soska"
			message="hi"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23,24,25,26"
			y="20,20,19,19,19,20,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23,24,25"
			y="21,21,20,20,19,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,17,18,19,20"
			y="22,22,21,21,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,11,11,10,9,8"
			y="2,3,4,4,5,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11"
			y="9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11"
			y="10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,28,28"
			y="5,6,7,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,23,24,24,25"
			y="2,3,3,4,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28"
			y="9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,25,26,27,27"
			y="7,8,9,9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="2"
			x="19"
			y="5"
		[/recruit]
		[random]
			value="5517"
		[/random]
		[random]
			value="4241"
		[/random]
		[random]
			value="24863"
		[/random]
		[random]
			value="14107"
		[/random]
		[random]
			value="30944"
		[/random]
		[random]
			value="22608"
		[/random]
		[random]
			value="15348"
		[/random]
		[random]
			value="31385"
		[/random]
		[random]
			value="29609"
		[/random]
		[random]
			value="21616"
		[/random]
		[random]
			value="19816"
		[/random]
		[random]
			value="21255"
		[/random]
		[random]
			value="26950"
		[/random]
		[random]
			value="1827"
		[/random]
		[random]
			value="18926"
			[results]
				checksum="RVQsCRORlSP,DLsxDMMfFuzJRDJCyOyPpHMVsOIMzEOKRzPuHEfJqwNzzmyJIhVwVwSxvKtMAS8wEVRB+JCszfJzd4kC+rc<MF13amk4yil5K7b35>-yp,+<8,eyb6ac"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,26"
			y="23,23"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,26"
			y="23,22"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,27,28,29,30"
			y="19,19,19,20,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,26,26,26,26,27"
			y="20,19,18,17,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,10,10"
			y="19,18,17,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,11"
			y="16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,12"
			y="16,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,13"
			y="15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,14,15,16"
			y="15,14,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,14"
			y="18,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,20,20,20"
			y="15,14,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,20,21"
			y="12,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="302000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,19,19,19,18"
			y="5,6,7,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,26,27,28"
			y="5,5,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="3"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="8696"
		[/random]
		[random]
			value="30715"
		[/random]
		[random]
			value="12161"
		[/random]
		[random]
			value="15920"
		[/random]
		[random]
			value="3216"
		[/random]
		[random]
			value="9111"
		[/random]
		[random]
			value="17341"
		[/random]
		[random]
			value="12427"
		[/random]
		[random]
			value="19345"
		[/random]
		[random]
			value="15011"
		[/random]
		[random]
			value="16300"
		[/random]
		[random]
			value="16830"
		[/random]
		[random]
			value="12340"
		[/random]
		[random]
			value="20032"
		[/random]
		[random]
			value="8577"
			[results]
				checksum="eKEMoMsJ2Sm2IxNK-ruIvyJD8uFQquOORqLQAKsDuHBwnqvBFyQvVsL8qHTmQQNRqrWuTuTxDUFLDPxfDLuyOcqNHBnCR5lyBlS<1Ip648,gYmdg-Lb7,b2<2j8d,4eh"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11,11"
			y="9,10,11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,8,8"
			y="5,6,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,12,12,12,11"
			y="5,6,7,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10,9,8"
			y="12,11,11,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,28"
			y="10,11,12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,28"
			y="13,12,11,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="276000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,26,26,26,26,26,26"
			y="22,21,20,19,18,17,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="30,30,29,29,29,29,29"
			y="19,18,18,17,16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27"
			y="16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27"
			y="14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,21,21,22"
			y="14,13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,23,24"
			y="11,11,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,28,28"
			y="13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="11"
			[/source]
			[destination]
				x="28"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="140688715"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1433677295"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1317100558"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="1832626494"
		[/random]
		[random]
			value="108047136"
		[/random]
		[random]
			value="116342630"
		[/random]
		[random]
			value="1150106089"
		[/random]
		[random]
			value="373865259"
		[/random]
		[random]
			value="1819565496"
		[/random]
		[random]
			value="2085808585"
		[/random]
		[random]
			value="870050414"
		[/random]
		[random]
			value="1717047838"
		[/random]
		[random]
			value="1255425495"
		[/random]
		[random]
			value="1099887139"
		[/random]
		[random]
			value="1755655773"
		[/random]
		[random]
			value="1590052916"
		[/random]
		[random]
			value="90740794"
		[/random]
		[random]
			value="2084500463"
			[results]
				checksum="ACIByNSVYyLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9vumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="2054669427"
		[/random]
		[random]
			value="1056193509"
		[/random]
		[random]
			value="1900813128"
		[/random]
		[random]
			value="281051038"
		[/random]
		[random]
			value="728275357"
		[/random]
		[random]
			value="1839138065"
		[/random]
		[random]
			value="1151101453"
		[/random]
		[random]
			value="297839547"
		[/random]
		[random]
			value="947079913"
		[/random]
		[random]
			value="103504944"
		[/random]
		[random]
			value="2053495321"
		[/random]
		[random]
			value="389649181"
		[/random]
		[random]
			value="194245738"
		[/random]
		[random]
			value="1990512136"
		[/random]
		[random]
			value="307534584"
			[results]
				checksum="ACIByNSVYsLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9FumVnpCouMKPBb5OJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23,24,25,26"
			y="20,20,19,19,18,18,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,16,17,18,18,19,20,21,22"
			y="14,13,13,12,11,11,10,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,13,12,11,10"
			y="17,18,18,19,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="285000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sku has disconnected."
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Various has been chosen as the new host."
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Various takes control of side 1."
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Sku"
			message="sorry"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Sku"
			message="wesnoth leaved me"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sku takes control of side 1."
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Sku"
			message="sorry"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Sku"
			message="and ty"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Various"
			message="np"
			side="2"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,20,20,21,21,22"
			y="4,5,6,7,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="22"
				y="8"
			[/source]
			[destination]
				x="22"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="22517"
			[results]
				chance="40"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="7197"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="17340"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="26175"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="27503"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,26,25,25,24"
			y="11,10,9,9,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="18011"
		[/random]
		[random]
			value="29159"
		[/random]
		[random]
			value="24367"
		[/random]
		[random]
			value="7875"
		[/random]
		[random]
			value="1074"
		[/random]
		[random]
			value="30735"
		[/random]
		[random]
			value="15848"
		[/random]
		[random]
			value="7743"
		[/random]
		[random]
			value="25863"
		[/random]
		[random]
			value="8437"
		[/random]
		[random]
			value="9548"
		[/random]
		[random]
			value="29976"
		[/random]
		[random]
			value="8110"
		[/random]
		[random]
			value="168"
		[/random]
		[random]
			value="28534"
			[results]
				checksum=",Ad3Y5f-Gtmsmp5jHbEoRiVrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLmM8mwoFomIhFlq1.CLB<<ddNv5EsLNHBNzkOI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,27,26,25,24,23,22,21,21"
			y="10,10,9,9,8,8,7,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="21"
				y="9"
			[/source]
			[destination]
				x="22"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="19989"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="20012"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="9860"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="17345"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="31650"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="23412"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,20,21"
			y="9,10,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="21"
				y="10"
			[/source]
			[destination]
				x="22"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="3221"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25819"
			[results]
				chance="30"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1738"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="19649"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="6877"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="27708"
			[results]
				chance="30"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="634"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,9,9,10"
			y="10,11,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11,11,11,11"
			y="9,10,11,12,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,9,9,9,9,8"
			y="7,8,9,10,11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,11,12"
			y="12,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,13"
			y="13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,19,20,20,21"
			y="4,5,6,6,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="297000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,23,23,22,21,21,21,20,20"
			y="9,10,11,11,12,13,14,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,28,28,27"
			y="11,12,13,14,15,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,23,22,21,21,21"
			y="10,11,11,12,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18,17,16,15,14"
			y="20,19,19,18,18,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,25,25,24"
			y="16,16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,30"
			y="14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,22,23,24,24,25"
			y="20,19,19,18,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,25,24,23,22,21,20"
			y="17,18,18,19,19,20,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="298000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,20,19,18"
			y="10,10,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,27"
			y="5,6,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27"
			y="8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27"
			y="9,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,21,21,22,23"
			y="4,5,6,7,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,23,24,25,26"
			y="8,8,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,27"
			y="9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,21,21,20,20,19"
			y="8,7,6,5,4,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="5"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="23306"
		[/random]
		[random]
			value="15487"
		[/random]
		[random]
			value="12724"
		[/random]
		[random]
			value="11145"
		[/random]
		[random]
			value="32540"
		[/random]
		[random]
			value="6364"
		[/random]
		[random]
			value="18210"
		[/random]
		[random]
			value="24308"
		[/random]
		[random]
			value="12285"
		[/random]
		[random]
			value="12819"
		[/random]
		[random]
			value="20528"
		[/random]
		[random]
			value="15595"
		[/random]
		[random]
			value="17652"
		[/random]
		[random]
			value="6109"
		[/random]
		[random]
			value="7432"
			[results]
				checksum="ixp,4nc1oNO<LLyKmJLIEhoF>vyBA6mszOAMDTywuzyODCrTtRLwFwmIsr1QENmxPFHFw.RFKFnqypNKqM8mwoFomIhFlq1.CL-<<ddBfkHDONNHvMSO1I9LGCHpACmL"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,26,27,27,28"
			y="7,8,8,9,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,22,23,24"
			y="9,8,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,14,15,16,17,17,18,18,19,19"
			y="14,14,14,13,13,12,11,10,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11,11,11,11"
			y="14,13,12,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,8,8,8"
			y="11,10,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="211000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,25,26,26,27"
			y="14,14,13,12,11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="27"
				y="11"
			[/source]
			[destination]
				x="28"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="1338777587"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1188821256"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1901049363"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1529024139"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="30,30,30,29"
			y="13,12,11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="29"
				y="11"
			[/source]
			[destination]
				x="28"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="851520357"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="641700544"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1502500134"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1880265821"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,26,26,25"
			y="16,15,14,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,25,25,25"
			y="17,16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,21,22"
			y="14,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,10,10,10,10"
			y="19,18,17,16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,13,13,12,11,11"
			y="17,17,16,15,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="92762283"
		[/random]
		[random]
			value="1345982796"
		[/random]
		[random]
			value="1256707377"
		[/random]
		[random]
			value="1841221530"
		[/random]
		[random]
			value="1187637850"
		[/random]
		[random]
			value="1929869627"
		[/random]
		[random]
			value="1173522787"
		[/random]
		[random]
			value="1838544894"
		[/random]
		[random]
			value="1608406270"
		[/random]
		[random]
			value="2008697118"
		[/random]
		[random]
			value="621030474"
		[/random]
		[random]
			value="1725631572"
		[/random]
		[random]
			value="1096250627"
		[/random]
		[random]
			value="717777643"
		[/random]
		[random]
			value="1043146716"
			[results]
				checksum="ACIByNSVYzLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9uumVnpCouMKPBb5OJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="1772464854"
		[/random]
		[random]
			value="1312628512"
		[/random]
		[random]
			value="975625945"
		[/random]
		[random]
			value="668127922"
		[/random]
		[random]
			value="1035963174"
		[/random]
		[random]
			value="364424977"
		[/random]
		[random]
			value="932207517"
		[/random]
		[random]
			value="1875573368"
		[/random]
		[random]
			value="1879274796"
		[/random]
		[random]
			value="1987601537"
		[/random]
		[random]
			value="1508234325"
		[/random]
		[random]
			value="262208765"
		[/random]
		[random]
			value="1325822494"
		[/random]
		[random]
			value="504327495"
		[/random]
		[random]
			value="1287875801"
			[results]
				checksum="ACIByNSVYmLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9zumVnpCouMKPBb5OJGPbmz3o>.fjcflW4p97m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="3"
			x="20"
			y="21"
		[/recruit]
		[random]
			value="396773022"
		[/random]
		[random]
			value="125212972"
		[/random]
		[random]
			value="487823849"
		[/random]
		[random]
			value="1328980539"
		[/random]
		[random]
			value="2000786340"
		[/random]
		[random]
			value="219614997"
		[/random]
		[random]
			value="1169098428"
		[/random]
		[random]
			value="1361537017"
		[/random]
		[random]
			value="481823762"
		[/random]
		[random]
			value="347437274"
		[/random]
		[random]
			value="1865864513"
		[/random]
		[random]
			value="1769699564"
		[/random]
		[random]
			value="1337049176"
		[/random]
		[random]
			value="986442483"
		[/random]
		[random]
			value="305233178"
			[results]
				checksum="rQV6GBwD,UJ+7ePAQJ+xOoaC5U6DfS5lmb>+9w26zYBFaluj9yjnQ1omih>hik67n,e0IoZ07o9kcp0Ad568,m9n<X,+nY08797o60sxBFgnWEzrk-i.-tciji+H>s4C"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23,24,24,25"
			y="20,20,19,19,18,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,28,28,28"
			y="10,9,8,7,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,26,26"
			y="7,8,9,9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="10"
			[/source]
			[destination]
				x="27"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="24942"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2697"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="13017"
			[results]
				chance="40"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="6562"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="4730"
			[results]
				chance="40"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="22813"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="28835"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="10"
			[/source]
			[destination]
				x="27"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="3547"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="30992"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="22172"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="7253"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="10045"
			[results]
				chance="50"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="6874"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,19,19,20,21"
			y="9,10,11,12,12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="21"
				y="13"
			[/source]
			[destination]
				x="22"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="667"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="27128"
			[results]
				chance="40"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25587"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="27102"
			[results]
				chance="40"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="23789"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="12730"
			[results]
				chance="40"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="9243"
			[results]
				chance="50"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="9688"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,24,24,24,23,23"
			y="8,8,9,10,11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="23"
				y="12"
			[/source]
			[destination]
				x="22"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="29106"
			[results]
				chance="50"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="23378"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="21786"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="20369"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="18696"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="30650"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="22567"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,24,24,24,23,22"
			y="7,8,9,10,11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="22"
				y="11"
			[/source]
			[destination]
				x="22"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="30297"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="25991"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="10104"
			[results]
				chance="50"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="8326"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="15094"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="3910"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="6070"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,19,19,20,21"
			y="9,10,11,12,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="21"
				y="12"
			[/source]
			[destination]
				x="22"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="27864"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="26050"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="8791"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="9533"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="8726"
			[results]
				chance="50"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="14810"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="7466"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,9,9,9,8"
			y="8,8,7,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="24119"
		[/random]
		[random]
			value="13050"
		[/random]
		[random]
			value="25435"
		[/random]
		[random]
			value="6124"
		[/random]
		[random]
			value="29703"
		[/random]
		[random]
			value="20861"
		[/random]
		[random]
			value="1594"
		[/random]
		[random]
			value="22873"
		[/random]
		[random]
			value="16877"
		[/random]
		[random]
			value="140"
		[/random]
		[random]
			value="16654"
		[/random]
		[random]
			value="6679"
		[/random]
		[random]
			value="20541"
		[/random]
		[random]
			value="30520"
		[/random]
		[random]
			value="15988"
			[results]
				checksum=",Ad3Y5f-Gtmsmp5jHbEoRiVrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLmM8mwoFomIhFlq1.CLB<<ddNv5EsLNHBNzkOI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,21,21,22,23,24"
			y="4,5,6,7,7,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="199000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,21"
			y="15,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="21"
				y="14"
			[/source]
			[destination]
				x="21"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="868695416"
			[results]
				chance="40"
				damage="8"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sku has disconnected."
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Various takes control of side 1."
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,24,24,23,22,21,20"
			y="17,17,18,19,19,20,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,12,13,14,15,16"
			y="14,14,15,14,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,11,12,13,13,14"
			y="14,15,15,16,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,19,19,19,20"
			y="20,19,18,17,16,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,27,27,27"
			y="11,12,13,14,15,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,25,24,24"
			y="13,14,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,29,29,29,29,29"
			y="11,12,13,14,15,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,25,25,24"
			y="14,15,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,20,21,22,23,24"
			y="21,20,20,19,19,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,22,23,24,24,25"
			y="20,19,19,18,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="0"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="91886230"
		[/random]
		[random]
			value="1764016567"
		[/random]
		[random]
			value="923986500"
		[/random]
		[random]
			value="2030710174"
		[/random]
		[random]
			value="1697346508"
		[/random]
		[random]
			value="29537290"
		[/random]
		[random]
			value="795959403"
		[/random]
		[random]
			value="10107447"
		[/random]
		[random]
			value="908167062"
		[/random]
		[random]
			value="876827006"
		[/random]
		[random]
			value="1722841979"
		[/random]
		[random]
			value="1462300819"
		[/random]
		[random]
			value="2081061352"
		[/random]
		[random]
			value="1944461606"
		[/random]
		[random]
			value="200537752"
			[results]
				checksum="lxj+sAh20PB1UmsQ56tLoxMPdOFGJz.MMAvVvoQO,ECJMwDzBrzrTwAoECqSJHEvSS3IzTALqvFArEKTmSKvvPnFtw-JnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8FA25"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sku takes control of side 1."
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,22"
			y="12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="284000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Various"
			message="indeed"
			side="2"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="nlorem has logged into the lobby"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="Sku"
			message="aghh"
			side="1"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="Sku"
			message="sorry"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Devoy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="23,22"
			y="12,12"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="22"
				y="12"
			[/source]
			[destination]
				x="22"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="16913"
			[results]
				chance="40"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Devoy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="17,16,15,14,13,12"
			y="5,5,6,5,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Various"
			message="hm not your mistake i guess"
			side="2"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="pohoa has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="21,20,19,19,19,18"
			y="12,12,12,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="PaiNeR has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="28,28,28,28,28"
			y="5,6,7,8,9"
		[/move]
	[/command]
	[command]
		[move]
			x="28,28"
			y="9,10"
		[/move]
	[/command]
	[command]
		[move]
			x="22,23"
			y="11,11"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27"
			y="10,11"
		[/move]
	[/command]
	[command]
		[move]
			x="24,25,26,26,27"
			y="7,8,8,9,10"
		[/move]
	[/command]
	[command]
		[move]
			x="23,24,24,24,24"
			y="11,10,9,8,7"
		[/move]
	[/command]
	[command]
		[move]
			x="11,11,11,11"
			y="9,10,11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="lutekb has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,9,9,10,10,11"
			y="5,6,7,7,8,9"
		[/move]
	[/command]
	[command]
		[move]
			x="11,12,13"
			y="12,11,12"
		[/move]
	[/command]
	[command]
		[recruit]
			value="7"
			x="19"
			y="5"
		[/recruit]
		[random]
			value="23090"
		[/random]
		[random]
			value="28684"
		[/random]
		[random]
			value="3133"
		[/random]
		[random]
			value="9117"
		[/random]
		[random]
			value="18967"
		[/random]
		[random]
			value="16262"
		[/random]
		[random]
			value="22676"
		[/random]
		[random]
			value="17801"
		[/random]
		[random]
			value="10688"
		[/random]
		[random]
			value="16776"
		[/random]
		[random]
			value="7125"
		[/random]
		[random]
			value="6963"
		[/random]
		[random]
			value="22710"
		[/random]
		[random]
			value="31243"
		[/random]
		[random]
			value="8803"
			[results]
				checksum=",Ad3Y5f-GtmsAp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLAM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzhOI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kk has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zdz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Markuch has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="26,27,28,29,30"
			y="10,11,11,12,11"
		[/move]
	[/command]
	[command]
		[move]
			x="30,31,32"
			y="11,12,12"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27,27,27,27"
			y="11,12,13,14,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="15"
			[/source]
			[destination]
				x="27"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="21285"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="4556"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="17537"
			[results]
				chance="40"
				damage="14"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="10515"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2233"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="32055"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="269000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,28,28,29,29,30"
			y="16,16,17,18,19,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,24,25,26,27"
			y="18,17,17,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="27"
				y="16"
			[/source]
			[destination]
				x="27"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="774360172"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1164161278"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,26,27,28,28"
			y="17,16,17,16,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="15"
			[/source]
			[destination]
				x="27"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1538219523"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="324430031"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="244700843"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ricky-T has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,25,26"
			y="16,16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="26"
				y="14"
			[/source]
			[destination]
				x="27"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1206934227"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1886770438"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1111481661"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,26"
			y="15,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="26"
				y="15"
			[/source]
			[destination]
				x="27"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="440599086"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1731800032"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="963169518"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,29,28"
			y="16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="14"
			[/source]
			[destination]
				x="27"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="89851629"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="720533804"
			[results]
				chance="70"
				damage="2"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,20,21,22,23,24,24,25"
			y="20,20,20,19,19,18,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,20,21,22"
			y="15,14,14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="22"
				y="13"
			[/source]
			[destination]
				x="22"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="394661109"
			[results]
				chance="50"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1205575084"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1365533812"
			[results]
				chance="50"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="639004288"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ijimiaz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,17,18,19,20,21"
			y="14,15,14,14,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="21"
				y="13"
			[/source]
			[destination]
				x="22"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="331831091"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="516561248"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1568760981"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1763241383"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,13,12,11,10"
			y="17,18,18,19,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="3"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="1753425990"
		[/random]
		[random]
			value="1464448421"
		[/random]
		[random]
			value="2022315933"
		[/random]
		[random]
			value="189715974"
		[/random]
		[random]
			value="364242688"
		[/random]
		[random]
			value="972298987"
		[/random]
		[random]
			value="1996497204"
		[/random]
		[random]
			value="1533045035"
		[/random]
		[random]
			value="1272225975"
		[/random]
		[random]
			value="1416676670"
		[/random]
		[random]
			value="1243099926"
		[/random]
		[random]
			value="298525997"
		[/random]
		[random]
			value="19015354"
		[/random]
		[random]
			value="915675118"
		[/random]
		[random]
			value="1630184051"
			[results]
				checksum="rQV6GBwD,UJ+7ePAQJ+xOoaC5U6DfS5lmb>+9w26zYBFaluj9yjnQ1omih>hik67n,e0IoZ07o9kcp0Ad568,m9n<X,+nY08797o60sxBFgnXEzrk-i.-tciji+H>s3M"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Obserbator has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,19,19,19,19,19,20"
			y="20,20,19,18,17,16,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,20,19,18,17"
			y="14,14,15,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="August has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,18,19,20,21,22"
			y="15,14,15,15,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Haw has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="13,12,12"
			y="12,12,13"
		[/move]
	[/command]
	[command]
		[move]
			x="12,11,11"
			y="13,14,15"
		[/move]
	[/command]
	[command]
		[move]
			x="12,12,12,12,12,12"
			y="5,6,7,8,9,10"
		[/move]
	[/command]
	[command]
		[move]
			x="11,11,11,11,11,11"
			y="9,10,11,12,13,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="22"
				y="12"
			[/source]
			[destination]
				x="21"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="29731"
			[results]
				chance="60"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="20282"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="24510"
			[results]
				chance="60"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="12334"
			[results]
				chance="50"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="10729"
			[results]
				chance="60"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Manhawar has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="19,19,19,20,20,21"
			y="5,6,7,7,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Jinn has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Beeeeeee has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="24,24"
			y="7,8"
		[/move]
	[/command]
	[command]
		[move]
			x="24,24,25,26,26"
			y="8,9,10,10,11"
		[/move]
	[/command]
	[command]
		[recruit]
			value="3"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="4022"
		[/random]
		[random]
			value="5915"
		[/random]
		[random]
			value="5661"
		[/random]
		[random]
			value="1846"
		[/random]
		[random]
			value="8313"
		[/random]
		[random]
			value="10810"
		[/random]
		[random]
			value="31437"
		[/random]
		[random]
			value="13379"
		[/random]
		[random]
			value="26689"
		[/random]
		[random]
			value="17748"
		[/random]
		[random]
			value="13411"
		[/random]
		[random]
			value="16400"
		[/random]
		[random]
			value="3945"
		[/random]
		[random]
			value="4972"
		[/random]
		[random]
			value="5544"
			[results]
				checksum="eKEMoMtJ2Sm2IxNK-ruIvyJD8uFQquOORqLQAKsDuHBwnqvBFyQvVsL8qHTmQQNRqrWuTuTxDUFQDPxfDLuyOcqNHBnCR5lymlS<1Ip648,gYmdg-Lb7,b2<2j8d74eh"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="SomeRandom has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="26,26,26,26,25"
			y="11,10,9,8,8"
		[/move]
	[/command]
	[command]
		[move]
			x="27,26,25,24,24"
			y="10,9,9,8,7"
		[/move]
	[/command]
	[command]
		[move]
			x="32,31,30,29,28,27,26"
			y="12,12,11,12,11,11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="28,28,28,28,28,28"
			y="10,9,8,7,6,5"
		[/move]
	[/command]
	[command]
		[move]
			x="18,18,18,18,17"
			y="9,10,11,12,13"
		[/move]
	[/command]
	[command]
		[move]
			x="17,17,18,18,18"
			y="13,12,11,10,9"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="152000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,21"
			y="13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,20,21,22"
			y="15,14,14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="22"
				y="13"
			[/source]
			[destination]
				x="22"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="1107008113"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1909800963"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="356779295"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="935306312"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1708607335"
			[results]
				chance="60"
				damage="9"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,26,27,27,27,27,27,27"
			y="17,16,16,15,14,13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="27"
				y="11"
			[/source]
			[destination]
				x="26"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="1249541782"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="543309762"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1405301429"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="239927922"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,28,28,27"
			y="14,13,12,11,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="27"
				y="10"
			[/source]
			[destination]
				x="26"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="472562837"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="394349065"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="483741376"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Benchomp has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kojack has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,28,28,29"
			y="15,14,13,12,11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,26,26,26,26"
			y="15,14,13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="26"
				y="11"
			[/source]
			[destination]
				x="26"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="250178575"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1823808246"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1613409569"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="joan2 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="el_fur has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,26,26,27,28,28"
			y="14,13,12,12,11,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,27,27"
			y="16,15,14,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="30,29,29,28,28,27"
			y="19,19,18,17,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,21,20,19,18,17,16,15,14"
			y="16,16,15,16,16,17,17,18,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,21,22"
			y="14,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="11,12,13,14,15,15"
			y="14,14,15,15,16,17"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="15"
				y="17"
			[/source]
			[destination]
				x="14"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="7871"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="21421"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="6611"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="21947"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="24506"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mcsasik has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="18,18,18,18,17,16,15,14,14,14"
			y="9,10,11,12,13,13,14,14,15,16"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="14"
				y="16"
			[/source]
			[destination]
				x="14"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="27236"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="19734"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25557"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="18579"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="3933"
			[results]
				chance="60"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jason has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="11,12,13,13,14"
			y="15,15,16,17,17"
		[/move]
	[/command]
	[command]
		[move]
			x="12,12,12,12,11,11"
			y="10,11,12,13,14,15"
		[/move]
	[/command]
	[command]
		[move]
			x="20,20,21,21,22"
			y="4,5,6,7,7"
		[/move]
	[/command]
	[command]
		[move]
			x="24,24,24"
			y="7,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ak999 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="25,24,23,22,21,20,19,18"
			y="8,8,8,8,8,8,9,9"
		[/move]
	[/command]
	[command]
		[move]
			x="21,22,23,24"
			y="9,8,8,7"
		[/move]
	[/command]
	[command]
		[move]
			x="26,25,25,26,27,27"
			y="10,10,9,8,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="xenom has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="19,20,21,21,21,22,23"
			y="4,4,5,6,7,7,7"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="135000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Misiek_Slash has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="donkey has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,21,20,19,18,17"
			y="12,13,13,14,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,20,19,18,17,16"
			y="20,20,20,20,20,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,21,20,20"
			y="13,14,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,28,28"
			y="11,10,9,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="7"
			[/source]
			[destination]
				x="27"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="331629243"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1690298447"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="475710947"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="214192711"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,27,27"
			y="12,11,10,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="27"
				y="8"
			[/source]
			[destination]
				x="27"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="530208269"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2034625285"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,26,26,26,26"
			y="11,10,9,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="26"
				y="7"
			[/source]
			[destination]
				x="27"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="823048382"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="757413142"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1749457584"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Guskof has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,26"
			y="10,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,29,29,29,29"
			y="11,10,9,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,27,26,25,24,23"
			y="10,10,9,9,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="klisman has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Jah has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,27,27,27,27"
			y="16,15,14,13,12,11,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="309000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Magi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="teigneux has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="15,14,14,13,12,12,12"
			y="17,16,15,15,14,13,12"
		[/move]
	[/command]
	[command]
		[move]
			x="14,14,13,12,12,11,11,11,11,11"
			y="16,15,15,14,13,13,12,11,10,9"
		[/move]
	[/command]
	[command]
		[move]
			x="14,13,13,12,11,11"
			y="17,17,16,15,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sombra has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="22,23,24,25"
			y="7,7,7,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="25"
				y="8"
			[/source]
			[destination]
				x="26"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="2354"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="5927"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="14315"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="18779"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="22652"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="7727"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="24,24,25"
			y="5,6,7"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="25"
				y="7"
			[/source]
			[destination]
				x="26"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="2360"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="27064"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1474"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="11892"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="5010"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2260"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="necroTrue has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="klisman has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="28,27,26"
			y="5,6,6"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="6"
			[/source]
			[destination]
				x="26"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="16144"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="14629"
			[results]
				chance="50"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="31423"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="7925"
			[results]
				chance="50"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="5305"
			[results]
				chance="60"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Misiek_Slash has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,27,28"
			y="7,6,5"
		[/move]
	[/command]
	[command]
		[move]
			x="23,22,21,21,20,20,19"
			y="7,7,7,6,5,4,4"
		[/move]
	[/command]
	[command]
		[recruit]
			value="3"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="10509"
		[/random]
		[random]
			value="27740"
		[/random]
		[random]
			value="18381"
		[/random]
		[random]
			value="7694"
		[/random]
		[random]
			value="6013"
		[/random]
		[random]
			value="21707"
		[/random]
		[random]
			value="1410"
		[/random]
		[random]
			value="18730"
		[/random]
		[random]
			value="3508"
		[/random]
		[random]
			value="7874"
		[/random]
		[random]
			value="26629"
		[/random]
		[random]
			value="3492"
		[/random]
		[random]
			value="29827"
		[/random]
		[random]
			value="25822"
		[/random]
		[random]
			value="24663"
			[results]
				checksum="eKEMoMtJ2Sm2IxNK-ruIvyJD8uFQquOORqLQAKsDuHBwnqvBFyQvVsL8qHTmQQNRqrWuTuTxDUFRDPxfDLuyOcqNHBnCR5lyBlS<1Ip648,gYmdg-Lb7,b2<2j8d64eh"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="or has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="7"
			x="19"
			y="5"
		[/recruit]
		[random]
			value="10486"
		[/random]
		[random]
			value="23255"
		[/random]
		[random]
			value="29925"
		[/random]
		[random]
			value="9109"
		[/random]
		[random]
			value="15658"
		[/random]
		[random]
			value="27373"
		[/random]
		[random]
			value="28618"
		[/random]
		[random]
			value="32182"
		[/random]
		[random]
			value="27038"
		[/random]
		[random]
			value="25424"
		[/random]
		[random]
			value="684"
		[/random]
		[random]
			value="28974"
		[/random]
		[random]
			value="10778"
		[/random]
		[random]
			value="29553"
		[/random]
		[random]
			value="30410"
			[results]
				checksum=",Ad3Y5f-GtmsAp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLAM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzhOI"
			[/results]
		[/random]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="145000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,29,30,30,29"
			y="7,7,6,5,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="5"
			[/source]
			[destination]
				x="28"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="1292862166"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1054159862"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1915341698"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2061482333"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Michaelmax has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,28,28,29,29"
			y="10,9,8,7,7,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="29"
				y="6"
			[/source]
			[destination]
				x="28"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="1731797485"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1108606434"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="439544239"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="98451528"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1443757715"
			[results]
				chance="40"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Damiatux has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,28,28,28"
			y="8,7,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,28,27"
			y="7,6,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="6"
			[/source]
			[destination]
				x="26"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="964739715"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1974936902"
			[results]
				chance="50"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="215529872"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1914384752"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1404313922"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1944617836"
			[results]
				chance="50"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="386969173"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,27,27"
			y="8,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="27"
				y="7"
			[/source]
			[destination]
				x="26"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="176775308"
			[results]
				chance="50"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1996482702"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="999829166"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2073260635"
			[results]
				chance="50"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="donkey_noob_trash has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Benn has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="klisman has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,24,25,26,27,27"
			y="9,9,10,9,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,19,19,19,19,19,19"
			y="15,16,17,18,19,20,21"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15,14,14"
			y="19,19,18,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="6"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="1503641921"
		[/random]
		[random]
			value="1603817588"
		[/random]
		[random]
			value="934092280"
		[/random]
		[random]
			value="1085415344"
		[/random]
		[random]
			value="1612924434"
		[/random]
		[random]
			value="2001262665"
		[/random]
		[random]
			value="27796380"
		[/random]
		[random]
			value="209033097"
		[/random]
		[random]
			value="864127044"
		[/random]
		[random]
			value="1709290657"
		[/random]
		[random]
			value="244461256"
		[/random]
		[random]
			value="270569910"
		[/random]
		[random]
			value="753177974"
			[results]
				checksum="DTLTPwRQczAcRKLLbq0Mv5QyqrQOOBLOyBMIwFivztGUowQpTBRsw,0zs3P8rB49xHwm.opR7jouswcn.Adz9fQtQo8c1O8LyzFARPPnDHfaE>8vfLObeidgl03fnU6<"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="6"
			x="18"
			y="20"
		[/recruit]
		[random]
			value="347575842"
		[/random]
		[random]
			value="2131291433"
		[/random]
		[random]
			value="665701643"
		[/random]
		[random]
			value="375372222"
		[/random]
		[random]
			value="192840882"
		[/random]
		[random]
			value="1529828687"
		[/random]
		[random]
			value="2084662879"
		[/random]
		[random]
			value="437302138"
		[/random]
		[random]
			value="1800398597"
		[/random]
		[random]
			value="690357206"
		[/random]
		[random]
			value="1372327295"
		[/random]
		[random]
			value="1556925687"
		[/random]
		[random]
			value="662073734"
			[results]
				checksum="DTLTPwRQczAcRKLLbq0Mv5QyqrQOOBLOyBMIwFivztGUowQpTBRsw,0zs3P8rB49xHwm.opR7jouswcn.Adz9fQtQo8c1O8LyzFARPPnDHfaE>8vfLObeidgl03fnU6<"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15"
			y="15,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="12,12,12,12,12,12,12"
			y="12,11,10,9,8,7,6"
		[/move]
	[/command]
	[command]
		[move]
			x="11,11,12,12,13"
			y="14,13,12,11,11"
		[/move]
	[/command]
	[command]
		[move]
			x="11,11,11,11,11,11"
			y="15,14,13,12,11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="19,20,21,21,22,23,24"
			y="5,5,6,7,7,8,8"
		[/move]
	[/command]
	[command]
		[move]
			x="20,20,21,21,22"
			y="4,5,6,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Semmi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="24,23"
			y="7,7"
		[/move]
	[/command]
	[command]
		[move]
			x="26,25,24"
			y="6,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="max has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="23,24,25,26"
			y="7,7,7,7"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="7"
			[/source]
			[destination]
				x="27"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="9037"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="9222"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="5747"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1580"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="4666"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="8564"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="17929"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Misiek_Slash has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="25,25,26,27"
			y="8,9,9,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="9"
			[/source]
			[destination]
				x="27"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="9940"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="15367"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="17534"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="5526"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="17141"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="23045"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Nanashi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="gracz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="25,25,26"
			y="7,8,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="26"
				y="8"
			[/source]
			[destination]
				x="27"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="6059"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1885"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="14644"
			[results]
				chance="70"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Muvl has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Misiek_Slash has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="7"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="30022"
		[/random]
		[random]
			value="23642"
		[/random]
		[random]
			value="22009"
		[/random]
		[random]
			value="17592"
		[/random]
		[random]
			value="27929"
		[/random]
		[random]
			value="16331"
		[/random]
		[random]
			value="10024"
		[/random]
		[random]
			value="18917"
		[/random]
		[random]
			value="12707"
		[/random]
		[random]
			value="15163"
		[/random]
		[random]
			value="2539"
		[/random]
		[random]
			value="4516"
		[/random]
		[random]
			value="15502"
		[/random]
		[random]
			value="23869"
		[/random]
		[random]
			value="8152"
			[results]
				checksum=",Ad3Y5f-Gtmspp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLpM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzkOI"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="19,19,20,21,21,22,23"
			y="4,5,5,6,7,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Funeral_Warfog has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="166000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,29,29,28"
			y="5,6,7,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="9"
			[/source]
			[destination]
				x="27"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1786738019"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1141318058"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,28,28,28,28"
			y="5,5,6,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="8"
			[/source]
			[destination]
				x="27"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1532381244"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="760217924"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="446099389"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="657670509"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,28,28,27"
			y="6,6,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="8"
			[/source]
			[destination]
				x="27"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1612357875"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="722899330"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="799224037"
			[results]
				chance="70"
				damage="3"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,28,28,28,27"
			y="6,6,7,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="9"
			[/source]
			[destination]
				x="26"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="407047111"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1584112119"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="821342215"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2010397724"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1154775062"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,28,28,28,27,26"
			y="7,7,8,9,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="9"
			[/source]
			[destination]
				x="26"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="1555087728"
			[results]
				chance="60"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,22,23,24,24"
			y="20,19,19,18,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15"
			y="20,20,19,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13,12,11"
			y="15,14,15,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,10,10,10,10"
			y="19,18,17,16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="smeeds has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="sasik has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,13,13,12"
			y="17,17,16,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,11"
			y="15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="6"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="23292633"
		[/random]
		[random]
			value="651255063"
		[/random]
		[random]
			value="1223565930"
		[/random]
		[random]
			value="165744583"
		[/random]
		[random]
			value="171345194"
		[/random]
		[random]
			value="1602421138"
		[/random]
		[random]
			value="1221878040"
		[/random]
		[random]
			value="1863000080"
		[/random]
		[random]
			value="902470369"
		[/random]
		[random]
			value="1834241560"
		[/random]
		[random]
			value="1642092217"
		[/random]
		[random]
			value="255197904"
		[/random]
		[random]
			value="1060286759"
			[results]
				checksum="DTLTPwRQczAcRKLLbq0Mv5QyqrQOOBLOyBMIwFivztGUowQpTBRsw,0zs3P8rB49xHwm.opR7jouswcn.Adz9fQtQo8c1O8LyzFARPPnDHfaE>8vfLObeidgl03fnU6<"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18,17,16,15,14"
			y="21,20,20,19,19,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="BigBoss has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Fargoth0_0 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="24,25,26,27,28"
			y="7,7,6,6,5"
		[/move]
	[/command]
	[command]
		[move]
			x="20,21,21,21,22,23,24"
			y="4,5,6,7,7,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Benn has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="23,24,25,25"
			y="7,7,8,9"
		[/move]
	[/command]
	[command]
		[move]
			x="22,23,24,25,26"
			y="7,8,7,8,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="8"
			[/source]
			[destination]
				x="26"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="31181"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="16904"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25288"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="6728"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="7939"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="5298"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="18,19,20,21,22,23,24,24,25"
			y="9,9,8,8,8,8,8,9,10"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="25"
				y="10"
			[/source]
			[destination]
				x="26"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1643"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="28865"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="825"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="12883"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="21409"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2720"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="27111"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="25"
				y="9"
			[/source]
			[destination]
				x="26"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="22025"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="29736"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="6997"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1120"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="288"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="16997"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="31964"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="24,24,24,25,26"
			y="8,9,10,11,10"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="10"
			[/source]
			[destination]
				x="26"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="17113"
			[results]
				chance="60"
				damage="7"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="G-Lo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="7"
			[/source]
			[destination]
				x="27"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="9893"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="12411"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="4241"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="3814"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="14244"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="27424"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="8162"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="12,12"
			y="6,5"
		[/move]
	[/command]
	[command]
		[move]
			x="11,11,11,11,11,11"
			y="10,9,8,7,6,5"
		[/move]
	[/command]
	[command]
		[move]
			x="11,10,10,9,9,8"
			y="9,8,7,7,6,5"
		[/move]
	[/command]
	[command]
		[move]
			x="13,12,12,11"
			y="11,10,9,9"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="226000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="vr5 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="nilkiimas has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zod has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13,12"
			y="19,18,19,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,22,23,24,25"
			y="20,19,20,19,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27"
			y="9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,27"
			y="9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="27"
				y="11"
			[/source]
			[destination]
				x="26"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="1963853841"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1148332696"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1536973023"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="DevilishillusioN has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Muras has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,28,28,28,28,28,28"
			y="8,8,9,10,11,12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,29"
			y="8,9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="27"
				y="10"
			[/source]
			[destination]
				x="26"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="180483849"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2142533484"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1045947134"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="383706822"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,15,16,17,18,19"
			y="18,19,19,20,20,21"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,12,13,14,15,16"
			y="14,14,15,14,14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,12,13,14,15"
			y="15,15,16,15,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,10,10,10,10"
			y="14,15,16,17,18,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="283000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="plk2 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="26,27,28,28"
			y="8,8,8,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="9"
			[/source]
			[destination]
				x="27"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="23130"
			[results]
				chance="40"
				damage="14"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="29446"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="22709"
			[results]
				chance="40"
				damage="14"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rizzalan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Raiylo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="28,28,28,28,28,28"
			y="5,6,7,8,9,10"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="10"
			[/source]
			[destination]
				x="27"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="8031"
			[results]
				chance="40"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2783"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="23824"
			[results]
				chance="40"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="18729"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="19036"
			[results]
				chance="40"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Benn has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="10"
			[/source]
			[destination]
				x="27"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="1357"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="12981"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="30789"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2684"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="26433"
			[results]
				chance="40"
				damage="4"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="25,26,26,26,26,26,27,28"
			y="10,10,11,12,13,14,15,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="14"
			[/source]
			[destination]
				x="28"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="626"
			[results]
				chance="60"
				damage="7"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="infinity0 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="25,24,23,22,21,21,20"
			y="9,8,8,7,7,6,5"
		[/move]
	[/command]
	[command]
		[move]
			x="26,27,27,28"
			y="7,7,6,5"
		[/move]
	[/command]
	[command]
		[move]
			x="24,25,26,26,27,27,28"
			y="7,8,8,9,10,11,11"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="11"
			[/source]
			[destination]
				x="29"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="5545"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="533"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="23662"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="19365"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="29283"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="11,11,11"
			y="9,10,11"
		[/move]
	[/command]
	[command]
		[move]
			x="11,11"
			y="11,12"
		[/move]
	[/command]
	[command]
		[move]
			x="11,12,13"
			y="12,11,12"
		[/move]
	[/command]
	[command]
		[move]
			x="11,11,11,11,11"
			y="5,6,7,8,9"
		[/move]
	[/command]
	[command]
		[move]
			x="8,8,9,9,9,9"
			y="5,6,7,8,9,10"
		[/move]
	[/command]
	[command]
		[move]
			x="9,8"
			y="10,10"
		[/move]
	[/command]
	[command]
		[move]
			x="12,13,14,15,16,17,18"
			y="5,6,6,6,5,6,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Araja has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="killer88 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="241000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,30,31,32,32,32,32,33"
			y="11,11,12,12,13,14,15,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="0"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="1481582298"
		[/random]
		[random]
			value="348640004"
		[/random]
		[random]
			value="845027277"
		[/random]
		[random]
			value="1695442826"
		[/random]
		[random]
			value="1593404623"
		[/random]
		[random]
			value="290471855"
		[/random]
		[random]
			value="1582275646"
		[/random]
		[random]
			value="1860201390"
		[/random]
		[random]
			value="32727724"
		[/random]
		[random]
			value="1618026151"
		[/random]
		[random]
			value="1445090005"
		[/random]
		[random]
			value="223351990"
		[/random]
		[random]
			value="870143057"
		[/random]
		[random]
			value="1441525492"
		[/random]
		[random]
			value="722078707"
			[results]
				checksum="lxj+sAh20PB1UmsQ56tLoxNPdOFGJz.MMAvVvoQO,ECJMwDzBrzrTwAoECqSJHEvSS3IzTALqvFArEKTmSKvvPnFtw-JnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8EE25"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="killer123 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="0"
			x="20"
			y="20"
		[/recruit]
		[random]
			value="1381569256"
		[/random]
		[random]
			value="1860686064"
		[/random]
		[random]
			value="873576395"
		[/random]
		[random]
			value="79112885"
		[/random]
		[random]
			value="1408645242"
		[/random]
		[random]
			value="319497371"
		[/random]
		[random]
			value="369584740"
		[/random]
		[random]
			value="843437240"
		[/random]
		[random]
			value="32215113"
		[/random]
		[random]
			value="402312465"
		[/random]
		[random]
			value="313979743"
		[/random]
		[random]
			value="1477305118"
		[/random]
		[random]
			value="625664455"
		[/random]
		[random]
			value="1184122801"
		[/random]
		[random]
			value="771346962"
			[results]
				checksum="oxj+sAh20PB0KmsQ56tLoxMPdOFGJz.MMAvVvoQO,ECJMwDzBrzrTwAoECqSJHEvSS3IzTALqvFArEKTmSKvvPnFtw+PnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8FA25"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Samu has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,20,21,22,23,24,25"
			y="21,20,20,19,19,18,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,17,17,17,18,18"
			y="13,13,12,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Brokenergy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,10,10"
			y="19,18,17,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10"
			y="16,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Woodstr93 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10"
			y="15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13,12,11"
			y="16,15,15,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="307000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="20,20,19,18,18"
			y="5,6,7,7,8"
		[/move]
	[/command]
	[command]
		[move]
			x="18,19,19,19"
			y="6,7,8,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="19"
				y="9"
			[/source]
			[destination]
				x="18"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="2964"
			[results]
				chance="70"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="19009"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="32411"
			[results]
				chance="70"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="19889"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="201"
			[results]
				chance="70"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="6524"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="18"
				y="8"
			[/source]
			[destination]
				x="18"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="10284"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="6421"
			[results]
				chance="50"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="32142"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="22269"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="15083"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="6458"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="17094"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mobbydick has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Devoy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="28,27,27"
			y="9,10,11"
		[/move]
	[/command]
	[command]
		[move]
			x="26,26,25,25,24"
			y="10,9,9,8,7"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27,27"
			y="11,12,13"
		[/move]
	[/command]
	[command]
		[move]
			x="28,27,27,27,27,27,27"
			y="10,11,12,13,14,15,16"
		[/move]
	[/command]
	[command]
		[move]
			x="28,28,29,29,30"
			y="11,12,13,14,14"
		[/move]
	[/command]
	[command]
		[move]
			x="28,29,30,31,32"
			y="14,15,15,15,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="32"
				y="15"
			[/source]
			[destination]
				x="33"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="16156"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="15308"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2623"
			[results]
				chance="30"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="3821"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="4071"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="245000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ansengrinth has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23,24,25,26,27"
			y="20,20,19,19,18,18,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="27"
				y="17"
			[/source]
			[destination]
				x="27"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="440105750"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="299110030"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="66952305"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="509957911"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1948932548"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zuzik has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,25,26,26,26"
			y="20,19,18,17,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="16"
			[/source]
			[destination]
				x="27"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="765655653"
			[results]
				chance="80"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="356065101"
			[results]
				chance="40"
				damage="16"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,22,23,24,25,26,27"
			y="20,19,19,18,19,18,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="33"
				y="16"
			[/source]
			[destination]
				x="32"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1038071238"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="495713668"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="900239255"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="533028963"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,26,27"
			y="17,17,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,24,23,22,21,20"
			y="18,18,19,19,20,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="778626132"
		[/random]
		[random]
			value="1958307669"
		[/random]
		[random]
			value="1023012648"
		[/random]
		[random]
			value="1596157394"
		[/random]
		[random]
			value="540294553"
		[/random]
		[random]
			value="632743590"
		[/random]
		[random]
			value="268725709"
		[/random]
		[random]
			value="296616854"
		[/random]
		[random]
			value="1907278094"
		[/random]
		[random]
			value="1933298358"
		[/random]
		[random]
			value="1279828892"
		[/random]
		[random]
			value="1751180744"
		[/random]
		[random]
			value="662804949"
		[/random]
		[random]
			value="966433304"
		[/random]
		[random]
			value="1773084321"
			[results]
				checksum="ACIByNSVYrLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9CumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="18"
				y="9"
			[/source]
			[destination]
				x="19"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="371212189"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1060749673"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1859501997"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="605229713"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1319558649"
			[results]
				chance="60"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,12,13,13,14"
			y="15,15,16,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,10,10,10,10"
			y="14,15,16,17,18,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="24,23,22,21,20,19"
			y="7,8,8,8,8,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="19"
				y="9"
			[/source]
			[destination]
				x="18"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="13290"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="13946"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25164"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="30535"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="30715"
			[results]
				chance="40"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="27478"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="31727"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="18"
				y="8"
			[/source]
			[destination]
				x="18"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="3902"
			[results]
				chance="40"
				damage="8"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="27,27,27,27"
			y="13,12,11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="32,32,32,32,32,31,31,30,30,30"
			y="15,14,13,12,11,11,10,9,8,7"
		[/move]
	[/command]
	[command]
		[move]
			x="30,30,30,30,30,30"
			y="14,13,12,11,10,9"
		[/move]
	[/command]
	[command]
		[move]
			x="8,9,9,10"
			y="10,11,12,12"
		[/move]
	[/command]
	[command]
		[move]
			x="10,9,9,8"
			y="12,12,11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="11,10,9,9,8"
			y="9,9,10,11,11"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="PositionalPlayer has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,27,26,26,25"
			y="18,17,16,15,14,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,26,26,26,26"
			y="16,15,14,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,27,27"
			y="16,15,14,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,27,27,27,27"
			y="17,16,15,14,13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="27"
				y="11"
			[/source]
			[destination]
				x="27"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="1574141242"
			[results]
				chance="50"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="622842715"
			[results]
				chance="50"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="73899857"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1556172168"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Maisteri has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="33,32,31,30,29,28,27"
			y="16,15,16,15,16,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,22,23,24,24,25,25"
			y="20,19,19,18,17,17,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="0"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="1413857007"
		[/random]
		[random]
			value="1849937836"
		[/random]
		[random]
			value="731401657"
		[/random]
		[random]
			value="27124206"
		[/random]
		[random]
			value="1187744287"
		[/random]
		[random]
			value="1231969666"
		[/random]
		[random]
			value="1615578476"
		[/random]
		[random]
			value="1429515397"
		[/random]
		[random]
			value="1310037145"
		[/random]
		[random]
			value="346206809"
		[/random]
		[random]
			value="735383644"
		[/random]
		[random]
			value="714202097"
		[/random]
		[random]
			value="1710651873"
		[/random]
		[random]
			value="836810166"
		[/random]
		[random]
			value="1386313476"
			[results]
				checksum="DB6s-,zQn1M2yKRrtl,yvEJs-TqLAH7qSCNCNSvmIJ>KNGxwmIQwSVVvQLyBGFwuCzBR9PMVRCroPzMEKTmSKvvPnFtw-JnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8FA"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="LucaGamer has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="fede has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="19,18"
			y="9,9"
		[/move]
	[/command]
	[command]
		[move]
			x="18,19,19,19,19,19"
			y="8,8,7,6,5,4"
		[/move]
	[/command]
	[command]
		[recruit]
			value="5"
			x="20"
			y="3"
		[/recruit]
		[random]
			value="17504"
		[/random]
		[random]
			value="12118"
		[/random]
		[random]
			value="24177"
		[/random]
		[random]
			value="8223"
		[/random]
		[random]
			value="20806"
		[/random]
		[random]
			value="29098"
		[/random]
		[random]
			value="29095"
		[/random]
		[random]
			value="6180"
		[/random]
		[random]
			value="4996"
		[/random]
		[random]
			value="28237"
		[/random]
		[random]
			value="27366"
		[/random]
		[random]
			value="13103"
		[/random]
		[random]
			value="12619"
		[/random]
		[random]
			value="15997"
		[/random]
		[random]
			value="6916"
			[results]
				checksum="ixp,4nc1oNO<LLyKmJLIEhoF>vyBA6mszOAMDTywuzyODCrTtRLwFwmIsr1QENmxPFHFw.RFKFnqypNKqM8mwoFomIhFlq1.CL-<<ddBfkHDONNHvMSO1I9LGCHpACmL"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="5"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="31962"
		[/random]
		[random]
			value="28923"
		[/random]
		[random]
			value="20971"
		[/random]
		[random]
			value="12177"
		[/random]
		[random]
			value="11245"
		[/random]
		[random]
			value="29407"
		[/random]
		[random]
			value="13865"
		[/random]
		[random]
			value="32602"
		[/random]
		[random]
			value="6217"
		[/random]
		[random]
			value="9962"
		[/random]
		[random]
			value="2542"
		[/random]
		[random]
			value="8855"
		[/random]
		[random]
			value="2092"
		[/random]
		[random]
			value="10925"
		[/random]
		[random]
			value="25497"
			[results]
				checksum="iqp,4nc1oNO<LLyKmJLIEhoF>vyBA6mszOAMDTywuzyODCrTtRLwFwmIsr1QENmxPFHFw.RFKFnqypNKpM8mwoFomIhFlq1.CLW<<ddBfkHDONNHvHQO1I9LGCHpACmL"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="3"
			x="19"
			y="5"
		[/recruit]
		[random]
			value="32274"
		[/random]
		[random]
			value="25312"
		[/random]
		[random]
			value="6005"
		[/random]
		[random]
			value="6572"
		[/random]
		[random]
			value="6225"
		[/random]
		[random]
			value="7413"
		[/random]
		[random]
			value="7166"
		[/random]
		[random]
			value="3063"
		[/random]
		[random]
			value="30978"
		[/random]
		[random]
			value="11888"
		[/random]
		[random]
			value="15917"
		[/random]
		[random]
			value="19921"
		[/random]
		[random]
			value="13699"
		[/random]
		[random]
			value="254"
		[/random]
		[random]
			value="899"
			[results]
				checksum="eKEMoMtJ2Sm2IxNK-ruIvyJD8uFQquOORqLQAKsDuHBwnqvBFyQvVsL8qHTmQQNRqrWuTuTxDUyGDPxfDLuyOcqNHBnCR5lyBlS<1Ip648,gYgdg-Lb7,b2<2j8614eh"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="28,27,26"
			y="5,6,6"
		[/move]
	[/command]
	[command]
		[move]
			x="30,30,29,29,29,28"
			y="9,8,8,7,6,5"
		[/move]
	[/command]
	[command]
		[move]
			x="26,25,24"
			y="6,7,7"
		[/move]
	[/command]
	[command]
		[move]
			x="30,29,28,27,27,26,25,24,23,22"
			y="7,7,6,6,5,4,4,3,3,2"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="milan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="7"
			x="18"
			y="4"
		[/recruit]
		[random]
			value="12063"
		[/random]
		[random]
			value="2367"
		[/random]
		[random]
			value="10710"
		[/random]
		[random]
			value="31705"
		[/random]
		[random]
			value="26731"
		[/random]
		[random]
			value="16659"
		[/random]
		[random]
			value="18804"
		[/random]
		[random]
			value="28916"
		[/random]
		[random]
			value="4479"
		[/random]
		[random]
			value="8172"
		[/random]
		[random]
			value="17643"
		[/random]
		[random]
			value="17351"
		[/random]
		[random]
			value="8602"
		[/random]
		[random]
			value="19738"
		[/random]
		[random]
			value="16156"
			[results]
				checksum=",Ad3Y5f-Gtmspp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLpM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzkOI"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="13,12,12"
			y="12,12,13"
		[/move]
	[/command]
	[command]
		[move]
			x="8,9,9,9"
			y="10,11,12,13"
		[/move]
	[/command]
	[command]
		[move]
			x="8,8,7,7,6"
			y="11,12,13,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="mjk has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,8,8,8,7"
			y="13,13,14,15,16"
		[/move]
	[/command]
	[command]
		[move]
			x="12,13"
			y="13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kojack has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="13,12"
			y="13,12"
		[/move]
	[/command]
	[command]
		[move]
			x="27,28"
			y="10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Panq has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="28,28,28,28"
			y="9,8,7,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="spronkey has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="271000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sinnej has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="SweetDreamZ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="GEO has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="aramaki has logged into the lobby"
		[/speak]
	[/command]
	[command]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="lisa has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="BigBoss has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Pike has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,27,27,27,27,27,27"
			y="16,15,14,13,12,11,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="aaa has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="25,25,26,26,26,26,26"
			y="16,15,14,13,12,11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="26,26,26,26,26"
			y="12,11,10,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Telfast has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="12,11,10"
			y="18,18,17"
		[/move]
	[/command]
	[command]
		[move]
			x="10,9,8"
			y="17,17,16"
		[/move]
	[/command]
	[command]
		[move]
			x="10,10,10,9,9,8"
			y="19,18,17,17,16,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="8"
				y="15"
			[/source]
			[destination]
				x="7"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="1057155290"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1696964420"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1167184678"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="8"
				y="16"
			[/source]
			[destination]
				x="7"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="759610609"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="67584544"
			[results]
				chance="80"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="735035383"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="357261671"
			[results]
				chance="80"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1555462245"
			[results]
				chance="80"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="21,20,19,18,17,16,16,15"
			y="20,19,19,18,18,17,16,16"
		[/move]
	[/command]
	[command]
		[recruit]
			value="0"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="625735537"
		[/random]
		[random]
			value="1173140128"
		[/random]
		[random]
			value="476516855"
		[/random]
		[random]
			value="1191609362"
		[/random]
		[random]
			value="702841692"
		[/random]
		[random]
			value="2113590047"
		[/random]
		[random]
			value="1238461881"
		[/random]
		[random]
			value="892251334"
		[/random]
		[random]
			value="1960441262"
		[/random]
		[random]
			value="1680045798"
		[/random]
		[random]
			value="1191159862"
		[/random]
		[random]
			value="706283682"
		[/random]
		[random]
			value="1931493090"
		[/random]
		[random]
			value="899295411"
		[/random]
		[random]
			value="410310895"
			[results]
				checksum="DB6s-,zQn1M2yKQrtl,yvEJs-TqLAH7qSCNCNSvmIJ>KNGxwmIQwSVVvQLyBGFwuCzBR9PMVRCroPzMEKTmSKvvPnFtw-InBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8FA"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="20,19,18,17,17,16,15"
			y="20,20,19,19,18,17,17"
		[/move]
	[/command]
	[command]
		[move]
			x="25,26,26,26,25"
			y="13,12,11,10,10"
		[/move]
	[/command]
	[command]
		[move]
			x="25,24"
			y="10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Jez has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,28,28,28,28"
			y="11,10,9,8,7"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="7"
			[/source]
			[destination]
				x="28"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="1585748560"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1905508065"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="473191198"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1748530058"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="27,27,27,27,27"
			y="12,11,10,9,8"
		[/move]
	[/command]
	[command]
		[move]
			x="24,23"
			y="9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Oink has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,20,20,21,21,22"
			y="4,5,5,6,7,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="22"
				y="8"
			[/source]
			[destination]
				x="23"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="12585"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="14989"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="29040"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="27549"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="22136"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rizzalan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="6"
			[/source]
			[destination]
				x="28"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="17363"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="11924"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="21671"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="7851"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="7,7"
			y="16,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="6,6,6,7"
			y="14,13,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tarutaru has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,12,12,12,11"
			y="12,11,10,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,20,21,21,22"
			y="5,5,6,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23"
			y="4,5,5,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,20,21,22"
			y="3,4,5,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="4199"
		[/random]
		[random]
			value="23385"
		[/random]
		[random]
			value="14611"
		[/random]
		[random]
			value="1894"
		[/random]
		[random]
			value="15447"
		[/random]
		[random]
			value="31357"
		[/random]
		[random]
			value="13069"
		[/random]
		[random]
			value="21126"
		[/random]
		[random]
			value="29204"
		[/random]
		[random]
			value="19757"
		[/random]
		[random]
			value="13187"
		[/random]
		[random]
			value="27338"
		[/random]
		[random]
			value="21133"
		[/random]
		[random]
			value="19760"
		[/random]
		[random]
			value="30581"
			[results]
				checksum=",Ad3Y5f-Gtmnrp5jHbEoRiVrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNQrM8mwoFomIhFlq1.CLB<<ddNv5EsLNHBNzhOI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="die_2 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="258000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Fargoth0_0 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Maciej has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="TreeBearded has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Death_Bed2 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="fakivaki has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="wb has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Robb has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Sku"
			message="are you there?"
			side="1"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="Various"
			message="yes"
			side="2"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Sku"
			message="ok"
			side="1"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,9,9,8,7"
			y="15,15,14,13,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="7"
				y="14"
			[/source]
			[destination]
				x="7"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1478558318"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="782258380"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="307644845"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Sku"
			message="sorry"
			side="1"
		[/speak]
	[/command]
	[command]
		[move]
			x="15,14,13,12,11,10,9,8"
			y="16,15,16,15,15,15,16,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="8"
				y="15"
			[/source]
			[destination]
				x="7"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="284354501"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1314470694"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1419831085"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1937572292"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="8,9,9,9"
			y="16,16,15,14"
		[/move]
	[/command]
	[command]
		[move]
			x="14,13,12,11,10,9"
			y="17,17,16,16,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="natabara has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Hagbart has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="26,27,28,29,29"
			y="8,9,8,8,7"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="29"
				y="7"
			[/source]
			[destination]
				x="28"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="1274056498"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="699705624"
			[results]
				chance="80"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1272547505"
			[results]
				chance="70"
				damage="9"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rizzalan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="28,29,30,30,29"
			y="7,7,6,5,5"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="29"
				y="5"
			[/source]
			[destination]
				x="28"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="2065386365"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1989658869"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1699464954"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1105572148"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1083259212"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Hicks has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,27,26,26,26"
			y="10,9,8,7,6"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27"
			y="8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zane has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="23,24,25,26,27,27,28"
			y="9,9,9,8,8,7,6"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="28"
				y="6"
			[/source]
			[destination]
				x="28"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="1742050219"
			[results]
				chance="40"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1364432953"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="35364323"
			[results]
				chance="40"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25410989"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1683343426"
			[results]
				chance="40"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="26,26,26,26,26,27"
			y="10,9,8,7,6,6"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="27"
				y="6"
			[/source]
			[destination]
				x="28"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="1981749571"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="243497543"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="450519436"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1478005607"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gorthaur has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="26,26,27"
			y="6,5,5"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="27"
				y="5"
			[/source]
			[destination]
				x="28"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="85654958"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1386513738"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="16340240"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1021700501"
			[results]
				chance="40"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="joueur has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,28"
			y="9,8"
		[/move]
	[/command]
	[command]
		[move]
			x="15,16,17,17,18,18,19"
			y="17,17,18,19,19,20,21"
		[/move]
	[/command]
	[command]
		[move]
			x="19,19,19,19,18,18,17"
			y="20,19,18,17,16,15,15"
		[/move]
	[/command]
	[command]
		[recruit]
			value="6"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="635830401"
		[/random]
		[random]
			value="1250137488"
		[/random]
		[random]
			value="1056520260"
		[/random]
		[random]
			value="2084439527"
		[/random]
		[random]
			value="666259012"
		[/random]
		[random]
			value="1078171910"
		[/random]
		[random]
			value="1777342904"
		[/random]
		[random]
			value="1478255302"
		[/random]
		[random]
			value="774975398"
		[/random]
		[random]
			value="2021969291"
		[/random]
		[random]
			value="546798260"
		[/random]
		[random]
			value="907121227"
		[/random]
		[random]
			value="2132540501"
			[results]
				checksum="DTLTPwRQczAcRKLLbq0Mv5QyqrQOOBLOyBMIwFivztGUowQpTBRsw,0zs3P8rB49xHwm.opR7jouswcn.Adz9fQtQo8c1O8LyzFARPPnDHfaE>8vfLObeidgl03fnU6<"
			[/results]
		[/random]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="204000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,22,23,24,25,26"
			y="5,4,4,3,4,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="26"
				y="4"
			[/source]
			[destination]
				x="27"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="2226"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="18563"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="9266"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="4229"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2036"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="24131"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="14016"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,23,24,25,26,27"
			y="2,3,3,4,3,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="4"
			[/source]
			[destination]
				x="27"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="19837"
			[results]
				chance="60"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[choose]
			value="0"
		[/choose]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,23,24,25,26,27"
			y="8,8,7,8,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="7"
			[/source]
			[destination]
				x="27"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="1727"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="11507"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="439"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="10501"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="32081"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="19814"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="24207"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,24,25,26"
			y="6,6,6,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="26"
				y="6"
			[/source]
			[destination]
				x="27"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="995"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="47"
			[results]
				chance="50"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="26409"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="21427"
			[results]
				chance="50"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13866"
			[results]
				chance="70"
				damage="7"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,23,24,25,26"
			y="7,7,7,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,26,27"
			y="7,7,6,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="6"
			[/source]
			[destination]
				x="28"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="7965"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="12983"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="22174"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="23361"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="22335"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,20,21,22,23,24"
			y="9,9,8,8,7,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,21,21,22,23"
			y="4,5,6,7,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="7,8,9,9,9"
			y="12,11,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,19,19,19,19,18"
			y="4,5,6,7,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="257000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ordeyth has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="smeeds has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Cleinhun has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Kaaaaaaaane has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Strategist has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mobbydick has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Aylo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Dlearn has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="NocheCerrada has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Araja has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ordeyth has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="woof has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="natabara has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="_flow_ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="hagil has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="The1exile has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="BrIsEKhRaN has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="8"
				y="15"
			[/source]
			[destination]
				x="7"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1268909364"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1720311294"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="327009124"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1650411680"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="7,6"
			y="14,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="6"
				y="14"
			[/source]
			[destination]
				x="7"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1108558619"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="596071665"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="907272309"
			[results]
				chance="60"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="9,9"
			y="16,15"
		[/move]
	[/command]
	[command]
		[move]
			x="29,28"
			y="5,5"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="28"
				y="5"
			[/source]
			[destination]
				x="27"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="350179005"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1294593646"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="712749912"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1461946713"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="398072900"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="28,28"
			y="6,7"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="28"
				y="7"
			[/source]
			[destination]
				x="27"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="404952887"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="540721865"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="237089023"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1041485785"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1895536322"
			[results]
				chance="60"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="28,28,27"
			y="8,7,7"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="7"
			[/source]
			[destination]
				x="26"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="579470933"
			[results]
				chance="50"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="534575478"
			[results]
				chance="80"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="823593158"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="29,28"
			y="7,6"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="6"
			[/source]
			[destination]
				x="27"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="427366835"
			[results]
				chance="80"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="110454108"
			[results]
				chance="60"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2111295066"
			[results]
				chance="80"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1338381451"
			[results]
				chance="60"
				damage="13"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="211000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,19,19,19,19,18"
			y="9,9,8,7,6,5,4"
		[/move]
	[/command]
	[command]
		undo="no"
		[speak]
			id="Various"
			message="uh i was away"
			side="2"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="Various"
			message=":)"
			side="2"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Magi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,24,25,26,27,28"
			y="7,7,8,8,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="8"
			[/source]
			[destination]
				x="28"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="11113"
			[results]
				chance="60"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1878"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="6811"
			[results]
				chance="60"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,27"
			y="6,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="27"
				y="6"
			[/source]
			[destination]
				x="28"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="4360"
			[results]
				chance="70"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="4140"
			[results]
				chance="70"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2342"
			[results]
				chance="70"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Cloud_ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,28,29,30,30,29"
			y="4,3,4,4,5,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="29"
				y="6"
			[/source]
			[destination]
				x="28"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="3230"
			[results]
				chance="80"
				damage="7"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,26,26"
			y="4,5,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="26"
				y="6"
			[/source]
			[destination]
				x="27"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="3322"
			[results]
				chance="70"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="19727"
			[results]
				chance="70"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="24478"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="honza has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,26,27,28,28"
			y="7,8,9,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="7"
			[/source]
			[destination]
				x="27"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="25668"
			[results]
				chance="80"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="10818"
			[results]
				chance="70"
				damage="15"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13743"
			[results]
				chance="80"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="29500"
			[results]
				chance="70"
				damage="15"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,26"
			y="7,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="7"
			[/source]
			[destination]
				x="27"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="2607"
			[results]
				chance="80"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="22750"
			[results]
				chance="60"
				damage="16"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="4867"
			[results]
				chance="80"
				damage="4"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="yanchixia has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Oink has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="9,9,9,9,8"
			y="9,8,7,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="5"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="30657"
		[/random]
		[random]
			value="32700"
		[/random]
		[random]
			value="27908"
		[/random]
		[random]
			value="14065"
		[/random]
		[random]
			value="32656"
		[/random]
		[random]
			value="24431"
		[/random]
		[random]
			value="19405"
		[/random]
		[random]
			value="30515"
		[/random]
		[random]
			value="9775"
		[/random]
		[random]
			value="15778"
		[/random]
		[random]
			value="8769"
		[/random]
		[random]
			value="27375"
		[/random]
		[random]
			value="1781"
		[/random]
		[random]
			value="931"
		[/random]
		[random]
			value="17034"
			[results]
				checksum="-n8rN+-Dy+EeNPrPbGMNQXtz0Ipzwss1tysRRKOwxuoVBywHrwxEqutHtKzE>BNMxHQOHFw.RFKFnqypNLtM8mwoFomIhFlq1.CLW<<ddBfkHDONNHvHQO1I9LGCHpAC"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="293000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="aramaki has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="19,20,21,22,23"
			y="20,19,19,18,19"
		[/move]
	[/command]
	[command]
		[recruit]
			value="0"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="1124562137"
		[/random]
		[random]
			value="354410124"
		[/random]
		[random]
			value="996528712"
		[/random]
		[random]
			value="2048014998"
		[/random]
		[random]
			value="1864390445"
		[/random]
		[random]
			value="413064557"
		[/random]
		[random]
			value="747263400"
		[/random]
		[random]
			value="717112253"
		[/random]
		[random]
			value="2022665622"
		[/random]
		[random]
			value="2026188147"
		[/random]
		[random]
			value="1229794082"
		[/random]
		[random]
			value="889739350"
		[/random]
		[random]
			value="339813584"
		[/random]
		[random]
			value="272657440"
		[/random]
		[random]
			value="839747513"
			[results]
				checksum="DB6s-,zQn1M2yLIrtl,yvEJs+TqLAH7qSCNCNSvmIJ>KNGxwmIQwSVVvQLyBGFwuCzBR9PMVRCroPzMEKTmSKvvPnFtw+QnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8EE"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="0"
			x="20"
			y="20"
		[/recruit]
		[random]
			value="851614946"
		[/random]
		[random]
			value="1511151583"
		[/random]
		[random]
			value="1381508588"
		[/random]
		[random]
			value="1598878346"
		[/random]
		[random]
			value="80780188"
		[/random]
		[random]
			value="1256690562"
		[/random]
		[random]
			value="1477582845"
		[/random]
		[random]
			value="1310574271"
		[/random]
		[random]
			value="2146429912"
		[/random]
		[random]
			value="1817396429"
		[/random]
		[random]
			value="1583231711"
		[/random]
		[random]
			value="838693777"
		[/random]
		[random]
			value="2084995397"
		[/random]
		[random]
			value="1384971143"
		[/random]
		[random]
			value="682169926"
			[results]
				checksum="oxj+sAh20PB0JmsQ56tLoxNPdOFGJz.MMAvVvoQO,ECJMwDzBrzrTwAoECqSJHEvSS3IzTALqvFArEKTmSKvvPnFtw+MnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8EE25"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="19,20,21,22,23,24,25"
			y="21,20,20,19,20,19,20"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="5"
			[/source]
			[destination]
				x="27"
				y="6"
			[/destination]
		[/attack]
		[random]
			value="1035541489"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1308364254"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="423694320"
			[results]
				chance="60"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="6,6,7,8,8"
			y="14,13,13,12,11"
		[/move]
	[/command]
	[command]
		[move]
			x="9,10,11,12,13"
			y="14,13,13,12,12"
		[/move]
	[/command]
	[command]
		[move]
			x="8,9"
			y="11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Itsuka has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,9,9,9,8"
			y="15,14,13,12,11"
		[/move]
	[/command]
	[command]
		[move]
			x="8,8,8,8,8,8"
			y="15,14,13,12,11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="17,16,15,14,13,12"
			y="15,14,14,14,14,13"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="260000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tarutaru has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28"
			y="7,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="6"
			[/source]
			[destination]
				x="28"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="12704"
			[results]
				chance="40"
				damage="14"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25848"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="27682"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="24894"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="OverLine has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,27,27"
			y="8,7,7,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="6"
			[/source]
			[destination]
				x="28"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="1374"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="22290"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="31034"
			[results]
				chance="40"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13895"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="8972"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="root has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,26,26,27"
			y="7,6,5,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="5"
			[/source]
			[destination]
				x="28"
				y="5"
			[/destination]
		[/attack]
		[random]
			value="32726"
			[results]
				chance="40"
				damage="9"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[choose]
			value="1"
		[/choose]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ottavio has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,27,28"
			y="6,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,29,29,29,30,30"
			y="6,7,8,9,9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="30,30"
			y="10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="30,31,32,32,32"
			y="11,12,12,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,12"
			y="5,5,6,5,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="5"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="18443"
		[/random]
		[random]
			value="14385"
		[/random]
		[random]
			value="1358"
		[/random]
		[random]
			value="28733"
		[/random]
		[random]
			value="30669"
		[/random]
		[random]
			value="2676"
		[/random]
		[random]
			value="3883"
		[/random]
		[random]
			value="24817"
		[/random]
		[random]
			value="18961"
		[/random]
		[random]
			value="14538"
		[/random]
		[random]
			value="24068"
		[/random]
		[random]
			value="2832"
		[/random]
		[random]
			value="6896"
		[/random]
		[random]
			value="7862"
		[/random]
		[random]
			value="20450"
			[results]
				checksum="-n9yN+-Dy+EeNPrPbGMNQXtz0Ipzwss1tysRRKOwxuoVBywHrwxEqutHtKzE>BNMxHQOHFw.RFKFnqypNKAM8mwoFomIhFlq1.CL-<<ddBfkHDONNHvMSO1I9LGCHpAC"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="TAKESIHI has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,19,19,19,19,18"
			y="4,5,6,7,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="305000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Yoho has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,9,10,11"
			y="11,11,10,10"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="11"
				y="10"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1433601020"
			[results]
				chance="30"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="967091661"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="13,13,13,12"
			y="12,11,10,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="9"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1958619767"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1107760705"
			[results]
				chance="80"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1461786137"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="13949608"
			[results]
				chance="80"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2075663705"
			[results]
				chance="80"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="413433411"
			[results]
				chance="80"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="glupiciul has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="RappidMaster has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="nani has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,9,9,10"
			y="10,10,9,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="10"
				y="8"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="280028112"
			[results]
				chance="30"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="90067859"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1355187395"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="672828635"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="12,12,12,12,13,13,12"
			y="13,12,11,10,10,9,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="12"
				y="8"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1753090468"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="19921320"
			[results]
				chance="30"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1830237307"
			[results]
				chance="30"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="932412193"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="frog has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jugador has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="natabara has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,9,10"
			y="11,10,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="10"
				y="9"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1786185136"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1246111494"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1943093080"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1832872188"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="401951245"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1837637847"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1863444069"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1605966213"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Undertaker has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="25,24,23,22,21,20,19"
			y="20,19,20,20,20,20,21"
		[/move]
	[/command]
	[command]
		[move]
			x="20,21,22,23,24,25,26"
			y="20,20,19,20,19,20,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jnew has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="machine has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="23,24,24"
			y="19,18,17"
		[/move]
	[/command]
	[command]
		[move]
			x="21,22,23,24,25,26,27"
			y="20,19,20,19,20,19,20"
		[/move]
	[/command]
	[command]
		[recruit]
			value="0"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="1802962819"
		[/random]
		[random]
			value="1319054169"
		[/random]
		[random]
			value="1474356170"
		[/random]
		[random]
			value="1135183359"
		[/random]
		[random]
			value="1888827048"
		[/random]
		[random]
			value="1403737744"
		[/random]
		[random]
			value="1717058426"
		[/random]
		[random]
			value="1136764052"
		[/random]
		[random]
			value="418855080"
		[/random]
		[random]
			value="1034656642"
		[/random]
		[random]
			value="1060385277"
		[/random]
		[random]
			value="1636050227"
		[/random]
		[random]
			value="772509272"
		[/random]
		[random]
			value="641213731"
		[/random]
		[random]
			value="1350359148"
			[results]
				checksum="DB6s-,zQn1M2yKRrtl,yvEJs-TqLAH7qSCNCNSvmIJ>KNGxwmIQwSVVvQLyBGFwuCzBR9PMVRCroPzMEKTmSKvvPnFtw-JnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8FA"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="fly has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="269000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,19,19,19,19,18"
			y="9,9,8,7,6,5,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Semmi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,9,10,11,11"
			y="5,6,6,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="8"
			[/source]
			[destination]
				x="12"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="1425"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="14377"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="10231"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="28393"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="17072"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,12"
			y="5,5,6,6,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="12"
				y="7"
			[/source]
			[destination]
				x="12"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="10372"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="32091"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="30494"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="638"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="8432"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="3482"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="12475"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="9"
			[/source]
			[destination]
				x="12"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="16811"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="22970"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="32218"
			[results]
				chance="60"
				damage="3"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,12,13,13,13"
			y="5,6,7,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="13"
				y="9"
			[/source]
			[destination]
				x="12"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="25442"
			[results]
				chance="70"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="28233"
			[results]
				chance="70"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="27509"
			[results]
				chance="70"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,27,26,25,24"
			y="6,7,7,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,27,27,27"
			y="6,7,8,9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,27,27,27,28"
			y="5,6,7,8,9,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="luison has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Topf has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,28,28,27"
			y="5,6,7,8,9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="32,31,30"
			y="14,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="30,29,28,27"
			y="15,16,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="22159"
		[/random]
		[random]
			value="5097"
		[/random]
		[random]
			value="2300"
		[/random]
		[random]
			value="6858"
		[/random]
		[random]
			value="26879"
		[/random]
		[random]
			value="12147"
		[/random]
		[random]
			value="21768"
		[/random]
		[random]
			value="5354"
		[/random]
		[random]
			value="12564"
		[/random]
		[random]
			value="16404"
		[/random]
		[random]
			value="17357"
		[/random]
		[random]
			value="21734"
		[/random]
		[random]
			value="380"
		[/random]
		[random]
			value="32267"
		[/random]
		[random]
			value="23451"
			[results]
				checksum="15,Wfc>cu2lH0olW9-5N-m<e6f60hfabkcij<4>i3h3e2.t0a1f<j870h0k565.Y0>ide2Ki80k.d8da021n<.26Z+40CN5c8b.-X,48K.7v3k3XdJFikGNQwGMoVOFH"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="280000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="12,13"
			y="9,10"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="13"
				y="10"
			[/source]
			[destination]
				x="13"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="234529265"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1875359369"
			[results]
				chance="80"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1284167312"
			[results]
				chance="60"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="10,10,11,12,12"
			y="9,10,11,10,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="9"
			[/source]
			[destination]
				x="13"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="680178367"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="251550298"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2076335368"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2143821699"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1636928028"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="10,10"
			y="8,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="10"
				y="9"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1699801019"
			[results]
				chance="30"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="167427616"
			[results]
				chance="30"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="11,11"
			y="10,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="11"
				y="9"
			[/source]
			[destination]
				x="11"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="95641226"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2118187095"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1433446518"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="or has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="21,22,23,24,25,26,27"
			y="20,19,19,18,18,17,17"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="27"
				y="17"
			[/source]
			[destination]
				x="27"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="822768887"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2137379938"
			[results]
				chance="60"
				damage="12"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1940226161"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2145568002"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="521881608"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="27,27,27,28,28"
			y="20,19,18,17,16"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="28"
				y="16"
			[/source]
			[destination]
				x="27"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="481453232"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2080222381"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1285617988"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="104645064"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="714995414"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="24,25,25,26"
			y="17,17,16,15"
		[/move]
	[/command]
	[command]
		[move]
			x="26,26,26,26"
			y="19,18,17,16"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="26"
				y="16"
			[/source]
			[destination]
				x="27"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="1681558404"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="746199927"
			[results]
				chance="60"
				damage="12"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1478452307"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1457526396"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="788434432"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="26"
				y="15"
			[/source]
			[destination]
				x="27"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="1793715467"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="421153086"
			[results]
				chance="80"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="105496829"
			[results]
				chance="60"
				damage="8"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="0"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="274400116"
		[/random]
		[random]
			value="447093985"
		[/random]
		[random]
			value="1980801688"
		[/random]
		[random]
			value="1450523587"
		[/random]
		[random]
			value="1583023618"
		[/random]
		[random]
			value="1105017246"
		[/random]
		[random]
			value="1729641134"
		[/random]
		[random]
			value="992481778"
		[/random]
		[random]
			value="2130931525"
		[/random]
		[random]
			value="551391217"
		[/random]
		[random]
			value="2040675623"
		[/random]
		[random]
			value="825875918"
		[/random]
		[random]
			value="656888046"
		[/random]
		[random]
			value="1480502979"
		[/random]
		[random]
			value="940626381"
			[results]
				checksum="lxj+sAh20PB1VmsQ56tLoxMPdOFGJz.MMAvVvoQO,ECJMwDzBrzrTwAoECqSJHEvSS3IzTALqvFArEKTmSKvvPnFtw-InBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8FA25"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="19,20,21,22,23,24,24"
			y="21,20,20,19,19,18,17"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,14"
			y="9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="14"
				y="9"
			[/source]
			[destination]
				x="13"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="20813"
			[results]
				chance="70"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="28985"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="23068"
			[results]
				chance="70"
				damage="8"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="sidzej has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Buri has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27,27,27,28"
			y="10,9,8,7,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="bluepierrot has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,26,25,24,23"
			y="11,10,10,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Hector has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,27,27,26,26,25"
			y="10,10,9,8,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,13,12"
			y="5,5,6,6,7,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="29454"
		[/random]
		[random]
			value="30015"
		[/random]
		[random]
			value="8923"
		[/random]
		[random]
			value="27754"
		[/random]
		[random]
			value="3014"
		[/random]
		[random]
			value="8205"
		[/random]
		[random]
			value="6358"
		[/random]
		[random]
			value="10130"
		[/random]
		[random]
			value="585"
		[/random]
		[random]
			value="18129"
		[/random]
		[random]
			value="32481"
		[/random]
		[random]
			value="31398"
		[/random]
		[random]
			value="15524"
		[/random]
		[random]
			value="13109"
		[/random]
		[random]
			value="17553"
			[results]
				checksum=",Ad3Y5f-Gtmsop5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLoM8mwoFomIhFlq1.CLB<<ddNv5EsLNHBNzhOI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15,14,13,13"
			y="4,5,5,6,6,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="saboor has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="8"
			[/source]
			[destination]
				x="12"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="21167"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="20701"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="7884"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="21644"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="22071"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="21063"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="20461"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="etrof has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="or has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,13,13"
			y="7,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="13"
				y="9"
			[/source]
			[destination]
				x="12"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="17924"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="11281"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2275"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="7233"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="18666"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="11556"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="245000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="10,11,12,13,14"
			y="9,10,10,11,10"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="14"
				y="10"
			[/source]
			[destination]
				x="14"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="631901879"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="342500223"
			[results]
				chance="30"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1007086892"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="9"
			[/source]
			[destination]
				x="13"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1608360771"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1797321623"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1546750170"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="994127363"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1102501977"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="11"
				y="9"
			[/source]
			[destination]
				x="11"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="1546480403"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="760131687"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2014518078"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="28,27"
			y="16,16"
		[/move]
	[/command]
	[command]
		[move]
			x="27,28,29,29,30"
			y="17,17,18,19,19"
		[/move]
	[/command]
	[command]
		[move]
			x="26,26,26,26"
			y="16,17,18,19"
		[/move]
	[/command]
	[command]
		[move]
			x="24,24,23,22,21,20,19"
			y="17,18,19,19,20,20,21"
		[/move]
	[/command]
	[command]
		[move]
			x="21,20,19,18,17,16,16,15"
			y="20,19,19,18,18,17,16,16"
		[/move]
	[/command]
	[command]
		[recruit]
			value="4"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="485923118"
		[/random]
		[random]
			value="869227502"
		[/random]
		[random]
			value="162880145"
		[/random]
		[random]
			value="164747539"
		[/random]
		[random]
			value="2010427673"
		[/random]
		[random]
			value="2103084367"
		[/random]
		[random]
			value="879009371"
		[/random]
		[random]
			value="611954451"
		[/random]
		[random]
			value="726080842"
		[/random]
		[random]
			value="410622000"
		[/random]
		[random]
			value="308641269"
		[/random]
		[random]
			value="1110622247"
		[/random]
		[random]
			value="1174319533"
		[/random]
		[random]
			value="1322359688"
		[/random]
		[random]
			value="676997033"
			[results]
				checksum="jup,4nc1oNO1LLyKmJLIEhoF>vyBA6mszOAMDTywuzyODCrTtRLwFwmIsr1QENmxPFHFw.RFKFnqypNLtM8mwoFomIhFlq1.CLW<<ddBfkHDONNHvHQO1I9LGCHpACmL"
			[/results]
		[/random]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="greti0 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10"
			y="8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="10"
				y="8"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="27850"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="4039"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="14199"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="24688"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="26956"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="8"
			[/source]
			[destination]
				x="12"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="28780"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="13860"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1677"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="13870"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="9315"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="4505"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="11028"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="uuu has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="13"
				y="9"
			[/source]
			[destination]
				x="12"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="26680"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="3297"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="16918"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="14645"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="23047"
			[results]
				chance="70"
				damage="7"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,12,11"
			y="5,5,6,6,7,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="8"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="10560"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="13181"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="31706"
			[results]
				chance="40"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="105"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="30349"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,13,12"
			y="9,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="12"
				y="9"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="28995"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="15999"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="10628"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="28568"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="29774"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,13,14,15,16,17,18"
			y="8,7,6,6,5,5,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="TheChosenOne has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="2"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="28398"
		[/random]
		[random]
			value="28151"
		[/random]
		[random]
			value="16733"
		[/random]
		[random]
			value="19929"
		[/random]
		[random]
			value="27591"
		[/random]
		[random]
			value="390"
		[/random]
		[random]
			value="1187"
		[/random]
		[random]
			value="13683"
		[/random]
		[random]
			value="7932"
		[/random]
		[random]
			value="12072"
		[/random]
		[random]
			value="5694"
		[/random]
		[random]
			value="24666"
		[/random]
		[random]
			value="29024"
		[/random]
		[random]
			value="26606"
		[/random]
		[random]
			value="24657"
			[results]
				checksum="RVQsCRORlSP,DLsxDMMfFuzJRDJCyOyPpHMVsOIMzEOKRzPuHEfJqwNzzmyJIhVwVwSxvLzMAS8wEVRB+JCszfJzd4jC+rc<MF13amk4yil5K7b35>-yp,-88,eyb6ac"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Thrasymachus has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,22,21,20,19,18"
			y="9,8,8,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="251000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="14,14"
			y="10,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="14"
				y="9"
			[/source]
			[destination]
				x="13"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1221599953"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="733954005"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1591449495"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2065364380"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1662786689"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1201222437"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2143019666"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="9"
			[/source]
			[destination]
				x="12"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="486730935"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1258655723"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1616925656"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="15,14,13,12,12,12,12,12"
			y="16,15,15,14,13,12,11,10"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="12"
				y="10"
			[/source]
			[destination]
				x="12"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="337968390"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1645156960"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="47315136"
			[results]
				chance="60"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="19,18,17,17,16,15"
			y="20,19,19,18,17,17"
		[/move]
	[/command]
	[command]
		[recruit]
			value="1"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="87684591"
		[/random]
		[random]
			value="674907851"
		[/random]
		[random]
			value="2084572587"
		[/random]
		[random]
			value="535673856"
		[/random]
		[random]
			value="1938550218"
		[/random]
		[random]
			value="443559561"
		[/random]
		[random]
			value="1187129887"
		[/random]
		[random]
			value="1341671156"
		[/random]
		[random]
			value="997345319"
		[/random]
		[random]
			value="650958163"
		[/random]
		[random]
			value="1603961897"
		[/random]
		[random]
			value="1936414603"
		[/random]
		[random]
			value="920876702"
		[/random]
		[random]
			value="834350687"
		[/random]
		[random]
			value="1493432696"
			[results]
				checksum="ACIByNSVYmLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9zumVnpCouMKPBb5OJGPbmz3o>.fjcflW4p97m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="OverLine has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,27,27"
			y="16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="NagyLevente has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,27"
			y="14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Opticon has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,27,27,27"
			y="13,14,15,16"
		[/move]
	[/command]
	[command]
		[move]
			x="26,27,28,29,30"
			y="15,15,14,14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mehos has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Chronometer has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10"
			y="8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="10"
				y="9"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="16550"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="8594"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="28446"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="15540"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25278"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,12"
			y="8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,13,12"
			y="5,5,6,6,7,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="8"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="32749"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="14639"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="17326"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="838"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="24202"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="18681"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="twice has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Goran has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="8"
			[/source]
			[destination]
				x="11"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="19538"
			[results]
				chance="40"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="10677"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="22444"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="19868"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="313"
			[results]
				chance="40"
				damage="8"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,12,11"
			y="9,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="9"
			[/source]
			[destination]
				x="12"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="15500"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="9725"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="17315"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="31967"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="15240"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="artase has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Xtreme has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="280000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ryshad has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="sentry has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="12"
				y="10"
			[/source]
			[destination]
				x="12"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="680537066"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1153247731"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="286503690"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="56520621"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="14,13"
			y="9,10"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="13"
				y="10"
			[/source]
			[destination]
				x="12"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="664974299"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1080466228"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1924371371"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="3858130"
			[results]
				chance="60"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dead_divinity has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="15,14,13,12,11,11"
			y="17,16,16,15,15,14"
		[/move]
	[/command]
	[command]
		[move]
			x="19,18,17,17,16,15"
			y="20,19,19,18,17,17"
		[/move]
	[/command]
	[command]
		[recruit]
			value="1"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="874044857"
		[/random]
		[random]
			value="2035162154"
		[/random]
		[random]
			value="1761579672"
		[/random]
		[random]
			value="1492185079"
		[/random]
		[random]
			value="641939141"
		[/random]
		[random]
			value="521395746"
		[/random]
		[random]
			value="2114183431"
		[/random]
		[random]
			value="1576936137"
		[/random]
		[random]
			value="662304747"
		[/random]
		[random]
			value="791538561"
		[/random]
		[random]
			value="1238240337"
		[/random]
		[random]
			value="1468387704"
		[/random]
		[random]
			value="174359448"
		[/random]
		[random]
			value="1134173762"
		[/random]
		[random]
			value="1651962377"
			[results]
				checksum="ACIByNSVYrLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9CumVnpCouMKPBb5TJGPbmz3o>.fjcflW4p97m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="EBOLA has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="19,18,18,18,17,17,16"
			y="21,20,19,18,18,17,16"
		[/move]
	[/command]
	[command]
		[move]
			x="26,26,26,26,25,25,24"
			y="19,18,17,16,16,15,14"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27,27,26"
			y="16,15,14,13"
		[/move]
	[/command]
	[command]
		[move]
			x="26,25"
			y="13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Elf_Mage has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="30,29,29,28,28,27"
			y="19,19,18,17,16,16"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,11,11"
			y="8,9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="10"
			[/source]
			[destination]
				x="12"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="4892"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="12399"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="31094"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="8076"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="31324"
			[results]
				chance="60"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="joueur has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,12"
			y="8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="9"
			[/source]
			[destination]
				x="13"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="10049"
			[results]
				chance="60"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="24261"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="32136"
			[results]
				chance="60"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="rytdog has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,11,11,11,11,12"
			y="9,9,8,7,6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ian has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="3"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="30841"
		[/random]
		[random]
			value="11832"
		[/random]
		[random]
			value="13795"
		[/random]
		[random]
			value="11421"
		[/random]
		[random]
			value="17904"
		[/random]
		[random]
			value="19810"
		[/random]
		[random]
			value="6399"
		[/random]
		[random]
			value="15291"
		[/random]
		[random]
			value="123"
		[/random]
		[random]
			value="12877"
		[/random]
		[random]
			value="18389"
		[/random]
		[random]
			value="17590"
		[/random]
		[random]
			value="6744"
		[/random]
		[random]
			value="26261"
		[/random]
		[random]
			value="17567"
			[results]
				checksum="eKEMoMsJ2Sm2IxNK-ruIvyJD8uFQquOORqLQAKsDuHBwnqvBFyQvVsL8qHTmQQNRqrWuTuTxDUFLDPxfDLuyOcqNHBnCR5lyBlS<1Ip648,gYgdg-Lb7,b2<2j8d,4eh"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="MARTIN has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Leon has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,24"
			y="7,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="315000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="saboor has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,27,27,27"
			y="16,15,14,13"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27"
			y="13,12"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27"
			y="12,11"
		[/move]
	[/command]
	[command]
		[move]
			x="30,30,31,32,33"
			y="13,12,12,11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Night_wolf has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="25,26,27,28,29,30"
			y="13,13,13,13,13,13"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27,27"
			y="11,12,13"
		[/move]
	[/command]
	[command]
		[move]
			x="24,25,25"
			y="14,14,13"
		[/move]
	[/command]
	[command]
		[move]
			x="11,11,12,13,13,14"
			y="14,15,15,16,17,17"
		[/move]
	[/command]
	[command]
		[move]
			x="15,14,13,12"
			y="17,17,18,18"
		[/move]
	[/command]
	[command]
		[move]
			x="19,18,17,17,16,15,15"
			y="20,19,19,18,17,17,16"
		[/move]
	[/command]
	[command]
		[move]
			x="16,17,18,18,19,19,20"
			y="16,17,17,18,19,20,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zajop has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="308000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="xenom has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11"
			y="10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11"
			y="11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10,9,8"
			y="9,8,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Shai-tan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="elf20 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11,11"
			y="12,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,11,10,9,8"
			y="9,9,9,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,18,18"
			y="9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="shadow-warrior has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,18,18"
			y="11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23,24,25"
			y="4,4,3,4,3,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="5"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="7530"
		[/random]
		[random]
			value="4020"
		[/random]
		[random]
			value="611"
		[/random]
		[random]
			value="20132"
		[/random]
		[random]
			value="14887"
		[/random]
		[random]
			value="3895"
		[/random]
		[random]
			value="28650"
		[/random]
		[random]
			value="31258"
		[/random]
		[random]
			value="13022"
		[/random]
		[random]
			value="11783"
		[/random]
		[random]
			value="2529"
		[/random]
		[random]
			value="5444"
		[/random]
		[random]
			value="16760"
		[/random]
		[random]
			value="4149"
		[/random]
		[random]
			value="11939"
			[results]
				checksum="iCp,4nc1oNO<LLyKmJLIEhoF>vyBA6mszOAMDTywuzyODCrTtRLwFwmIsr1QENmxPFHFw.RFKFnqypNKBM8mwoFomIhFlq1.CL-<<ddBfkHDONNHvHQO1I9LGCHpACmL"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,24,24"
			y="6,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ArchX has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mcsasik has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Xtreme has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,26,26,27"
			y="7,8,8,9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,24,25"
			y="8,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,25"
			y="7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="301000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="27,27,27,27"
			y="13,14,15,16"
		[/move]
	[/command]
	[command]
		[move]
			x="25,25,24"
			y="13,14,14"
		[/move]
	[/command]
	[command]
		[move]
			x="15,14,13"
			y="16,15,15"
		[/move]
	[/command]
	[command]
		[move]
			x="13,14,15"
			y="15,15,16"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,21,21,22,23,24"
			y="4,5,6,7,7,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="4"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="25380"
		[/random]
		[random]
			value="5531"
		[/random]
		[random]
			value="13231"
		[/random]
		[random]
			value="6395"
		[/random]
		[random]
			value="19113"
		[/random]
		[random]
			value="28763"
		[/random]
		[random]
			value="28864"
		[/random]
		[random]
			value="30228"
		[/random]
		[random]
			value="450"
		[/random]
		[random]
			value="15913"
		[/random]
		[random]
			value="4941"
		[/random]
		[random]
			value="15047"
		[/random]
		[random]
			value="15832"
		[/random]
		[random]
			value="15768"
		[/random]
		[random]
			value="812"
			[results]
				checksum="rhRteuCm>Im>OtyS+7ckzAuBMm0+Z8dI9a<pk8651Wl8Z5w.cldpBX>77bllckl2Y+5>aaii6<8+zkljb2ifil7.WgZ2.h<5-XxS+j>k2403-o4TA9v1-xH1iTk+fY8Y"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="saboor has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11"
			y="9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11"
			y="11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11,11"
			y="12,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,11,11,10,10,9"
			y="5,6,7,7,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,7"
			y="10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="milan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,27,26,25"
			y="5,6,6,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,26,27,28"
			y="4,4,5,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27"
			y="10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="303000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="30,30"
			y="13,14"
		[/move]
	[/command]
	[command]
		[move]
			x="30,30"
			y="14,15"
		[/move]
	[/command]
	[command]
		[move]
			x="30,30"
			y="15,16"
		[/move]
	[/command]
	[command]
		[move]
			x="12,11,10"
			y="18,18,17"
		[/move]
	[/command]
	[command]
		[move]
			x="10,9"
			y="17,17"
		[/move]
	[/command]
	[command]
		[move]
			x="9,9,9"
			y="17,18,19"
		[/move]
	[/command]
	[command]
		[move]
			x="15,14,13"
			y="16,15,15"
		[/move]
	[/command]
	[command]
		[move]
			x="13,14,15"
			y="15,15,16"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,21,21,22,23,24"
			y="4,5,6,7,7,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,26"
			y="8,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="27617"
		[/random]
		[random]
			value="11280"
		[/random]
		[random]
			value="15651"
		[/random]
		[random]
			value="14772"
		[/random]
		[random]
			value="1679"
		[/random]
		[random]
			value="8841"
		[/random]
		[random]
			value="10350"
		[/random]
		[random]
			value="9462"
		[/random]
		[random]
			value="29098"
		[/random]
		[random]
			value="15832"
		[/random]
		[random]
			value="5854"
		[/random]
		[random]
			value="5578"
		[/random]
		[random]
			value="29437"
		[/random]
		[random]
			value="9645"
		[/random]
		[random]
			value="26167"
			[results]
				checksum=",Ad3Y5f-Gtmspp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLpM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzkOI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="yanchixia has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28,28,28,28"
			y="5,6,7,8,9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,18,18"
			y="9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,18,18"
			y="11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11"
			y="9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11"
			y="11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11,11"
			y="12,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="9,9,8"
			y="9,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="284000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Foggie has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="20,19"
			y="20,21"
		[/move]
	[/command]
	[command]
		[recruit]
			value="4"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="678894893"
		[/random]
		[random]
			value="363001684"
		[/random]
		[random]
			value="1257382364"
		[/random]
		[random]
			value="308001503"
		[/random]
		[random]
			value="1881033491"
		[/random]
		[random]
			value="308720303"
		[/random]
		[random]
			value="149568547"
		[/random]
		[random]
			value="2089813570"
		[/random]
		[random]
			value="1416243476"
		[/random]
		[random]
			value="800401684"
		[/random]
		[random]
			value="874661210"
		[/random]
		[random]
			value="11081551"
		[/random]
		[random]
			value="166966517"
		[/random]
		[random]
			value="1830494699"
		[/random]
		[random]
			value="1203153112"
			[results]
				checksum="-n9zN+-Dy+EeNQrPbGMNQXtz0Ipzwss1tysRRKOwxuoVBywHrwxEqutHtKzE>BNMxHQOHFw.RFKFnqypNKBM8mwoFomIhFlq1.CL-<<ddBfkHDONNHvHQO1I9LGCHpAC"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="3"
			x="20"
			y="21"
		[/recruit]
		[random]
			value="1515756790"
		[/random]
		[random]
			value="1375555154"
		[/random]
		[random]
			value="18751249"
		[/random]
		[random]
			value="155583702"
		[/random]
		[random]
			value="1693740810"
		[/random]
		[random]
			value="697646142"
		[/random]
		[random]
			value="518585386"
		[/random]
		[random]
			value="803639526"
		[/random]
		[random]
			value="1005647646"
		[/random]
		[random]
			value="252135229"
		[/random]
		[random]
			value="1112359829"
		[/random]
		[random]
			value="1155216193"
		[/random]
		[random]
			value="194465151"
		[/random]
		[random]
			value="381119657"
		[/random]
		[random]
			value="1955617877"
			[results]
				checksum="rQV6GBwD,UJ+7fLAQJ+xOoaC2U6DfS5lmb>+9w26zYBFaluj9yjnQ1omih>hik67n,e0IoZ07o9kcp0Ad568,m9n<X,+m,08797o60sxBFgnWEzrk-i.-tciji+H>s4C"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="4"
			x="20"
			y="20"
		[/recruit]
		[random]
			value="158242679"
		[/random]
		[random]
			value="1080539327"
		[/random]
		[random]
			value="423035244"
		[/random]
		[random]
			value="676828065"
		[/random]
		[random]
			value="1884178853"
		[/random]
		[random]
			value="1428682890"
		[/random]
		[random]
			value="928963294"
		[/random]
		[random]
			value="849055034"
		[/random]
		[random]
			value="436415435"
		[/random]
		[random]
			value="1123428445"
		[/random]
		[random]
			value="1230174692"
		[/random]
		[random]
			value="244549665"
		[/random]
		[random]
			value="45071159"
		[/random]
		[random]
			value="1622375901"
		[/random]
		[random]
			value="219650411"
			[results]
				checksum="-n9zN+-Dy+EeNQrPbGMNQXtz0Ipzwss1tysRRKOwxuoVBywHrwxEqutHtKzE>BNMxHQOHFw.RFKFnqypNKBM8mwoFomIhFlq1.CL-<<ddBfkHDONNHvHQO1I9LGCHpAC"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ROMULUS has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="15,14,13"
			y="16,15,15"
		[/move]
	[/command]
	[command]
		[move]
			x="13,14,15"
			y="15,15,16"
		[/move]
	[/command]
	[command]
		[move]
			x="9,10"
			y="19,19"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="nemo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,13,13"
			y="5,5,6,6,7,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="20673"
		[/random]
		[random]
			value="21280"
		[/random]
		[random]
			value="17811"
		[/random]
		[random]
			value="27507"
		[/random]
		[random]
			value="1107"
		[/random]
		[random]
			value="21414"
		[/random]
		[random]
			value="11147"
		[/random]
		[random]
			value="22326"
		[/random]
		[random]
			value="27477"
		[/random]
		[random]
			value="5639"
		[/random]
		[random]
			value="7026"
		[/random]
		[random]
			value="2711"
		[/random]
		[random]
			value="20262"
		[/random]
		[random]
			value="23282"
		[/random]
		[random]
			value="15571"
			[results]
				checksum=",Ad3Y5f-Gtmspp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLpM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzkOI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,26,26,27"
			y="8,8,9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="26,27,28"
			y="7,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,29,30,31"
			y="8,9,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="25,26,27,28,29"
			y="7,7,8,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="DarkHorse has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,26,27,28"
			y="7,8,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11"
			y="9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Dracmore has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11"
			y="11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="mich has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="headbob has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11,11"
			y="12,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="7,7"
			y="11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="tsr has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,8"
			y="10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,8,7,7"
			y="8,9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="252000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="fermiore has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="20,21,22,23,24,25,26"
			y="20,20,19,19,19,19,19"
		[/move]
	[/command]
	[command]
		[move]
			x="21,22,23,24,25,26,27"
			y="20,19,19,19,19,19,19"
		[/move]
	[/command]
	[command]
		[move]
			x="20,20,21,22,23,24,24"
			y="21,20,20,19,19,18,17"
		[/move]
	[/command]
	[command]
		[recruit]
			value="1"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="1855780709"
		[/random]
		[random]
			value="1596919680"
		[/random]
		[random]
			value="843663974"
		[/random]
		[random]
			value="1527688005"
		[/random]
		[random]
			value="1384399720"
		[/random]
		[random]
			value="1976187805"
		[/random]
		[random]
			value="19730772"
		[/random]
		[random]
			value="468553799"
		[/random]
		[random]
			value="1301991343"
		[/random]
		[random]
			value="1586414750"
		[/random]
		[random]
			value="22879589"
		[/random]
		[random]
			value="719734114"
		[/random]
		[random]
			value="898429288"
		[/random]
		[random]
			value="1276910609"
		[/random]
		[random]
			value="618712371"
			[results]
				checksum="ACIByNSVYyLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9vumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="1"
			x="20"
			y="20"
		[/recruit]
		[random]
			value="549045884"
		[/random]
		[random]
			value="1001889452"
		[/random]
		[random]
			value="509516547"
		[/random]
		[random]
			value="1392709858"
		[/random]
		[random]
			value="382093809"
		[/random]
		[random]
			value="1893916267"
		[/random]
		[random]
			value="1221414015"
		[/random]
		[random]
			value="401824582"
		[/random]
		[random]
			value="214986418"
		[/random]
		[random]
			value="375921710"
		[/random]
		[random]
			value="1988239332"
		[/random]
		[random]
			value="237866007"
		[/random]
		[random]
			value="1095655825"
		[/random]
		[random]
			value="739184972"
		[/random]
		[random]
			value="1514776616"
			[results]
				checksum="ACIByNSVYmLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9zumVnpCouMKPBb5OJGPbmz3o>.fjcflW4p97m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="1"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="594481183"
		[/random]
		[random]
			value="1551205427"
		[/random]
		[random]
			value="1328864618"
		[/random]
		[random]
			value="976574993"
		[/random]
		[random]
			value="1297638046"
		[/random]
		[random]
			value="402794986"
		[/random]
		[random]
			value="1378399575"
		[/random]
		[random]
			value="1512624465"
		[/random]
		[random]
			value="778716696"
		[/random]
		[random]
			value="1219155259"
		[/random]
		[random]
			value="1750490472"
		[/random]
		[random]
			value="1874372521"
		[/random]
		[random]
			value="1958340231"
		[/random]
		[random]
			value="1117783441"
		[/random]
		[random]
			value="1441257070"
			[results]
				checksum="ACIByNSVYoLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9BumVnpCouMKPBb5TJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="JK2K2G has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="19,20,21,21,22"
			y="21,20,20,19,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mr_Burnham has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="30,30"
			y="16,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Dracmore has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="24,24,24"
			y="14,15,16"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27"
			y="16,17"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27"
			y="17,18"
		[/move]
	[/command]
	[command]
		[move]
			x="22,23"
			y="18,19"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Chocolate_Milk has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="killer123 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,13,12"
			y="5,5,6,6,7,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11"
			y="9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11"
			y="11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,12,11,10,9,8"
			y="9,9,9,9,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10"
			y="12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,9"
			y="12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Hedgehog has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="9,10"
			y="13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="7,7,7,7,7"
			y="12,13,14,15,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Xtreme has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Memorick has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="7,6,6,6,6"
			y="11,11,12,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,8,8,8,9"
			y="11,12,13,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27"
			y="11,12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27"
			y="13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="169000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="23,22,21,20,19"
			y="19,19,20,20,21"
		[/move]
	[/command]
	[command]
		[move]
			x="26,26"
			y="19,20"
		[/move]
	[/command]
	[command]
		[move]
			x="26,26"
			y="20,21"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27,27,27"
			y="19,20,21,22"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="invincible has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dawfaf has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="15,14"
			y="16,15"
		[/move]
	[/command]
	[command]
		[move]
			x="14,13"
			y="15,15"
		[/move]
	[/command]
	[command]
		[move]
			x="13,13,13,12,12"
			y="15,16,17,17,18"
		[/move]
	[/command]
	[command]
		[move]
			x="14,14,13"
			y="17,18,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="19,18,17,16,15,14"
			y="20,19,19,18,18,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="MoNaxak47 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="20,21,22,23,24,25"
			y="20,20,19,19,18,18"
		[/move]
	[/command]
	[command]
		[move]
			x="21,22,23,24,25,26"
			y="20,19,19,18,18,17"
		[/move]
	[/command]
	[command]
		[move]
			x="19,18,18"
			y="21,20,19"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="310000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dawfaf has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Poteha has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="4"
			x="17"
			y="5"
		[/recruit]
		[random]
			value="30152"
		[/random]
		[random]
			value="13209"
		[/random]
		[random]
			value="18709"
		[/random]
		[random]
			value="14145"
		[/random]
		[random]
			value="20111"
		[/random]
		[random]
			value="23076"
		[/random]
		[random]
			value="7709"
		[/random]
		[random]
			value="19575"
		[/random]
		[random]
			value="1864"
		[/random]
		[random]
			value="10021"
		[/random]
		[random]
			value="12493"
		[/random]
		[random]
			value="2445"
		[/random]
		[random]
			value="18904"
		[/random]
		[random]
			value="26183"
		[/random]
		[random]
			value="568"
			[results]
				checksum="KcwfALHM1AKcptV75qVBLNNDjB+ho.t0,fnp91.7>Yl1cF7<01e5yd,9+0e3j4jcb6cifadb1-67Jf37b2ifil7.WgZ2.h<5-XxS+j>k2403-o4TA9v9PQDp80F<<110"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,9,9,9,10,10"
			y="10,11,12,13,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,11,11,11,11,11,11"
			y="8,9,10,11,12,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="acracio has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="6,7,8,9"
			y="14,14,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,11"
			y="13,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="7,8,9,10,10"
			y="16,15,15,14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27"
			y="11,12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="franzi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,27,27"
			y="13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28"
			y="10,11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,29"
			y="12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Numeron has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="31,31,32"
			y="9,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="luna has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,30,31,31,31,32,33"
			y="9,9,10,11,12,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="33"
				y="12"
			[/source]
			[destination]
				x="33"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="9839"
			[results]
				chance="70"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25496"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="19030"
			[results]
				chance="70"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,29,30,31,32"
			y="9,10,10,11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="32"
				y="11"
			[/source]
			[destination]
				x="33"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="14013"
			[results]
				chance="70"
				damage="13"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="3309"
			[results]
				chance="70"
				damage="13"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		undo="no"
		[speak]
			id="Various"
			message="fucker :P"
			side="2"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="CZ_Robovize has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ray has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,28"
			y="10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="122000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="18,19,20"
			y="19,20,20"
		[/move]
	[/command]
	[command]
		[recruit]
			value="1"
			x="18"
			y="20"
		[/recruit]
		[random]
			value="1788685352"
		[/random]
		[random]
			value="1047890549"
		[/random]
		[random]
			value="1353057480"
		[/random]
		[random]
			value="1979505635"
		[/random]
		[random]
			value="1920117197"
		[/random]
		[random]
			value="242587548"
		[/random]
		[random]
			value="683173389"
		[/random]
		[random]
			value="1571962518"
		[/random]
		[random]
			value="1845975586"
		[/random]
		[random]
			value="425166629"
		[/random]
		[random]
			value="1505344055"
		[/random]
		[random]
			value="2051296364"
		[/random]
		[random]
			value="1252615995"
		[/random]
		[random]
			value="1680869978"
		[/random]
		[random]
			value="1858497685"
			[results]
				checksum="ACIByNSVYoLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9BumVnpCouMKPBb5TJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="1"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="1101286771"
		[/random]
		[random]
			value="848721219"
		[/random]
		[random]
			value="1737483259"
		[/random]
		[random]
			value="459147178"
		[/random]
		[random]
			value="752533935"
		[/random]
		[random]
			value="842615606"
		[/random]
		[random]
			value="2140017156"
		[/random]
		[random]
			value="463547973"
		[/random]
		[random]
			value="1892103152"
		[/random]
		[random]
			value="2028760934"
		[/random]
		[random]
			value="805586959"
		[/random]
		[random]
			value="1673605753"
		[/random]
		[random]
			value="908220444"
		[/random]
		[random]
			value="1241267194"
		[/random]
		[random]
			value="614352741"
			[results]
				checksum="ACIByNSVYrLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9CumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="aramaki has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="20,19,18,17,16"
			y="20,21,20,20,19"
		[/move]
	[/command]
	[command]
		[move]
			x="13,14"
			y="19,19"
		[/move]
	[/command]
	[command]
		[move]
			x="27,28,29,30,31"
			y="18,17,18,18,18"
		[/move]
	[/command]
	[command]
		[move]
			x="26,27"
			y="17,18"
		[/move]
	[/command]
	[command]
		[move]
			x="27,27"
			y="18,19"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,13,13,12,12,11"
			y="5,5,6,6,7,8,9,9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="KalenzZ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,30,31,32,32,33"
			y="13,12,12,12,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Shiolma has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28"
			y="10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,29,30,31"
			y="11,12,12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,28,28,29"
			y="11,11,12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="32,32,32"
			y="10,11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="32,33,34"
			y="12,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="90000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="27,27,27,26"
			y="22,21,20,19"
		[/move]
	[/command]
	[command]
		[move]
			x="26,26,26,25"
			y="21,20,19,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Pudels_Kern has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="14,13,12,11,10,9"
			y="17,18,18,19,19,20"
		[/move]
	[/command]
	[command]
		[move]
			x="18,17,16,15,14,14"
			y="20,20,19,19,18,17"
		[/move]
	[/command]
	[command]
		[move]
			x="19,18,17,17,16,16,15"
			y="20,19,19,18,17,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Kamnik1 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="12,12,12,12"
			y="18,17,16,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="12"
				y="15"
			[/source]
			[destination]
				x="11"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1282527767"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1607177117"
			[results]
				chance="30"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1714474720"
			[results]
				chance="30"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="10,10,10,10,11"
			y="19,18,17,16,16"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="11"
				y="16"
			[/source]
			[destination]
				x="11"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1509452435"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1116966446"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1845216132"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="16,15,14,13,12"
			y="19,19,18,18,18"
		[/move]
	[/command]
	[command]
		[move]
			x="14,14,13"
			y="19,18,18"
		[/move]
	[/command]
	[command]
		[move]
			x="24,25,26,27,28,28,29"
			y="17,17,16,16,15,14,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="14"
			[/source]
			[destination]
				x="29"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="399626847"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="54139115"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="31,32,33,34,34,34,34"
			y="18,18,18,17,16,15,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="34"
				y="14"
			[/source]
			[destination]
				x="34"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="905653881"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="123235761"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1695840505"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1895768838"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="30,30,30,30,30"
			y="17,16,15,14,13"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="30"
				y="13"
			[/source]
			[destination]
				x="29"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="1159696475"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="980048432"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="736463612"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1001641747"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="24,25,25,25,25"
			y="16,16,15,14,13"
		[/move]
	[/command]
	[command]
		[move]
			x="25,25,26,27,27,27"
			y="18,17,16,16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="lulu has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,28,29,29,30"
			y="19,18,18,17,16"
		[/move]
	[/command]
	[command]
		[move]
			x="26,26,26,27"
			y="19,18,17,17"
		[/move]
	[/command]
	[command]
		[move]
			x="25,25,25,26"
			y="19,18,17,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Jerea has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="yanchixia has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="285000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Laniidae has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="2"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="30299"
		[/random]
		[random]
			value="17479"
		[/random]
		[random]
			value="25325"
		[/random]
		[random]
			value="15597"
		[/random]
		[random]
			value="24454"
		[/random]
		[random]
			value="11933"
		[/random]
		[random]
			value="677"
		[/random]
		[random]
			value="20693"
		[/random]
		[random]
			value="7391"
		[/random]
		[random]
			value="5277"
		[/random]
		[random]
			value="23233"
		[/random]
		[random]
			value="32108"
		[/random]
		[random]
			value="32406"
		[/random]
		[random]
			value="9801"
		[/random]
		[random]
			value="14729"
			[results]
				checksum="RUQsCRORlSP,DLsxDMMfFuzJRDJCyOyPpHMVsOIMzEOKRzPuHEfJqwNzzmyJIhVwVwSxvKsMAS8wEVRB+JCszfJzd4kC+rc<MF13amk4nil5K7b35>-yp,+>8,eyb6ac"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="34,33,32,31,30"
			y="13,13,12,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="30"
				y="12"
			[/source]
			[destination]
				x="30"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="18149"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="13122"
			[results]
				chance="60"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13600"
			[results]
				chance="30"
				damage="20"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="5579"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="arkenstone has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="33,32,32,31"
			y="12,12,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="31"
				y="14"
			[/source]
			[destination]
				x="30"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="19688"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="6186"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="7670"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="24433"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="29715"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="24432"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13250"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="31"
				y="13"
			[/source]
			[destination]
				x="30"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="24008"
			[results]
				chance="30"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="33,32,31,30"
			y="14,14,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="30"
				y="14"
			[/source]
			[destination]
				x="29"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="2804"
			[results]
				chance="60"
				damage="11"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="28656"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="10695"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="30000"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="29"
				y="13"
			[/source]
			[destination]
				x="29"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="6990"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="6480"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="25473"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="25006"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="32,31,31,30"
			y="11,12,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="30"
				y="13"
			[/source]
			[destination]
				x="29"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="7428"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="20999"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="16586"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="29870"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="8986"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="9,9,9,9,9,9"
			y="14,13,12,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="9,9,9,9,9"
			y="15,14,13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,12,12,13"
			y="15,14,13,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,11,11,11,11"
			y="14,13,12,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,10,10,10,10"
			y="13,12,11,10,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,10,10,10,10"
			y="14,13,12,11,10,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="159000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="12,13,14,15,16,17"
			y="18,19,18,18,17,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="bigjim27 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="12,13,14,15,16,17,18"
			y="15,15,14,14,13,13,12"
		[/move]
	[/command]
	[command]
		[move]
			x="11,12,13,14,15,16"
			y="16,15,15,14,14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="CZ_Robovize has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="15,15,15,16,17,17"
			y="16,15,14,13,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Soerten has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="14,13,13,12,11,11"
			y="17,17,16,15,15,14"
		[/move]
	[/command]
	[command]
		[move]
			x="9,10,10,10,10,10,10"
			y="20,19,18,17,16,15,14"
		[/move]
	[/command]
	[command]
		[move]
			x="13,14,14,14,15"
			y="18,17,16,15,15"
		[/move]
	[/command]
	[command]
		[move]
			x="27,28,29,30"
			y="17,16,16,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="30"
				y="15"
			[/source]
			[destination]
				x="30"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="600575760"
			[results]
				chance="70"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1721984062"
			[results]
				chance="70"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="702426689"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="34,33,33,33,32,31,30"
			y="14,14,13,12,11,11,11"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="30"
				y="11"
			[/source]
			[destination]
				x="30"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="70592954"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1731922812"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1506749118"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1388517982"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Navarth has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="26,27,28,29"
			y="16,16,15,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="15"
			[/source]
			[destination]
				x="30"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1935362192"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="74752626"
			[results]
				chance="70"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="873335184"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="29,28"
			y="14,13"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="13"
			[/source]
			[destination]
				x="29"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="1124488759"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1758102463"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="-Ghorr- has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,27,27,28,29"
			y="14,13,12,11,12"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="12"
			[/source]
			[destination]
				x="30"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="2071745700"
			[results]
				chance="60"
				damage="4"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="home has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="25,26,27,28,29"
			y="13,13,14,14,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="14"
			[/source]
			[destination]
				x="30"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1445326118"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="242594777"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2130489680"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1452756296"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="30,31,31"
			y="16,16,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="31"
				y="15"
			[/source]
			[destination]
				x="31"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1374700991"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="812400848"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1981293450"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="185260599"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="801689030"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Warior_Gelesztas has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="309000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Morath has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="31,32,32,32,31,30"
			y="13,12,11,10,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="30"
				y="10"
			[/source]
			[destination]
				x="30"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="18951"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="12335"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25699"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="10896"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="4365"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Aurinkokuningas has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="helmut has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="honza has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="irene has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="29,30"
			y="13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="30"
				y="12"
			[/source]
			[destination]
				x="30"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="12348"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="31368"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="18274"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="20315"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="LordDarthViadro has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="30,31,32,32,31"
			y="13,13,12,11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="31"
				y="11"
			[/source]
			[destination]
				x="30"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="19249"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="5522"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1976"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="18200"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="7957"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="6945"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="20298"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="31,31,31"
			y="14,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="31"
				y="12"
			[/source]
			[destination]
				x="30"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="3990"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="5777"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="28041"
			[results]
				chance="70"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="30,30"
			y="14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,12,12,12,11"
			y="12,12,13,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="15"
			[/source]
			[destination]
				x="10"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="18480"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="27526"
			[results]
				chance="30"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="30295"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="30341"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="32738"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="21700"
			[results]
				chance="30"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="11479"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="23215"
			[results]
				chance="30"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,10,10,10,10"
			y="9,10,10,11,12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="10"
				y="13"
			[/source]
			[destination]
				x="10"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="26697"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="6334"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="31652"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="19095"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="16763"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="10431"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="24942"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Aarnivalkea has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="9,9,9,9"
			y="11,12,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="9"
				y="14"
			[/source]
			[destination]
				x="10"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="22091"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="15450"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1872"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="3006"
			[results]
				chance="50"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="24682"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="6207"
			[results]
				chance="50"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="20987"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,11,10,9,8,8,8,8,8,8"
			y="11,12,12,13,13,14,15,16,17,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Alex has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="9,9,9,8"
			y="9,10,11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,9,8,7,7"
			y="8,9,9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,11,12,12,13"
			y="9,10,10,11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,20,21"
			y="9,9,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,19,19,19,19,19,18"
			y="4,5,6,7,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="19"
			y="5"
		[/recruit]
		[random]
			value="6825"
		[/random]
		[random]
			value="5676"
		[/random]
		[random]
			value="3481"
		[/random]
		[random]
			value="1376"
		[/random]
		[random]
			value="28691"
		[/random]
		[random]
			value="13652"
		[/random]
		[random]
			value="9018"
		[/random]
		[random]
			value="30589"
		[/random]
		[random]
			value="23556"
		[/random]
		[random]
			value="6379"
		[/random]
		[random]
			value="14192"
		[/random]
		[random]
			value="24104"
		[/random]
		[random]
			value="7509"
		[/random]
		[random]
			value="22334"
		[/random]
		[random]
			value="20198"
			[results]
				checksum=",Ad3Y5f-Gtmnsp5jHbEoRiVrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNQsM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzkOI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="197000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="28,28,28,29"
			y="13,12,11,11"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="11"
			[/source]
			[destination]
				x="30"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="515091000"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1060636841"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="3733 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="29,30,31,32,32,31"
			y="15,15,15,14,13,13"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="31"
				y="13"
			[/source]
			[destination]
				x="30"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="503114141"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="530446216"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="183011377"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="31,32,32,33,33,32"
			y="15,14,13,13,12,11"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="32"
				y="11"
			[/source]
			[destination]
				x="31"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="108140674"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="973282577"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="36873874"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="940713425"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1325574721"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rizzalan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ALPA has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="30,31,31"
			y="15,15,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="31"
				y="14"
			[/source]
			[destination]
				x="30"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="190328201"
			[results]
				chance="70"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="29,30"
			y="12,11"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="30"
				y="11"
			[/source]
			[destination]
				x="31"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="1285088061"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="724623818"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="768063155"
			[results]
				chance="60"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="faillo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Fidi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="29,28,28,29"
			y="14,13,12,12"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="12"
			[/source]
			[destination]
				x="30"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="1763345834"
			[results]
				chance="70"
				damage="3"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="17,17,16,15,14,13,12"
			y="12,13,13,14,14,15,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="12"
				y="14"
			[/source]
			[destination]
				x="11"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1830763805"
			[results]
				chance="30"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="shagal has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="18,17,16,15,14,13"
			y="12,13,13,14,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="aramaki has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,10,9,8,7,7"
			y="14,15,16,16,17,18"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="7"
				y="18"
			[/source]
			[destination]
				x="8"
				y="18"
			[/destination]
		[/attack]
		[random]
			value="669813294"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1887985176"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1603866873"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="11,11,11,11,10,10,9"
			y="14,15,16,17,17,18,19"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="9"
				y="19"
			[/source]
			[destination]
				x="8"
				y="18"
			[/destination]
		[/attack]
		[random]
			value="984043074"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2026869996"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1669870762"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="humanressource has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="15,14,14,14"
			y="15,15,16,17"
		[/move]
	[/command]
	[command]
		[move]
			x="16,15,14,13,12,11"
			y="13,14,14,15,15,15"
		[/move]
	[/command]
	[command]
		[move]
			x="17,17,18,18,19"
			y="18,19,19,20,21"
		[/move]
	[/command]
	[command]
		[recruit]
			value="0"
			x="18"
			y="20"
		[/recruit]
		[random]
			value="223422559"
		[/random]
		[random]
			value="856482761"
		[/random]
		[random]
			value="1819428253"
		[/random]
		[random]
			value="1175448745"
		[/random]
		[random]
			value="2071130051"
		[/random]
		[random]
			value="282443870"
		[/random]
		[random]
			value="2007515441"
		[/random]
		[random]
			value="504021220"
		[/random]
		[random]
			value="75638903"
		[/random]
		[random]
			value="419806410"
		[/random]
		[random]
			value="950528615"
		[/random]
		[random]
			value="1827068531"
		[/random]
		[random]
			value="208775636"
		[/random]
		[random]
			value="846677148"
		[/random]
		[random]
			value="1796170650"
			[results]
				checksum="DB3s-,zQn1M2yLMrtl,yvEJs+TqLAH7qSCNCNSvmIJ>KNGxwmIQwSVVvQLyBGFwuCzBR9PMVRCroPzMEKTmSKvvPnFtw+MnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8EE"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="0"
			x="18"
			y="21"
		[/recruit]
		[random]
			value="193263313"
		[/random]
		[random]
			value="1084300435"
		[/random]
		[random]
			value="1919485307"
		[/random]
		[random]
			value="2012691566"
		[/random]
		[random]
			value="112265532"
		[/random]
		[random]
			value="1843131710"
		[/random]
		[random]
			value="147651788"
		[/random]
		[random]
			value="2119780973"
		[/random]
		[random]
			value="199669282"
		[/random]
		[random]
			value="223290692"
		[/random]
		[random]
			value="392103735"
		[/random]
		[random]
			value="1150197897"
		[/random]
		[random]
			value="2050359223"
		[/random]
		[random]
			value="600879371"
		[/random]
		[random]
			value="1996875046"
			[results]
				checksum="DB3s-,zQn1M2yLHrtl,yvEJs-TqLAH7qSCNCNSvmIJ>KNGxwmIQwSVVvQLyBGFwuCzBR9PMVRCroPzMEKTmSKvvPnFtw+PnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8FA"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="19,18,17"
			y="21,20,20"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,22,23,24"
			y="9,8,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,20,21,21,22,23"
			y="5,5,6,7,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Navarth has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Undertaker has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="left_behind has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Pupu6oi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kard_ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,18,18,17,17,16,15,14"
			y="9,10,11,12,13,13,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="14"
				y="14"
			[/source]
			[destination]
				x="13"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="11326"
			[results]
				chance="50"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="11179"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="14785"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="7501"
			[results]
				chance="40"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="27274"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="7273"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="31083"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="20066"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="JulesGon has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,13"
			y="12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="13"
				y="13"
			[/source]
			[destination]
				x="13"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="8768"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="19122"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2716"
			[results]
				chance="50"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="9180"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="24650"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="18164"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="24679"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="9,8,8,8,7"
			y="14,14,15,16,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="7"
				y="17"
			[/source]
			[destination]
				x="7"
				y="18"
			[/destination]
		[/attack]
		[random]
			value="16230"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="11363"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="15133"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="5090"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="19177"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="23121"
			[results]
				chance="50"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="19773"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,9,8,8,8,8"
			y="13,14,14,15,16,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="8"
				y="17"
			[/source]
			[destination]
				x="7"
				y="18"
			[/destination]
		[/attack]
		[random]
			value="28104"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="5755"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="373"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="9663"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="20433"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="6005"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13953"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="JustMe has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="8"
				y="18"
			[/source]
			[destination]
				x="7"
				y="18"
			[/destination]
		[/attack]
		[random]
			value="4033"
			[results]
				chance="60"
				damage="14"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="7,7,8,9,10,11"
			y="11,12,12,13,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="8,8,9,9,10"
			y="11,12,13,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="10"
				y="14"
			[/source]
			[destination]
				x="11"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="30056"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="5517"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="10464"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="15607"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="28866"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="31768"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="14"
			[/source]
			[destination]
				x="11"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="21058"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="15263"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="29293"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="32601"
			[results]
				chance="40"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13100"
			[results]
				chance="40"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13011"
			[results]
				chance="40"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="14993"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="elv has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="30,30,30,29"
			y="10,9,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="31,32"
			y="12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="32"
				y="12"
			[/source]
			[destination]
				x="31"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="24393"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="8315"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="9406"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13260"
			[results]
				chance="70"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="201000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="29,30,30,30"
			y="11,10,9,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="30"
				y="8"
			[/source]
			[destination]
				x="29"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="1662372490"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1128367225"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jeha has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="31,31,31,30,29,29"
			y="13,12,11,10,10,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="9"
			[/source]
			[destination]
				x="29"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="1735111416"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="501938879"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1160422019"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="30,29,28,28,28"
			y="11,11,10,9,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="8"
			[/source]
			[destination]
				x="29"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="1311607341"
			[results]
				chance="60"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1996530612"
			[results]
				chance="60"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1576106196"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="29,29,28,27,27,27,28"
			y="12,11,10,10,9,8,7"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="7"
			[/source]
			[destination]
				x="29"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="1973785243"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="491622466"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="669622996"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="764412138"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="32,31,30,29,28,27"
			y="11,11,10,11,10,10"
		[/move]
	[/command]
	[command]
		[move]
			x="31,30,30,29,28,28"
			y="14,13,12,12,11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="12,12,11,10,10,9"
			y="14,15,16,16,17,18"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="9"
				y="18"
			[/source]
			[destination]
				x="8"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="1706009575"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="855180061"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1264381413"
			[results]
				chance="60"
				damage="4"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="The1exile has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,9,8,7,7"
			y="19,20,20,20,19"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="7"
				y="19"
			[/source]
			[destination]
				x="8"
				y="18"
			[/destination]
		[/attack]
		[random]
			value="1982928679"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1279511208"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2109232536"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="18,18,17,16,15,14"
			y="21,20,20,19,19,18"
		[/move]
	[/command]
	[command]
		[move]
			x="17,17,17,16,15,15,14"
			y="20,19,18,17,17,16,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="14"
				y="15"
			[/source]
			[destination]
				x="14"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="632854231"
			[results]
				chance="60"
				damage="11"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2143174731"
			[results]
				chance="60"
				damage="11"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1846623399"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1580369600"
			[results]
				chance="60"
				damage="11"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Navarth has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="11,11"
			y="15,16"
		[/move]
	[/command]
	[command]
		[move]
			x="14,13,12,12,11"
			y="17,17,16,15,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="11"
				y="15"
			[/source]
			[destination]
				x="11"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1586190221"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="996056720"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="934098692"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="389884693"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="11,10,9,9"
			y="16,16,16,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="9"
				y="15"
			[/source]
			[destination]
				x="10"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="356779702"
			[results]
				chance="40"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1676156336"
			[results]
				chance="50"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="732370804"
			[results]
				chance="40"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="93079699"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1958286266"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Alex has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="18,17,16,15,14,14"
			y="20,20,19,19,18,17"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Die_Toten_Hosen has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="10"
				y="14"
			[/source]
			[destination]
				x="9"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="18786"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="3071"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="32358"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="7567"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="27719"
			[results]
				chance="70"
				damage="7"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="7,8"
			y="17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="8"
				y="17"
			[/source]
			[destination]
				x="9"
				y="18"
			[/destination]
		[/attack]
		[random]
			value="7030"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13629"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="7199"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="928"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="11679"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="25785"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="18320"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="8"
				y="18"
			[/source]
			[destination]
				x="9"
				y="18"
			[/destination]
		[/attack]
		[random]
			value="24835"
			[results]
				chance="60"
				damage="18"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="7689"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="31199"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="19669"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="9343"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13028"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="13"
				y="13"
			[/source]
			[destination]
				x="13"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="32248"
			[results]
				chance="50"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="16356"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="10980"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="28378"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="20743"
			[results]
				chance="50"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2931"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="3562"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,12"
			y="14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="13"
			[/source]
			[destination]
				x="13"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="19218"
			[results]
				chance="50"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="30376"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="19640"
			[results]
				chance="50"
				damage="8"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="l3l0 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="18798"
		[/random]
		[random]
			value="2103"
		[/random]
		[random]
			value="15339"
		[/random]
		[random]
			value="28307"
		[/random]
		[random]
			value="21377"
		[/random]
		[random]
			value="15224"
		[/random]
		[random]
			value="22270"
		[/random]
		[random]
			value="799"
		[/random]
		[random]
			value="22481"
		[/random]
		[random]
			value="3819"
		[/random]
		[random]
			value="18620"
		[/random]
		[random]
			value="16857"
		[/random]
		[random]
			value="22277"
		[/random]
		[random]
			value="31082"
		[/random]
		[random]
			value="558"
			[results]
				checksum="15,Wfc>cu2lH0olW9-5N-m<e6f60hfabkcij<4>i3h3e2.t0a1f<j870h0k565.Y0>ide9Pi80k.d8da021n<.26Z+40CN5c8b.-X,48E.7v3k3XdJFikGGNwGMoVOFH"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="19"
			y="5"
		[/recruit]
		[random]
			value="20804"
		[/random]
		[random]
			value="5695"
		[/random]
		[random]
			value="652"
		[/random]
		[random]
			value="25753"
		[/random]
		[random]
			value="32645"
		[/random]
		[random]
			value="2492"
		[/random]
		[random]
			value="16279"
		[/random]
		[random]
			value="12340"
		[/random]
		[random]
			value="14526"
		[/random]
		[random]
			value="7468"
		[/random]
		[random]
			value="3633"
		[/random]
		[random]
			value="22247"
		[/random]
		[random]
			value="1378"
		[/random]
		[random]
			value="3145"
		[/random]
		[random]
			value="31740"
			[results]
				checksum="14,Wfc>cu2lH0olW9-5N-m<e6f60hfabkcij<4>i3h3e2.t0a1f<j870h0k565.Y0>ide9Ni80k.d8da021n<.26Z+40CN5c8b.-X,48K.7v3k3XdJFikGGPwGMoVOFH"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,19,19,19,19,18"
			y="4,5,6,7,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,25,26,27"
			y="7,8,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="9"
			[/source]
			[destination]
				x="28"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="14834"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25122"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="25820"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="24561"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="12050"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="3189"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="13826"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,24,25,26,27"
			y="7,7,8,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="8"
			[/source]
			[destination]
				x="28"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="32576"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="3565"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1762"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="7478"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="15920"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="30217"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="3001"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Damiatux has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="29"
				y="8"
			[/source]
			[destination]
				x="28"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="19758"
			[results]
				chance="60"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="281000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="teigneux has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="29,30,31,31,30"
			y="9,9,9,8,7"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="30"
				y="7"
			[/source]
			[destination]
				x="29"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="24063738"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1830476100"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="205094251"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="30,29"
			y="8,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="9"
			[/source]
			[destination]
				x="29"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="1410925134"
			[results]
				chance="60"
				damage="3"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[choose]
			value="0"
		[/choose]
	[/command]
	[command]
		[move]
			x="28,28"
			y="10,9"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="28"
				y="9"
			[/source]
			[destination]
				x="27"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="886968711"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1168656144"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="269193059"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="719244698"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="28,28"
			y="7,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="28"
				y="8"
			[/source]
			[destination]
				x="27"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1044674508"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="722618798"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1045983815"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="841804391"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="267099926"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="27"
				y="10"
			[/source]
			[destination]
				x="27"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1392016848"
			[results]
				chance="60"
				damage="4"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Legolass has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,10"
			y="18,18"
		[/move]
	[/command]
	[command]
		[move]
			x="14,13,12,11,10,9"
			y="18,18,18,18,17,18"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="9"
				y="18"
			[/source]
			[destination]
				x="8"
				y="18"
			[/destination]
		[/attack]
		[random]
			value="1220681428"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="407884579"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="828477906"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1278059118"
			[results]
				chance="60"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="14,13,12,11,10,9"
			y="17,17,17,17,16,17"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="9"
				y="17"
			[/source]
			[destination]
				x="8"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="1320592576"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1820891388"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="530756184"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="577511572"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1158900446"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="7,6,6,7"
			y="19,18,17,17"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="7"
				y="17"
			[/source]
			[destination]
				x="8"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="1678633643"
			[results]
				chance="60"
				damage="3"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="10,10"
			y="18,19"
		[/move]
	[/command]
	[command]
		[move]
			x="11,11"
			y="15,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="11"
				y="14"
			[/source]
			[destination]
				x="12"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="767085000"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="385967378"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="445852917"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1585571777"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kathi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="14,15,16,17,18,18,19"
			y="15,16,16,17,17,18,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rahan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,20,21,21,22,23,24,25,26,27"
			y="5,5,6,7,7,8,8,9,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="27"
				y="9"
			[/source]
			[destination]
				x="28"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="25698"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="10771"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="15653"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2208"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="21219"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Onyx has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="27,28"
			y="8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="7"
			[/source]
			[destination]
				x="28"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="27128"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="11681"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="23291"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="11292"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="7724"
			[results]
				chance="60"
				damage="9"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23,24,25,26,27,28"
			y="4,5,4,4,3,4,4,5,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,19,19,19,19,18"
			y="9,9,8,7,6,5,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="5869"
		[/random]
		[random]
			value="32599"
		[/random]
		[random]
			value="24188"
		[/random]
		[random]
			value="31442"
		[/random]
		[random]
			value="12211"
		[/random]
		[random]
			value="3539"
		[/random]
		[random]
			value="28119"
		[/random]
		[random]
			value="19601"
		[/random]
		[random]
			value="10812"
		[/random]
		[random]
			value="291"
		[/random]
		[random]
			value="21612"
		[/random]
		[random]
			value="7046"
		[/random]
		[random]
			value="26754"
		[/random]
		[random]
			value="11043"
		[/random]
		[random]
			value="30004"
			[results]
				checksum="14,Wfc>cu2lH0olW9-5N-m<e6f60hfabkcij<4>i3h3e2.t0a1f<j870h0k565.Y0>ide2Hi80k.d8da021n<.26Z+40CN5c8b.-X,48K.7v3f3XdJFikGNVwGMoVOFH"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,13,13,12,11"
			y="13,14,15,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="15"
			[/source]
			[destination]
				x="11"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="28182"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="25508"
			[results]
				chance="40"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="16871"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="21991"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Woodstr93 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="bluepierrot has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Spartan-001 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Keule has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,12,12,12,12,11"
			y="13,12,11,10,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ArchX has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,11,11,11,11"
			y="14,15,16,17,18,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="11"
				y="19"
			[/source]
			[destination]
				x="10"
				y="19"
			[/destination]
		[/attack]
		[random]
			value="13551"
			[results]
				chance="70"
				damage="9"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="260000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="7,8,8,9,10"
			y="17,17,18,19,19"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="10"
				y="19"
			[/source]
			[destination]
				x="11"
				y="19"
			[/destination]
		[/attack]
		[random]
			value="2079829546"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="732490094"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="70358344"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="647819175"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="478292582"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="9,10,11,12,12"
			y="18,17,17,17,18"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="12"
				y="18"
			[/source]
			[destination]
				x="11"
				y="19"
			[/destination]
		[/attack]
		[random]
			value="710549749"
			[results]
				chance="60"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kard_ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="11,12,13,13,12"
			y="14,13,14,15,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="12"
				y="15"
			[/source]
			[destination]
				x="11"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="219108208"
			[results]
				chance="70"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="669665999"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2052738805"
			[results]
				chance="70"
				damage="9"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="amnay has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,9,10"
			y="17,16,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="uuu has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,10,11"
			y="15,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="19,19,20"
			y="19,20,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="LordShehan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Anni has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,26"
			y="10,10"
		[/move]
	[/command]
	[command]
		[move]
			x="29,29,28,27"
			y="9,10,10,10"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="2"
			[source]
				x="27"
				y="10"
			[/source]
			[destination]
				x="27"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1579444971"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1312030509"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="311767505"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="9"
			[/source]
			[destination]
				x="27"
				y="9"
			[/destination]
		[/attack]
		[random]
			value="1004755652"
			[results]
				chance="70"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1699863441"
			[results]
				chance="70"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1796924959"
			[results]
				chance="70"
				damage="9"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="30,30,29,28"
			y="7,8,9,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="28"
				y="8"
			[/source]
			[destination]
				x="28"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="81645748"
			[results]
				chance="70"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="401636634"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1456370741"
			[results]
				chance="70"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="203699146"
			[results]
				chance="70"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="26,27,27,27"
			y="10,10,9,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="27"
				y="8"
			[/source]
			[destination]
				x="28"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="1542034714"
			[results]
				chance="60"
				damage="4"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="0"
			x="21"
			y="20"
		[/recruit]
		[random]
			value="7528037"
		[/random]
		[random]
			value="1310177157"
		[/random]
		[random]
			value="1179316556"
		[/random]
		[random]
			value="2144580147"
		[/random]
		[random]
			value="908427369"
		[/random]
		[random]
			value="1570840170"
		[/random]
		[random]
			value="1448465476"
		[/random]
		[random]
			value="1444106468"
		[/random]
		[random]
			value="1743049845"
		[/random]
		[random]
			value="1843379783"
		[/random]
		[random]
			value="1584256525"
		[/random]
		[random]
			value="1795815054"
		[/random]
		[random]
			value="452053515"
		[/random]
		[random]
			value="730912558"
		[/random]
		[random]
			value="801726094"
			[results]
				checksum="DB3s-,zQn1M2yLMrtl,yvEJs+TqLAH7qSCNCNSvmIJ>KNGxwmIQwSVVvQLyBGFwuCzBR9PMVRCroPzMEKTmSKvvPnFtw+MnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8EE"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="1"
			x="19"
			y="20"
		[/recruit]
		[random]
			value="1357562420"
		[/random]
		[random]
			value="1377318377"
		[/random]
		[random]
			value="46620247"
		[/random]
		[random]
			value="2088474979"
		[/random]
		[random]
			value="31560823"
		[/random]
		[random]
			value="967934058"
		[/random]
		[random]
			value="637123137"
		[/random]
		[random]
			value="104749754"
		[/random]
		[random]
			value="1126714980"
		[/random]
		[random]
			value="339140975"
		[/random]
		[random]
			value="2060832238"
		[/random]
		[random]
			value="747540569"
		[/random]
		[random]
			value="600700655"
		[/random]
		[random]
			value="275852891"
		[/random]
		[random]
			value="1092395855"
			[results]
				checksum="ACIByNSVYrLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9CumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="marc has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ryshad has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="PinguinSteve has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="6"
			x="18"
			y="20"
		[/recruit]
		[random]
			value="347158288"
		[/random]
		[random]
			value="48601927"
		[/random]
		[random]
			value="1446844283"
		[/random]
		[random]
			value="288149619"
		[/random]
		[random]
			value="80162750"
		[/random]
		[random]
			value="267294694"
		[/random]
		[random]
			value="925272756"
		[/random]
		[random]
			value="184912504"
		[/random]
		[random]
			value="1394009674"
		[/random]
		[random]
			value="1264413731"
		[/random]
		[random]
			value="98261095"
		[/random]
		[random]
			value="2141550244"
		[/random]
		[random]
			value="1865114386"
			[results]
				checksum="DTLTPwRQczAcRKLLbq0Mv5QyqrQOOBLOyBMIwFivztGUowQpTBRsw,0zs3P8rB49xHwm.opR7jouswcn.Adz9fQtQo8c1O8LyzFARPPnDHfaE>8vfLObeidgl03fnU6<"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="woof has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="20,19,18,18,17"
			y="20,20,19,18,18"
		[/move]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Shadrak has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,28,28"
			y="5,6,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="7"
			[/source]
			[destination]
				x="28"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="28285"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="7072"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="9572"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="22002"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Jorjales has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23,24,25,26,27,28"
			y="4,5,4,4,3,4,4,5,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="7"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="22954"
		[/random]
		[random]
			value="21879"
		[/random]
		[random]
			value="16850"
		[/random]
		[random]
			value="23923"
		[/random]
		[random]
			value="10409"
		[/random]
		[random]
			value="27692"
		[/random]
		[random]
			value="29668"
		[/random]
		[random]
			value="24806"
		[/random]
		[random]
			value="23698"
		[/random]
		[random]
			value="29672"
		[/random]
		[random]
			value="22406"
		[/random]
		[random]
			value="5561"
		[/random]
		[random]
			value="11816"
		[/random]
		[random]
			value="311"
		[/random]
		[random]
			value="12966"
			[results]
				checksum=",Ad3Y5f-Gtmnrp5jHbEoRiVrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNQrM8mwoFomIhFlq1.CLB<<ddNv5EsLNHBNzhOI"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19,20,21,22"
			y="4,5,4,5,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="CaptainBotaniques has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="306000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jarmen has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gaaren has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Playero has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="12,12,13,14,14,14,15,16"
			y="18,17,17,16,15,14,14,13"
		[/move]
	[/command]
	[command]
		[move]
			x="10,11,12,12,13,13,14"
			y="19,19,18,17,17,16,15"
		[/move]
	[/command]
	[command]
		[move]
			x="12,13,14,15,16,17"
			y="15,15,14,14,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Truies-compresseur has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="11,12,13,14,15,15"
			y="14,14,15,14,14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Aliibaba has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="yolinar has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="18,17,16,15"
			y="20,20,19,19"
		[/move]
	[/command]
	[command]
		[move]
			x="19,19,19,19,19,19,19"
			y="20,19,18,17,16,15,14"
		[/move]
	[/command]
	[command]
		[move]
			x="21,21,20,19,19,19,19"
			y="20,19,18,18,17,16,15"
		[/move]
	[/command]
	[command]
		[move]
			x="17,17,18,18,19"
			y="18,19,19,20,21"
		[/move]
	[/command]
	[command]
		[recruit]
			value="1"
			x="18"
			y="20"
		[/recruit]
		[random]
			value="642825796"
		[/random]
		[random]
			value="1797456011"
		[/random]
		[random]
			value="1190904297"
		[/random]
		[random]
			value="2052855612"
		[/random]
		[random]
			value="657423446"
		[/random]
		[random]
			value="1908733716"
		[/random]
		[random]
			value="285266851"
		[/random]
		[random]
			value="1713879720"
		[/random]
		[random]
			value="1932863779"
		[/random]
		[random]
			value="123175981"
		[/random]
		[random]
			value="932814546"
		[/random]
		[random]
			value="36823788"
		[/random]
		[random]
			value="980325547"
		[/random]
		[random]
			value="427172506"
		[/random]
		[random]
			value="1532910837"
			[results]
				checksum="ACIByNSVYrLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9CumVnpCouMKPBb5TJGPbmz3o>.fjcflW4p97m5p7"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="pablors has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="27,28,29,30,30,29"
			y="10,9,9,8,7,7"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="2"
			[source]
				x="29"
				y="7"
			[/source]
			[destination]
				x="28"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="63134382"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="169474254"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1237658179"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zamy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="28,29"
			y="8,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="8"
			[/source]
			[destination]
				x="28"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="480838545"
			[results]
				chance="70"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="314857878"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="794455092"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="28,28"
			y="9,8"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="8"
			[/source]
			[destination]
				x="28"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="110672291"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="88919681"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="653539689"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="neni has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="27"
				y="8"
			[/source]
			[destination]
				x="28"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="26201609"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1596034388"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1584481170"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="SweetDreamZ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="klisman has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="wb has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,21,22,23"
			y="4,5,5,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,21,20,19"
			y="5,5,4,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Oscar has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="4"
			x="20"
			y="4"
		[/recruit]
		[random]
			value="544"
		[/random]
		[random]
			value="4121"
		[/random]
		[random]
			value="13494"
		[/random]
		[random]
			value="8178"
		[/random]
		[random]
			value="17652"
		[/random]
		[random]
			value="3072"
		[/random]
		[random]
			value="5654"
		[/random]
		[random]
			value="5586"
		[/random]
		[random]
			value="18834"
		[/random]
		[random]
			value="11941"
		[/random]
		[random]
			value="29413"
		[/random]
		[random]
			value="11881"
		[/random]
		[random]
			value="31486"
		[/random]
		[random]
			value="4111"
		[/random]
		[random]
			value="14303"
			[results]
				checksum="KcwfALHN1AKcptV75qVBLNNDjB+ho.t0,fnp91.7>Yl1cF7<01e5yd,9+0e3j4jcb6cifadb1-67Hf37b2ifil7.WgZ2.h<5-XxS+j>k2403-p8TA9v9PQDp80F<<>10"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="28,29,30,31,31,30"
			y="5,5,5,6,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="30"
				y="7"
			[/source]
			[destination]
				x="29"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="19963"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="8144"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="29670"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1477"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="28"
				y="7"
			[/source]
			[destination]
				x="29"
				y="8"
			[/destination]
		[/attack]
		[random]
			value="15290"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="28351"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="19906"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="13262"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="1"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="14,14,15,16,17,17,17"
			y="15,14,14,13,13,12,11"
		[/move]
	[/command]
	[command]
		[move]
			x="19,20,20,21,22,22"
			y="14,13,12,12,11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="15,16,17,17,18,18"
			y="13,12,12,11,10,9"
		[/move]
	[/command]
	[command]
		[move]
			x="16,17,17,17,17,17"
			y="13,13,12,11,10,9"
		[/move]
	[/command]
	[command]
		[move]
			x="17,17,17,17"
			y="13,12,11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="19,20,21,21,21,22"
			y="15,14,14,13,12,11"
		[/move]
	[/command]
	[command]
		[move]
			x="15,14,13,12"
			y="19,18,19,18"
		[/move]
	[/command]
	[command]
		[move]
			x="18,17,16,15,14,13,12"
			y="20,21,20,21,21,21,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Friese has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sonic_Hedgehog has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="29"
				y="8"
			[/source]
			[destination]
				x="28"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="2085743558"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1237974945"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="772903889"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="27,26,26,27,28"
			y="8,7,6,6,6"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="28"
				y="6"
			[/source]
			[destination]
				x="28"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="465086017"
			[results]
				chance="60"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="28,28,28,29,30"
			y="8,7,6,6,6"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="30"
				y="6"
			[/source]
			[destination]
				x="30"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="1362725104"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1353678628"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="208277016"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Sku"
			message="gg"
			side="1"
		[/speak]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="2"
			[source]
				x="29"
				y="7"
			[/source]
			[destination]
				x="30"
				y="7"
			[/destination]
		[/attack]
		[random]
			value="598234867"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1702171201"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="49729721"
			[results]
				chance="70"
				damage="7"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Sku"
			message=" aghh "
			side="1"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="Various"
			message="gg"
			side="2"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="2"
			value="330000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Sku"
			message="gl"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ahalya_Sk has logged into the lobby"
		[/speak]
	[/command]
[/replay]
[snapshot]
	campaign_type="multiplayer"
	completion="running"
	current_tod="4"
	description="The Freelands, also known to the people of the far east as The Land of No Kings, lie in between the Wilderlands and the Kingdom of Carorath, separating a land of absolute law from a land of absolute savagery. The people of the Freelands have been battling would-be conquerors of their land for hundreds of years, repelling great beasts from their western borders, and Carorathian Imperialists from their eastern borders."
	difficulty="NORMAL"
	end_text_duration="0"
	experience_modifier="70"
	hash="AZpjPHK9RkU0>,MQ5rgweyP<JzghTihOJuI7sg1ofROR9BWAOxx4eNCrLCAawpGy1PNS9jQpzls8f-x>JH6Z+AjIQoLdwN-L<ur6gO9uHgd>jKtxiiu590Q8hM4gox7."
	id="multiplayer_The_Freelands"
	label="2p - The Freelands"
	map_data="border_size=1
usage=map

_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , _off^_usr   , Hh          , _off^_usr   , Gg^Fet      , _off^_usr   , Gs^Fp       , _off^_usr   , Mm          , _off^_usr   , Ww          , _off^_usr   , Ww          , _off^_usr   , Ggf         , _off^_usr   , Hh          , _off^_usr   , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Mm          , Mm^Xm       , Hh          , Gg^Ve       , Gs^Fp       , Hh          , Gg^Uf       , Gs^Fms      , Hh          , Wwf         , Wwf         , Ww          , Ww          , Ss^Vhs      , Gg          , Gs^Fp       , Gs^Fp       , Mm          , Hh^Uf       , Ggf         , Ss          , Gs^Fp       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Mm          , Hh          , Mm^Xm       , Mm          , Ggf         , Gg          , Gg          , Gg          , Ggf         , Rr          , Wwf         , Ch          , Wwf         , Ch          , Hh          , Gg          , Gg          , Gg          , Ss          , Gs^Fms      , Hh          , Gg          , Gg^Uf       , Gs^Fms      , Wwf         , Hh          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gs^Fp       , Hh          , Wwf         , Gs^Fms      , Gs^Fp       , Gg^Uf       , Gg          , Gg          , Gg          , Gg          , Mm          , Rr          , Wwf         , Wwf         , Kh          , 1 Kh        , Ch          , Gg          , Gg          , Gg          , Ss          , Gg          , Gg          , Gg          , Hh          , Gg          , Wwf         , Wwf         , Gg^Fet      , Hh          , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gg          , Gg          , Wwf         , Wwf         , Ss^Vhs      , Gg          , Gg          , Gg          , Gg^Vh       , Gs^Fp       , Wwf         , Wwf         , Gg          , Ch          , Rr          , Ch          , Rr          , Gg          , Gs^Fp       , Ss          , Mm          , Ss          , Ss          , Gg          , Ss^Vhs      , Gs^Fp       , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Wwf         , Hh          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Wwf         , Gg          , Gs^Fp       , Gg          , Gg          , Rr          , Rr          , Gg          , Ss          , Hh          , Gs^Fp       , Hh^Uf       , Gs^Fp       , Gg          , Wwf         , Wwf         , Gg          , Gg          , Ggf         , Wwf         , Mm^Xm       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Gs^Fms      , Mm^Xm       , Gs^Fp       , Mm          , Ggf         , Wwf         , Wwf         , Wwf         , Wwf         , Gs^Fp       , Mm^Xm       , Mm^Xm       , Mm^Xm       , Hh          , Rr          , Gg          , Gg          , Gg          , Ggf         , Gg^Ve       , Hh          , Gg          , Wwf         , Wwf         , Wwf         , Gg          , Gg          , Hh          , Gs^Fms      , Mm^Xm       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Mm          , Gg^Uf       , Mm^Xm       , Hh          , Wwf         , Gg          , Gg          , Gg          , Gg          , Mm          , Hh^Uf       , Hh^Uf       , Mm^Xm       , Hh          , Rr          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gg          , Gg^Uf       , Mm^Xm       , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Gs^Fp       , Gg          , Ggf         , Wwf         , Wwf         , Gg          , Gg^Ve       , Gg          , Gg          , Hh          , Mm^Xm       , Gs^Fp       , Gs^Fp       , Hh^Vhh      , Rr          , Hh          , Hh          , Mm          , Gg^Fet      , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gg          , Hh          , Mm          , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gs^Fms      , Wwf         , Wwf         , Wwf         , Hh          , Gg          , Gg          , Gg          , Gg          , Gg          , Gs^Fp       , Mm^Xm       , Mm^Xm       , Hh          , Gg          , Rr          , Rr          , Gs^Fp       , Hh          , Hh          , Wwf         , Wwf         , Wwf         , Chr         , Chr         , Hh          , Gg          , Ggf         , Hh          , Mm^Xm       , Mm^Xm       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Hh          , Gg          , Wwf         , Mm          , Gs^Fp       , Gg          , Rr          , Gg          , Ggf         , Gg^Uf       , Mm^Xm       , Mm^Xm       , Mm          , Gs^Fp       , Gg          , Gg          , Wo          , Wo          , Wwf         , Wwf         , Mm^Xm       , Hh          , Gg          , Chw         , Wwf         , Gg^Fet      , Wwf         , Gg          , Gg          , Gs^Fp       , Gs^Fms      , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Wwf         , Wwf         , Hh          , Rr          , Rr          , Rr          , Gg          , Gg          , Gs^Fp       , Mm^Xm       , Mm^Xm       , Hh          , Gg          , Gg          , Ww          , Gg          , Gg          , Hh          , Rr          , Mm^Xm       , Mm          , Gg          , Rr          , Rr          , Wwf         , Rr          , Wwf         , Wwf         , Gg          , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gg^Fet      , Gg          , Gg          , Wwf         , Wwf         , Wwf         , Wwf         , Rr          , Gg          , Mm          , Mm^Xm       , Rr          , Wwf         , Gg          , Wo          , Ww          , Gg          , Gg          , Mm          , Mm^Xm       , Mm^Xm       , Gs^Fms      , Gg          , Gg          , Rr          , Rr          , Gs^Fms      , Hh          , Wwf         , Wwf         , Hh          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Gs^Fp       , Hh          , Gg          , Gg          , Gs^Fp       , Chr         , Chw         , Wwf         , Hh          , Wwf         , Wwf         , Hh          , Wo          , Rr          , Gg          , Gg          , Gs^Fp       , Mm^Xm       , Mm^Xm       , Gs^Fp       , Gg^Uf       , Gg          , Gg          , Gg          , Gg          , Hh          , Mm          , Wwf         , Gg          , Gs^Fp       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm          , Mm^Xm       , Mm          , Ggf         , Gg          , Hh          , Gg          , Chr         , Wwf         , Wwf         , Gg          , Hh          , Mm          , Gg^Fet      , Hh          , Rr          , Hh^Vhh      , Hh          , Gs^Fp       , Mm^Xm       , Hh          , Ggf         , Gg          , Gg          , Gg          , Gg          , Wwf         , Wwf         , Gg          , Wwf         , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm          , Mm^Xm       , Mm^Xm       , Hh          , Ggf         , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gs^Fp       , Gg          , Hh          , Gg          , Rr          , Hh          , Gs^Fp       , Hh^Uf       , Mm^Xm       , Mm          , Gg          , Gg          , Gg^Ve       , Gg          , Wwf         , Hh          , Gg          , Gg^Uf       , Gg^Fet      , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Mm^Xm       , Hh          , Gg^Uf       , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gg^Ve       , Gg          , Gg          , Gg          , Gg          , Rr          , Hh          , Mm^Xm       , Mm^Xm       , Hh^Uf       , Gs^Fp       , Gg          , Wwf         , Gg          , Wwf         , Wwf         , Mm          , Mm^Xm       , Mm^Xm       , Mm          , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Gs^Fms      , Ggf         , Gg          , Gg          , Wwf         , Wwf         , Wwf         , Gs^Fms      , Hh          , Gs^Fp       , Ggf         , Ss          , Gg          , Rr          , Rr          , Gg          , Mm^Xm       , Gs^Fp       , Mm^Xm       , Wwf         , Wwf         , Gg          , Wwf         , Gg          , Gg          , Gg          , Gs^Fp       , Hh          , Gs^Fms      , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Wwf         , Wwf         , Gg          , Wwf         , Wwf         , Ss^Vhs      , Gg          , Ss          , Hh^Uf       , Mm          , Hh          , Gs^Fp       , Gg          , Rr          , Rr          , Rr          , Gg          , Gg          , Gg          , Wwf         , Gg          , Gg^Vh       , Gg          , Gg          , Gg          , Ss^Vhs      , Gg          , Wwf         , Wwf         , Gg          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Hh          , Wwf         , Gs^Fp       , Wwf         , Wwf         , Gs^Fp       , Hh          , Gg          , Gg          , Ss          , Ss          , Ss          , Gg          , Gg          , Ch          , Ch          , Kh          , Ch          , Wwf         , Wwf         , Mm          , Gs^Fms      , Gg          , Gg          , Gg          , Ggf         , Gs^Fp       , Wwf         , Wwf         , Gg          , Gs^Fp       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm          , Hh          , Wwf         , Gs^Fms      , Gg          , Gg          , Gg          , Gs^Fp       , Gg          , Gg          , Gg          , Gg          , Gg          , Ch          , 2 Kh        , Ch          , Wwf         , Rr          , Rr          , Gg          , Gg          , Gg          , Gg          , Gs^Fp       , Gg^Uf       , Hh          , Gs^Fp       , Wwf         , Hh          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Gs^Fp       , Gg^Uf       , Ggf         , Hh          , Mm          , Ss          , Gs^Fp       , Gg          , Ss^Vhs      , Hh          , Ww          , Wwf         , Wwf         , Wwf         , Hh          , Gg          , Ggf         , Gg          , Gg^Ve       , Ggf         , Mm^Xm       , Mm^Xm       , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Ss          , Mm          , Hh          , Gs^Fp       , Hh^Uf       , Ggf         , Ggf         , Ww          , Ww          , Ww          , Wwf         , Mm          , Gs^Fp       , Gs^Fp       , Gg^Uf       , Gs^Fp       , Gg^Fet      , Hh          , Hh          , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
"
	mp_countdown="yes"
	mp_countdown_action_bonus="13"
	mp_countdown_init_time="270"
	mp_countdown_reservoir_time="330"
	mp_countdown_turn_bonus="60"
	mp_fog="yes"
	mp_shroud="no"
	mp_use_map_settings="yes"
	mp_village_gold="2"
	name="2p - The Freelands"
	next_underlying_unit_id="118"
	objectives="Victory:
@Defeat enemy leader(s)"
	observer="yes"
	playing_team="0"
	random_calls="0"
	random_seed="10408"
	random_start_time="no"
	snapshot="yes"
	turn_at="41"
	turns="-1"
	unit_wml_ids="Cavalryman,Dragoon,Elvish Archer,Elvish Druid,Elvish Fighter,Elvish Marksman,Elvish Scout,Elvish Shaman,Elvish Sorceress,Fencer,Heavy Infantryman,Horseman,Lieutenant,Mage,Merman Fighter,Pikeman,Spearman,Wose,era_events"
	version="1.6"
	[side]
		action_bonus_count="3"
		aggression="0.5"
		allow_player="yes"
		caution="0.25"
		colour="4"
		controller="network"
		countdown_time="330000"
		current_player="Sku"
		disallow_observers="no"
		fog="yes"
		global_recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
		gold="17"
		hidden="no"
		id="Sku1"
		income="0"
		leader_value="3"
		name="Sku"
		no_leader="yes"
		number_of_possible_recruits_to_force_recruit="3.1"
		objectives="Victory:
@Defeat enemy leader(s)"
		objectives_changed="no"
		recruit="Bowman,Cavalryman,Fencer,Heavy Infantryman,Horseman,Mage,Merman Fighter,Spearman"
		recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
		save_id="Sku1"
		share_maps="no"
		share_view="yes"
		shroud="no"
		side="1"
		start_gold="100"
		team_name="north"
#textdomain wesnoth-multiplayer
		user_team_name=_ "teamname^North"
		village_gold="2"
		village_value="1"
		villages_per_scout="8"
		[ai]
			recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
			villages_per_scout="8"
			[team_formula]
				rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
			[/team_formula]
		[/ai]
		[ai]
			villages_per_scout="8"
		[/ai]
		[village]
			x="8"
			y="5"
		[/village]
		[village]
			x="11"
			y="9"
		[/village]
		[village]
			x="12"
			y="2"
		[/village]
		[village]
			x="12"
			y="5"
		[/village]
		[village]
			x="22"
			y="2"
		[/village]
		[village]
			x="24"
			y="7"
		[/village]
		[village]
			x="28"
			y="5"
		[/village]
		[unit]
			advances_to="General"
			alignment="lawful"
			allow_changes="yes"
			allow_player="yes"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			colour="4"
			controller="network"
			cost="35"
			current_player="Various"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			experience="10"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			fog="yes"
			gender="male"
			gold="100"
			goto_x="-999"
			goto_y="-999"
			hitpoints="40"
			id="Sku1"
			image="units/human-loyalists/lieutenant.png"
			income="0"
#textdomain wesnoth-units
			language_name=_ "Lieutenant"
			leader="Lieutenant,Swordsman,Pikeman,Javelineer,Shock Trooper,Longbowman,White Mage,Red Mage"
			level="2"
			max_attacks="1"
			max_experience="56"
			max_hitpoints="40"
			max_moves="6"
			movement="6"
			movement_type="smallfoot"
			moves="6"
			mp_countdown="yes"
			mp_countdown_action_bonus="13"
			mp_countdown_init_time="270"
			mp_countdown_reservoir_time="330"
			mp_countdown_turn_bonus="60"
			name="Sku"
			profile="portraits/humans/lieutenant.png"
			race="human"
			random_leader="Lieutenant,Swordsman,Pikeman,Javelineer,Longbowman,Red Mage"
			random_traits="no"
			recruit="Cavalryman,Horseman,Spearman,Fencer,Heavy Infantryman,Bowman,Mage,Merman Fighter"
			resting="yes"
			save_id="Sku1"
			share_maps="no"
			share_view="yes"
			shroud="no"
			side="1"
			team_name="north"
			terrain_liked="Gg, Ww, Wo"
			type="Lieutenant"
			underlying_id="1"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			user_team_name="wesnoth-multiplayerteamname^North"
			village_gold="2"
			x="19"
			y="4"
			zoc="yes"
			[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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/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="Swordsman,Pikeman,Javelineer"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="28"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="32"
			id="Spearman-87"
			image="units/human-loyalists/spearman.png"
			language_name=_ "Spearman"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="35"
			max_moves="6"
			movement="5"
			movement_type="smallfoot"
			moves="6"
			name="Rhaent"
			profile="portraits/humans/spearman.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Spearman"
			underlying_id="87"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="11"
			y="9"
			zoc="yes"
			[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]
				[frame]
					begin="-100"
					end="-90"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
				[frame]
					begin="-90"
					end="90"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
				[frame]
					begin="90"
					end="100"
					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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/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"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="42"
			id="Spearman-116"
			image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
			language_name=_ "Spearman"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="42"
			max_moves="5"
			movement="5"
			movement_type="smallfoot"
			moves="5"
			name="Blam"
			profile="portraits/humans/spearman.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Spearman"
			underlying_id="116"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="23"
			y="6"
			zoc="yes"
			[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]
				[frame]
					begin="-100"
					end="-90"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
				[frame]
					begin="-90"
					end="90"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
				[frame]
					begin="90"
					end="100"
					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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/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^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="Knight,Lancer"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="23"
			die_sound="horse-die.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="43"
			id="Horseman-118"
			image="units/human-loyalists/horseman.png"
#textdomain wesnoth-units
			language_name=_ "Horseman"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="43"
			max_moves="8"
			movement="8"
			movement_type="mounted"
			moves="8"
			name="Teonnyn"
			profile="portraits/humans/horseman.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Horseman"
			undead_variation="mounted"
			underlying_id="118"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="20"
			y="4"
			zoc="yes"
			[attack_anim]
				hits="no"
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-250"
					end="-225"
					image="units/human-loyalists/horseman.png"
					sound="horse-canter.wav"
				[/frame]
				[frame]
					begin="-225"
					end="-150"
					image="units/human-loyalists/horseman-moving.png"
				[/frame]
				[frame]
					begin="-150"
					end="100"
					image="units/human-loyalists/horseman-attack.png"
					sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
				[/frame]
				[frame]
					begin="100"
					end="175"
					image="units/human-loyalists/horseman-moving.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/human-loyalists/horseman.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				hits="yes"
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-250"
					end="-200"
					image="units/human-loyalists/horseman.png"
					sound="horse-canter.wav"
				[/frame]
				[frame]
					begin="-200"
					end="-150"
					image="units/human-loyalists/horseman-moving.png"
				[/frame]
				[frame]
					begin="-150"
					end="100"
					image="units/human-loyalists/horseman-attack.png"
					sound="spear.ogg"
				[/frame]
				[frame]
					begin="100"
					end="150"
					image="units/human-loyalists/horseman-moving.png"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/human-loyalists/horseman.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/human-loyalists/horseman.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/horseman-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-loyalists/horseman-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/horseman-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-loyalists/horseman.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/human-loyalists/horseman-moving.png"
				[/frame]
			[/movement_anim]
			[defense]
				castle="60"
				cave="80"
				deep_water="80"
				flat="60"
				forest="70"
				frozen="70"
				fungus="80"
				hills="60"
				impassable="80"
				mountains="80"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="4"
				deep_water="99"
				flat="1"
				forest="3"
				frozen="2"
				fungus="4"
				hills="2"
				impassable="99"
				mountains="99"
				reef="3"
				sand="2"
				shallow_water="4"
				swamp_water="4"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="80"
				cold="100"
				fire="100"
				impact="70"
				pierce="120"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="9"
				description=_ "spear"
				name="spear"
				number="2"
				range="melee"
				type="pierce"
				[specials]
					[damage]
						active_on="offense"
						apply_to="both"
#textdomain wesnoth
						description=_ "Charge:
When used offensively, this attack deals double damage to the target. It also causes this unit to take double damage from the target's counterattack."
						id="charge"
						multiply="2"
						name=_ "charge"
					[/damage]
				[/specials]
			[/attack]
			[modifications]
				[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]
				[trait]
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
	[/side]
	[side]
		action_bonus_count="0"
		aggression="0.5"
		allow_player="yes"
		caution="0.25"
		colour="7"
		controller="human"
		countdown_time="330000"
		current_player="Various"
		disallow_observers="no"
		fog="yes"
		global_recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
		gold="13"
		hidden="no"
		id="Various2"
		income="0"
		leader_value="3"
		name="Various"
		no_leader="yes"
		number_of_possible_recruits_to_force_recruit="3.1"
		objectives="Victory:
@Defeat enemy leader(s)"
		objectives_changed="no"
		recruit="Elvish Archer,Elvish Fighter,Elvish Scout,Elvish Shaman,Mage,Merman Hunter,Wose"
		recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
		save_id="Various2"
		share_maps="no"
		share_view="yes"
		shroud="no"
		side="2"
		start_gold="100"
		team_name="south"
#textdomain wesnoth-multiplayer
		user_team_name=_ "teamname^South"
		village_gold="2"
		village_value="1"
		villages_per_scout="8"
		[ai]
			recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
			villages_per_scout="8"
			[team_formula]
				rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
			[/team_formula]
		[/ai]
		[ai]
			villages_per_scout="8"
		[/ai]
		[village]
			x="10"
			y="19"
		[/village]
		[village]
			x="14"
			y="17"
		[/village]
		[village]
			x="16"
			y="22"
		[/village]
		[village]
			x="18"
			y="9"
		[/village]
		[village]
			x="20"
			y="15"
		[/village]
		[village]
			x="26"
			y="19"
		[/village]
		[village]
			x="26"
			y="22"
		[/village]
		[village]
			x="27"
			y="16"
		[/village]
		[village]
			x="30"
			y="19"
		[/village]
		[unit]
			advances_to="Elvish Sharpshooter"
			alignment="neutral"
			allow_changes="yes"
			allow_player="yes"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			colour="7"
			controller="network"
			cost="41"
			current_player="Various"
			die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
			experience="16"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			fog="yes"
			gender="female"
			gold="100"
			goto_x="-999"
			goto_y="-999"
			hitpoints="37"
			id="Various2"
			image="units/elves-wood/marksman+female.png"
			income="0"
#textdomain wesnoth-units
			language_name=_ "female^Elvish Marksman"
			leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,White Mage,Red Mage,Elder Wose"
			level="2"
			max_attacks="1"
			max_experience="56"
			max_hitpoints="37"
			max_moves="6"
			movement="6"
			movement_type="woodland"
			moves="6"
			mp_countdown="yes"
			mp_countdown_action_bonus="13"
			mp_countdown_init_time="270"
			mp_countdown_reservoir_time="330"
			mp_countdown_turn_bonus="60"
			name="Various"
			profile="portraits/elves/marksman+female.png"
			race="elf"
			random_leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,Red Mage"
			random_traits="no"
			recruit="Elvish Fighter,Elvish Archer,Mage,Elvish Shaman,Elvish Scout,Wose,Merman Hunter"
			resting="yes"
			save_id="Various2"
			share_maps="no"
			share_view="yes"
			shroud="no"
			side="2"
			team_name="south"
			terrain_liked="Ff, Fa, Ss, Ww"
			type="Elvish Marksman"
			undead_variation="archer"
			underlying_id="2"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			user_team_name="wesnoth-multiplayerteamname^South"
			village_gold="2"
			x="19"
			y="21"
			zoc="yes"
			[portrait]
				image="portraits/elves/transparent/marksman+female.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image=" "
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="9"
				description=_ "longbow"
				icon="attacks/bow-elven-magic.png"
				name="longbow"
				number="4"
				range="ranged"
				type="pierce"
				[specials]
					[chance_to_hit]
						active_on="offense"
						cumulative="yes"
#textdomain wesnoth
						description=_ "Marksman:
When used offensively, this attack always has at least a 60% chance to hit."
						id="marksman"
						name=_ "marksman"
						value="60"
					[/chance_to_hit]
				[/specials]
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="White Mage,Red Mage"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="20"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="11"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="25"
			id="Mage-88"
			image="units/human-magi/mage.png"
#textdomain wesnoth-units
			language_name=_ "Mage"
			level="1"
			max_attacks="1"
			max_experience="42"
			max_hitpoints="30"
			max_moves="5"
			movement="5"
			movement_type="smallfoot"
			moves="0"
			name="Blumyr"
			profile="portraits/humans/mage.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Mage"
			underlying_id="88"
			unrenamable="no"
			upkeep="full"
			usage="mixed fighter"
			x="17"
			y="10"
			zoc="yes"
			[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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "staff"
				icon="attacks/staff-magic.png"
				name="staff"
				number="1"
				range="melee"
				type="impact"
			[/attack]
			[attack]
				damage="7"
				description=_ "missile"
				icon="attacks/magic-missile.png"
				name="missile"
				number="3"
				range="ranged"
				type="fire"
				[specials]
					[chance_to_hit]
						cumulative="no"
#textdomain wesnoth
						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^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="White Mage,Red Mage"
			alignment="lawful"
			alpha="256"
			attacks_left="0"
			cost="20"
			die_sound="human-female-die-1.ogg,human-female-die-2.ogg,human-female-die-3.ogg"
			ellipse="misc/ellipse"
			experience="20"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="female"
			goto_x="-999"
			goto_y="-999"
			hitpoints="28"
			id="Mage-96"
			image="units/human-magi/mage+female.png"
#textdomain wesnoth-units
			language_name=_ "female^Mage"
			level="1"
			max_attacks="1"
			max_experience="42"
			max_hitpoints="28"
			max_moves="6"
			movement="5"
			movement_type="smallfoot"
			moves="0"
			name="Brolla"
			profile="portraits/humans/mage+female.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Mage"
			underlying_id="96"
			unrenamable="no"
			upkeep="full"
			usage="mixed fighter"
			x="30"
			y="6"
			zoc="yes"
			[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+female-attack-magic1.png"
				[/frame]
				[frame]
					begin="-700"
					end="-350"
					image="units/human-magi/mage+female-attack-magic2.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-350"
						end="-100"
						image="units/human-magi/mage+female-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+female-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+female-attack-magic1.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="staff"
				[/filter_attack]
				[frame]
					begin="-250"
					end="-200"
					image="units/human-magi/mage+female.png"
				[/frame]
				[frame]
					begin="-200"
					end="-100"
					image="units/human-magi/mage+female-attack-staff1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/human-magi/mage+female-attack-staff2.png"
						sound="staff.wav"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/human-magi/mage+female-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+female-attack-magic1.png"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/human-magi/mage+female.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/human-magi/mage+female.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-magi/mage+female-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-magi/mage+female-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/human-magi/mage+female-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-magi/mage+female.png"
				[/frame]
			[/defend]
			[portrait]
				image="portraits/humans/transparent/mage+female.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/mage+female.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="5"
				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^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "female^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^quick"
					id="quick"
					male_name=_ "quick"
					name=_ "female^quick"
					[effect]
						apply_to="movement"
						increase="1"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elvish Shyde"
			alignment="neutral"
			alpha="256"
			attacks_left="0"
			cost="34"
			die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
			ellipse="misc/ellipse"
			experience="17"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			gender="female"
			goto_x="-999"
			goto_y="-999"
			hitpoints="34"
			id="Elvish Shaman-97"
			image="units/elves-wood/druid.png"
#textdomain wesnoth-units
			language_name=_ "female^Elvish Druid"
			level="2"
			max_attacks="1"
			max_experience="45"
			max_hitpoints="34"
			max_moves="6"
			movement="5"
			movement_type="woodland"
			moves="0"
			name="Deladithien"
			profile="portraits/elves/druid.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Elvish Druid"
			underlying_id="97"
			unrenamable="no"
			upkeep="full"
			usage="healer"
			x="29"
			y="7"
			zoc="yes"
			[portrait]
				image="portraits/elves/transparent/druid.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/druid.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[abilities]
				[heals]
					affect_allies="yes"
					affect_self="no"
#textdomain wesnoth
					description=_ "Cures:
A curer can cure a unit of poison, although that unit will receive no additional healing on the turn it is cured of the poison."
					female_name=_ "female^cures"
					id="curing"
					name=_ "cures"
					poison="cured"
					[affect_adjacent]
						adjacent="n,ne,se,s,sw,nw"
					[/affect_adjacent]
				[/heals]
				[heals]
					affect_allies="yes"
					affect_self="no"
					description=_ "Heals +8:
This unit combines herbal remedies with magic to heal units more quickly than is normally possible on the battlefield.

A unit cared for by this healer may heal up to 8 HP per turn, or stop poison from taking effect for that turn.
A poisoned unit cannot be cured of its poison by a healer, and must seek the care of a village or a unit that can cure."
					female_name=_ "female^heals +8"
					id="healing"
					name=_ "heals +8"
					poison="slowed"
					value="8"
					[affect_adjacent]
						adjacent="n,ne,se,s,sw,nw"
					[/affect_adjacent]
				[/heals]
			[/abilities]
			[attack_anim]
				[filter_attack]
					name="thorns"
				[/filter_attack]
				[missile_frame]
					begin="-200"
					end="0"
					image="projectiles/thorns.png"
					image_diagonal="projectiles/thorns-ne.png"
				[/missile_frame]
				[frame]
					begin="-300"
					end="-225"
					halo="halo/elven/nature-halo1.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-1.png"
				[/frame]
				[frame]
					begin="-225"
					end="-150"
					halo="halo/elven/nature-halo2.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-2.png"
				[/frame]
				[frame]
					begin="-150"
					end="-75"
					halo="halo/elven/nature-halo3.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-3.png"
				[/frame]
				[frame]
					begin="-75"
					end="0"
					halo="halo/elven/nature-halo4.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-4.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="0"
						end="75"
						halo="halo/elven/nature-halo5.png"
						halo_x="0"
						halo_y="-12"
						image="units/elves-wood/druid-magic-4.png"
						sound="magic-thorns-1.ogg,magic-thorns-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="0"
						end="75"
						halo="halo/elven/nature-halo5.png"
						halo_x="0"
						halo_y="-12"
						image="units/elves-wood/druid-magic-4.png"
						sound="magic-thorns-miss-1.ogg,magic-thorns-miss-2.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="150"
					halo="halo/elven/nature-halo6.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-3.png"
				[/frame]
				[frame]
					begin="150"
					end="225"
					halo="halo/elven/nature-halo7.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-2.png"
				[/frame]
				[frame]
					begin="225"
					end="300"
					halo="halo/elven/nature-halo8.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-1.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="ensnare"
				[/filter_attack]
				[missile_frame]
					begin="-200"
					end="0"
					image="projectiles/entangle.png"
					image_diagonal="projectiles/entangle.png"
					offset="1.0"
				[/missile_frame]
				[frame]
					begin="-300"
					end="-225"
					halo="halo/elven/nature-halo1.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-1.png"
				[/frame]
				[frame]
					begin="-225"
					end="-150"
					halo="halo/elven/nature-halo2.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-2.png"
				[/frame]
				[frame]
					begin="-150"
					end="-75"
					halo="halo/elven/nature-halo3.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-3.png"
				[/frame]
				[if]
					hits="hit"
					slowed_sound_start_time="-100"
					[filter_second]
						[not]
							[filter_wml]
								[status]
									slowed="yes"
								[/status]
							[/filter_wml]
						[/not]
					[/filter_second]
					[slowed_sound_frame]
						duration="100"
						sound="slowed.wav"
					[/slowed_sound_frame]
				[/if]
				[frame]
					begin="-75"
					end="0"
					halo="halo/elven/nature-halo4.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-4.png"
					sound="entangle.wav"
				[/frame]
				[frame]
					begin="0"
					end="75"
					halo="halo/elven/nature-halo5.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-4.png"
				[/frame]
				[frame]
					begin="75"
					end="150"
					halo="halo/elven/nature-halo6.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-3.png"
				[/frame]
				[frame]
					begin="150"
					end="225"
					halo="halo/elven/nature-halo7.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-2.png"
				[/frame]
				[frame]
					begin="225"
					end="300"
					halo="halo/elven/nature-halo8.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/druid-magic-1.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="staff"
				[/filter_attack]
				[frame]
					begin="-175"
					end="-100"
					image="units/elves-wood/druid.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/druid-attack.png"
						sound="staff.wav"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/druid-attack.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="175"
					image="units/elves-wood/druid.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/elves-wood/druid-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/druid-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/druid-defend-2.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/druid-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/druid-defend-1.png"
				[/frame]
			[/defend]
			[healing_anim]
				[frame]
					begin="-300"
					end="-225"
					halo="halo/elven/druid-healing1.png"
					image="units/elves-wood/druid-magic-1.png"
				[/frame]
				[frame]
					begin="-225"
					end="-150"
					halo="halo/elven/druid-healing2.png"
					image="units/elves-wood/druid-magic-2.png"
				[/frame]
				[frame]
					begin="-150"
					end="-75"
					halo="halo/elven/druid-healing3.png"
					image="units/elves-wood/druid-magic-3.png"
				[/frame]
				[frame]
					begin="-75"
					end="0"
					halo="halo/elven/druid-healing4.png"
					image="units/elves-wood/druid-magic-4.png"
				[/frame]
				[frame]
					begin="0"
					end="75"
					halo="halo/elven/druid-healing5.png"
					image="units/elves-wood/druid-magic-4.png"
				[/frame]
				[frame]
					begin="75"
					end="150"
					halo="halo/elven/druid-healing6.png"
					image="units/elves-wood/druid-magic-3.png"
				[/frame]
				[frame]
					begin="150"
					end="225"
					halo="halo/elven/druid-healing7.png"
					image="units/elves-wood/druid-magic-2.png"
				[/frame]
				[frame]
					begin="225"
					end="300"
					halo="halo/elven/druid-healing8.png"
					image="units/elves-wood/druid-magic-1.png"
				[/frame]
			[/healing_anim]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="4"
#textdomain wesnoth-units
				description=_ "staff"
				icon="attacks/druidstaff.png"
				name="staff"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[attack]
				damage="6"
				description=_ "ensnare"
				icon="attacks/entangle.png"
				name="ensnare"
				number="2"
				range="ranged"
				type="impact"
				[specials]
					[slow]
#textdomain wesnoth
						description=_ "Slow:
This attack slows the target until it ends a turn. Slow halves the damage caused by attacks and the movement cost for a slowed unit is doubled. A unit that is slowed will feature a snail icon in its sidebar information when it is selected."
						id="slow"
						name=_ "slows"
					[/slow]
				[/specials]
			[/attack]
			[attack]
				damage="6"
#textdomain wesnoth-units
				description=_ "thorns"
				name="thorns"
				number="3"
				range="ranged"
				type="pierce"
				[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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "female^intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^quick"
					id="quick"
					male_name=_ "quick"
					name=_ "female^quick"
					[effect]
						apply_to="movement"
						increase="1"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="White Mage,Red Mage"
			alignment="lawful"
			alpha="256"
			attacks_left="0"
			cost="20"
			die_sound="human-female-die-1.ogg,human-female-die-2.ogg,human-female-die-3.ogg"
			ellipse="misc/ellipse"
			experience="20"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="female"
			goto_x="-999"
			goto_y="-999"
			hitpoints="12"
			id="Mage-98"
			image="units/human-magi/mage+female.png"
#textdomain wesnoth-units
			language_name=_ "female^Mage"
			level="1"
			max_attacks="1"
			max_experience="42"
			max_hitpoints="28"
			max_moves="6"
			movement="5"
			movement_type="smallfoot"
			moves="0"
			name="Cealla"
			profile="portraits/humans/mage+female.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Mage"
			underlying_id="98"
			unrenamable="no"
			upkeep="full"
			usage="mixed fighter"
			x="29"
			y="8"
			zoc="yes"
			[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+female-attack-magic1.png"
				[/frame]
				[frame]
					begin="-700"
					end="-350"
					image="units/human-magi/mage+female-attack-magic2.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-350"
						end="-100"
						image="units/human-magi/mage+female-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+female-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+female-attack-magic1.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="staff"
				[/filter_attack]
				[frame]
					begin="-250"
					end="-200"
					image="units/human-magi/mage+female.png"
				[/frame]
				[frame]
					begin="-200"
					end="-100"
					image="units/human-magi/mage+female-attack-staff1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/human-magi/mage+female-attack-staff2.png"
						sound="staff.wav"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/human-magi/mage+female-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+female-attack-magic1.png"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/human-magi/mage+female.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/human-magi/mage+female.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-magi/mage+female-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/human-magi/mage+female-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/human-magi/mage+female-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/human-magi/mage+female.png"
				[/frame]
			[/defend]
			[portrait]
				image="portraits/humans/transparent/mage+female.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/humans/transparent/mage+female.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="5"
				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^quick"
					id="quick"
					male_name=_ "quick"
					name=_ "female^quick"
					[effect]
						apply_to="movement"
						increase="1"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "female^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="Elvish Captain,Elvish Hero"
			alignment="neutral"
			alpha="256"
			attacks_left="0"
			cost="14"
			die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
			ellipse="misc/ellipse"
			experience="27"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="33"
			id="Elvish Fighter-100"
			image="units/elves-wood/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Elvish Fighter"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="38"
			max_moves="5"
			movement="5"
			movement_type="woodland"
			moves="0"
			name="Rithraldor"
			profile="portraits/elves/fighter.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Elvish Fighter"
			underlying_id="100"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="28"
			y="6"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/fighter-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/fighter-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/fighter-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-175"
					end="-100"
					image="units/elves-wood/fighter.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/elves-wood/fighter-melee-2.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.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/elves-wood/fighter-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-idle-2.png"
				[/frame]
				[frame]
					duration="125"
					image="units/elves-wood/fighter-idle-3.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-4.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="250"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-10.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-11.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-12.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="40"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="4"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^dextrous"
					id="dextrous"
					male_name=_ "dextrous"
					name=_ "dextrous"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="ranged"
					[/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="Elvish Captain,Elvish Hero"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
			ellipse="misc/ellipse"
			experience="11"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="36"
			id="Elvish Fighter-104"
			image="units/elves-wood/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Elvish Fighter"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="36"
			max_moves="6"
			movement="5"
			movement_type="woodland"
			moves="0"
			name="Celildorfil"
			profile="portraits/elves/fighter.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Elvish Fighter"
			underlying_id="104"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="17"
			y="11"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/fighter-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/fighter-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/fighter-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-175"
					end="-100"
					image="units/elves-wood/fighter.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/elves-wood/fighter-melee-2.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.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/elves-wood/fighter-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-idle-2.png"
				[/frame]
				[frame]
					duration="125"
					image="units/elves-wood/fighter-idle-3.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-4.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="250"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-10.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-11.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-12.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="40"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				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^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="Elvish Ranger,Elvish Marksman"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
			ellipse="misc/ellipse"
			experience="1"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="female"
			goto_x="-999"
			goto_y="-999"
			hitpoints="34"
			id="Elvish Archer-108"
			image="units/elves-wood/archer+female.png"
#textdomain wesnoth-units
			language_name=_ "female^Elvish Archer"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="34"
			max_moves="6"
			movement="6"
			movement_type="woodland"
			moves="0"
			name="Galorfindë"
			profile="portraits/elves/archer+female.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Elvish Archer"
			undead_variation="archer"
			underlying_id="108"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="18"
			y="9"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer+female-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer+female-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/archer+female-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/archer+female-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/archer+female-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
				[frame]
					begin="-175"
					end="-75"
					image="units/elves-wood/archer+female-sword-1.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer+female-sword-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer+female-sword-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="125"
					image="units/elves-wood/archer+female-sword-3.png"
				[/frame]
				[frame]
					begin="125"
					end="175"
					image="units/elves-wood/archer+female-sword-4.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer+female-sword-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-sword-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-sword-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer+female-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-bow-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-bow.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/elves-wood/archer-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/archer+female.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/archer+female.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="4"
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "female^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=_ "female^intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elvish Ranger,Elvish Marksman"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
			ellipse="misc/ellipse"
			experience="16"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="female"
			goto_x="-999"
			goto_y="-999"
			hitpoints="33"
			id="Elvish Archer-109"
			image="units/elves-wood/archer+female.png"
#textdomain wesnoth-units
			language_name=_ "female^Elvish Archer"
			level="1"
			max_attacks="1"
			max_experience="31"
			max_hitpoints="33"
			max_moves="7"
			movement="6"
			movement_type="woodland"
			moves="1"
			name="Eowen"
			profile="portraits/elves/archer+female.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Elvish Archer"
			undead_variation="archer"
			underlying_id="109"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="17"
			y="9"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer+female-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer+female-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/archer+female-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/archer+female-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/archer+female-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
				[frame]
					begin="-175"
					end="-75"
					image="units/elves-wood/archer+female-sword-1.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer+female-sword-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer+female-sword-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="125"
					image="units/elves-wood/archer+female-sword-3.png"
				[/frame]
				[frame]
					begin="125"
					end="175"
					image="units/elves-wood/archer+female-sword-4.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer+female-sword-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-sword-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-sword-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer+female-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-bow-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-bow.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/elves-wood/archer-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/archer+female.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/archer+female.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="4"
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^quick"
					id="quick"
					male_name=_ "quick"
					name=_ "female^quick"
					[effect]
						apply_to="movement"
						increase="1"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="-5%"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "female^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="Elvish Ranger,Elvish Marksman"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="ne"
			flag_rgb="magenta"
			flying="no"
			gender="female"
			goto_x="-999"
			goto_y="-999"
			hitpoints="34"
			id="Elvish Archer-113"
			image="units/elves-wood/archer+female.png"
#textdomain wesnoth-units
			language_name=_ "female^Elvish Archer"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="34"
			max_moves="6"
			movement="6"
			movement_type="woodland"
			moves="1"
			name="Thra"
			profile="portraits/elves/archer+female.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Elvish Archer"
			undead_variation="archer"
			underlying_id="113"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="22"
			y="11"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer+female-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer+female-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/archer+female-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/archer+female-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/archer+female-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
				[frame]
					begin="-175"
					end="-75"
					image="units/elves-wood/archer+female-sword-1.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer+female-sword-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer+female-sword-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="125"
					image="units/elves-wood/archer+female-sword-3.png"
				[/frame]
				[frame]
					begin="125"
					end="175"
					image="units/elves-wood/archer+female-sword-4.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer+female-sword-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-sword-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-sword-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer+female-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-bow-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-bow.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/elves-wood/archer-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/archer+female.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/archer+female.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="4"
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "female^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=_ "female^intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elvish Captain,Elvish Hero"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Elvish Fighter-114"
			image="units/elves-wood/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Elvish Fighter"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="woodland"
			moves="0"
			name="Tor"
			profile="portraits/elves/fighter.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Elvish Fighter"
			underlying_id="114"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="22"
			y="10"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/fighter-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/fighter-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/fighter-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-175"
					end="-100"
					image="units/elves-wood/fighter.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/elves-wood/fighter-melee-2.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.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/elves-wood/fighter-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-idle-2.png"
				[/frame]
				[frame]
					duration="125"
					image="units/elves-wood/fighter-idle-3.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-4.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="250"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-10.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-11.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-12.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="40"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="4"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="3"
				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^dextrous"
					id="dextrous"
					male_name=_ "dextrous"
					name=_ "dextrous"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="ranged"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elder Wose"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="20"
			die_sound="wose-die.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="52"
			id="Wose-115"
			image="units/woses/wose.png"
#textdomain wesnoth-units
			language_name=_ "Wose"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="52"
			max_moves="4"
			movement="4"
			movement_type="treefolk"
			moves="0"
			name="Elmadrongatu"
			race="wose"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Wose"
			undead_variation="wose"
			underlying_id="115"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="12"
			y="18"
			zoc="yes"
			[attack_anim]
				start_time="-500"
				[filter_attack]
					name="crush"
				[/filter_attack]
				[if]
					hits="yes"
					[frame]
						duration="400"
						image="units/woses/wose-attack-1.png"
						sound="wose-attack.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="400"
						image="units/woses/wose-attack-1.png"
						sound="wose-miss.ogg"
					[/frame]
				[/else]
				[frame]
					duration="150"
					image="units/woses/wose-attack-2.png"
				[/frame]
				[frame]
					duration="75"
					image="units/woses/wose-attack-1.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[filter_attack]
					type="blade,impact,pierce"
				[/filter_attack]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-9.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-10.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-11.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-12.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-13.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-14.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-15.png"
				[/frame]
			[/death]
			[death]
				start_time="0"
				[filter_attack]
					type="arcane,fire,cold"
				[/filter_attack]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-1.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-2.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-3.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-4.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-5.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-7.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-8.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/woses/wose.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/woses/wose-defend.png"
						sound="wose-hit.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/woses/wose-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/woses/wose.png"
				[/frame]
			[/defend]
			[defense]
				castle="80"
				cave="80"
				deep_water="90"
				flat="80"
				forest="60"
				frozen="80"
				fungus="70"
				hills="70"
				impassable="80"
				mountains="70"
				reef="80"
				sand="80"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="80"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="100"
				cold="90"
				fire="150"
				impact="60"
				pierce="40"
			[/resistance]
			[abilities]
				[hides]
					affect_self="yes"
#textdomain wesnoth
					description=_ "Ambush:
This unit can hide in forest, and remain undetected by its enemies.

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

Enemy units cannot see this unit while it is in forest, 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^ambush"
					female_name_inactive=_ "female^ambush"
					id="ambush"
					name=_ "ambush"
					name_inactive=_ "ambush"
					[filter_self]
						[filter_location]
							terrain="*^Fp,*^Fet,*^Ft,*^Fpa,*^Fd*,*^Fm*"
						[/filter_location]
					[/filter_self]
				[/hides]
				[regenerate]
					affect_self="yes"
					description=_ "Regenerates:
The unit will heal itself 8 HP per turn. If it is poisoned, it will remove the poison instead of healing."
					female_name=_ "female^regenerates"
					id="regenerates"
					name=_ "regenerates"
					poison="cured"
					value="8"
				[/regenerate]
			[/abilities]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="13"
#textdomain wesnoth-units
				description=_ "crush"
				icon="attacks/crush-wose.png"
				name="crush"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elvish Captain,Elvish Hero"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Elvish Fighter-117"
			image="units/elves-wood/fighter.png"
			language_name=_ "Elvish Fighter"
			level="1"
			max_attacks="1"
			max_experience="22"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="woodland"
			moves="0"
			name="Isorfimilad"
			profile="portraits/elves/fighter.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Elvish Fighter"
			underlying_id="117"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="12"
			y="20"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/fighter-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/fighter-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/fighter-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-175"
					end="-100"
					image="units/elves-wood/fighter.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/elves-wood/fighter-melee-2.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.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/elves-wood/fighter-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-idle-2.png"
				[/frame]
				[frame]
					duration="125"
					image="units/elves-wood/fighter-idle-3.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-4.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="250"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-10.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-11.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-12.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="40"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="3"
				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^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"
		name=_ "Dawn"
		red="-20"
	[/time]
	[time]
		blue="0"
		green="0"
		id="morning"
		image="misc/schedule-morning.png"
		lawful_bonus="25"
		name=_ "Morning"
		red="0"
	[/time]
	[time]
		blue="0"
		green="0"
		id="afternoon"
		image="misc/schedule-afternoon.png"
		lawful_bonus="25"
		name=_ "Afternoon"
		red="0"
	[/time]
	[time]
		blue="-20"
		green="-20"
		id="dusk"
		image="misc/schedule-dusk.png"
		lawful_bonus="0"
		name=_ "Dusk"
		red="0"
	[/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_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]
	[variables]
		damage_inflicted="7"
		side_number="1"
		turn_number="41"
	[/variables]
	[player]
		can_recruit="Bowman,Cavalryman,Fencer,Heavy Infantryman,Horseman,Mage,Merman Fighter,Spearman"
		gold="-1"
		gold_add="no"
		save_id="Sku1"
	[/player]
	[player]
		can_recruit="Elvish Archer,Elvish Fighter,Elvish Scout,Elvish Shaman,Mage,Merman Hunter,Wose"
		gold="-1"
		gold_add="no"
		save_id="Various2"
	[/player]
[/snapshot]
[replay_start]
	completion="running"
	current_tod="0"
	experience_modifier="70"
	id="multiplayer_The_Freelands"
	map_data="border_size=1
usage=map

_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , _off^_usr   , Hh          , _off^_usr   , Gg^Fet      , _off^_usr   , Gs^Fp       , _off^_usr   , Mm          , _off^_usr   , Ww          , _off^_usr   , Ww          , _off^_usr   , Ggf         , _off^_usr   , Hh          , _off^_usr   , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Mm          , Mm^Xm       , Hh          , Gg^Ve       , Gs^Fp       , Hh          , Gg^Uf       , Gs^Fms      , Hh          , Wwf         , Wwf         , Ww          , Ww          , Ss^Vhs      , Gg          , Gs^Fp       , Gs^Fp       , Mm          , Hh^Uf       , Ggf         , Ss          , Gs^Fp       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Mm          , Hh          , Mm^Xm       , Mm          , Ggf         , Gg          , Gg          , Gg          , Ggf         , Rr          , Wwf         , Ch          , Wwf         , Ch          , Hh          , Gg          , Gg          , Gg          , Ss          , Gs^Fms      , Hh          , Gg          , Gg^Uf       , Gs^Fms      , Wwf         , Hh          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gs^Fp       , Hh          , Wwf         , Gs^Fms      , Gs^Fp       , Gg^Uf       , Gg          , Gg          , Gg          , Gg          , Mm          , Rr          , Wwf         , Wwf         , Kh          , 1 Kh        , Ch          , Gg          , Gg          , Gg          , Ss          , Gg          , Gg          , Gg          , Hh          , Gg          , Wwf         , Wwf         , Gg^Fet      , Hh          , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gg          , Gg          , Wwf         , Wwf         , Ss^Vhs      , Gg          , Gg          , Gg          , Gg^Vh       , Gs^Fp       , Wwf         , Wwf         , Gg          , Ch          , Rr          , Ch          , Rr          , Gg          , Gs^Fp       , Ss          , Mm          , Ss          , Ss          , Gg          , Ss^Vhs      , Gs^Fp       , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Wwf         , Hh          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Wwf         , Gg          , Gs^Fp       , Gg          , Gg          , Rr          , Rr          , Gg          , Ss          , Hh          , Gs^Fp       , Hh^Uf       , Gs^Fp       , Gg          , Wwf         , Wwf         , Gg          , Gg          , Ggf         , Wwf         , Mm^Xm       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Gs^Fms      , Mm^Xm       , Gs^Fp       , Mm          , Ggf         , Wwf         , Wwf         , Wwf         , Wwf         , Gs^Fp       , Mm^Xm       , Mm^Xm       , Mm^Xm       , Hh          , Rr          , Gg          , Gg          , Gg          , Ggf         , Gg^Ve       , Hh          , Gg          , Wwf         , Wwf         , Wwf         , Gg          , Gg          , Hh          , Gs^Fms      , Mm^Xm       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Mm          , Gg^Uf       , Mm^Xm       , Hh          , Wwf         , Gg          , Gg          , Gg          , Gg          , Mm          , Hh^Uf       , Hh^Uf       , Mm^Xm       , Hh          , Rr          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gg          , Gg^Uf       , Mm^Xm       , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Gs^Fp       , Gg          , Ggf         , Wwf         , Wwf         , Gg          , Gg^Ve       , Gg          , Gg          , Hh          , Mm^Xm       , Gs^Fp       , Gs^Fp       , Hh^Vhh      , Rr          , Hh          , Hh          , Mm          , Gg^Fet      , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gg          , Hh          , Mm          , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gs^Fms      , Wwf         , Wwf         , Wwf         , Hh          , Gg          , Gg          , Gg          , Gg          , Gg          , Gs^Fp       , Mm^Xm       , Mm^Xm       , Hh          , Gg          , Rr          , Rr          , Gs^Fp       , Hh          , Hh          , Wwf         , Wwf         , Wwf         , Chr         , Chr         , Hh          , Gg          , Ggf         , Hh          , Mm^Xm       , Mm^Xm       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Hh          , Gg          , Wwf         , Mm          , Gs^Fp       , Gg          , Rr          , Gg          , Ggf         , Gg^Uf       , Mm^Xm       , Mm^Xm       , Mm          , Gs^Fp       , Gg          , Gg          , Wo          , Wo          , Wwf         , Wwf         , Mm^Xm       , Hh          , Gg          , Chw         , Wwf         , Gg^Fet      , Wwf         , Gg          , Gg          , Gs^Fp       , Gs^Fms      , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Wwf         , Wwf         , Hh          , Rr          , Rr          , Rr          , Gg          , Gg          , Gs^Fp       , Mm^Xm       , Mm^Xm       , Hh          , Gg          , Gg          , Ww          , Gg          , Gg          , Hh          , Rr          , Mm^Xm       , Mm          , Gg          , Rr          , Rr          , Wwf         , Rr          , Wwf         , Wwf         , Gg          , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gg^Fet      , Gg          , Gg          , Wwf         , Wwf         , Wwf         , Wwf         , Rr          , Gg          , Mm          , Mm^Xm       , Rr          , Wwf         , Gg          , Wo          , Ww          , Gg          , Gg          , Mm          , Mm^Xm       , Mm^Xm       , Gs^Fms      , Gg          , Gg          , Rr          , Rr          , Gs^Fms      , Hh          , Wwf         , Wwf         , Hh          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Gs^Fp       , Hh          , Gg          , Gg          , Gs^Fp       , Chr         , Chw         , Wwf         , Hh          , Wwf         , Wwf         , Hh          , Wo          , Rr          , Gg          , Gg          , Gs^Fp       , Mm^Xm       , Mm^Xm       , Gs^Fp       , Gg^Uf       , Gg          , Gg          , Gg          , Gg          , Hh          , Mm          , Wwf         , Gg          , Gs^Fp       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm          , Mm^Xm       , Mm          , Ggf         , Gg          , Hh          , Gg          , Chr         , Wwf         , Wwf         , Gg          , Hh          , Mm          , Gg^Fet      , Hh          , Rr          , Hh^Vhh      , Hh          , Gs^Fp       , Mm^Xm       , Hh          , Ggf         , Gg          , Gg          , Gg          , Gg          , Wwf         , Wwf         , Gg          , Wwf         , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm          , Mm^Xm       , Mm^Xm       , Hh          , Ggf         , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gs^Fp       , Gg          , Hh          , Gg          , Rr          , Hh          , Gs^Fp       , Hh^Uf       , Mm^Xm       , Mm          , Gg          , Gg          , Gg^Ve       , Gg          , Wwf         , Hh          , Gg          , Gg^Uf       , Gg^Fet      , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Mm^Xm       , Hh          , Gg^Uf       , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gg^Ve       , Gg          , Gg          , Gg          , Gg          , Rr          , Hh          , Mm^Xm       , Mm^Xm       , Hh^Uf       , Gs^Fp       , Gg          , Wwf         , Gg          , Wwf         , Wwf         , Mm          , Mm^Xm       , Mm^Xm       , Mm          , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Gs^Fms      , Ggf         , Gg          , Gg          , Wwf         , Wwf         , Wwf         , Gs^Fms      , Hh          , Gs^Fp       , Ggf         , Ss          , Gg          , Rr          , Rr          , Gg          , Mm^Xm       , Gs^Fp       , Mm^Xm       , Wwf         , Wwf         , Gg          , Wwf         , Gg          , Gg          , Gg          , Gs^Fp       , Hh          , Gs^Fms      , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Wwf         , Wwf         , Gg          , Wwf         , Wwf         , Ss^Vhs      , Gg          , Ss          , Hh^Uf       , Mm          , Hh          , Gs^Fp       , Gg          , Rr          , Rr          , Rr          , Gg          , Gg          , Gg          , Wwf         , Gg          , Gg^Vh       , Gg          , Gg          , Gg          , Ss^Vhs      , Gg          , Wwf         , Wwf         , Gg          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Hh          , Wwf         , Gs^Fp       , Wwf         , Wwf         , Gs^Fp       , Hh          , Gg          , Gg          , Ss          , Ss          , Ss          , Gg          , Gg          , Ch          , Ch          , Kh          , Ch          , Wwf         , Wwf         , Mm          , Gs^Fms      , Gg          , Gg          , Gg          , Ggf         , Gs^Fp       , Wwf         , Wwf         , Gg          , Gs^Fp       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm          , Hh          , Wwf         , Gs^Fms      , Gg          , Gg          , Gg          , Gs^Fp       , Gg          , Gg          , Gg          , Gg          , Gg          , Ch          , 2 Kh        , Ch          , Wwf         , Rr          , Rr          , Gg          , Gg          , Gg          , Gg          , Gs^Fp       , Gg^Uf       , Hh          , Gs^Fp       , Wwf         , Hh          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Gs^Fp       , Gg^Uf       , Ggf         , Hh          , Mm          , Ss          , Gs^Fp       , Gg          , Ss^Vhs      , Hh          , Ww          , Wwf         , Wwf         , Wwf         , Hh          , Gg          , Ggf         , Gg          , Gg^Ve       , Ggf         , Mm^Xm       , Mm^Xm       , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Ss          , Mm          , Hh          , Gs^Fp       , Hh^Uf       , Ggf         , Ggf         , Ww          , Ww          , Ww          , Wwf         , Mm          , Gs^Fp       , Gs^Fp       , Gg^Uf       , Gs^Fp       , Gg^Fet      , Hh          , Hh          , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
"
	mp_countdown="yes"
	mp_countdown_action_bonus="13"
	mp_countdown_init_time="270"
	mp_countdown_turn_bonus="60"
	mp_fog="yes"
	mp_shroud="no"
	mp_use_map_settings="yes"
	mp_village_gold="2"
	name="2p - The Freelands"
	next_underlying_unit_id="42"
	objectives=_ "Victory:
@Defeat enemy leader(s)"
	observer="yes"
	random_calls="0"
	random_seed="10408"
	savegame="yes"
	turn="17"
	turn_at="17"
	turns="-1"
	version="1.6.1"
	[snapshot]
		campaign_type="multiplayer"
		completion="running"
		current_tod="4"
		description="The Freelands, also known to the people of the far east as The Land of No Kings, lie in between the Wilderlands and the Kingdom of Carorath, separating a land of absolute law from a land of absolute savagery. The people of the Freelands have been battling would-be conquerors of their land for hundreds of years, repelling great beasts from their western borders, and Carorathian Imperialists from their eastern borders."
		difficulty="NORMAL"
		end_text_duration="0"
		experience_modifier="70"
		hash="AZpjPHK9RkU0>,MQ5rgweyP<JzghTihOJuI7sg1ofROR9BWAOxx4eNCrLCAawpGy1PNS9jQpzls8f-x>JH6Z+AjIQoLdwN-L<ur6gO9uHgd>jKtxiiu590Q8hM4gox7."
		id="multiplayer_The_Freelands"
		label="2p - The Freelands"
		map_data="border_size=1
usage=map

_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , _off^_usr   , Hh          , _off^_usr   , Gg^Fet      , _off^_usr   , Gs^Fp       , _off^_usr   , Mm          , _off^_usr   , Ww          , _off^_usr   , Ww          , _off^_usr   , Ggf         , _off^_usr   , Hh          , _off^_usr   , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Mm          , Mm^Xm       , Hh          , Gg^Ve       , Gs^Fp       , Hh          , Gg^Uf       , Gs^Fms      , Hh          , Wwf         , Wwf         , Ww          , Ww          , Ss^Vhs      , Gg          , Gs^Fp       , Gs^Fp       , Mm          , Hh^Uf       , Ggf         , Ss          , Gs^Fp       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Mm          , Hh          , Mm^Xm       , Mm          , Ggf         , Gg          , Gg          , Gg          , Ggf         , Rr          , Wwf         , Ch          , Wwf         , Ch          , Hh          , Gg          , Gg          , Gg          , Ss          , Gs^Fms      , Hh          , Gg          , Gg^Uf       , Gs^Fms      , Wwf         , Hh          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gs^Fp       , Hh          , Wwf         , Gs^Fms      , Gs^Fp       , Gg^Uf       , Gg          , Gg          , Gg          , Gg          , Mm          , Rr          , Wwf         , Wwf         , Kh          , 1 Kh        , Ch          , Gg          , Gg          , Gg          , Ss          , Gg          , Gg          , Gg          , Hh          , Gg          , Wwf         , Wwf         , Gg^Fet      , Hh          , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gg          , Gg          , Wwf         , Wwf         , Ss^Vhs      , Gg          , Gg          , Gg          , Gg^Vh       , Gs^Fp       , Wwf         , Wwf         , Gg          , Ch          , Rr          , Ch          , Rr          , Gg          , Gs^Fp       , Ss          , Mm          , Ss          , Ss          , Gg          , Ss^Vhs      , Gs^Fp       , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Wwf         , Hh          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Wwf         , Gg          , Gs^Fp       , Gg          , Gg          , Rr          , Rr          , Gg          , Ss          , Hh          , Gs^Fp       , Hh^Uf       , Gs^Fp       , Gg          , Wwf         , Wwf         , Gg          , Gg          , Ggf         , Wwf         , Mm^Xm       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Gs^Fms      , Mm^Xm       , Gs^Fp       , Mm          , Ggf         , Wwf         , Wwf         , Wwf         , Wwf         , Gs^Fp       , Mm^Xm       , Mm^Xm       , Mm^Xm       , Hh          , Rr          , Gg          , Gg          , Gg          , Ggf         , Gg^Ve       , Hh          , Gg          , Wwf         , Wwf         , Wwf         , Gg          , Gg          , Hh          , Gs^Fms      , Mm^Xm       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Mm          , Gg^Uf       , Mm^Xm       , Hh          , Wwf         , Gg          , Gg          , Gg          , Gg          , Mm          , Hh^Uf       , Hh^Uf       , Mm^Xm       , Hh          , Rr          , Gg          , Gg          , Gg          , Gg          , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gg          , Gg^Uf       , Mm^Xm       , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Gs^Fp       , Gg          , Ggf         , Wwf         , Wwf         , Gg          , Gg^Ve       , Gg          , Gg          , Hh          , Mm^Xm       , Gs^Fp       , Gs^Fp       , Hh^Vhh      , Rr          , Hh          , Hh          , Mm          , Gg^Fet      , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gg          , Hh          , Mm          , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gs^Fms      , Wwf         , Wwf         , Wwf         , Hh          , Gg          , Gg          , Gg          , Gg          , Gg          , Gs^Fp       , Mm^Xm       , Mm^Xm       , Hh          , Gg          , Rr          , Rr          , Gs^Fp       , Hh          , Hh          , Wwf         , Wwf         , Wwf         , Chr         , Chr         , Hh          , Gg          , Ggf         , Hh          , Mm^Xm       , Mm^Xm       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Hh          , Gg          , Wwf         , Mm          , Gs^Fp       , Gg          , Rr          , Gg          , Ggf         , Gg^Uf       , Mm^Xm       , Mm^Xm       , Mm          , Gs^Fp       , Gg          , Gg          , Wo          , Wo          , Wwf         , Wwf         , Mm^Xm       , Hh          , Gg          , Chw         , Wwf         , Gg^Fet      , Wwf         , Gg          , Gg          , Gs^Fp       , Gs^Fms      , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Wwf         , Wwf         , Hh          , Rr          , Rr          , Rr          , Gg          , Gg          , Gs^Fp       , Mm^Xm       , Mm^Xm       , Hh          , Gg          , Gg          , Ww          , Gg          , Gg          , Hh          , Rr          , Mm^Xm       , Mm          , Gg          , Rr          , Rr          , Wwf         , Rr          , Wwf         , Wwf         , Gg          , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Gg^Fet      , Gg          , Gg          , Wwf         , Wwf         , Wwf         , Wwf         , Rr          , Gg          , Mm          , Mm^Xm       , Rr          , Wwf         , Gg          , Wo          , Ww          , Gg          , Gg          , Mm          , Mm^Xm       , Mm^Xm       , Gs^Fms      , Gg          , Gg          , Rr          , Rr          , Gs^Fms      , Hh          , Wwf         , Wwf         , Hh          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Gs^Fp       , Hh          , Gg          , Gg          , Gs^Fp       , Chr         , Chw         , Wwf         , Hh          , Wwf         , Wwf         , Hh          , Wo          , Rr          , Gg          , Gg          , Gs^Fp       , Mm^Xm       , Mm^Xm       , Gs^Fp       , Gg^Uf       , Gg          , Gg          , Gg          , Gg          , Hh          , Mm          , Wwf         , Gg          , Gs^Fp       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm          , Mm^Xm       , Mm          , Ggf         , Gg          , Hh          , Gg          , Chr         , Wwf         , Wwf         , Gg          , Hh          , Mm          , Gg^Fet      , Hh          , Rr          , Hh^Vhh      , Hh          , Gs^Fp       , Mm^Xm       , Hh          , Ggf         , Gg          , Gg          , Gg          , Gg          , Wwf         , Wwf         , Gg          , Wwf         , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm          , Mm^Xm       , Mm^Xm       , Hh          , Ggf         , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gs^Fp       , Gg          , Hh          , Gg          , Rr          , Hh          , Gs^Fp       , Hh^Uf       , Mm^Xm       , Mm          , Gg          , Gg          , Gg^Ve       , Gg          , Wwf         , Hh          , Gg          , Gg^Uf       , Gg^Fet      , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Mm^Xm       , Hh          , Gg^Uf       , Gg          , Gg          , Wwf         , Wwf         , Gg          , Gg          , Gg^Ve       , Gg          , Gg          , Gg          , Gg          , Rr          , Hh          , Mm^Xm       , Mm^Xm       , Hh^Uf       , Gs^Fp       , Gg          , Wwf         , Gg          , Wwf         , Wwf         , Mm          , Mm^Xm       , Mm^Xm       , Mm          , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm^Xm       , Gs^Fms      , Ggf         , Gg          , Gg          , Wwf         , Wwf         , Wwf         , Gs^Fms      , Hh          , Gs^Fp       , Ggf         , Ss          , Gg          , Rr          , Rr          , Gg          , Mm^Xm       , Gs^Fp       , Mm^Xm       , Wwf         , Wwf         , Gg          , Wwf         , Gg          , Gg          , Gg          , Gs^Fp       , Hh          , Gs^Fms      , Wwf         , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Wwf         , Wwf         , Gg          , Wwf         , Wwf         , Ss^Vhs      , Gg          , Ss          , Hh^Uf       , Mm          , Hh          , Gs^Fp       , Gg          , Rr          , Rr          , Rr          , Gg          , Gg          , Gg          , Wwf         , Gg          , Gg^Vh       , Gg          , Gg          , Gg          , Ss^Vhs      , Gg          , Wwf         , Wwf         , Gg          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Hh          , Wwf         , Gs^Fp       , Wwf         , Wwf         , Gs^Fp       , Hh          , Gg          , Gg          , Ss          , Ss          , Ss          , Gg          , Gg          , Ch          , Ch          , Kh          , Ch          , Wwf         , Wwf         , Mm          , Gs^Fms      , Gg          , Gg          , Gg          , Ggf         , Gs^Fp       , Wwf         , Wwf         , Gg          , Gs^Fp       , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Mm          , Hh          , Wwf         , Gs^Fms      , Gg          , Gg          , Gg          , Gs^Fp       , Gg          , Gg          , Gg          , Gg          , Gg          , Ch          , 2 Kh        , Ch          , Wwf         , Rr          , Rr          , Gg          , Gg          , Gg          , Gg          , Gs^Fp       , Gg^Uf       , Hh          , Gs^Fp       , Wwf         , Hh          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Wwf         , Gs^Fp       , Gg^Uf       , Ggf         , Hh          , Mm          , Ss          , Gs^Fp       , Gg          , Ss^Vhs      , Hh          , Ww          , Wwf         , Wwf         , Wwf         , Hh          , Gg          , Ggf         , Gg          , Gg^Ve       , Ggf         , Mm^Xm       , Mm^Xm       , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , Ss          , Mm          , Hh          , Gs^Fp       , Hh^Uf       , Ggf         , Ggf         , Ww          , Ww          , Ww          , Wwf         , Mm          , Gs^Fp       , Gs^Fp       , Gg^Uf       , Gs^Fp       , Gg^Fet      , Hh          , Hh          , Mm^Xm       , Mm          , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
_off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   , _off^_usr   
"
		mp_countdown="yes"
		mp_countdown_action_bonus="13"
		mp_countdown_init_time="270"
		mp_countdown_reservoir_time="330"
		mp_countdown_turn_bonus="60"
		mp_fog="yes"
		mp_shroud="no"
		mp_use_map_settings="yes"
		mp_village_gold="2"
		name="2p - The Freelands"
		next_underlying_unit_id="42"
		objectives="Victory:
@Defeat enemy leader(s)"
		observer="yes"
		playing_team="1"
		random_calls="0"
		random_seed="10408"
		random_start_time="no"
		snapshot="yes"
		turn_at="17"
		turns="-1"
		unit_wml_ids="Cavalryman,Elvish Archer,Elvish Fighter,Elvish Marksman,Elvish Scout,Elvish Shaman,Fencer,Heavy Infantryman,Lieutenant,Mage,Merman Fighter,Spearman,Wose,era_events"
		version="1.6.1"
		[side]
			action_bonus_count="0"
			aggression="0.5"
			allow_player="yes"
			caution="0.25"
			colour="4"
			controller="human"
			countdown_time="271000"
			current_player="Sku"
			disallow_observers="no"
			fog="yes"
			global_recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
			gold="1"
			hidden="no"
			id="Sku1"
			income="0"
			leader_value="3"
			name="Sku"
			no_leader="yes"
			number_of_possible_recruits_to_force_recruit="3.1"
			objectives="Victory:
@Defeat enemy leader(s)"
			objectives_changed="no"
			recruit="Bowman,Cavalryman,Fencer,Heavy Infantryman,Horseman,Mage,Merman Fighter,Spearman"
			recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
			save_id="Sku1"
			share_maps="no"
			share_view="yes"
			shroud="no"
			side="1"
			start_gold="100"
			team_name="north"
#textdomain wesnoth-multiplayer
			user_team_name=_ "teamname^North"
			village_gold="2"
			village_value="1"
			villages_per_scout="8"
			[ai]
				recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
				villages_per_scout="8"
				[team_formula]
					rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
				[/team_formula]
			[/ai]
			[ai]
				villages_per_scout="8"
			[/ai]
			[village]
				x="8"
				y="5"
			[/village]
			[village]
				x="11"
				y="9"
			[/village]
			[village]
				x="12"
				y="2"
			[/village]
			[village]
				x="12"
				y="5"
			[/village]
			[village]
				x="18"
				y="9"
			[/village]
			[village]
				x="22"
				y="2"
			[/village]
			[village]
				x="24"
				y="7"
			[/village]
			[village]
				x="28"
				y="5"
			[/village]
			[unit]
				advances_to="General"
				alignment="lawful"
				allow_changes="yes"
				allow_player="yes"
				alpha="256"
				attacks_left="1"
				canrecruit="yes"
				colour="4"
				controller="network"
				cost="35"
				current_player="Various"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				experience="10"
				facing="n"
				flag_rgb="magenta"
				flying="no"
				fog="yes"
				gender="male"
				gold="100"
				goto_x="-999"
				goto_y="-999"
				hitpoints="24"
				id="Sku1"
				image="units/human-loyalists/lieutenant.png"
				income="0"
#textdomain wesnoth-units
				language_name=_ "Lieutenant"
				leader="Lieutenant,Swordsman,Pikeman,Javelineer,Shock Trooper,Longbowman,White Mage,Red Mage"
				level="2"
				max_attacks="1"
				max_experience="56"
				max_hitpoints="40"
				max_moves="6"
				movement="6"
				movement_type="smallfoot"
				moves="1"
				mp_countdown="yes"
				mp_countdown_action_bonus="13"
				mp_countdown_init_time="270"
				mp_countdown_reservoir_time="330"
				mp_countdown_turn_bonus="60"
				name="Sku"
				profile="portraits/humans/lieutenant.png"
				race="human"
				random_leader="Lieutenant,Swordsman,Pikeman,Javelineer,Longbowman,Red Mage"
				random_traits="no"
				recruit="Cavalryman,Horseman,Spearman,Fencer,Heavy Infantryman,Bowman,Mage,Merman Fighter"
				resting="no"
				save_id="Sku1"
				share_maps="no"
				share_view="yes"
				shroud="no"
				side="1"
				team_name="north"
				terrain_liked="Gg, Ww, Wo"
				type="Lieutenant"
				underlying_id="1"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				user_team_name="wesnoth-multiplayerteamname^North"
				village_gold="2"
				x="19"
				y="4"
				zoc="yes"
				[defense]
					castle="40"
					cave="60"
					deep_water="80"
					flat="60"
					forest="50"
					frozen="80"
					fungus="50"
					hills="50"
					impassable="60"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="80"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="3"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="3"
					unwalkable="99"
					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]
					hidden="yes"
				[/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="Dragoon"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="17"
				die_sound="horse-die.ogg"
				ellipse="misc/ellipse"
				experience="9"
				facing="sw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="41"
				id="Cavalryman-3"
				image="units/human-loyalists/cavalryman.png"
				language_name=_ "Cavalryman"
				level="1"
				max_attacks="1"
				max_experience="28"
				max_hitpoints="41"
				max_moves="9"
				movement="8"
				movement_type="mounted"
				moves="1"
				name="Aethun"
				profile="portraits/humans/cavalryman.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Cavalryman"
				undead_variation="mounted"
				underlying_id="3"
				unrenamable="no"
				upkeep="full"
				usage="scout"
				x="7"
				y="16"
				zoc="yes"
				[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]
				[defense]
					castle="60"
					cave="80"
					deep_water="80"
					flat="60"
					forest="70"
					frozen="70"
					fungus="80"
					hills="60"
					impassable="80"
					mountains="80"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="80"
					unwalkable="80"
					village="60"
				[/defense]
				[movement_costs]
					castle="1"
					cave="4"
					deep_water="99"
					flat="1"
					forest="3"
					frozen="2"
					fungus="4"
					hills="2"
					impassable="99"
					mountains="99"
					reef="3"
					sand="2"
					shallow_water="4"
					swamp_water="4"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="70"
					cold="80"
					fire="100"
					impact="60"
					pierce="120"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="6"
					description=_ "sword"
					icon="attacks/sword-human.png"
					name="sword"
					number="3"
					range="melee"
					type="blade"
				[/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^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="Duelist"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="16"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="nw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="29"
				id="Fencer-4"
				image="units/human-loyalists/fencer.png"
#textdomain wesnoth-units
				language_name=_ "Fencer"
				level="1"
				max_attacks="1"
				max_experience="24"
				max_hitpoints="29"
				max_moves="6"
				movement="6"
				movement_type="elusivefoot"
				moves="0"
				name="Cin"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Fencer"
				underlying_id="4"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="12"
				y="12"
				zoc="yes"
				[attack_anim]
					[filter_attack]
						name="saber"
					[/filter_attack]
					[frame]
						begin="-300"
						end="-250"
						image="units/human-loyalists/fencer-attack-1.png"
						offset="0.0~-0.07"
					[/frame]
					[frame]
						begin="-250"
						end="-200"
						image="units/human-loyalists/fencer-attack-2.png"
						offset="-0.07~-0.15"
					[/frame]
					[if]
						hits="yes"
						[frame]
							begin="-200"
							end="-150"
							image="units/human-loyalists/fencer-attack-3.png"
							offset="-0.15~-0.25"
							sound="sword-1.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							begin="-200"
							end="-150"
							image="units/human-loyalists/fencer-attack-3.png"
							offset="-0.15~-0.25"
							sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
						[/frame]
					[/else]
					[frame]
						begin="-150"
						end="-100"
						image="units/human-loyalists/fencer-attack-4.png"
						offset="-0.25~-0.2"
					[/frame]
					[frame]
						begin="-100"
						end="-50"
						image="units/human-loyalists/fencer-attack-5.png"
						offset="-0.2~-0.1"
					[/frame]
					[frame]
						begin="-50"
						end="0"
						image="units/human-loyalists/fencer-attack-6.png"
						offset="-0.1~0.25"
					[/frame]
					[frame]
						begin="0"
						end="50"
						image="units/human-loyalists/fencer-attack-7.png"
						offset="0.25~0.55"
					[/frame]
					[frame]
						begin="50"
						end="100"
						image="units/human-loyalists/fencer-attack-8.png"
						offset="0.55~0.25"
					[/frame]
					[frame]
						begin="100"
						end="150"
						image="units/human-loyalists/fencer-attack-9.png"
						offset="0.25~0.1"
					[/frame]
					[frame]
						begin="150"
						end="200"
						image="units/human-loyalists/fencer-attack-1.png"
						offset="0.1~0.0"
					[/frame]
				[/attack_anim]
				[death]
					[frame]
						begin="0"
						end="100"
						image="units/human-loyalists/fencer-die1.png"
					[/frame]
					[frame]
						begin="100"
						end="200"
						image="units/human-loyalists/fencer-die2.png"
					[/frame]
					[frame]
						begin="200"
						end="300"
						image="units/human-loyalists/fencer-die3.png"
					[/frame]
					[frame]
						begin="300"
						end="400"
						image="units/human-loyalists/fencer-die4.png"
					[/frame]
					[frame]
						begin="400"
						end="500"
						image="units/human-loyalists/fencer-die5.png"
					[/frame]
				[/death]
				[defend]
					hits="miss"
					[frame]
						begin="-126"
						end="-125"
						image="units/human-loyalists/fencer.png"
					[/frame]
					[frame]
						begin="-125"
						end="-42"
						image="units/human-loyalists/fencer-defend-1-1.png"
					[/frame]
					[frame]
						begin="-42"
						end="41"
						image="units/human-loyalists/fencer-defend-1-2.png"
					[/frame]
					[frame]
						begin="41"
						end="125"
						image="units/human-loyalists/fencer-defend-1-1.png"
					[/frame]
					[frame]
						begin="125"
						end="126"
						image="units/human-loyalists/fencer-defend-1-1.png"
					[/frame]
				[/defend]
				[defend]
					hits="hit"
					[frame]
						begin="-126"
						end="-125"
						image="units/human-loyalists/fencer.png"
					[/frame]
					[frame]
						begin="-125"
						end="-25"
						image="units/human-loyalists/fencer-defend.png"
					[/frame]
					[frame]
						begin="-25"
						end="125"
						image="units/human-loyalists/fencer-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
					[/frame]
					[frame]
						begin="125"
						end="126"
						image="units/human-loyalists/fencer.png"
					[/frame]
				[/defend]
				[defend]
					hits="kill"
					[frame]
						begin="-126"
						end="-125"
						image="units/human-loyalists/fencer.png"
					[/frame]
					[frame]
						begin="-125"
						end="125"
						image="units/human-loyalists/fencer-defend.png"
					[/frame]
					[frame]
						begin="125"
						end="126"
						image="units/human-loyalists/fencer.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/fencer-idle-1.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-7.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/human-loyalists/fencer-idle-1.png"
					[/frame]
				[/idle_anim]
				[defense]
					castle="30"
					cave="50"
					deep_water="70"
					flat="40"
					forest="30"
					frozen="60"
					fungus="30"
					hills="30"
					impassable="50"
					mountains="30"
					reef="50"
					sand="60"
					shallow_water="60"
					swamp_water="60"
					unwalkable="80"
					village="30"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="2"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="130"
					cold="90"
					fire="100"
					impact="120"
					pierce="120"
				[/resistance]
				[abilities]
					[skirmisher]
						affect_self="yes"
#textdomain wesnoth
						description=_ "Skirmisher:
This unit is skilled in moving past enemies quickly, and ignores all enemy Zones of Control."
						female_name=_ "female^skirmisher"
						id="skirmisher"
						name=_ "skirmisher"
					[/skirmisher]
				[/abilities]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="5"
#textdomain wesnoth-units
					description=_ "saber"
					icon="attacks/saber-human.png"
					name="saber"
					number="4"
					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"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="17"
				die_sound="horse-die.ogg"
				ellipse="misc/ellipse"
				experience="14"
				facing="nw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="8"
				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="36"
				max_moves="9"
				movement="8"
				movement_type="mounted"
				moves="0"
				name="Yreollyn"
				profile="portraits/humans/cavalryman.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Cavalryman"
				undead_variation="mounted"
				underlying_id="8"
				unrenamable="no"
				upkeep="full"
				usage="scout"
				x="22"
				y="2"
				zoc="yes"
				[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]
				[defense]
					castle="60"
					cave="80"
					deep_water="80"
					flat="60"
					forest="70"
					frozen="70"
					fungus="80"
					hills="60"
					impassable="80"
					mountains="80"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="80"
					unwalkable="80"
					village="60"
				[/defense]
				[movement_costs]
					castle="1"
					cave="4"
					deep_water="99"
					flat="1"
					forest="3"
					frozen="2"
					fungus="4"
					hills="2"
					impassable="99"
					mountains="99"
					reef="3"
					sand="2"
					shallow_water="4"
					swamp_water="4"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="70"
					cold="80"
					fire="100"
					impact="60"
					pierce="120"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="6"
					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^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="Swordsman,Pikeman,Javelineer"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="14"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="sw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="37"
				id="Spearman-24"
				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"
				movement="5"
				movement_type="smallfoot"
				moves="0"
				name="Blyn"
				profile="portraits/humans/spearman.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Spearman"
				underlying_id="24"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="6"
				y="14"
				zoc="yes"
				[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]
					[frame]
						begin="-100"
						end="-90"
						image="units/human-loyalists/spearman-defend-2.png"
					[/frame]
					[frame]
						begin="-90"
						end="90"
						image="units/human-loyalists/spearman-defend.png"
					[/frame]
					[frame]
						begin="90"
						end="100"
						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]
				[defense]
					castle="40"
					cave="60"
					deep_water="80"
					flat="60"
					forest="50"
					frozen="80"
					fungus="50"
					hills="50"
					impassable="60"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="80"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="3"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="3"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/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="Swordsman,Pikeman,Javelineer"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="14"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				ellipse="misc/ellipse"
				experience="2"
				facing="sw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="39"
				id="Spearman-26"
				image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
				language_name=_ "Spearman"
				level="1"
				max_attacks="1"
				max_experience="29"
				max_hitpoints="39"
				max_moves="6"
				movement="5"
				movement_type="smallfoot"
				moves="0"
				name="Sydocyn"
				profile="portraits/humans/spearman.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Spearman"
				underlying_id="26"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="24"
				y="7"
				zoc="yes"
				[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]
					[frame]
						begin="-100"
						end="-90"
						image="units/human-loyalists/spearman-defend-2.png"
					[/frame]
					[frame]
						begin="-90"
						end="90"
						image="units/human-loyalists/spearman-defend.png"
					[/frame]
					[frame]
						begin="90"
						end="100"
						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]
				[defense]
					castle="40"
					cave="60"
					deep_water="80"
					flat="60"
					forest="50"
					frozen="80"
					fungus="50"
					hills="50"
					impassable="60"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="80"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="3"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="3"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="7"
					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^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^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="Shock Trooper"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="19"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				ellipse="misc/ellipse"
				experience="10"
				facing="n"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="20"
				id="Heavy Infantryman-29"
				image="units/human-loyalists/heavyinfantry.png"
#textdomain wesnoth-units
				language_name=_ "Heavy Infantryman"
				level="1"
				max_attacks="1"
				max_experience="22"
				max_hitpoints="38"
				max_moves="4"
				movement="4"
				movement_type="armoredfoot"
				moves="0"
				name="Seoc"
				profile="portraits/humans/heavy-infantry.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Heavy Infantryman"
				underlying_id="29"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="28"
				y="6"
				zoc="yes"
				[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]
				[defense]
					castle="50"
					cave="60"
					deep_water="80"
					flat="70"
					forest="60"
					frozen="80"
					fungus="60"
					hills="60"
					impassable="60"
					mountains="80"
					reef="80"
					sand="80"
					shallow_water="90"
					swamp_water="90"
					unwalkable="80"
					village="60"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="4"
					fungus="2"
					hills="3"
					impassable="99"
					mountains="99"
					reef="3"
					sand="2"
					shallow_water="4"
					swamp_water="4"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="50"
					cold="110"
					fire="110"
					impact="90"
					pierce="60"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="11"
#textdomain wesnoth-units
					description=_ "mace"
					name="mace"
					number="2"
					range="melee"
					type="impact"
				[/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]
						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="Swordsman,Pikeman,Javelineer"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="14"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				ellipse="misc/ellipse"
				experience="19"
				facing="sw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="14"
				id="Spearman-30"
				image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
				language_name=_ "Spearman"
				level="1"
				max_attacks="1"
				max_experience="29"
				max_hitpoints="39"
				max_moves="6"
				movement="5"
				movement_type="smallfoot"
				moves="0"
				name="Bleodric"
				profile="portraits/humans/spearman.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Spearman"
				underlying_id="30"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="18"
				y="9"
				zoc="yes"
				[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]
					[frame]
						begin="-100"
						end="-90"
						image="units/human-loyalists/spearman-defend-2.png"
					[/frame]
					[frame]
						begin="-90"
						end="90"
						image="units/human-loyalists/spearman-defend.png"
					[/frame]
					[frame]
						begin="90"
						end="100"
						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]
				[defense]
					castle="40"
					cave="60"
					deep_water="80"
					flat="60"
					forest="50"
					frozen="80"
					fungus="50"
					hills="50"
					impassable="60"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="80"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="3"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="3"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="7"
					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^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"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="14"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				ellipse="misc/ellipse"
				experience="1"
				facing="nw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="28"
				id="Spearman-33"
				image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
				language_name=_ "Spearman"
				level="1"
				max_attacks="1"
				max_experience="24"
				max_hitpoints="34"
				max_moves="6"
				movement="5"
				movement_type="smallfoot"
				moves="1"
				name="Vycyn"
				profile="portraits/humans/spearman.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Spearman"
				underlying_id="33"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="28"
				y="5"
				zoc="yes"
				[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]
					[frame]
						begin="-100"
						end="-90"
						image="units/human-loyalists/spearman-defend-2.png"
					[/frame]
					[frame]
						begin="-90"
						end="90"
						image="units/human-loyalists/spearman-defend.png"
					[/frame]
					[frame]
						begin="90"
						end="100"
						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]
				[defense]
					castle="40"
					cave="60"
					deep_water="80"
					flat="60"
					forest="50"
					frozen="80"
					fungus="50"
					hills="50"
					impassable="60"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="80"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="3"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="3"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="7"
					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^intelligent"
						id="intelligent"
						male_name=_ "intelligent"
						name=_ "intelligent"
						[effect]
							apply_to="max_experience"
							increase="-20%"
						[/effect]
					[/trait]
				[/modifications]
			[/unit]
			[unit]
				advances_to="White Mage,Red Mage"
				alignment="lawful"
				alpha="256"
				attacks_left="0"
				cost="20"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="n"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="23"
				id="Mage-39"
				image="units/human-magi/mage.png"
#textdomain wesnoth-units
				language_name=_ "Mage"
				level="1"
				max_attacks="1"
				max_experience="34"
				max_hitpoints="23"
				max_moves="6"
				movement="5"
				movement_type="smallfoot"
				moves="0"
				name="Blinyn"
				profile="portraits/humans/mage.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Mage"
				underlying_id="39"
				unrenamable="no"
				upkeep="full"
				usage="mixed fighter"
				x="20"
				y="3"
				zoc="yes"
				[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]
				[defense]
					castle="40"
					cave="60"
					deep_water="80"
					flat="60"
					forest="50"
					frozen="80"
					fungus="50"
					hills="50"
					impassable="60"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="80"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="3"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="3"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
				[/status]
				[attack]
					damage="5"
					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^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="White Mage,Red Mage"
				alignment="lawful"
				alpha="256"
				attacks_left="0"
				cost="20"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="ne"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="24"
				id="Mage-40"
				image="units/human-magi/mage.png"
#textdomain wesnoth-units
				language_name=_ "Mage"
				level="1"
				max_attacks="1"
				max_experience="42"
				max_hitpoints="24"
				max_moves="6"
				movement="5"
				movement_type="smallfoot"
				moves="0"
				name="Glac"
				profile="portraits/humans/mage.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Mage"
				underlying_id="40"
				unrenamable="no"
				upkeep="full"
				usage="mixed fighter"
				x="20"
				y="4"
				zoc="yes"
				[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]
				[defense]
					castle="40"
					cave="60"
					deep_water="80"
					flat="60"
					forest="50"
					frozen="80"
					fungus="50"
					hills="50"
					impassable="60"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="80"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="3"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="3"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[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^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="Shock Trooper"
				alignment="lawful"
				alpha="256"
				attacks_left="0"
				cost="19"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="nw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="43"
				id="Heavy Infantryman-41"
				image="units/human-loyalists/heavyinfantry.png"
#textdomain wesnoth-units
				language_name=_ "Heavy Infantryman"
				level="1"
				max_attacks="1"
				max_experience="28"
				max_hitpoints="43"
				max_moves="4"
				movement="4"
				movement_type="armoredfoot"
				moves="0"
				name="Mimyryn"
				profile="portraits/humans/heavy-infantry.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Heavy Infantryman"
				underlying_id="41"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="19"
				y="5"
				zoc="yes"
				[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]
				[defense]
					castle="50"
					cave="60"
					deep_water="80"
					flat="70"
					forest="60"
					frozen="80"
					fungus="60"
					hills="60"
					impassable="60"
					mountains="80"
					reef="80"
					sand="80"
					shallow_water="90"
					swamp_water="90"
					unwalkable="80"
					village="60"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="4"
					fungus="2"
					hills="3"
					impassable="99"
					mountains="99"
					reef="3"
					sand="2"
					shallow_water="4"
					swamp_water="4"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="50"
					cold="110"
					fire="110"
					impact="90"
					pierce="60"
				[/resistance]
				[variables]
				[/variables]
				[status]
				[/status]
				[attack]
					damage="11"
#textdomain wesnoth-units
					description=_ "mace"
					name="mace"
					number="2"
					range="melee"
					type="impact"
				[/attack]
				[modifications]
					[trait]
#textdomain wesnoth
						description=_ "Fights normally during unfavorable times of day/night"
						female_name=_ "female^fearless"
						id="fearless"
						male_name=_ "fearless"
						name=_ "fearless"
					[/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"
				alignment="lawful"
				alpha="256"
				attacks_left="0"
				cost="14"
				die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="s"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="34"
				id="Spearman-42"
				image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
				language_name=_ "Spearman"
				level="1"
				max_attacks="1"
				max_experience="24"
				max_hitpoints="34"
				max_moves="6"
				movement="5"
				movement_type="smallfoot"
				moves="0"
				name="Aetheon"
				profile="portraits/humans/spearman.png"
				race="human"
				random_gender="no"
				random_traits="no"
				resting="no"
				side="1"
				type="Spearman"
				underlying_id="42"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="18"
				y="4"
				zoc="yes"
				[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]
					[frame]
						begin="-100"
						end="-90"
						image="units/human-loyalists/spearman-defend-2.png"
					[/frame]
					[frame]
						begin="-90"
						end="90"
						image="units/human-loyalists/spearman-defend.png"
					[/frame]
					[frame]
						begin="90"
						end="100"
						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]
				[defense]
					castle="40"
					cave="60"
					deep_water="80"
					flat="60"
					forest="50"
					frozen="80"
					fungus="50"
					hills="50"
					impassable="60"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="80"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="2"
					deep_water="99"
					flat="1"
					forest="2"
					frozen="3"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="3"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="80"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
				[/status]
				[attack]
					damage="7"
					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^intelligent"
						id="intelligent"
						male_name=_ "intelligent"
						name=_ "intelligent"
						[effect]
							apply_to="max_experience"
							increase="-20%"
						[/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="12"
			aggression="0.5"
			allow_player="yes"
			caution="0.25"
			colour="7"
			controller="network"
			countdown_time="330000"
			current_player="Various"
			disallow_observers="no"
			fog="yes"
			global_recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
			gold="23"
			hidden="no"
			id="Various2"
			income="0"
			leader_value="3"
			name="Various"
			no_leader="yes"
			number_of_possible_recruits_to_force_recruit="3.1"
			objectives="Victory:
@Defeat enemy leader(s)"
			objectives_changed="yes"
			recruit="Elvish Archer,Elvish Fighter,Elvish Scout,Elvish Shaman,Mage,Merman Hunter,Wose"
			recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
			save_id="Various2"
			share_maps="no"
			share_view="yes"
			shroud="no"
			side="2"
			start_gold="100"
			team_name="south"
#textdomain wesnoth-multiplayer
			user_team_name=_ "teamname^South"
			village_gold="2"
			village_value="1"
			villages_per_scout="8"
			[ai]
				recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
				villages_per_scout="8"
				[team_formula]
					rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
				[/team_formula]
			[/ai]
			[ai]
				villages_per_scout="8"
			[/ai]
			[village]
				x="10"
				y="19"
			[/village]
			[village]
				x="14"
				y="17"
			[/village]
			[village]
				x="16"
				y="22"
			[/village]
			[village]
				x="20"
				y="15"
			[/village]
			[village]
				x="26"
				y="19"
			[/village]
			[village]
				x="26"
				y="22"
			[/village]
			[village]
				x="27"
				y="16"
			[/village]
			[village]
				x="30"
				y="19"
			[/village]
			[unit]
				advances_to="Elvish Sharpshooter"
				alignment="neutral"
				allow_changes="yes"
				allow_player="yes"
				alpha="256"
				attacks_left="1"
				canrecruit="yes"
				colour="7"
				controller="network"
				cost="41"
				current_player="Various"
				die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
				experience="8"
				facing="sw"
				flag_rgb="magenta"
				flying="no"
				fog="yes"
				gender="female"
				gold="100"
				goto_x="-999"
				goto_y="-999"
				hitpoints="37"
				id="Various2"
				image="units/elves-wood/marksman+female.png"
				income="0"
#textdomain wesnoth-units
				language_name=_ "female^Elvish Marksman"
				leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,White Mage,Red Mage,Elder Wose"
				level="2"
				max_attacks="1"
				max_experience="56"
				max_hitpoints="37"
				max_moves="6"
				movement="6"
				movement_type="woodland"
				moves="6"
				mp_countdown="yes"
				mp_countdown_action_bonus="13"
				mp_countdown_init_time="270"
				mp_countdown_reservoir_time="330"
				mp_countdown_turn_bonus="60"
				name="Various"
				profile="portraits/elves/marksman+female.png"
				race="elf"
				random_leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,Red Mage"
				random_traits="no"
				recruit="Elvish Fighter,Elvish Archer,Mage,Elvish Shaman,Elvish Scout,Wose,Merman Hunter"
				resting="yes"
				save_id="Various2"
				share_maps="no"
				share_view="yes"
				shroud="no"
				side="2"
				team_name="south"
				terrain_liked="Ff, Fa, Ss, Ww"
				type="Elvish Marksman"
				undead_variation="archer"
				underlying_id="2"
				unrenamable="no"
				upkeep="full"
				usage="archer"
				user_team_name="wesnoth-multiplayerteamname^South"
				village_gold="2"
				x="20"
				y="20"
				zoc="yes"
				[defense]
					castle="40"
					cave="70"
					deep_water="80"
					flat="60"
					forest="30"
					frozen="70"
					fungus="50"
					hills="50"
					impassable="70"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="110"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[portrait]
					image="portraits/elves/transparent/marksman+female.png"
					mirror="false"
					side="left"
					size="400"
				[/portrait]
				[portrait]
					image=" "
					mirror="true"
					side="right"
					size="400"
				[/portrait]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="6"
					description=_ "sword"
					icon="attacks/sword-elven.png"
					name="sword"
					number="2"
					range="melee"
					type="blade"
				[/attack]
				[attack]
					damage="9"
					description=_ "longbow"
					icon="attacks/bow-elven-magic.png"
					name="longbow"
					number="4"
					range="ranged"
					type="pierce"
					[specials]
						[chance_to_hit]
							active_on="offense"
							cumulative="yes"
#textdomain wesnoth
							description=_ "Marksman:
When used offensively, this attack always has at least a 60% chance to hit."
							id="marksman"
							name=_ "marksman"
							value="60"
						[/chance_to_hit]
					[/specials]
				[/attack]
				[modifications]
				[/modifications]
			[/unit]
			[unit]
				advances_to="Elvish Captain,Elvish Hero"
				alignment="neutral"
				alpha="256"
				attacks_left="1"
				cost="14"
				die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="s"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="38"
				id="Elvish Fighter-10"
				image="units/elves-wood/fighter.png"
#textdomain wesnoth-units
				language_name=_ "Elvish Fighter"
				level="1"
				max_attacks="1"
				max_experience="28"
				max_hitpoints="38"
				max_moves="5"
				movement="5"
				movement_type="woodland"
				moves="5"
				name="Norfinomiril"
				profile="portraits/elves/fighter.png"
				race="elf"
				random_gender="no"
				random_traits="no"
				resting="yes"
				side="2"
				type="Elvish Fighter"
				underlying_id="10"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="10"
				y="19"
				zoc="yes"
				[attack_anim]
					[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]
						begin="-445"
						end="-380"
						image="units/elves-wood/fighter-bow.png"
					[/frame]
					[if]
						hits="yes"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/fighter-bow-attack1.png"
							sound="bow.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/fighter-bow-attack1.png"
							sound="bow-miss.ogg"
						[/frame]
					[/else]
					[frame]
						begin="-305"
						end="-230"
						image="units/elves-wood/fighter-bow-attack2.png"
					[/frame]
					[frame]
						begin="-230"
						end="-130"
						image="units/elves-wood/fighter-bow-attack3.png"
					[/frame]
					[frame]
						begin="-130"
						end="0"
						image="units/elves-wood/fighter-bow-attack4.png"
					[/frame]
					[frame]
						begin="0"
						end="65"
						image="units/elves-wood/fighter-bow.png"
					[/frame]
				[/attack_anim]
				[attack_anim]
					[filter_attack]
						name="sword"
					[/filter_attack]
					[frame]
						begin="-175"
						end="-100"
						image="units/elves-wood/fighter.png"
					[/frame]
					[if]
						hits="yes"
						[frame]
							begin="-100"
							end="100"
							image="units/elves-wood/fighter-melee-1.png"
							sound="sword-1.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							begin="-100"
							end="100"
							image="units/elves-wood/fighter-melee-1.png"
							sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
						[/frame]
					[/else]
					[frame]
						begin="100"
						end="150"
						image="units/elves-wood/fighter-melee-2.png"
					[/frame]
					[frame]
						begin="150"
						end="175"
						image="units/elves-wood/fighter.png"
					[/frame]
				[/attack_anim]
				[defend]
					start_time="-126"
					[filter_attack]
						range="melee"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/fighter.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/fighter-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/fighter-defend.png"
							sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/fighter-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/fighter.png"
					[/frame]
				[/defend]
				[defend]
					start_time="-126"
					[filter_attack]
						range="ranged"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/fighter-bow.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/fighter-bow-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/fighter-bow-defend.png"
							sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/fighter-bow-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/fighter-bow.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/elves-wood/fighter-idle-1.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/fighter-idle-2.png"
					[/frame]
					[frame]
						duration="125"
						image="units/elves-wood/fighter-idle-3.png"
					[/frame]
					[frame]
						duration="150"
						image="units/elves-wood/fighter-idle-4.png"
					[/frame]
					[frame]
						duration="175"
						image="units/elves-wood/fighter-idle-5.png"
					[/frame]
					[frame]
						duration="200"
						image="units/elves-wood/fighter-idle-6.png"
					[/frame]
					[frame]
						duration="200"
						image="units/elves-wood/fighter-idle-5.png"
					[/frame]
					[frame]
						duration="400"
						image="units/elves-wood/fighter-idle-6.png"
					[/frame]
					[frame]
						duration="175"
						image="units/elves-wood/fighter-idle-7.png"
					[/frame]
					[frame]
						duration="200"
						image="units/elves-wood/fighter-idle-8.png"
					[/frame]
					[frame]
						duration="250"
						image="units/elves-wood/fighter-idle-9.png"
					[/frame]
					[frame]
						duration="400"
						image="units/elves-wood/fighter-idle-10.png"
					[/frame]
					[frame]
						duration="150"
						image="units/elves-wood/fighter-idle-9.png"
					[/frame]
					[frame]
						duration="150"
						image="units/elves-wood/fighter-idle-11.png"
					[/frame]
					[frame]
						duration="150"
						image="units/elves-wood/fighter-idle-12.png"
					[/frame]
				[/idle_anim]
				[portrait]
					image="portraits/elves/transparent/fighter.png"
					mirror="false"
					side="left"
					size="400"
				[/portrait]
				[portrait]
					image="portraits/elves/transparent/fighter.png"
					mirror="true"
					side="right"
					size="400"
				[/portrait]
				[defense]
					castle="40"
					cave="70"
					deep_water="80"
					flat="60"
					forest="40"
					frozen="70"
					fungus="50"
					hills="50"
					impassable="70"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="110"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="5"
					description=_ "sword"
					icon="attacks/sword-elven.png"
					name="sword"
					number="4"
					range="melee"
					type="blade"
				[/attack]
				[attack]
					damage="4"
					description=_ "bow"
					icon="attacks/bow-elven.png"
					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^dextrous"
						id="dextrous"
						male_name=_ "dextrous"
						name=_ "dextrous"
						[effect]
							apply_to="attack"
							increase_damage="1"
							range="ranged"
						[/effect]
					[/trait]
				[/modifications]
			[/unit]
			[unit]
				advances_to="Elvish Ranger,Elvish Marksman"
				alignment="neutral"
				alpha="256"
				attacks_left="1"
				cost="17"
				die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
				ellipse="misc/ellipse"
				experience="7"
				facing="nw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="29"
				id="Elvish Archer-25"
				image="units/elves-wood/archer.png"
#textdomain wesnoth-units
				language_name=_ "Elvish Archer"
				level="1"
				max_attacks="1"
				max_experience="31"
				max_hitpoints="29"
				max_moves="7"
				movement="6"
				movement_type="woodland"
				moves="7"
				name="Taralundel"
				profile="portraits/elves/archer.png"
				race="elf"
				random_gender="no"
				random_traits="no"
				resting="yes"
				side="2"
				type="Elvish Archer"
				undead_variation="archer"
				underlying_id="25"
				unrenamable="no"
				upkeep="full"
				usage="archer"
				x="27"
				y="16"
				zoc="yes"
				[attack_anim]
					[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]
						begin="-445"
						end="-380"
						image="units/elves-wood/archer-bow.png"
					[/frame]
					[if]
						hits="yes"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/archer-bow-attack1.png"
							sound="bow.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/archer-bow-attack1.png"
							sound="bow-miss.ogg"
						[/frame]
					[/else]
					[frame]
						begin="-305"
						end="-230"
						image="units/elves-wood/archer-bow-attack2.png"
					[/frame]
					[frame]
						begin="-230"
						end="-130"
						image="units/elves-wood/archer-bow-attack3.png"
					[/frame]
					[frame]
						begin="-130"
						end="0"
						image="units/elves-wood/archer-bow-attack4.png"
					[/frame]
					[frame]
						begin="0"
						end="65"
						image="units/elves-wood/archer-bow.png"
					[/frame]
				[/attack_anim]
				[attack_anim]
					[filter_attack]
						name="sword"
					[/filter_attack]
					[frame]
						begin="-200"
						end="-175"
						image="units/elves-wood/archer-sword.png"
					[/frame]
					[frame]
						begin="-175"
						end="-75"
						image="units/elves-wood/archer-sword-1.png"
					[/frame]
					[if]
						hits="no"
						[frame]
							begin="-75"
							end="75"
							image="units/elves-wood/archer-sword-2.png"
							sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
						[/frame]
					[/if]
					[else]
						hits="yes"
						[frame]
							begin="-75"
							end="75"
							image="units/elves-wood/archer-sword-2.png"
							sound="sword-1.ogg"
						[/frame]
					[/else]
					[frame]
						begin="75"
						end="125"
						image="units/elves-wood/archer-sword-3.png"
					[/frame]
					[frame]
						begin="125"
						end="175"
						image="units/elves-wood/archer-sword-4.png"
					[/frame]
					[frame]
						begin="175"
						end="200"
						image="units/elves-wood/archer-sword.png"
					[/frame]
				[/attack_anim]
				[defend]
					start_time="-126"
					[filter_attack]
						range="melee"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/archer-sword.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-sword-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/archer-sword-defend.png"
							sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/archer-sword-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/archer-sword.png"
					[/frame]
				[/defend]
				[defend]
					start_time="-126"
					[filter_attack]
						range="ranged"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/archer-bow.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-bow-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/archer-bow-defend.png"
							sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/archer-bow-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/archer-bow.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/elves-wood/archer-idle-1.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-1.png"
					[/frame]
				[/idle_anim]
				[portrait]
					image="portraits/elves/transparent/archer.png"
					mirror="false"
					side="left"
					size="400"
				[/portrait]
				[portrait]
					image="portraits/elves/transparent/archer.png"
					mirror="true"
					side="right"
					size="400"
				[/portrait]
				[defense]
					castle="40"
					cave="70"
					deep_water="80"
					flat="60"
					forest="30"
					frozen="70"
					fungus="50"
					hills="50"
					impassable="70"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="110"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="6"
					description=_ "sword"
					icon="attacks/sword-elven.png"
					name="sword"
					number="2"
					range="melee"
					type="blade"
				[/attack]
				[attack]
					damage="5"
					description=_ "bow"
					icon="attacks/bow-elven.png"
					name="bow"
					number="4"
					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="Elvish Druid,Elvish Sorceress"
				alignment="neutral"
				alpha="256"
				attacks_left="1"
				cost="15"
				die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="se"
				flag_rgb="magenta"
				flying="no"
				gender="female"
				goto_x="-999"
				goto_y="-999"
				hitpoints="31"
				id="Elvish Shaman-27"
				image="units/elves-wood/shaman.png"
#textdomain wesnoth-units
				language_name=_ "female^Elvish Shaman"
				level="1"
				max_attacks="1"
				max_experience="22"
				max_hitpoints="31"
				max_moves="5"
				movement="5"
				movement_type="woodland"
				moves="5"
				name="Amith"
				profile="portraits/elves/shaman.png~RIGHT()"
				race="elf"
				random_gender="no"
				random_traits="no"
				resting="yes"
				side="2"
				type="Elvish Shaman"
				underlying_id="27"
				unrenamable="no"
				upkeep="full"
				usage="healer"
				x="14"
				y="17"
				zoc="yes"
				[attack_anim]
					[filter_attack]
						name="entangle"
					[/filter_attack]
					[missile_frame]
						begin="-200"
						end="50"
						image="projectiles/entangle.png"
						image_diagonal="projectiles/entangle.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-450"
						end="-375"
						halo="halo/elven/nature-halo1.png"
						halo_x="0"
						halo_y="-12"
						image="units/elves-wood/shaman.png"
					[/frame]
					[frame]
						begin="-375"
						end="-300"
						halo="halo/elven/nature-halo2.png"
						halo_x="0"
						halo_y="-12"
						image="units/elves-wood/shaman.png"
					[/frame]
					[frame]
						begin="-300"
						end="-225"
						halo="halo/elven/nature-halo3.png"
						halo_x="0"
						halo_y="-12"
						image="units/elves-wood/shaman.png"
					[/frame]
					[frame]
						begin="-225"
						end="-150"
						halo="halo/elven/nature-halo4.png"
						halo_x="0"
						halo_y="-12"
						image="units/elves-wood/shaman-attack2.png"
					[/frame]
					[frame]
						begin="-150"
						end="-75"
						halo="halo/elven/nature-halo5.png"
						halo_x="0"
						halo_y="-12"
						image="units/elves-wood/shaman-attack2.png"
					[/frame]
					[if]
						hits="hit"
						slowed_sound_start_time="-100"
						[filter_second]
							[not]
								[filter_wml]
									[status]
										slowed="yes"
									[/status]
								[/filter_wml]
							[/not]
						[/filter_second]
						[slowed_sound_frame]
							duration="100"
							sound="slowed.wav"
						[/slowed_sound_frame]
					[/if]
					[frame]
						begin="-75"
						end="0"
						halo="halo/elven/nature-halo6.png"
						halo_x="0"
						halo_y="-12"
						image="units/elves-wood/shaman-attack2.png"
						sound="entangle.wav"
					[/frame]
					[frame]
						begin="-0"
						end="50"
						halo="halo/elven/nature-halo7.png"
						halo_x="0"
						halo_y="-12"
						image="units/elves-wood/shaman.png"
					[/frame]
					[frame]
						begin="50"
						end="100"
						halo="halo/elven/nature-halo8.png"
						halo_x="0"
						halo_y="-12"
						image="units/elves-wood/shaman.png"
					[/frame]
					[frame]
						begin="100"
						end="150"
						image="units/elves-wood/shaman.png"
					[/frame]
				[/attack_anim]
				[attack_anim]
					[filter_attack]
						name="staff"
					[/filter_attack]
					[frame]
						begin="-175"
						end="-100"
						image="units/elves-wood/shaman.png"
					[/frame]
					[if]
						hits="yes"
						[frame]
							begin="-100"
							end="100"
							image="units/elves-wood/shaman-attack.png"
							sound="staff.wav"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							begin="-100"
							end="100"
							image="units/elves-wood/shaman-attack.png"
							sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
						[/frame]
					[/else]
					[frame]
						begin="100"
						end="175"
						image="units/elves-wood/shaman.png"
					[/frame]
				[/attack_anim]
				[defend]
					start_time="-126"
					[frame]
						duration="1"
						image="units/elves-wood/shaman.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/shaman-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/shaman-defend.png"
							sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/shaman-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/shaman.png"
					[/frame]
				[/defend]
				[healing_anim]
					start_time="-200"
					[frame]
						duration="55"
						image="units/elves-wood/shaman-heal1.png"
					[/frame]
					[frame]
						duration="55"
						image="units/elves-wood/shaman-heal2.png"
					[/frame]
					[frame]
						duration="55"
						halo="halo/elven/shaman-heal-halo-1.png"
						image="units/elves-wood/shaman-heal3.png"
					[/frame]
					[frame]
						duration="55"
						halo="halo/elven/shaman-heal-halo-2.png"
						image="units/elves-wood/shaman-heal4.png"
					[/frame]
					[frame]
						duration="55"
						halo="halo/elven/shaman-heal-halo-3.png"
						image="units/elves-wood/shaman-heal5.png"
					[/frame]
					[frame]
						duration="55"
						halo="halo/elven/shaman-heal-halo-4.png"
						image="units/elves-wood/shaman-heal6.png"
					[/frame]
					[frame]
						duration="55"
						halo="halo/elven/shaman-heal-halo-5.png"
						image="units/elves-wood/shaman-heal7.png"
					[/frame]
					[frame]
						duration="55"
						halo="halo/elven/shaman-heal-halo-6.png"
						image="units/elves-wood/shaman-heal8.png"
					[/frame]
					[frame]
						duration="55"
						halo="halo/elven/shaman-heal-halo-7.png"
						image="units/elves-wood/shaman-heal9.png"
					[/frame]
					[frame]
						duration="30"
						image="units/elves-wood/shaman-heal9.png"
					[/frame]
				[/healing_anim]
				[portrait]
					image="portraits/elves/transparent/shaman.png"
					mirror="false"
					side="left"
					size="400"
				[/portrait]
				[portrait]
					image="portraits/elves/transparent/shaman.png"
					mirror="true"
					side="right"
					size="400"
				[/portrait]
				[defense]
					castle="40"
					cave="70"
					deep_water="80"
					flat="60"
					forest="30"
					frozen="70"
					fungus="50"
					hills="50"
					impassable="70"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="110"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[abilities]
					[heals]
						affect_allies="yes"
						affect_self="no"
#textdomain wesnoth
						description=_ "Heals +4:
Allows the unit to heal adjacent allied units at the beginning of our turn.

A unit cared for by this healer may heal up to 4 HP per turn, or stop poison from taking effect for that turn.
A poisoned unit cannot be cured of its poison by a healer, and must seek the care of a village or a unit that can cure."
						female_name=_ "female^heals +4"
						id="healing"
						name=_ "heals +4"
						poison="slowed"
						value="4"
						[affect_adjacent]
							adjacent="n,ne,se,s,sw,nw"
						[/affect_adjacent]
					[/heals]
				[/abilities]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="3"
#textdomain wesnoth-units
					description=_ "staff"
					icon="attacks/druidstaff.png"
					name="staff"
					number="2"
					range="melee"
					type="impact"
				[/attack]
				[attack]
					damage="4"
					description=_ "entangle"
					name="entangle"
					number="2"
					range="ranged"
					type="impact"
					[specials]
						[slow]
#textdomain wesnoth
							description=_ "Slow:
This attack slows the target until it ends a turn. Slow halves the damage caused by attacks and the movement cost for a slowed unit is doubled. A unit that is slowed will feature a snail icon in its sidebar information when it is selected."
							id="slow"
							name=_ "slows"
						[/slow]
					[/specials]
				[/attack]
				[modifications]
					[trait]
						female_name=_ "female^resilient"
						id="resilient"
						male_name=_ "resilient"
						name=_ "female^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^dextrous"
						id="dextrous"
						male_name=_ "dextrous"
						name=_ "female^dextrous"
						[effect]
							apply_to="attack"
							increase_damage="1"
							range="ranged"
						[/effect]
					[/trait]
				[/modifications]
			[/unit]
			[unit]
				advances_to="Elder Wose"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="20"
				die_sound="wose-die.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="n"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="52"
				id="Wose-31"
				image="units/woses/wose.png"
#textdomain wesnoth-units
				language_name=_ "Wose"
				level="1"
				max_attacks="1"
				max_experience="28"
				max_hitpoints="52"
				max_moves="4"
				movement="4"
				movement_type="treefolk"
				moves="4"
				name="Tantor"
				race="wose"
				random_gender="no"
				random_traits="no"
				resting="yes"
				side="2"
				type="Wose"
				undead_variation="wose"
				underlying_id="31"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="27"
				y="12"
				zoc="yes"
				[attack_anim]
					start_time="-500"
					[filter_attack]
						name="crush"
					[/filter_attack]
					[if]
						hits="yes"
						[frame]
							duration="400"
							image="units/woses/wose-attack-1.png"
							sound="wose-attack.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							duration="400"
							image="units/woses/wose-attack-1.png"
							sound="wose-miss.ogg"
						[/frame]
					[/else]
					[frame]
						duration="150"
						image="units/woses/wose-attack-2.png"
					[/frame]
					[frame]
						duration="75"
						image="units/woses/wose-attack-1.png"
					[/frame]
				[/attack_anim]
				[death]
					start_time="0"
					[filter_attack]
						type="blade,impact,pierce"
					[/filter_attack]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-1.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-7.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-8.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-9.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-10.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-11.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-12.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-13.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-14.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-15.png"
					[/frame]
				[/death]
				[death]
					start_time="0"
					[filter_attack]
						type="arcane,fire,cold"
					[/filter_attack]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-1.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-2.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-3.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-4.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-5.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-6.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-7.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-8.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-9.png"
					[/frame]
				[/death]
				[defend]
					start_time="-126"
					[frame]
						duration="1"
						image="units/woses/wose.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/woses/wose-defend.png"
							sound="wose-hit.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/woses/wose-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/woses/wose.png"
					[/frame]
				[/defend]
				[defense]
					castle="80"
					cave="80"
					deep_water="90"
					flat="80"
					forest="60"
					frozen="80"
					fungus="70"
					hills="70"
					impassable="80"
					mountains="70"
					reef="80"
					sand="80"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="80"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="2"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="130"
					blade="100"
					cold="90"
					fire="150"
					impact="60"
					pierce="40"
				[/resistance]
				[abilities]
					[hides]
						affect_self="yes"
#textdomain wesnoth
						description=_ "Ambush:
This unit can hide in forest, and remain undetected by its enemies.

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

Enemy units cannot see this unit while it is in forest, 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^ambush"
						female_name_inactive=_ "female^ambush"
						id="ambush"
						name=_ "ambush"
						name_inactive=_ "ambush"
						[filter_self]
							[filter_location]
								terrain="*^Fp,*^Fet,*^Ft,*^Fpa,*^Fd*,*^Fm*"
							[/filter_location]
						[/filter_self]
					[/hides]
					[regenerate]
						affect_self="yes"
						description=_ "Regenerates:
The unit will heal itself 8 HP per turn. If it is poisoned, it will remove the poison instead of healing."
						female_name=_ "female^regenerates"
						id="regenerates"
						name=_ "regenerates"
						poison="cured"
						value="8"
					[/regenerate]
				[/abilities]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="13"
#textdomain wesnoth-units
					description=_ "crush"
					icon="attacks/crush-wose.png"
					name="crush"
					number="2"
					range="melee"
					type="impact"
				[/attack]
				[modifications]
				[/modifications]
			[/unit]
			[unit]
				advances_to="Elder Wose"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="20"
				die_sound="wose-die.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="nw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="52"
				id="Wose-32"
				image="units/woses/wose.png"
				language_name=_ "Wose"
				level="1"
				max_attacks="1"
				max_experience="28"
				max_hitpoints="52"
				max_moves="4"
				movement="4"
				movement_type="treefolk"
				moves="4"
				name="Lolman"
				race="wose"
				random_gender="no"
				random_traits="no"
				resting="yes"
				side="2"
				type="Wose"
				undead_variation="wose"
				underlying_id="32"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="12"
				y="18"
				zoc="yes"
				[attack_anim]
					start_time="-500"
					[filter_attack]
						name="crush"
					[/filter_attack]
					[if]
						hits="yes"
						[frame]
							duration="400"
							image="units/woses/wose-attack-1.png"
							sound="wose-attack.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							duration="400"
							image="units/woses/wose-attack-1.png"
							sound="wose-miss.ogg"
						[/frame]
					[/else]
					[frame]
						duration="150"
						image="units/woses/wose-attack-2.png"
					[/frame]
					[frame]
						duration="75"
						image="units/woses/wose-attack-1.png"
					[/frame]
				[/attack_anim]
				[death]
					start_time="0"
					[filter_attack]
						type="blade,impact,pierce"
					[/filter_attack]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-1.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-7.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-8.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-9.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-10.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-11.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-12.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-13.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-14.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-15.png"
					[/frame]
				[/death]
				[death]
					start_time="0"
					[filter_attack]
						type="arcane,fire,cold"
					[/filter_attack]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-1.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-2.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-3.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-4.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-5.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-6.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-7.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-8.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-9.png"
					[/frame]
				[/death]
				[defend]
					start_time="-126"
					[frame]
						duration="1"
						image="units/woses/wose.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/woses/wose-defend.png"
							sound="wose-hit.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/woses/wose-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/woses/wose.png"
					[/frame]
				[/defend]
				[defense]
					castle="80"
					cave="80"
					deep_water="90"
					flat="80"
					forest="60"
					frozen="80"
					fungus="70"
					hills="70"
					impassable="80"
					mountains="70"
					reef="80"
					sand="80"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="80"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="2"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="130"
					blade="100"
					cold="90"
					fire="150"
					impact="60"
					pierce="40"
				[/resistance]
				[abilities]
					[hides]
						affect_self="yes"
#textdomain wesnoth
						description=_ "Ambush:
This unit can hide in forest, and remain undetected by its enemies.

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

Enemy units cannot see this unit while it is in forest, 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^ambush"
						female_name_inactive=_ "female^ambush"
						id="ambush"
						name=_ "ambush"
						name_inactive=_ "ambush"
						[filter_self]
							[filter_location]
								terrain="*^Fp,*^Fet,*^Ft,*^Fpa,*^Fd*,*^Fm*"
							[/filter_location]
						[/filter_self]
					[/hides]
					[regenerate]
						affect_self="yes"
						description=_ "Regenerates:
The unit will heal itself 8 HP per turn. If it is poisoned, it will remove the poison instead of healing."
						female_name=_ "female^regenerates"
						id="regenerates"
						name=_ "regenerates"
						poison="cured"
						value="8"
					[/regenerate]
				[/abilities]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="13"
#textdomain wesnoth-units
					description=_ "crush"
					icon="attacks/crush-wose.png"
					name="crush"
					number="2"
					range="melee"
					type="impact"
				[/attack]
				[modifications]
				[/modifications]
			[/unit]
			[unit]
				advances_to="Elder Wose"
				alignment="lawful"
				alpha="256"
				attacks_left="1"
				cost="20"
				die_sound="wose-die.ogg"
				ellipse="misc/ellipse"
				experience="8"
				facing="n"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="52"
				id="Wose-34"
				image="units/woses/wose.png"
				language_name=_ "Wose"
				level="1"
				max_attacks="1"
				max_experience="28"
				max_hitpoints="52"
				max_moves="4"
				movement="4"
				movement_type="treefolk"
				moves="4"
				name="Delmantor"
				race="wose"
				random_gender="no"
				random_traits="no"
				resting="yes"
				side="2"
				type="Wose"
				undead_variation="wose"
				underlying_id="34"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="26"
				y="12"
				zoc="yes"
				[attack_anim]
					start_time="-500"
					[filter_attack]
						name="crush"
					[/filter_attack]
					[if]
						hits="yes"
						[frame]
							duration="400"
							image="units/woses/wose-attack-1.png"
							sound="wose-attack.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							duration="400"
							image="units/woses/wose-attack-1.png"
							sound="wose-miss.ogg"
						[/frame]
					[/else]
					[frame]
						duration="150"
						image="units/woses/wose-attack-2.png"
					[/frame]
					[frame]
						duration="75"
						image="units/woses/wose-attack-1.png"
					[/frame]
				[/attack_anim]
				[death]
					start_time="0"
					[filter_attack]
						type="blade,impact,pierce"
					[/filter_attack]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-1.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-7.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-8.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-9.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-10.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-11.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-12.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-13.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-14.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-die-fall-15.png"
					[/frame]
				[/death]
				[death]
					start_time="0"
					[filter_attack]
						type="arcane,fire,cold"
					[/filter_attack]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-1.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-2.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-3.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-4.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-5.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-6.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-7.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-8.png"
					[/frame]
					[frame]
						duration="150"
						image="units/woses/wose-die-decay-9.png"
					[/frame]
				[/death]
				[defend]
					start_time="-126"
					[frame]
						duration="1"
						image="units/woses/wose.png"
					[/frame]
					[frame]
						duration="100"
						image="units/woses/wose-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/woses/wose-defend.png"
							sound="wose-hit.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/woses/wose-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/woses/wose.png"
					[/frame]
				[/defend]
				[defense]
					castle="80"
					cave="80"
					deep_water="90"
					flat="80"
					forest="60"
					frozen="80"
					fungus="70"
					hills="70"
					impassable="80"
					mountains="70"
					reef="80"
					sand="80"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="80"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="2"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="130"
					blade="100"
					cold="90"
					fire="150"
					impact="60"
					pierce="40"
				[/resistance]
				[abilities]
					[hides]
						affect_self="yes"
#textdomain wesnoth
						description=_ "Ambush:
This unit can hide in forest, and remain undetected by its enemies.

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

Enemy units cannot see this unit while it is in forest, 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^ambush"
						female_name_inactive=_ "female^ambush"
						id="ambush"
						name=_ "ambush"
						name_inactive=_ "ambush"
						[filter_self]
							[filter_location]
								terrain="*^Fp,*^Fet,*^Ft,*^Fpa,*^Fd*,*^Fm*"
							[/filter_location]
						[/filter_self]
					[/hides]
					[regenerate]
						affect_self="yes"
						description=_ "Regenerates:
The unit will heal itself 8 HP per turn. If it is poisoned, it will remove the poison instead of healing."
						female_name=_ "female^regenerates"
						id="regenerates"
						name=_ "regenerates"
						poison="cured"
						value="8"
					[/regenerate]
				[/abilities]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="13"
#textdomain wesnoth-units
					description=_ "crush"
					icon="attacks/crush-wose.png"
					name="crush"
					number="2"
					range="melee"
					type="impact"
				[/attack]
				[modifications]
				[/modifications]
			[/unit]
			[unit]
				advances_to="Elvish Ranger,Elvish Marksman"
				alignment="neutral"
				alpha="256"
				attacks_left="1"
				cost="17"
				die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="nw"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="29"
				id="Elvish Archer-35"
				image="units/elves-wood/archer.png"
				language_name=_ "Elvish Archer"
				level="1"
				max_attacks="1"
				max_experience="25"
				max_hitpoints="29"
				max_moves="6"
				movement="6"
				movement_type="woodland"
				moves="6"
				name="Cin"
				profile="portraits/elves/archer.png"
				race="elf"
				random_gender="no"
				random_traits="no"
				resting="yes"
				side="2"
				type="Elvish Archer"
				undead_variation="archer"
				underlying_id="35"
				unrenamable="no"
				upkeep="full"
				usage="archer"
				x="25"
				y="13"
				zoc="yes"
				[attack_anim]
					[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]
						begin="-445"
						end="-380"
						image="units/elves-wood/archer-bow.png"
					[/frame]
					[if]
						hits="yes"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/archer-bow-attack1.png"
							sound="bow.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/archer-bow-attack1.png"
							sound="bow-miss.ogg"
						[/frame]
					[/else]
					[frame]
						begin="-305"
						end="-230"
						image="units/elves-wood/archer-bow-attack2.png"
					[/frame]
					[frame]
						begin="-230"
						end="-130"
						image="units/elves-wood/archer-bow-attack3.png"
					[/frame]
					[frame]
						begin="-130"
						end="0"
						image="units/elves-wood/archer-bow-attack4.png"
					[/frame]
					[frame]
						begin="0"
						end="65"
						image="units/elves-wood/archer-bow.png"
					[/frame]
				[/attack_anim]
				[attack_anim]
					[filter_attack]
						name="sword"
					[/filter_attack]
					[frame]
						begin="-200"
						end="-175"
						image="units/elves-wood/archer-sword.png"
					[/frame]
					[frame]
						begin="-175"
						end="-75"
						image="units/elves-wood/archer-sword-1.png"
					[/frame]
					[if]
						hits="no"
						[frame]
							begin="-75"
							end="75"
							image="units/elves-wood/archer-sword-2.png"
							sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
						[/frame]
					[/if]
					[else]
						hits="yes"
						[frame]
							begin="-75"
							end="75"
							image="units/elves-wood/archer-sword-2.png"
							sound="sword-1.ogg"
						[/frame]
					[/else]
					[frame]
						begin="75"
						end="125"
						image="units/elves-wood/archer-sword-3.png"
					[/frame]
					[frame]
						begin="125"
						end="175"
						image="units/elves-wood/archer-sword-4.png"
					[/frame]
					[frame]
						begin="175"
						end="200"
						image="units/elves-wood/archer-sword.png"
					[/frame]
				[/attack_anim]
				[defend]
					start_time="-126"
					[filter_attack]
						range="melee"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/archer-sword.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-sword-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/archer-sword-defend.png"
							sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/archer-sword-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/archer-sword.png"
					[/frame]
				[/defend]
				[defend]
					start_time="-126"
					[filter_attack]
						range="ranged"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/archer-bow.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-bow-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/archer-bow-defend.png"
							sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/archer-bow-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/archer-bow.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/elves-wood/archer-idle-1.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-1.png"
					[/frame]
				[/idle_anim]
				[portrait]
					image="portraits/elves/transparent/archer.png"
					mirror="false"
					side="left"
					size="400"
				[/portrait]
				[portrait]
					image="portraits/elves/transparent/archer.png"
					mirror="true"
					side="right"
					size="400"
				[/portrait]
				[defense]
					castle="40"
					cave="70"
					deep_water="80"
					flat="60"
					forest="30"
					frozen="70"
					fungus="50"
					hills="50"
					impassable="70"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="110"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="5"
					description=_ "sword"
					icon="attacks/sword-elven.png"
					name="sword"
					number="2"
					range="melee"
					type="blade"
				[/attack]
				[attack]
					damage="6"
					description=_ "bow"
					icon="attacks/bow-elven.png"
					name="bow"
					number="4"
					range="ranged"
					type="pierce"
				[/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^dextrous"
						id="dextrous"
						male_name=_ "dextrous"
						name=_ "dextrous"
						[effect]
							apply_to="attack"
							increase_damage="1"
							range="ranged"
						[/effect]
					[/trait]
				[/modifications]
			[/unit]
			[unit]
				advances_to="Elvish Ranger,Elvish Marksman"
				alignment="neutral"
				alpha="256"
				attacks_left="1"
				cost="17"
				die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
				ellipse="misc/ellipse"
				experience="2"
				facing="n"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="26"
				id="Elvish Archer-36"
				image="units/elves-wood/archer.png"
#textdomain wesnoth-units
				language_name=_ "Elvish Archer"
				level="1"
				max_attacks="1"
				max_experience="31"
				max_hitpoints="33"
				max_moves="7"
				movement="6"
				movement_type="woodland"
				moves="7"
				name="Garandelduil"
				profile="portraits/elves/archer.png"
				race="elf"
				random_gender="no"
				random_traits="no"
				resting="yes"
				side="2"
				type="Elvish Archer"
				undead_variation="archer"
				underlying_id="36"
				unrenamable="no"
				upkeep="full"
				usage="archer"
				x="27"
				y="11"
				zoc="yes"
				[attack_anim]
					[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]
						begin="-445"
						end="-380"
						image="units/elves-wood/archer-bow.png"
					[/frame]
					[if]
						hits="yes"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/archer-bow-attack1.png"
							sound="bow.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/archer-bow-attack1.png"
							sound="bow-miss.ogg"
						[/frame]
					[/else]
					[frame]
						begin="-305"
						end="-230"
						image="units/elves-wood/archer-bow-attack2.png"
					[/frame]
					[frame]
						begin="-230"
						end="-130"
						image="units/elves-wood/archer-bow-attack3.png"
					[/frame]
					[frame]
						begin="-130"
						end="0"
						image="units/elves-wood/archer-bow-attack4.png"
					[/frame]
					[frame]
						begin="0"
						end="65"
						image="units/elves-wood/archer-bow.png"
					[/frame]
				[/attack_anim]
				[attack_anim]
					[filter_attack]
						name="sword"
					[/filter_attack]
					[frame]
						begin="-200"
						end="-175"
						image="units/elves-wood/archer-sword.png"
					[/frame]
					[frame]
						begin="-175"
						end="-75"
						image="units/elves-wood/archer-sword-1.png"
					[/frame]
					[if]
						hits="no"
						[frame]
							begin="-75"
							end="75"
							image="units/elves-wood/archer-sword-2.png"
							sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
						[/frame]
					[/if]
					[else]
						hits="yes"
						[frame]
							begin="-75"
							end="75"
							image="units/elves-wood/archer-sword-2.png"
							sound="sword-1.ogg"
						[/frame]
					[/else]
					[frame]
						begin="75"
						end="125"
						image="units/elves-wood/archer-sword-3.png"
					[/frame]
					[frame]
						begin="125"
						end="175"
						image="units/elves-wood/archer-sword-4.png"
					[/frame]
					[frame]
						begin="175"
						end="200"
						image="units/elves-wood/archer-sword.png"
					[/frame]
				[/attack_anim]
				[defend]
					start_time="-126"
					[filter_attack]
						range="melee"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/archer-sword.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-sword-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/archer-sword-defend.png"
							sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/archer-sword-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/archer-sword.png"
					[/frame]
				[/defend]
				[defend]
					start_time="-126"
					[filter_attack]
						range="ranged"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/archer-bow.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-bow-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/archer-bow-defend.png"
							sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/archer-bow-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/archer-bow.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/elves-wood/archer-idle-1.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-1.png"
					[/frame]
				[/idle_anim]
				[portrait]
					image="portraits/elves/transparent/archer.png"
					mirror="false"
					side="left"
					size="400"
				[/portrait]
				[portrait]
					image="portraits/elves/transparent/archer.png"
					mirror="true"
					side="right"
					size="400"
				[/portrait]
				[defense]
					castle="40"
					cave="70"
					deep_water="80"
					flat="60"
					forest="30"
					frozen="70"
					fungus="50"
					hills="50"
					impassable="70"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="110"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="5"
					description=_ "sword"
					icon="attacks/sword-elven.png"
					name="sword"
					number="2"
					range="melee"
					type="blade"
				[/attack]
				[attack]
					damage="5"
					description=_ "bow"
					icon="attacks/bow-elven.png"
					name="bow"
					number="4"
					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^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="Elvish Captain,Elvish Hero"
				alignment="neutral"
				alpha="256"
				attacks_left="1"
				cost="14"
				die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="n"
				flag_rgb="magenta"
				flying="no"
				gender="male"
				goto_x="-999"
				goto_y="-999"
				hitpoints="31"
				id="Elvish Fighter-37"
				image="units/elves-wood/fighter.png"
#textdomain wesnoth-units
				language_name=_ "Elvish Fighter"
				level="1"
				max_attacks="1"
				max_experience="28"
				max_hitpoints="31"
				max_moves="6"
				movement="5"
				movement_type="woodland"
				moves="6"
				name="Eärelith"
				profile="portraits/elves/fighter.png"
				race="elf"
				random_gender="no"
				random_traits="no"
				resting="yes"
				side="2"
				type="Elvish Fighter"
				underlying_id="37"
				unrenamable="no"
				upkeep="full"
				usage="fighter"
				x="25"
				y="16"
				zoc="yes"
				[attack_anim]
					[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]
						begin="-445"
						end="-380"
						image="units/elves-wood/fighter-bow.png"
					[/frame]
					[if]
						hits="yes"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/fighter-bow-attack1.png"
							sound="bow.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/fighter-bow-attack1.png"
							sound="bow-miss.ogg"
						[/frame]
					[/else]
					[frame]
						begin="-305"
						end="-230"
						image="units/elves-wood/fighter-bow-attack2.png"
					[/frame]
					[frame]
						begin="-230"
						end="-130"
						image="units/elves-wood/fighter-bow-attack3.png"
					[/frame]
					[frame]
						begin="-130"
						end="0"
						image="units/elves-wood/fighter-bow-attack4.png"
					[/frame]
					[frame]
						begin="0"
						end="65"
						image="units/elves-wood/fighter-bow.png"
					[/frame]
				[/attack_anim]
				[attack_anim]
					[filter_attack]
						name="sword"
					[/filter_attack]
					[frame]
						begin="-175"
						end="-100"
						image="units/elves-wood/fighter.png"
					[/frame]
					[if]
						hits="yes"
						[frame]
							begin="-100"
							end="100"
							image="units/elves-wood/fighter-melee-1.png"
							sound="sword-1.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							begin="-100"
							end="100"
							image="units/elves-wood/fighter-melee-1.png"
							sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
						[/frame]
					[/else]
					[frame]
						begin="100"
						end="150"
						image="units/elves-wood/fighter-melee-2.png"
					[/frame]
					[frame]
						begin="150"
						end="175"
						image="units/elves-wood/fighter.png"
					[/frame]
				[/attack_anim]
				[defend]
					start_time="-126"
					[filter_attack]
						range="melee"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/fighter.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/fighter-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/fighter-defend.png"
							sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/fighter-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/fighter.png"
					[/frame]
				[/defend]
				[defend]
					start_time="-126"
					[filter_attack]
						range="ranged"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/fighter-bow.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/fighter-bow-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/fighter-bow-defend.png"
							sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/fighter-bow-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/fighter-bow.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/elves-wood/fighter-idle-1.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/fighter-idle-2.png"
					[/frame]
					[frame]
						duration="125"
						image="units/elves-wood/fighter-idle-3.png"
					[/frame]
					[frame]
						duration="150"
						image="units/elves-wood/fighter-idle-4.png"
					[/frame]
					[frame]
						duration="175"
						image="units/elves-wood/fighter-idle-5.png"
					[/frame]
					[frame]
						duration="200"
						image="units/elves-wood/fighter-idle-6.png"
					[/frame]
					[frame]
						duration="200"
						image="units/elves-wood/fighter-idle-5.png"
					[/frame]
					[frame]
						duration="400"
						image="units/elves-wood/fighter-idle-6.png"
					[/frame]
					[frame]
						duration="175"
						image="units/elves-wood/fighter-idle-7.png"
					[/frame]
					[frame]
						duration="200"
						image="units/elves-wood/fighter-idle-8.png"
					[/frame]
					[frame]
						duration="250"
						image="units/elves-wood/fighter-idle-9.png"
					[/frame]
					[frame]
						duration="400"
						image="units/elves-wood/fighter-idle-10.png"
					[/frame]
					[frame]
						duration="150"
						image="units/elves-wood/fighter-idle-9.png"
					[/frame]
					[frame]
						duration="150"
						image="units/elves-wood/fighter-idle-11.png"
					[/frame]
					[frame]
						duration="150"
						image="units/elves-wood/fighter-idle-12.png"
					[/frame]
				[/idle_anim]
				[portrait]
					image="portraits/elves/transparent/fighter.png"
					mirror="false"
					side="left"
					size="400"
				[/portrait]
				[portrait]
					image="portraits/elves/transparent/fighter.png"
					mirror="true"
					side="right"
					size="400"
				[/portrait]
				[defense]
					castle="40"
					cave="70"
					deep_water="80"
					flat="60"
					forest="40"
					frozen="70"
					fungus="50"
					hills="50"
					impassable="70"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="110"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="5"
					description=_ "sword"
					icon="attacks/sword-elven.png"
					name="sword"
					number="4"
					range="melee"
					type="blade"
				[/attack]
				[attack]
					damage="4"
					description=_ "bow"
					icon="attacks/bow-elven.png"
					name="bow"
					number="3"
					range="ranged"
					type="pierce"
				[/attack]
				[modifications]
					[trait]
#textdomain wesnoth
						female_name=_ "female^dextrous"
						id="dextrous"
						male_name=_ "dextrous"
						name=_ "dextrous"
						[effect]
							apply_to="attack"
							increase_damage="1"
							range="ranged"
						[/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="Elvish Ranger,Elvish Marksman"
				alignment="neutral"
				alpha="256"
				attacks_left="1"
				cost="17"
				die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
				ellipse="misc/ellipse"
				experience="0"
				facing="se"
				flag_rgb="magenta"
				flying="no"
				gender="female"
				goto_x="-999"
				goto_y="-999"
				hitpoints="29"
				id="Elvish Archer-38"
				image="units/elves-wood/archer+female.png"
#textdomain wesnoth-units
				language_name=_ "female^Elvish Archer"
				level="1"
				max_attacks="1"
				max_experience="31"
				max_hitpoints="29"
				max_moves="7"
				movement="6"
				movement_type="woodland"
				moves="7"
				name="Urith"
				profile="portraits/elves/archer+female.png"
				race="elf"
				random_gender="no"
				random_traits="no"
				resting="yes"
				side="2"
				type="Elvish Archer"
				undead_variation="archer"
				underlying_id="38"
				unrenamable="no"
				upkeep="full"
				usage="archer"
				x="21"
				y="20"
				zoc="yes"
				[attack_anim]
					[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]
						begin="-445"
						end="-380"
						image="units/elves-wood/archer+female-bow.png"
					[/frame]
					[if]
						hits="yes"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/archer+female-bow-attack1.png"
							sound="bow.ogg"
						[/frame]
					[/if]
					[else]
						hits="no"
						[frame]
							begin="-380"
							end="-305"
							image="units/elves-wood/archer+female-bow-attack1.png"
							sound="bow-miss.ogg"
						[/frame]
					[/else]
					[frame]
						begin="-305"
						end="-230"
						image="units/elves-wood/archer+female-bow-attack2.png"
					[/frame]
					[frame]
						begin="-230"
						end="-130"
						image="units/elves-wood/archer+female-bow-attack3.png"
					[/frame]
					[frame]
						begin="-130"
						end="0"
						image="units/elves-wood/archer+female-bow-attack4.png"
					[/frame]
					[frame]
						begin="0"
						end="65"
						image="units/elves-wood/archer+female-bow.png"
					[/frame]
				[/attack_anim]
				[attack_anim]
					[filter_attack]
						name="sword"
					[/filter_attack]
					[frame]
						begin="-200"
						end="-175"
						image="units/elves-wood/archer+female-sword.png"
					[/frame]
					[frame]
						begin="-175"
						end="-75"
						image="units/elves-wood/archer+female-sword-1.png"
					[/frame]
					[if]
						hits="no"
						[frame]
							begin="-75"
							end="75"
							image="units/elves-wood/archer+female-sword-2.png"
							sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
						[/frame]
					[/if]
					[else]
						hits="yes"
						[frame]
							begin="-75"
							end="75"
							image="units/elves-wood/archer+female-sword-2.png"
							sound="sword-1.ogg"
						[/frame]
					[/else]
					[frame]
						begin="75"
						end="125"
						image="units/elves-wood/archer+female-sword-3.png"
					[/frame]
					[frame]
						begin="125"
						end="175"
						image="units/elves-wood/archer+female-sword-4.png"
					[/frame]
					[frame]
						begin="175"
						end="200"
						image="units/elves-wood/archer+female-sword.png"
					[/frame]
				[/attack_anim]
				[defend]
					start_time="-126"
					[filter_attack]
						range="melee"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/archer+female-sword.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer+female-sword-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/archer+female-sword-defend.png"
							sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/archer+female-sword-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/archer+female-sword.png"
					[/frame]
				[/defend]
				[defend]
					start_time="-126"
					[filter_attack]
						range="ranged"
					[/filter_attack]
					[frame]
						duration="1"
						image="units/elves-wood/archer+female-bow.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer+female-bow-defend.png"
					[/frame]
					[if]
						hits="hit"
						[frame]
							duration="150"
							image="units/elves-wood/archer+female-bow-defend.png"
							sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
						[/frame]
					[/if]
					[else]
						hits="miss,kill"
						[frame]
							duration="150"
							image="units/elves-wood/archer+female-bow-defend.png"
						[/frame]
					[/else]
					[frame]
						duration="1"
						image="units/elves-wood/archer+female-bow.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/elves-wood/archer-idle-1.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-3.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-4.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-5.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-6.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-2.png"
					[/frame]
					[frame]
						duration="100"
						image="units/elves-wood/archer-idle-1.png"
					[/frame]
				[/idle_anim]
				[portrait]
					image="portraits/elves/transparent/archer+female.png"
					mirror="false"
					side="left"
					size="400"
				[/portrait]
				[portrait]
					image="portraits/elves/transparent/archer+female.png"
					mirror="true"
					side="right"
					size="400"
				[/portrait]
				[defense]
					castle="40"
					cave="70"
					deep_water="80"
					flat="60"
					forest="30"
					frozen="70"
					fungus="50"
					hills="50"
					impassable="70"
					mountains="40"
					reef="70"
					sand="70"
					shallow_water="80"
					swamp_water="70"
					unwalkable="80"
					village="40"
				[/defense]
				[movement_costs]
					castle="1"
					cave="3"
					deep_water="99"
					flat="1"
					forest="1"
					frozen="2"
					fungus="2"
					hills="2"
					impassable="99"
					mountains="3"
					reef="2"
					sand="2"
					shallow_water="3"
					swamp_water="2"
					unwalkable="99"
					village="1"
				[/movement_costs]
				[resistance]
					arcane="110"
					blade="100"
					cold="100"
					fire="100"
					impact="100"
					pierce="100"
				[/resistance]
				[variables]
				[/variables]
				[status]
					hidden="yes"
				[/status]
				[attack]
					damage="6"
					description=_ "sword"
					icon="attacks/sword-elven.png"
					name="sword"
					number="2"
					range="melee"
					type="blade"
				[/attack]
				[attack]
					damage="5"
					description=_ "bow"
					icon="attacks/bow-elven.png"
					name="bow"
					number="4"
					range="ranged"
					type="pierce"
				[/attack]
				[modifications]
					[trait]
#textdomain wesnoth
						female_name=_ "female^quick"
						id="quick"
						male_name=_ "quick"
						name=_ "female^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=_ "female^strong"
						[effect]
							apply_to="attack"
							increase_damage="1"
							range="melee"
						[/effect]
						[effect]
							apply_to="hitpoints"
							increase_total="1"
						[/effect]
					[/trait]
				[/modifications]
			[/unit]
		[/side]
		[time]
			blue="0"
			green="-20"
			id="dawn"
			image="misc/schedule-dawn.png"
			lawful_bonus="0"
			name=_ "Dawn"
			red="-20"
		[/time]
		[time]
			blue="0"
			green="0"
			id="morning"
			image="misc/schedule-morning.png"
			lawful_bonus="25"
			name=_ "Morning"
			red="0"
		[/time]
		[time]
			blue="0"
			green="0"
			id="afternoon"
			image="misc/schedule-afternoon.png"
			lawful_bonus="25"
			name=_ "Afternoon"
			red="0"
		[/time]
		[time]
			blue="-20"
			green="-20"
			id="dusk"
			image="misc/schedule-dusk.png"
			lawful_bonus="0"
			name=_ "Dusk"
			red="0"
		[/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_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]
		[variables]
			damage_inflicted="3"
			side_number="2"
			turn_number="17"
		[/variables]
		[player]
			can_recruit="Bowman,Cavalryman,Fencer,Heavy Infantryman,Horseman,Mage,Merman Fighter,Spearman"
			gold="-1"
			gold_add="no"
			save_id="Sku1"
		[/player]
		[player]
			can_recruit="Elvish Archer,Elvish Fighter,Elvish Scout,Elvish Shaman,Mage,Merman Hunter,Wose"
			gold="-1"
			gold_add="no"
			save_id="Various2"
		[/player]
		[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,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"
					[team_formula]
						rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
					[/team_formula]
				[/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,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"
					[team_formula]
						rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
					[/team_formula]
				[/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"
					[team_formula]
						rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
					[/team_formula]
				[/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"
					[team_formula]
						rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
					[/team_formula]
				[/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"
				random_leader="Dwarvish Steelclad,Dwarvish Thunderguard,Rogue,Trapper"
				recruit="Dwarvish Guardsman,Dwarvish Fighter,Dwarvish Ulfserker,Dwarvish Thunderer,Thief,Poacher,Footpad,Gryphon Rider"
				terrain_liked="Hh, Ha, Mm"
				type="Dwarvish Steelclad"
				[ai]
					recruitment_pattern="fighter,fighter,fighter,mixed fighter,archer,scout"
					[team_formula]
						rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
					[/team_formula]
				[/ai]
			[/multiplayer_side]
			[multiplayer_side]
				flag_rgb="magenta"
				id="Drakes"
				image="units/drakes/flare.png"
				leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior,Saurian Oracle,Saurian Soothsayer"
				name=_ "Drakes"
				random_leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior"
				recruit="Drake Burner,Drake Clasher,Drake Glider,Drake Fighter,Saurian Skirmisher,Saurian Augur"
				terrain_liked="Hh, Ha, Ds, Ss"
				type="Drake Flare"
				[ai]
					recruitment_pattern="fighter,fighter,archer,healer,scout,scout"
					[team_formula]
						rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
					[/team_formula]
				[/ai]
			[/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]
						[set_variables]
							mode="merge"
							name="leaders_to_make_quick[$i].modifications"
							[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]
						[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]
						[set_variable]
							add="1"
							name="i"
						[/set_variable]
					[/do]
				[/while]
				[clear_variable]
					name="i"
				[/clear_variable]
				[clear_variable]
					name="leaders_to_make_quick"
				[/clear_variable]
			[/event]
		[/era]
	[/snapshot]
	[replay]
		[command]
			[start]
			[/start]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="17"
				y="5"
			[/recruit]
			[random]
				value="11192"
			[/random]
			[random]
				value="22749"
			[/random]
			[random]
				value="15475"
			[/random]
			[random]
				value="2703"
			[/random]
			[random]
				value="18382"
			[/random]
			[random]
				value="8903"
			[/random]
			[random]
				value="32110"
			[/random]
			[random]
				value="32694"
			[/random]
			[random]
				value="851"
			[/random]
			[random]
				value="21904"
			[/random]
			[random]
				value="4687"
			[/random]
			[random]
				value="8606"
			[/random]
			[random]
				value="17218"
			[/random]
			[random]
				value="20243"
			[/random]
			[random]
				value="31513"
				[results]
					checksum="14,Wfc>cu2lH0olW9-5N-m<e6f60hfabkcij<4>i3h3e2.t0a1f<j870h0k565.Y0>ide2Hi80k.d8da021n<.26Z+40CN5c8b.-X,48K.7v3f3XdJFikGNVwGMoVOFH"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="2"
				x="18"
				y="4"
			[/recruit]
			[random]
				value="27993"
			[/random]
			[random]
				value="8926"
			[/random]
			[random]
				value="30240"
			[/random]
			[random]
				value="18781"
			[/random]
			[random]
				value="12112"
			[/random]
			[random]
				value="19048"
			[/random]
			[random]
				value="3708"
			[/random]
			[random]
				value="19868"
			[/random]
			[random]
				value="19417"
			[/random]
			[random]
				value="17722"
			[/random]
			[random]
				value="18427"
			[/random]
			[random]
				value="20858"
			[/random]
			[random]
				value="9321"
			[/random]
			[random]
				value="12106"
			[/random]
			[random]
				value="19920"
				[results]
					checksum="RVQsCRORlSP,DLsxDMMfFuzJRDJCyOyPpHMVsOIMzEOKRzPuHEfJqwNzzmyJIhVwVwSxvLzMAS8wEVRB+JCszfJzd4jC+rc<MF13amk4yil5K7b35>-yp,-88,eyb6ac"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="5"
				x="18"
				y="3"
			[/recruit]
			[random]
				value="4270"
			[/random]
			[random]
				value="11213"
			[/random]
			[random]
				value="12272"
			[/random]
			[random]
				value="5623"
			[/random]
			[random]
				value="29633"
			[/random]
			[random]
				value="13620"
			[/random]
			[random]
				value="281"
			[/random]
			[random]
				value="19101"
			[/random]
			[random]
				value="3238"
			[/random]
			[random]
				value="14398"
			[/random]
			[random]
				value="14350"
			[/random]
			[random]
				value="27074"
			[/random]
			[random]
				value="22124"
			[/random]
			[random]
				value="2957"
			[/random]
			[random]
				value="14716"
				[results]
					checksum="ixp,4nc1oNO<LLyKmJLIEhoF>vyBA6mszOAMDTywuzyODCrTtRLwFwmIsr1QENmxPFHFw.RFKFnqypNKqM8mwoFomIhFlq1.CL-<<ddBfkHDONNHvMSO1I9LGCHpACmL"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="6"
				x="20"
				y="3"
			[/recruit]
			[random]
				value="8891"
			[/random]
			[random]
				value="22302"
			[/random]
			[random]
				value="17682"
			[/random]
			[random]
				value="24272"
			[/random]
			[random]
				value="6134"
			[/random]
			[random]
				value="1490"
			[/random]
			[random]
				value="11009"
			[/random]
			[random]
				value="32538"
			[/random]
			[random]
				value="18445"
			[/random]
			[random]
				value="11500"
			[/random]
			[random]
				value="20694"
			[/random]
			[random]
				value="30837"
			[/random]
			[random]
				value="26286"
			[/random]
			[random]
				value="20275"
			[/random]
			[random]
				value="5319"
				[results]
					checksum="XBfX4cmdHYau810h3t9co8gj2UWo-1,n-62ad7l9i<dX9dX-4o9W2w2-6hZd9kbd.d07gZj2f,ep8ybXfdk5k4Nw>d595,cp6dzgA.Zj4982<j3D1<4M96i7zO.<CyyI"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="7"
				x="20"
				y="4"
			[/recruit]
			[random]
				value="18203"
			[/random]
			[random]
				value="3807"
			[/random]
			[random]
				value="12765"
			[/random]
			[random]
				value="5176"
			[/random]
			[random]
				value="7318"
			[/random]
			[random]
				value="221"
			[/random]
			[random]
				value="30930"
			[/random]
			[random]
				value="3018"
			[/random]
			[random]
				value="26318"
			[/random]
			[random]
				value="19628"
			[/random]
			[random]
				value="24134"
			[/random]
			[random]
				value="10249"
			[/random]
			[random]
				value="13945"
			[/random]
			[random]
				value="20917"
			[/random]
			[random]
				value="20300"
				[results]
					checksum=",Ad3Y5f-GtmsAp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLAM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzhOI"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="19"
				y="5"
			[/recruit]
			[random]
				value="32237"
			[/random]
			[random]
				value="23650"
			[/random]
			[random]
				value="22066"
			[/random]
			[random]
				value="6182"
			[/random]
			[random]
				value="14160"
			[/random]
			[random]
				value="4399"
			[/random]
			[random]
				value="27183"
			[/random]
			[random]
				value="17734"
			[/random]
			[random]
				value="29678"
			[/random]
			[random]
				value="4514"
			[/random]
			[random]
				value="16174"
			[/random]
			[random]
				value="22401"
			[/random]
			[random]
				value="19668"
			[/random]
			[random]
				value="3686"
			[/random]
			[random]
				value="4033"
				[results]
					checksum="14,Wfc>cu2lH0olW9-5N-m<e6f60hfabkcij<4>i3h3e2.t0a1f<j870h0k565.Y0>ide9Mi80k.d8da021n<.26Z+40CN5c8b.-X,48E.7v3f3XdJFikGGOwGMoVOFH"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,19,19,19,19,19,18"
				y="4,5,6,7,8,9,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="1"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="2"
				x="18"
				y="21"
			[/recruit]
			[random]
				value="1162896629"
			[/random]
			[random]
				value="219789751"
			[/random]
			[random]
				value="482071979"
			[/random]
			[random]
				value="1832722605"
			[/random]
			[random]
				value="225963349"
			[/random]
			[random]
				value="1181324621"
			[/random]
			[random]
				value="1189147497"
			[/random]
			[random]
				value="120630023"
			[/random]
			[random]
				value="1754518908"
			[/random]
			[random]
				value="44372127"
			[/random]
			[random]
				value="1079967520"
			[/random]
			[random]
				value="1485506997"
			[/random]
			[random]
				value="1888731038"
			[/random]
			[random]
				value="979580004"
			[/random]
			[random]
				value="779633545"
				[results]
					checksum="5OmKwDKUXxq,TxsyxcPSqynxyiENEnLUmPIBJLzMORyvQtLtMsz3uNvNwJSpuLuGnUrzCuxIPMnkISuGzPSPQusvFwzsUDAquYfrOmRzwFyqGfDMfDAHFKdeVs241d4."
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="18"
				y="20"
			[/recruit]
			[random]
				value="1593814891"
			[/random]
			[random]
				value="1984590011"
			[/random]
			[random]
				value="860783067"
			[/random]
			[random]
				value="1813604642"
			[/random]
			[random]
				value="319178342"
			[/random]
			[random]
				value="546022025"
			[/random]
			[random]
				value="2039567991"
			[/random]
			[random]
				value="1500502964"
			[/random]
			[random]
				value="1735169522"
			[/random]
			[random]
				value="12714367"
			[/random]
			[random]
				value="1107538224"
			[/random]
			[random]
				value="1779541649"
			[/random]
			[random]
				value="1092681887"
			[/random]
			[random]
				value="445561573"
			[/random]
			[random]
				value="1520789039"
				[results]
					checksum="ACIByNSVYyLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9vumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="21"
				y="20"
			[/recruit]
			[random]
				value="507399865"
			[/random]
			[random]
				value="310224099"
			[/random]
			[random]
				value="1719717182"
			[/random]
			[random]
				value="1048259339"
			[/random]
			[random]
				value="8110537"
			[/random]
			[random]
				value="1166048425"
			[/random]
			[random]
				value="885365702"
			[/random]
			[random]
				value="868893605"
			[/random]
			[random]
				value="832169419"
			[/random]
			[random]
				value="1204544045"
			[/random]
			[random]
				value="1414915630"
			[/random]
			[random]
				value="724253762"
			[/random]
			[random]
				value="557563361"
			[/random]
			[random]
				value="1002601504"
			[/random]
			[random]
				value="736968129"
				[results]
					checksum="ACIByNSVYrLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9CumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="20"
				y="20"
			[/recruit]
			[random]
				value="333697319"
			[/random]
			[random]
				value="831182457"
			[/random]
			[random]
				value="1061063953"
			[/random]
			[random]
				value="2053414501"
			[/random]
			[random]
				value="1879441796"
			[/random]
			[random]
				value="1069174490"
			[/random]
			[random]
				value="1071979278"
			[/random]
			[random]
				value="617323850"
			[/random]
			[random]
				value="1938068095"
			[/random]
			[random]
				value="1904148697"
			[/random]
			[random]
				value="1821867895"
			[/random]
			[random]
				value="1205500077"
			[/random]
			[random]
				value="480918811"
			[/random]
			[random]
				value="231947608"
			[/random]
			[random]
				value="60617933"
				[results]
					checksum="ACIByNSVYoLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9BumVnpCouMKPBb5TJGPbmz3o>.fjcflW4pf7m5p7"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="19"
				y="20"
			[/recruit]
			[random]
				value="1905766143"
			[/random]
			[random]
				value="1597795160"
			[/random]
			[random]
				value="158473560"
			[/random]
			[random]
				value="827456985"
			[/random]
			[random]
				value="522290790"
			[/random]
			[random]
				value="775797410"
			[/random]
			[random]
				value="618041433"
			[/random]
			[random]
				value="278955839"
			[/random]
			[random]
				value="450181658"
			[/random]
			[random]
				value="1823541510"
			[/random]
			[random]
				value="759874651"
			[/random]
			[random]
				value="682129266"
			[/random]
			[random]
				value="1884159444"
			[/random]
			[random]
				value="1977761592"
			[/random]
			[random]
				value="431694812"
				[results]
					checksum="ACIByNSVYmLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9zumVnpCouMKPBb5OJGPbmz3o>.fjcflW4p97m5p7"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="20"
				y="21"
			[/recruit]
			[random]
				value="2044300170"
			[/random]
			[random]
				value="63065752"
			[/random]
			[random]
				value="226367730"
			[/random]
			[random]
				value="2138162506"
			[/random]
			[random]
				value="1421232741"
			[/random]
			[random]
				value="1969184333"
			[/random]
			[random]
				value="835381048"
			[/random]
			[random]
				value="965613400"
			[/random]
			[random]
				value="248216097"
			[/random]
			[random]
				value="593663543"
			[/random]
			[random]
				value="415924913"
			[/random]
			[random]
				value="406689657"
			[/random]
			[random]
				value="1421120528"
			[/random]
			[random]
				value="938215703"
			[/random]
			[random]
				value="1182487068"
				[results]
					checksum="ACIByNSVYzLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9uumVnpCouMKPBb5OJGPbmz3o>.fjcflW4pf7m5p7"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,18,17,16"
				y="21,21,22,22"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="18,19,19,19,19,19,19"
				y="9,9,8,7,6,5,4"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,20,21,22"
				y="3,2,2,2"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,21,21,21,22,23,24"
				y="4,5,6,7,7,7,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,20,21,22,23,24,25,26,27,28"
				y="5,5,5,4,4,3,4,4,5,5"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="18,17,16,15,14,13,12"
				y="3,3,3,3,3,3,2"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="18,17,16,15,14,13,12"
				y="4,5,5,6,5,6,5"
			[/move]
		[/command]
		[command]
			undo="no"
			[speak]
				id="Sku"
				message="shit"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="17,16,15,14,13,12,12,11"
				y="5,5,6,6,7,7,8,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="1"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="18,17,16,15,14,13,12,11"
				y="21,21,20,21,21,21,20,20"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,10"
				y="20,19"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,19,19,19,19,20"
				y="20,19,18,17,16,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="18,17,16,15,14"
				y="20,20,19,19,18"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,22,23,24,25,25"
				y="20,20,21,21,22,23"
			[/move]
		[/command]
		[command]
			sent="yes"
			undo="no"
			[speak]
				id="soska"
				message="hi"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,21,22,23,24,25,26"
				y="20,20,19,19,19,20,19"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,21,22,23,24,25"
				y="21,21,20,20,19,20"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="16,17,18,19,20"
				y="22,22,21,21,20"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="12,11,11,10,9,8"
				y="2,3,4,4,5,5"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,11"
				y="9,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,11"
				y="10,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,28,28,28"
				y="5,6,7,8,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="22,23,24,24,25"
				y="2,3,3,4,5"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28"
				y="9,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="24,25,25,26,27,27"
				y="7,8,9,9,10,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="2"
				x="19"
				y="5"
			[/recruit]
			[random]
				value="5517"
			[/random]
			[random]
				value="4241"
			[/random]
			[random]
				value="24863"
			[/random]
			[random]
				value="14107"
			[/random]
			[random]
				value="30944"
			[/random]
			[random]
				value="22608"
			[/random]
			[random]
				value="15348"
			[/random]
			[random]
				value="31385"
			[/random]
			[random]
				value="29609"
			[/random]
			[random]
				value="21616"
			[/random]
			[random]
				value="19816"
			[/random]
			[random]
				value="21255"
			[/random]
			[random]
				value="26950"
			[/random]
			[random]
				value="1827"
			[/random]
			[random]
				value="18926"
				[results]
					checksum="RVQsCRORlSP,DLsxDMMfFuzJRDJCyOyPpHMVsOIMzEOKRzPuHEfJqwNzzmyJIhVwVwSxvKtMAS8wEVRB+JCszfJzd4kC+rc<MF13amk4yil5K7b35>-yp,+<8,eyb6ac"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="1"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,26"
				y="23,23"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,26"
				y="23,22"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,27,28,29,30"
				y="19,19,19,20,19"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,26,26,26,26,27"
				y="20,19,18,17,16,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,10,10,10"
				y="19,18,17,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,11"
				y="16,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,12"
				y="16,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="12,13"
				y="15,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="13,14,15,16"
				y="15,14,14,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="14,14"
				y="18,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,20,20,20"
				y="15,14,13,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,20,21"
				y="12,13,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="302000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,19,19,19,19,18"
				y="5,6,7,8,9,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,26,27,28"
				y="5,5,6,5"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="3"
				x="20"
				y="4"
			[/recruit]
			[random]
				value="8696"
			[/random]
			[random]
				value="30715"
			[/random]
			[random]
				value="12161"
			[/random]
			[random]
				value="15920"
			[/random]
			[random]
				value="3216"
			[/random]
			[random]
				value="9111"
			[/random]
			[random]
				value="17341"
			[/random]
			[random]
				value="12427"
			[/random]
			[random]
				value="19345"
			[/random]
			[random]
				value="15011"
			[/random]
			[random]
				value="16300"
			[/random]
			[random]
				value="16830"
			[/random]
			[random]
				value="12340"
			[/random]
			[random]
				value="20032"
			[/random]
			[random]
				value="8577"
				[results]
					checksum="eKEMoMsJ2Sm2IxNK-ruIvyJD8uFQquOORqLQAKsDuHBwnqvBFyQvVsL8qHTmQQNRqrWuTuTxDUFLDPxfDLuyOcqNHBnCR5lyBlS<1Ip648,gYmdg-Lb7,b2<2j8d,4eh"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,11,11,11"
				y="9,10,11,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="8,8,8"
				y="5,6,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="12,12,12,12,11"
				y="5,6,7,8,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,10,9,8"
				y="12,11,11,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,28,28"
				y="10,11,12,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,28,28"
				y="13,12,11,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="1"
				value="276000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,26,26,26,26,26,26"
				y="22,21,20,19,18,17,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="30,30,29,29,29,29,29"
				y="19,18,18,17,16,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27"
				y="16,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27"
				y="14,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,21,21,22"
				y="14,13,12,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="22,23,24"
				y="11,11,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,28,28"
				y="13,12,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="28"
					y="11"
				[/source]
				[destination]
					x="28"
					y="10"
				[/destination]
			[/attack]
			[random]
				value="140688715"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1433677295"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1317100558"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="21"
				y="20"
			[/recruit]
			[random]
				value="1832626494"
			[/random]
			[random]
				value="108047136"
			[/random]
			[random]
				value="116342630"
			[/random]
			[random]
				value="1150106089"
			[/random]
			[random]
				value="373865259"
			[/random]
			[random]
				value="1819565496"
			[/random]
			[random]
				value="2085808585"
			[/random]
			[random]
				value="870050414"
			[/random]
			[random]
				value="1717047838"
			[/random]
			[random]
				value="1255425495"
			[/random]
			[random]
				value="1099887139"
			[/random]
			[random]
				value="1755655773"
			[/random]
			[random]
				value="1590052916"
			[/random]
			[random]
				value="90740794"
			[/random]
			[random]
				value="2084500463"
				[results]
					checksum="ACIByNSVYyLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9vumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="19"
				y="20"
			[/recruit]
			[random]
				value="2054669427"
			[/random]
			[random]
				value="1056193509"
			[/random]
			[random]
				value="1900813128"
			[/random]
			[random]
				value="281051038"
			[/random]
			[random]
				value="728275357"
			[/random]
			[random]
				value="1839138065"
			[/random]
			[random]
				value="1151101453"
			[/random]
			[random]
				value="297839547"
			[/random]
			[random]
				value="947079913"
			[/random]
			[random]
				value="103504944"
			[/random]
			[random]
				value="2053495321"
			[/random]
			[random]
				value="389649181"
			[/random]
			[random]
				value="194245738"
			[/random]
			[random]
				value="1990512136"
			[/random]
			[random]
				value="307534584"
				[results]
					checksum="ACIByNSVYsLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9FumVnpCouMKPBb5OJGPbmz3o>.fjcflW4pf7m5p7"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,21,22,23,24,25,26"
				y="20,20,19,19,18,18,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="16,16,17,18,18,19,20,21,22"
				y="14,13,13,12,11,11,10,10,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="14,13,12,11,10"
				y="17,18,18,19,19"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="285000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Sku has disconnected."
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Various has been chosen as the new host."
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Various takes control of side 1."
			[/speak]
		[/command]
		[command]
			sent="yes"
			undo="no"
			[speak]
				id="Sku"
				message="sorry"
			[/speak]
		[/command]
		[command]
			sent="yes"
			undo="no"
			[speak]
				id="Sku"
				message="wesnoth leaved me"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Sku takes control of side 1."
			[/speak]
		[/command]
		[command]
			sent="yes"
			undo="no"
			[speak]
				id="Sku"
				message="sorry"
				side="1"
			[/speak]
		[/command]
		[command]
			sent="yes"
			undo="no"
			[speak]
				id="Sku"
				message="and ty"
				side="1"
			[/speak]
		[/command]
		[command]
			sent="yes"
			undo="no"
			[speak]
				id="Various"
				message="np"
				side="2"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,20,20,21,21,22"
				y="4,5,6,7,8,8"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="22"
					y="8"
				[/source]
				[destination]
					x="22"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="22517"
				[results]
					chance="40"
					damage="8"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="7197"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="17340"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="26175"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="27503"
				[results]
					chance="70"
					damage="2"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,26,25,25,24"
				y="11,10,9,9,8,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="7"
				x="20"
				y="4"
			[/recruit]
			[random]
				value="18011"
			[/random]
			[random]
				value="29159"
			[/random]
			[random]
				value="24367"
			[/random]
			[random]
				value="7875"
			[/random]
			[random]
				value="1074"
			[/random]
			[random]
				value="30735"
			[/random]
			[random]
				value="15848"
			[/random]
			[random]
				value="7743"
			[/random]
			[random]
				value="25863"
			[/random]
			[random]
				value="8437"
			[/random]
			[random]
				value="9548"
			[/random]
			[random]
				value="29976"
			[/random]
			[random]
				value="8110"
			[/random]
			[random]
				value="168"
			[/random]
			[random]
				value="28534"
				[results]
					checksum=",Ad3Y5f-Gtmsmp5jHbEoRiVrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLmM8mwoFomIhFlq1.CLB<<ddNv5EsLNHBNzkOI"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,27,26,25,24,23,22,21,21"
				y="10,10,9,9,8,8,7,8,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="21"
					y="9"
				[/source]
				[destination]
					x="22"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="19989"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="20012"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="9860"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="17345"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="31650"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="23412"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="18,19,20,21"
				y="9,10,10,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="21"
					y="10"
				[/source]
				[destination]
					x="22"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="3221"
				[results]
					chance="40"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="25819"
				[results]
					chance="30"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1738"
				[results]
					chance="40"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="19649"
				[results]
					chance="30"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="6877"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="27708"
				[results]
					chance="30"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="634"
				[results]
					chance="40"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="8,9,9,10"
				y="10,11,12,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,11,11,11,11,11"
				y="9,10,11,12,13,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="8,9,9,9,9,8"
				y="7,8,9,10,11,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,11,12"
				y="12,13,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="12,13"
				y="13,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,19,19,20,20,21"
				y="4,5,6,6,7,8"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="1"
				value="297000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="22,23,23,22,21,21,21,20,20"
				y="9,10,11,11,12,13,14,14,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,28,28,28,27"
				y="11,12,13,14,15,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="24,23,22,21,21,21"
				y="10,11,11,12,13,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,18,17,16,15,14"
				y="20,19,19,18,18,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,25,25,24"
				y="16,16,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="29,30"
				y="14,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,22,23,24,24,25"
				y="20,19,19,18,17,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,25,24,23,22,21,20"
				y="17,18,18,19,19,20,20"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="298000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,20,19,18"
				y="10,10,10,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,28,27"
				y="5,6,7,8"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27"
				y="8,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27"
				y="9,8,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,21,21,21,22,23"
				y="4,5,6,7,7,8"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="22,23,24,25,26"
				y="8,8,8,9,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,27"
				y="9,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,21,21,20,20,19"
				y="8,7,6,5,4,4"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="5"
				x="20"
				y="4"
			[/recruit]
			[random]
				value="23306"
			[/random]
			[random]
				value="15487"
			[/random]
			[random]
				value="12724"
			[/random]
			[random]
				value="11145"
			[/random]
			[random]
				value="32540"
			[/random]
			[random]
				value="6364"
			[/random]
			[random]
				value="18210"
			[/random]
			[random]
				value="24308"
			[/random]
			[random]
				value="12285"
			[/random]
			[random]
				value="12819"
			[/random]
			[random]
				value="20528"
			[/random]
			[random]
				value="15595"
			[/random]
			[random]
				value="17652"
			[/random]
			[random]
				value="6109"
			[/random]
			[random]
				value="7432"
				[results]
					checksum="ixp,4nc1oNO<LLyKmJLIEhoF>vyBA6mszOAMDTywuzyODCrTtRLwFwmIsr1QENmxPFHFw.RFKFnqypNKqM8mwoFomIhFlq1.CL-<<ddBfkHDONNHvMSO1I9LGCHpACmL"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="24,25,26,27,27,28"
				y="7,8,8,9,10,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,22,23,24"
				y="9,8,8,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="13,14,15,16,17,17,18,18,19,19"
				y="14,14,14,13,13,12,11,10,10,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,11,11,11,11,11"
				y="14,13,12,11,10,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="8,8,8,8"
				y="11,10,9,8"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="1"
				value="211000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="24,25,25,26,26,27"
				y="14,14,13,12,11,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="27"
					y="11"
				[/source]
				[destination]
					x="28"
					y="10"
				[/destination]
			[/attack]
			[random]
				value="1338777587"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1188821256"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1901049363"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1529024139"
				[results]
					chance="40"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="30,30,30,29"
				y="13,12,11,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="29"
					y="11"
				[/source]
				[destination]
					x="28"
					y="10"
				[/destination]
			[/attack]
			[random]
				value="851520357"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="641700544"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1502500134"
				[results]
					chance="40"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1880265821"
				[results]
					chance="40"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,26,26,25"
				y="16,15,14,13,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,25,25,25"
				y="17,16,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,21,22"
				y="14,13,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,10,10,10,10,10"
				y="19,18,17,16,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="14,13,13,12,11,11"
				y="17,17,16,15,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="19"
				y="20"
			[/recruit]
			[random]
				value="92762283"
			[/random]
			[random]
				value="1345982796"
			[/random]
			[random]
				value="1256707377"
			[/random]
			[random]
				value="1841221530"
			[/random]
			[random]
				value="1187637850"
			[/random]
			[random]
				value="1929869627"
			[/random]
			[random]
				value="1173522787"
			[/random]
			[random]
				value="1838544894"
			[/random]
			[random]
				value="1608406270"
			[/random]
			[random]
				value="2008697118"
			[/random]
			[random]
				value="621030474"
			[/random]
			[random]
				value="1725631572"
			[/random]
			[random]
				value="1096250627"
			[/random]
			[random]
				value="717777643"
			[/random]
			[random]
				value="1043146716"
				[results]
					checksum="ACIByNSVYzLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9uumVnpCouMKPBb5OJGPbmz3o>.fjcflW4pf7m5p7"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="21"
				y="20"
			[/recruit]
			[random]
				value="1772464854"
			[/random]
			[random]
				value="1312628512"
			[/random]
			[random]
				value="975625945"
			[/random]
			[random]
				value="668127922"
			[/random]
			[random]
				value="1035963174"
			[/random]
			[random]
				value="364424977"
			[/random]
			[random]
				value="932207517"
			[/random]
			[random]
				value="1875573368"
			[/random]
			[random]
				value="1879274796"
			[/random]
			[random]
				value="1987601537"
			[/random]
			[random]
				value="1508234325"
			[/random]
			[random]
				value="262208765"
			[/random]
			[random]
				value="1325822494"
			[/random]
			[random]
				value="504327495"
			[/random]
			[random]
				value="1287875801"
				[results]
					checksum="ACIByNSVYmLXPemyRXKFwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9zumVnpCouMKPBb5OJGPbmz3o>.fjcflW4p97m5p7"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="3"
				x="20"
				y="21"
			[/recruit]
			[random]
				value="396773022"
			[/random]
			[random]
				value="125212972"
			[/random]
			[random]
				value="487823849"
			[/random]
			[random]
				value="1328980539"
			[/random]
			[random]
				value="2000786340"
			[/random]
			[random]
				value="219614997"
			[/random]
			[random]
				value="1169098428"
			[/random]
			[random]
				value="1361537017"
			[/random]
			[random]
				value="481823762"
			[/random]
			[random]
				value="347437274"
			[/random]
			[random]
				value="1865864513"
			[/random]
			[random]
				value="1769699564"
			[/random]
			[random]
				value="1337049176"
			[/random]
			[random]
				value="986442483"
			[/random]
			[random]
				value="305233178"
				[results]
					checksum="rQV6GBwD,UJ+7ePAQJ+xOoaC5U6DfS5lmb>+9w26zYBFaluj9yjnQ1omih>hik67n,e0IoZ07o9kcp0Ad568,m9n<X,+nY08797o60sxBFgnWEzrk-i.-tciji+H>s4C"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,21,22,23,24,24,25"
				y="20,20,19,19,18,17,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,28,28,28,28"
				y="10,9,8,7,6,5"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27,26,26"
				y="7,8,9,9,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="26"
					y="10"
				[/source]
				[destination]
					x="27"
					y="11"
				[/destination]
			[/attack]
			[random]
				value="24942"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="2697"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="13017"
				[results]
					chance="40"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="6562"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="4730"
				[results]
					chance="40"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="22813"
				[results]
					chance="40"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="28835"
				[results]
					chance="40"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="27"
					y="10"
				[/source]
				[destination]
					x="27"
					y="11"
				[/destination]
			[/attack]
			[random]
				value="3547"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="30992"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="22172"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="7253"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="10045"
				[results]
					chance="50"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="6874"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="18,19,19,19,20,21"
				y="9,10,11,12,12,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="21"
					y="13"
				[/source]
				[destination]
					x="22"
					y="12"
				[/destination]
			[/attack]
			[random]
				value="667"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="27128"
				[results]
					chance="40"
					damage="8"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="25587"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="27102"
				[results]
					chance="40"
					damage="8"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="23789"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="12730"
				[results]
					chance="40"
					damage="8"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="9243"
				[results]
					chance="50"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="9688"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="23,24,24,24,23,23"
				y="8,8,9,10,11,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="23"
					y="12"
				[/source]
				[destination]
					x="22"
					y="12"
				[/destination]
			[/attack]
			[random]
				value="29106"
				[results]
					chance="50"
					damage="8"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="23378"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="21786"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="20369"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="18696"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="30650"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="22567"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="24,24,24,24,23,22"
				y="7,8,9,10,11,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="22"
					y="11"
				[/source]
				[destination]
					x="22"
					y="12"
				[/destination]
			[/attack]
			[random]
				value="30297"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="25991"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="10104"
				[results]
					chance="50"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="8326"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="15094"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="3910"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="6070"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,19,19,19,20,21"
				y="9,10,11,12,12,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="21"
					y="12"
				[/source]
				[destination]
					x="22"
					y="12"
				[/destination]
			[/attack]
			[random]
				value="27864"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="26050"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="8791"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="9533"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="8726"
				[results]
					chance="50"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="14810"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="7466"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="8,9,9,9,8"
				y="8,8,7,6,5"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="7"
				x="17"
				y="5"
			[/recruit]
			[random]
				value="24119"
			[/random]
			[random]
				value="13050"
			[/random]
			[random]
				value="25435"
			[/random]
			[random]
				value="6124"
			[/random]
			[random]
				value="29703"
			[/random]
			[random]
				value="20861"
			[/random]
			[random]
				value="1594"
			[/random]
			[random]
				value="22873"
			[/random]
			[random]
				value="16877"
			[/random]
			[random]
				value="140"
			[/random]
			[random]
				value="16654"
			[/random]
			[random]
				value="6679"
			[/random]
			[random]
				value="20541"
			[/random]
			[random]
				value="30520"
			[/random]
			[random]
				value="15988"
				[results]
					checksum=",Ad3Y5f-Gtmsmp5jHbEoRiVrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLmM8mwoFomIhFlq1.CLB<<ddNv5EsLNHBNzkOI"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,21,21,21,22,23,24"
				y="4,5,6,7,7,7,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="1"
				value="199000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,21,21"
				y="15,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="21"
					y="14"
				[/source]
				[destination]
					x="21"
					y="13"
				[/destination]
			[/attack]
			[random]
				value="868695416"
				[results]
					chance="40"
					damage="8"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Sku has disconnected."
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Various takes control of side 1."
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,24,24,23,22,21,20"
				y="17,17,18,19,19,20,20"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,12,13,14,15,16"
				y="14,14,15,14,14,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,11,12,13,13,14"
				y="14,15,15,16,17,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,19,19,19,19,20"
				y="20,19,18,17,16,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27,27,27,27"
				y="11,12,13,14,15,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,25,24,24"
				y="13,14,14,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="29,29,29,29,29,29"
				y="11,12,13,14,15,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,25,25,24"
				y="14,15,16,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,20,21,22,23,24"
				y="21,20,20,19,19,18"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,22,23,24,24,25"
				y="20,19,19,18,17,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="0"
				x="19"
				y="20"
			[/recruit]
			[random]
				value="91886230"
			[/random]
			[random]
				value="1764016567"
			[/random]
			[random]
				value="923986500"
			[/random]
			[random]
				value="2030710174"
			[/random]
			[random]
				value="1697346508"
			[/random]
			[random]
				value="29537290"
			[/random]
			[random]
				value="795959403"
			[/random]
			[random]
				value="10107447"
			[/random]
			[random]
				value="908167062"
			[/random]
			[random]
				value="876827006"
			[/random]
			[random]
				value="1722841979"
			[/random]
			[random]
				value="1462300819"
			[/random]
			[random]
				value="2081061352"
			[/random]
			[random]
				value="1944461606"
			[/random]
			[random]
				value="200537752"
				[results]
					checksum="lxj+sAh20PB1UmsQ56tLoxMPdOFGJz.MMAvVvoQO,ECJMwDzBrzrTwAoECqSJHEvSS3IzTALqvFArEKTmSKvvPnFtw-JnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8FA25"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Sku takes control of side 1."
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="22,22"
				y="12,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="284000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			undo="no"
			[speak]
				id="Various"
				message="indeed"
				side="2"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="nlorem has logged into the lobby"
			[/speak]
		[/command]
		[command]
			undo="no"
			[speak]
				id="Sku"
				message="aghh"
				side="1"
			[/speak]
		[/command]
		[command]
			undo="no"
			[speak]
				id="Sku"
				message="sorry"
				side="1"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Devoy has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="23,22"
				y="12,12"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="22"
					y="12"
				[/source]
				[destination]
					x="22"
					y="13"
				[/destination]
			[/attack]
			[random]
				value="16913"
				[results]
					chance="40"
					damage="10"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Devoy has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="17,16,15,14,13,12"
				y="5,5,6,5,6,5"
			[/move]
		[/command]
		[command]
			sent="yes"
			undo="no"
			[speak]
				id="Various"
				message="hm not your mistake i guess"
				side="2"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="pohoa has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="21,20,19,19,19,18"
				y="12,12,12,11,10,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="PaiNeR has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="28,28,28,28,28"
				y="5,6,7,8,9"
			[/move]
		[/command]
		[command]
			[move]
				x="28,28"
				y="9,10"
			[/move]
		[/command]
		[command]
			[move]
				x="22,23"
				y="11,11"
			[/move]
		[/command]
		[command]
			[move]
				x="27,27"
				y="10,11"
			[/move]
		[/command]
		[command]
			[move]
				x="24,25,26,26,27"
				y="7,8,8,9,10"
			[/move]
		[/command]
		[command]
			[move]
				x="23,24,24,24,24"
				y="11,10,9,8,7"
			[/move]
		[/command]
		[command]
			[move]
				x="11,11,11,11"
				y="9,10,11,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="lutekb has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="8,9,9,10,10,11"
				y="5,6,7,7,8,9"
			[/move]
		[/command]
		[command]
			[move]
				x="11,12,13"
				y="12,11,12"
			[/move]
		[/command]
		[command]
			[recruit]
				value="7"
				x="19"
				y="5"
			[/recruit]
			[random]
				value="23090"
			[/random]
			[random]
				value="28684"
			[/random]
			[random]
				value="3133"
			[/random]
			[random]
				value="9117"
			[/random]
			[random]
				value="18967"
			[/random]
			[random]
				value="16262"
			[/random]
			[random]
				value="22676"
			[/random]
			[random]
				value="17801"
			[/random]
			[random]
				value="10688"
			[/random]
			[random]
				value="16776"
			[/random]
			[random]
				value="7125"
			[/random]
			[random]
				value="6963"
			[/random]
			[random]
				value="22710"
			[/random]
			[random]
				value="31243"
			[/random]
			[random]
				value="8803"
				[results]
					checksum=",Ad3Y5f-GtmsAp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLAM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzhOI"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="kk has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="zdz has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Markuch has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="26,27,28,29,30"
				y="10,11,11,12,11"
			[/move]
		[/command]
		[command]
			[move]
				x="30,31,32"
				y="11,12,12"
			[/move]
		[/command]
		[command]
			[move]
				x="27,27,27,27,27"
				y="11,12,13,14,15"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="27"
					y="15"
				[/source]
				[destination]
					x="27"
					y="16"
				[/destination]
			[/attack]
			[random]
				value="21285"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="4556"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="17537"
				[results]
					chance="40"
					damage="14"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="10515"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="2233"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="32055"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			[countdown_update]
				team="1"
				value="269000"
			[/countdown_update]
		[/command]
		[command]
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,28,28,29,29,30"
				y="16,16,17,18,19,19"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="24,24,25,26,27"
				y="18,17,17,16,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="27"
					y="16"
				[/source]
				[destination]
					x="27"
					y="15"
				[/destination]
			[/attack]
			[random]
				value="774360172"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1164161278"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,26,27,28,28"
				y="17,16,17,16,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="28"
					y="15"
				[/source]
				[destination]
					x="27"
					y="15"
				[/destination]
			[/attack]
			[random]
				value="1538219523"
				[results]
					chance="70"
					damage="2"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="324430031"
				[results]
					chance="70"
					damage="2"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="244700843"
				[results]
					chance="70"
					damage="2"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Ricky-T has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="24,25,25,26"
				y="16,16,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="26"
					y="14"
				[/source]
				[destination]
					x="27"
					y="15"
				[/destination]
			[/attack]
			[random]
				value="1206934227"
				[results]
					chance="70"
					damage="2"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1886770438"
				[results]
					chance="70"
					damage="2"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1111481661"
				[results]
					chance="70"
					damage="2"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="24,25,26"
				y="15,15,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="26"
					y="15"
				[/source]
				[destination]
					x="27"
					y="15"
				[/destination]
			[/attack]
			[random]
				value="440599086"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1731800032"
				[results]
					chance="70"
					damage="2"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="963169518"
				[results]
					chance="70"
					damage="2"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="29,29,28"
				y="16,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="28"
					y="14"
				[/source]
				[destination]
					x="27"
					y="15"
				[/destination]
			[/attack]
			[random]
				value="89851629"
				[results]
					chance="70"
					damage="2"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="720533804"
				[results]
					chance="70"
					damage="2"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,20,21,22,23,24,24,25"
				y="20,20,20,19,19,18,17,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,20,21,22"
				y="15,14,14,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="22"
					y="13"
				[/source]
				[destination]
					x="22"
					y="12"
				[/destination]
			[/attack]
			[random]
				value="394661109"
				[results]
					chance="50"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1205575084"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1365533812"
				[results]
					chance="50"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="639004288"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="ijimiaz has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="16,17,18,19,20,21"
				y="14,15,14,14,13,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="21"
					y="13"
				[/source]
				[destination]
					x="22"
					y="12"
				[/destination]
			[/attack]
			[random]
				value="331831091"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="516561248"
				[results]
					chance="60"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1568760981"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1763241383"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="14,13,12,11,10"
				y="17,18,18,19,19"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="3"
				x="21"
				y="20"
			[/recruit]
			[random]
				value="1753425990"
			[/random]
			[random]
				value="1464448421"
			[/random]
			[random]
				value="2022315933"
			[/random]
			[random]
				value="189715974"
			[/random]
			[random]
				value="364242688"
			[/random]
			[random]
				value="972298987"
			[/random]
			[random]
				value="1996497204"
			[/random]
			[random]
				value="1533045035"
			[/random]
			[random]
				value="1272225975"
			[/random]
			[random]
				value="1416676670"
			[/random]
			[random]
				value="1243099926"
			[/random]
			[random]
				value="298525997"
			[/random]
			[random]
				value="19015354"
			[/random]
			[random]
				value="915675118"
			[/random]
			[random]
				value="1630184051"
				[results]
					checksum="rQV6GBwD,UJ+7ePAQJ+xOoaC5U6DfS5lmb>+9w26zYBFaluj9yjnQ1omih>hik67n,e0IoZ07o9kcp0Ad568,m9n<X,+nY08797o60sxBFgnXEzrk-i.-tciji+H>s3M"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Obserbator has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,19,19,19,19,19,20"
				y="20,20,19,18,17,16,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,20,19,18,17"
				y="14,14,15,14,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="August has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="17,18,19,20,21,22"
				y="15,14,15,15,16,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Haw has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="13,12,12"
				y="12,12,13"
			[/move]
		[/command]
		[command]
			[move]
				x="12,11,11"
				y="13,14,15"
			[/move]
		[/command]
		[command]
			[move]
				x="12,12,12,12,12,12"
				y="5,6,7,8,9,10"
			[/move]
		[/command]
		[command]
			[move]
				x="11,11,11,11,11,11"
				y="9,10,11,12,13,14"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="22"
					y="12"
				[/source]
				[destination]
					x="21"
					y="13"
				[/destination]
			[/attack]
			[random]
				value="29731"
				[results]
					chance="60"
					damage="10"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="20282"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="24510"
				[results]
					chance="60"
					damage="10"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="12334"
				[results]
					chance="50"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="10729"
				[results]
					chance="60"
					damage="10"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Manhawar has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="19,19,19,20,20,21"
				y="5,6,7,7,8,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Jinn has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Beeeeeee has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="24,24"
				y="7,8"
			[/move]
		[/command]
		[command]
			[move]
				x="24,24,25,26,26"
				y="8,9,10,10,11"
			[/move]
		[/command]
		[command]
			[recruit]
				value="3"
				x="20"
				y="4"
			[/recruit]
			[random]
				value="4022"
			[/random]
			[random]
				value="5915"
			[/random]
			[random]
				value="5661"
			[/random]
			[random]
				value="1846"
			[/random]
			[random]
				value="8313"
			[/random]
			[random]
				value="10810"
			[/random]
			[random]
				value="31437"
			[/random]
			[random]
				value="13379"
			[/random]
			[random]
				value="26689"
			[/random]
			[random]
				value="17748"
			[/random]
			[random]
				value="13411"
			[/random]
			[random]
				value="16400"
			[/random]
			[random]
				value="3945"
			[/random]
			[random]
				value="4972"
			[/random]
			[random]
				value="5544"
				[results]
					checksum="eKEMoMtJ2Sm2IxNK-ruIvyJD8uFQquOORqLQAKsDuHBwnqvBFyQvVsL8qHTmQQNRqrWuTuTxDUFQDPxfDLuyOcqNHBnCR5lymlS<1Ip648,gYmdg-Lb7,b2<2j8d74eh"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="SomeRandom has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="26,26,26,26,25"
				y="11,10,9,8,8"
			[/move]
		[/command]
		[command]
			[move]
				x="27,26,25,24,24"
				y="10,9,9,8,7"
			[/move]
		[/command]
		[command]
			[move]
				x="32,31,30,29,28,27,26"
				y="12,12,11,12,11,11,10"
			[/move]
		[/command]
		[command]
			[move]
				x="28,28,28,28,28,28"
				y="10,9,8,7,6,5"
			[/move]
		[/command]
		[command]
			[move]
				x="18,18,18,18,17"
				y="9,10,11,12,13"
			[/move]
		[/command]
		[command]
			[move]
				x="17,17,18,18,18"
				y="13,12,11,10,9"
			[/move]
		[/command]
		[command]
			[countdown_update]
				team="1"
				value="152000"
			[/countdown_update]
		[/command]
		[command]
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="22,21"
				y="13,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,20,21,22"
				y="15,14,14,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="22"
					y="13"
				[/source]
				[destination]
					x="22"
					y="12"
				[/destination]
			[/attack]
			[random]
				value="1107008113"
				[results]
					chance="60"
					damage="9"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1909800963"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="356779295"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="935306312"
				[results]
					chance="60"
					damage="9"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1708607335"
				[results]
					chance="60"
					damage="9"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,26,27,27,27,27,27,27"
				y="17,16,16,15,14,13,12,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="27"
					y="11"
				[/source]
				[destination]
					x="26"
					y="10"
				[/destination]
			[/attack]
			[random]
				value="1249541782"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="543309762"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1405301429"
				[results]
					chance="40"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="239927922"
				[results]
					chance="40"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,28,28,28,27"
				y="14,13,12,11,10,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="27"
					y="10"
				[/source]
				[destination]
					x="26"
					y="10"
				[/destination]
			[/attack]
			[random]
				value="472562837"
				[results]
					chance="40"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="394349065"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="483741376"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Benchomp has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="kojack has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,28,28,28,29"
				y="15,14,13,12,11,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,26,26,26,26"
				y="15,14,13,12,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="26"
					y="11"
				[/source]
				[destination]
					x="26"
					y="10"
				[/destination]
			[/attack]
			[random]
				value="250178575"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1823808246"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1613409569"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="joan2 has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="el_fur has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,26,26,27,28,28"
				y="14,13,12,12,11,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27,27,27"
				y="16,15,14,13,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="30,29,29,28,28,27"
				y="19,19,18,17,16,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="22,21,20,19,18,17,16,15,14"
				y="16,16,15,16,16,17,17,18,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,21,22"
				y="14,13,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			[move]
				x="11,12,13,14,15,15"
				y="14,14,15,15,16,17"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="15"
					y="17"
				[/source]
				[destination]
					x="14"
					y="17"
				[/destination]
			[/attack]
			[random]
				value="7871"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="21421"
				[results]
					chance="60"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="6611"
				[results]
					chance="70"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="21947"
				[results]
					chance="60"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="24506"
				[results]
					chance="70"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Mcsasik has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="18,18,18,18,17,16,15,14,14,14"
				y="9,10,11,12,13,13,14,14,15,16"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="14"
					y="16"
				[/source]
				[destination]
					x="14"
					y="17"
				[/destination]
			[/attack]
			[random]
				value="27236"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="19734"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="25557"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="18579"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="3933"
				[results]
					chance="60"
					damage="6"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="jason has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="11,12,13,13,14"
				y="15,15,16,17,17"
			[/move]
		[/command]
		[command]
			[move]
				x="12,12,12,12,11,11"
				y="10,11,12,13,14,15"
			[/move]
		[/command]
		[command]
			[move]
				x="20,20,21,21,22"
				y="4,5,6,7,7"
			[/move]
		[/command]
		[command]
			[move]
				x="24,24,24"
				y="7,6,5"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="ak999 has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="25,24,23,22,21,20,19,18"
				y="8,8,8,8,8,8,9,9"
			[/move]
		[/command]
		[command]
			[move]
				x="21,22,23,24"
				y="9,8,8,7"
			[/move]
		[/command]
		[command]
			[move]
				x="26,25,25,26,27,27"
				y="10,10,9,8,8,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="xenom has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="19,20,21,21,21,22,23"
				y="4,4,5,6,7,7,7"
			[/move]
		[/command]
		[command]
			[countdown_update]
				team="1"
				value="135000"
			[/countdown_update]
		[/command]
		[command]
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Misiek_Slash has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="donkey has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="22,21,20,19,18,17"
				y="12,13,13,14,14,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,20,19,18,17,16"
				y="20,20,20,20,20,19"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="22,21,20,20"
				y="13,14,14,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27,28,28"
				y="11,10,9,8,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="28"
					y="7"
				[/source]
				[destination]
					x="27"
					y="7"
				[/destination]
			[/attack]
			[random]
				value="331629243"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1690298447"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="475710947"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="214192711"
				[results]
					chance="40"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27,27,27"
				y="12,11,10,9,8"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="27"
					y="8"
				[/source]
				[destination]
					x="27"
					y="7"
				[/destination]
			[/attack]
			[random]
				value="530208269"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="2034625285"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,26,26,26,26"
				y="11,10,9,8,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="26"
					y="7"
				[/source]
				[destination]
					x="27"
					y="7"
				[/destination]
			[/attack]
			[random]
				value="823048382"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="757413142"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1749457584"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Guskof has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,26"
				y="10,9,8"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="29,29,29,29,29"
				y="11,10,9,8,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,27,26,25,24,23"
				y="10,10,9,9,9,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="klisman has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Jah has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27,27,27,27,27"
				y="16,15,14,13,12,11,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="309000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Magi has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="teigneux has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="15,14,14,13,12,12,12"
				y="17,16,15,15,14,13,12"
			[/move]
		[/command]
		[command]
			[move]
				x="14,14,13,12,12,11,11,11,11,11"
				y="16,15,15,14,13,13,12,11,10,9"
			[/move]
		[/command]
		[command]
			[move]
				x="14,13,13,12,11,11"
				y="17,17,16,15,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Sombra has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="22,23,24,25"
				y="7,7,7,8"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="25"
					y="8"
				[/source]
				[destination]
					x="26"
					y="7"
				[/destination]
			[/attack]
			[random]
				value="2354"
				[results]
					chance="60"
					damage="9"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="5927"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="14315"
				[results]
					chance="60"
					damage="9"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="18779"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="22652"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="7727"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			[move]
				x="24,24,25"
				y="5,6,7"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="25"
					y="7"
				[/source]
				[destination]
					x="26"
					y="7"
				[/destination]
			[/attack]
			[random]
				value="2360"
				[results]
					chance="70"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="27064"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1474"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="11892"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="5010"
				[results]
					chance="70"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="2260"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="necroTrue has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="klisman has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="28,27,26"
				y="5,6,6"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="26"
					y="6"
				[/source]
				[destination]
					x="26"
					y="7"
				[/destination]
			[/attack]
			[random]
				value="16144"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="14629"
				[results]
					chance="50"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="31423"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="7925"
				[results]
					chance="50"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="5305"
				[results]
					chance="60"
					damage="5"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Misiek_Slash has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="27,27,28"
				y="7,6,5"
			[/move]
		[/command]
		[command]
			[move]
				x="23,22,21,21,20,20,19"
				y="7,7,7,6,5,4,4"
			[/move]
		[/command]
		[command]
			[recruit]
				value="3"
				x="20"
				y="4"
			[/recruit]
			[random]
				value="10509"
			[/random]
			[random]
				value="27740"
			[/random]
			[random]
				value="18381"
			[/random]
			[random]
				value="7694"
			[/random]
			[random]
				value="6013"
			[/random]
			[random]
				value="21707"
			[/random]
			[random]
				value="1410"
			[/random]
			[random]
				value="18730"
			[/random]
			[random]
				value="3508"
			[/random]
			[random]
				value="7874"
			[/random]
			[random]
				value="26629"
			[/random]
			[random]
				value="3492"
			[/random]
			[random]
				value="29827"
			[/random]
			[random]
				value="25822"
			[/random]
			[random]
				value="24663"
				[results]
					checksum="eKEMoMtJ2Sm2IxNK-ruIvyJD8uFQquOORqLQAKsDuHBwnqvBFyQvVsL8qHTmQQNRqrWuTuTxDUFRDPxfDLuyOcqNHBnCR5lyBlS<1Ip648,gYmdg-Lb7,b2<2j8d64eh"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="or has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[recruit]
				value="7"
				x="19"
				y="5"
			[/recruit]
			[random]
				value="10486"
			[/random]
			[random]
				value="23255"
			[/random]
			[random]
				value="29925"
			[/random]
			[random]
				value="9109"
			[/random]
			[random]
				value="15658"
			[/random]
			[random]
				value="27373"
			[/random]
			[random]
				value="28618"
			[/random]
			[random]
				value="32182"
			[/random]
			[random]
				value="27038"
			[/random]
			[random]
				value="25424"
			[/random]
			[random]
				value="684"
			[/random]
			[random]
				value="28974"
			[/random]
			[random]
				value="10778"
			[/random]
			[random]
				value="29553"
			[/random]
			[random]
				value="30410"
				[results]
					checksum=",Ad3Y5f-GtmsAp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLAM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzhOI"
				[/results]
			[/random]
		[/command]
		[command]
			[countdown_update]
				team="1"
				value="145000"
			[/countdown_update]
		[/command]
		[command]
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,29,30,30,29"
				y="7,7,6,5,5"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="29"
					y="5"
				[/source]
				[destination]
					x="28"
					y="5"
				[/destination]
			[/attack]
			[random]
				value="1292862166"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1054159862"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1915341698"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="2061482333"
				[results]
					chance="40"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Michaelmax has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,28,28,29,29"
				y="10,9,8,7,7,6"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="29"
					y="6"
				[/source]
				[destination]
					x="28"
					y="5"
				[/destination]
			[/attack]
			[random]
				value="1731797485"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1108606434"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="439544239"
				[results]
					chance="40"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="98451528"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1443757715"
				[results]
					chance="40"
					damage="5"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Damiatux has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,28,28,28"
				y="8,7,6,5"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="29,28,27"
				y="7,6,6"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="27"
					y="6"
				[/source]
				[destination]
					x="26"
					y="6"
				[/destination]
			[/attack]
			[random]
				value="964739715"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1974936902"
				[results]
					chance="50"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="215529872"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1914384752"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1404313922"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1944617836"
				[results]
					chance="50"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="386969173"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,27,27"
				y="8,8,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="27"
					y="7"
				[/source]
				[destination]
					x="26"
					y="6"
				[/destination]
			[/attack]
			[random]
				value="176775308"
				[results]
					chance="50"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1996482702"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="999829166"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="2073260635"
				[results]
					chance="50"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="donkey_noob_trash has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Benn has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="klisman has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="23,24,25,26,27,27"
				y="9,9,10,9,9,8"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,19,19,19,19,19,19"
				y="15,16,17,18,19,20,21"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="16,15,14,14"
				y="19,19,18,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="6"
				x="21"
				y="20"
			[/recruit]
			[random]
				value="1503641921"
			[/random]
			[random]
				value="1603817588"
			[/random]
			[random]
				value="934092280"
			[/random]
			[random]
				value="1085415344"
			[/random]
			[random]
				value="1612924434"
			[/random]
			[random]
				value="2001262665"
			[/random]
			[random]
				value="27796380"
			[/random]
			[random]
				value="209033097"
			[/random]
			[random]
				value="864127044"
			[/random]
			[random]
				value="1709290657"
			[/random]
			[random]
				value="244461256"
			[/random]
			[random]
				value="270569910"
			[/random]
			[random]
				value="753177974"
				[results]
					checksum="DTLTPwRQczAcRKLLbq0Mv5QyqrQOOBLOyBMIwFivztGUowQpTBRsw,0zs3P8rB49xHwm.opR7jouswcn.Adz9fQtQo8c1O8LyzFARPPnDHfaE>8vfLObeidgl03fnU6<"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="6"
				x="18"
				y="20"
			[/recruit]
			[random]
				value="347575842"
			[/random]
			[random]
				value="2131291433"
			[/random]
			[random]
				value="665701643"
			[/random]
			[random]
				value="375372222"
			[/random]
			[random]
				value="192840882"
			[/random]
			[random]
				value="1529828687"
			[/random]
			[random]
				value="2084662879"
			[/random]
			[random]
				value="437302138"
			[/random]
			[random]
				value="1800398597"
			[/random]
			[random]
				value="690357206"
			[/random]
			[random]
				value="1372327295"
			[/random]
			[random]
				value="1556925687"
			[/random]
			[random]
				value="662073734"
				[results]
					checksum="DTLTPwRQczAcRKLLbq0Mv5QyqrQOOBLOyBMIwFivztGUowQpTBRsw,0zs3P8rB49xHwm.opR7jouswcn.Adz9fQtQo8c1O8LyzFARPPnDHfaE>8vfLObeidgl03fnU6<"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="17,16,15"
				y="15,14,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			[move]
				x="12,12,12,12,12,12,12"
				y="12,11,10,9,8,7,6"
			[/move]
		[/command]
		[command]
			[move]
				x="11,11,12,12,13"
				y="14,13,12,11,11"
			[/move]
		[/command]
		[command]
			[move]
				x="11,11,11,11,11,11"
				y="15,14,13,12,11,10"
			[/move]
		[/command]
		[command]
			[move]
				x="19,20,21,21,22,23,24"
				y="5,5,6,7,7,8,8"
			[/move]
		[/command]
		[command]
			[move]
				x="20,20,21,21,22"
				y="4,5,6,7,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Semmi has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="24,23"
				y="7,7"
			[/move]
		[/command]
		[command]
			[move]
				x="26,25,24"
				y="6,7,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="max has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="23,24,25,26"
				y="7,7,7,7"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="26"
					y="7"
				[/source]
				[destination]
					x="27"
					y="8"
				[/destination]
			[/attack]
			[random]
				value="9037"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="9222"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="5747"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1580"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="4666"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="8564"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="17929"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Misiek_Slash has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="25,25,26,27"
				y="8,9,9,9"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="27"
					y="9"
				[/source]
				[destination]
					x="27"
					y="8"
				[/destination]
			[/attack]
			[random]
				value="9940"
				[results]
					chance="60"
					damage="9"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="15367"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="17534"
				[results]
					chance="60"
					damage="9"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="5526"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="17141"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="23045"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Nanashi has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="gracz has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="25,25,26"
				y="7,8,8"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="26"
					y="8"
				[/source]
				[destination]
					x="27"
					y="8"
				[/destination]
			[/attack]
			[random]
				value="6059"
				[results]
					chance="70"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1885"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="14644"
				[results]
					chance="70"
					damage="5"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Muvl has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Misiek_Slash has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[recruit]
				value="7"
				x="20"
				y="4"
			[/recruit]
			[random]
				value="30022"
			[/random]
			[random]
				value="23642"
			[/random]
			[random]
				value="22009"
			[/random]
			[random]
				value="17592"
			[/random]
			[random]
				value="27929"
			[/random]
			[random]
				value="16331"
			[/random]
			[random]
				value="10024"
			[/random]
			[random]
				value="18917"
			[/random]
			[random]
				value="12707"
			[/random]
			[random]
				value="15163"
			[/random]
			[random]
				value="2539"
			[/random]
			[random]
				value="4516"
			[/random]
			[random]
				value="15502"
			[/random]
			[random]
				value="23869"
			[/random]
			[random]
				value="8152"
				[results]
					checksum=",Ad3Y5f-Gtmspp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLpM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzkOI"
				[/results]
			[/random]
		[/command]
		[command]
			[move]
				x="19,19,20,21,21,22,23"
				y="4,5,5,6,7,7,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Funeral_Warfog has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[countdown_update]
				team="1"
				value="166000"
			[/countdown_update]
		[/command]
		[command]
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,28,29,29,28"
				y="5,6,7,8,9,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="28"
					y="9"
				[/source]
				[destination]
					x="27"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="1786738019"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1141318058"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="29,28,28,28,28"
				y="5,5,6,7,8"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="28"
					y="8"
				[/source]
				[destination]
					x="27"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="1532381244"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="760217924"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="446099389"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="657670509"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="29,28,28,27"
				y="6,6,7,8"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="27"
					y="8"
				[/source]
				[destination]
					x="27"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="1612357875"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="722899330"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="799224037"
				[results]
					chance="70"
					damage="3"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,28,28,28,27"
				y="6,6,7,8,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="27"
					y="9"
				[/source]
				[destination]
					x="26"
					y="8"
				[/destination]
			[/attack]
			[random]
				value="407047111"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1584112119"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="821342215"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="2010397724"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1154775062"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,28,28,28,27,26"
				y="7,7,8,9,10,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="26"
					y="9"
				[/source]
				[destination]
					x="26"
					y="8"
				[/destination]
			[/attack]
			[random]
				value="1555087728"
				[results]
					chance="60"
					damage="5"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,22,23,24,24"
				y="20,19,19,18,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="18,17,16,15"
				y="20,20,19,19"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="15,14,13,12,11"
				y="15,14,15,14,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,10,10,10,10,10"
				y="19,18,17,16,15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="smeeds has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="sasik has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="14,13,13,12"
				y="17,17,16,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="12,11"
				y="15,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="6"
				x="21"
				y="20"
			[/recruit]
			[random]
				value="23292633"
			[/random]
			[random]
				value="651255063"
			[/random]
			[random]
				value="1223565930"
			[/random]
			[random]
				value="165744583"
			[/random]
			[random]
				value="171345194"
			[/random]
			[random]
				value="1602421138"
			[/random]
			[random]
				value="1221878040"
			[/random]
			[random]
				value="1863000080"
			[/random]
			[random]
				value="902470369"
			[/random]
			[random]
				value="1834241560"
			[/random]
			[random]
				value="1642092217"
			[/random]
			[random]
				value="255197904"
			[/random]
			[random]
				value="1060286759"
				[results]
					checksum="DTLTPwRQczAcRKLLbq0Mv5QyqrQOOBLOyBMIwFivztGUowQpTBRsw,0zs3P8rB49xHwm.opR7jouswcn.Adz9fQtQo8c1O8LyzFARPPnDHfaE>8vfLObeidgl03fnU6<"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,18,17,16,15,14"
				y="21,20,20,19,19,18"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="BigBoss has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Fargoth0_0 has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="24,25,26,27,28"
				y="7,7,6,6,5"
			[/move]
		[/command]
		[command]
			[move]
				x="20,21,21,21,22,23,24"
				y="4,5,6,7,7,8,7"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Benn has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="23,24,25,25"
				y="7,7,8,9"
			[/move]
		[/command]
		[command]
			[move]
				x="22,23,24,25,26"
				y="7,8,7,8,8"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="26"
					y="8"
				[/source]
				[destination]
					x="26"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="31181"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="16904"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="25288"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="6728"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="7939"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="5298"
				[results]
					chance="70"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			[move]
				x="18,19,20,21,22,23,24,24,25"
				y="9,9,8,8,8,8,8,9,10"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="25"
					y="10"
				[/source]
				[destination]
					x="26"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="1643"
				[results]
					chance="60"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="28865"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="825"
				[results]
					chance="60"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="12883"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="21409"
				[results]
					chance="60"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="2720"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="27111"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="25"
					y="9"
				[/source]
				[destination]
					x="26"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="22025"
				[results]
					chance="60"
					damage="8"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="29736"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="6997"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1120"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="288"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="16997"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="31964"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			[move]
				x="24,24,24,25,26"
				y="8,9,10,11,10"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="26"
					y="10"
				[/source]
				[destination]
					x="26"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="17113"
				[results]
					chance="60"
					damage="7"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="G-Lo has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="26"
					y="7"
				[/source]
				[destination]
					x="27"
					y="8"
				[/destination]
			[/attack]
			[random]
				value="9893"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="12411"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="4241"
				[results]
					chance="60"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="3814"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="14244"
				[results]
					chance="60"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="27424"
				[results]
					chance="60"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="8162"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			[move]
				x="12,12"
				y="6,5"
			[/move]
		[/command]
		[command]
			[move]
				x="11,11,11,11,11,11"
				y="10,9,8,7,6,5"
			[/move]
		[/command]
		[command]
			[move]
				x="11,10,10,9,9,8"
				y="9,8,7,7,6,5"
			[/move]
		[/command]
		[command]
			[move]
				x="13,12,12,11"
				y="11,10,9,9"
			[/move]
		[/command]
		[command]
			[countdown_update]
				team="1"
				value="226000"
			[/countdown_update]
		[/command]
		[command]
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="vr5 has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="nilkiimas has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="zod has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="15,14,13,12"
				y="19,18,19,18"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,22,23,24,25"
				y="20,19,20,19,20"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27"
				y="9,10"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,27"
				y="9,10,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="27"
					y="11"
				[/source]
				[destination]
					x="26"
					y="10"
				[/destination]
			[/attack]
			[random]
				value="1963853841"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1148332696"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1536973023"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="DevilishillusioN has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Muras has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,28,28,28,28,28,28"
				y="8,8,9,10,11,12,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="28,28,28,29"
				y="8,9,10,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="27"
					y="10"
				[/source]
				[destination]
					x="26"
					y="10"
				[/destination]
			[/attack]
			[random]
				value="180483849"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="2142533484"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1045947134"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="383706822"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="14,15,16,17,18,19"
				y="18,19,19,20,20,21"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,12,13,14,15,16"
				y="14,14,15,14,14,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,12,13,14,15"
				y="15,15,16,15,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,10,10,10,10,10"
				y="14,15,16,17,18,19"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="283000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="plk2 has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="26,27,28,28"
				y="8,8,8,9"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="28"
					y="9"
				[/source]
				[destination]
					x="27"
					y="10"
				[/destination]
			[/attack]
			[random]
				value="23130"
				[results]
					chance="40"
					damage="14"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="29446"
				[results]
					chance="70"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="22709"
				[results]
					chance="40"
					damage="14"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Rizzalan has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Raiylo has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="28,28,28,28,28,28"
				y="5,6,7,8,9,10"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="28"
					y="10"
				[/source]
				[destination]
					x="27"
					y="11"
				[/destination]
			[/attack]
			[random]
				value="8031"
				[results]
					chance="40"
					damage="9"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="2783"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="23824"
				[results]
					chance="40"
					damage="9"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="18729"
				[results]
					chance="40"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="19036"
				[results]
					chance="40"
					damage="9"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Benn has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="26"
					y="10"
				[/source]
				[destination]
					x="27"
					y="11"
				[/destination]
			[/attack]
			[random]
				value="1357"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="12981"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="30789"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="2684"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="26433"
				[results]
					chance="40"
					damage="4"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			[move]
				x="25,26,26,26,26,26,27,28"
				y="10,10,11,12,13,14,15,14"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="28"
					y="14"
				[/source]
				[destination]
					x="28"
					y="13"
				[/destination]
			[/attack]
			[random]
				value="626"
				[results]
					chance="60"
					damage="7"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="infinity0 has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="25,24,23,22,21,21,20"
				y="9,8,8,7,7,6,5"
			[/move]
		[/command]
		[command]
			[move]
				x="26,27,27,28"
				y="7,7,6,5"
			[/move]
		[/command]
		[command]
			[move]
				x="24,25,26,26,27,27,28"
				y="7,8,8,9,10,11,11"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="28"
					y="11"
				[/source]
				[destination]
					x="29"
					y="11"
				[/destination]
			[/attack]
			[random]
				value="5545"
				[results]
					chance="30"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="533"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="23662"
				[results]
					chance="30"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="19365"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="29283"
				[results]
					chance="30"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			[move]
				x="11,11,11"
				y="9,10,11"
			[/move]
		[/command]
		[command]
			[move]
				x="11,11"
				y="11,12"
			[/move]
		[/command]
		[command]
			[move]
				x="11,12,13"
				y="12,11,12"
			[/move]
		[/command]
		[command]
			[move]
				x="11,11,11,11,11"
				y="5,6,7,8,9"
			[/move]
		[/command]
		[command]
			[move]
				x="8,8,9,9,9,9"
				y="5,6,7,8,9,10"
			[/move]
		[/command]
		[command]
			[move]
				x="9,8"
				y="10,10"
			[/move]
		[/command]
		[command]
			[move]
				x="12,13,14,15,16,17,18"
				y="5,6,6,6,5,6,6"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Araja has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="killer88 has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[countdown_update]
				team="1"
				value="241000"
			[/countdown_update]
		[/command]
		[command]
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[move]
				x="29,30,31,32,32,32,32,33"
				y="11,11,12,12,13,14,15,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="0"
				x="21"
				y="20"
			[/recruit]
			[random]
				value="1481582298"
			[/random]
			[random]
				value="348640004"
			[/random]
			[random]
				value="845027277"
			[/random]
			[random]
				value="1695442826"
			[/random]
			[random]
				value="1593404623"
			[/random]
			[random]
				value="290471855"
			[/random]
			[random]
				value="1582275646"
			[/random]
			[random]
				value="1860201390"
			[/random]
			[random]
				value="32727724"
			[/random]
			[random]
				value="1618026151"
			[/random]
			[random]
				value="1445090005"
			[/random]
			[random]
				value="223351990"
			[/random]
			[random]
				value="870143057"
			[/random]
			[random]
				value="1441525492"
			[/random]
			[random]
				value="722078707"
				[results]
					checksum="lxj+sAh20PB1UmsQ56tLoxNPdOFGJz.MMAvVvoQO,ECJMwDzBrzrTwAoECqSJHEvSS3IzTALqvFArEKTmSKvvPnFtw-JnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8EE25"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="killer123 has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="0"
				x="20"
				y="20"
			[/recruit]
			[random]
				value="1381569256"
			[/random]
			[random]
				value="1860686064"
			[/random]
			[random]
				value="873576395"
			[/random]
			[random]
				value="79112885"
			[/random]
			[random]
				value="1408645242"
			[/random]
			[random]
				value="319497371"
			[/random]
			[random]
				value="369584740"
			[/random]
			[random]
				value="843437240"
			[/random]
			[random]
				value="32215113"
			[/random]
			[random]
				value="402312465"
			[/random]
			[random]
				value="313979743"
			[/random]
			[random]
				value="1477305118"
			[/random]
			[random]
				value="625664455"
			[/random]
			[random]
				value="1184122801"
			[/random]
			[random]
				value="771346962"
				[results]
					checksum="oxj+sAh20PB0KmsQ56tLoxMPdOFGJz.MMAvVvoQO,ECJMwDzBrzrTwAoECqSJHEvSS3IzTALqvFArEKTmSKvvPnFtw+PnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8FA25"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Samu has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="19,20,21,22,23,24,25"
				y="21,20,20,19,19,18,18"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="16,17,17,17,18,18"
				y="13,13,12,11,10,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Brokenergy has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,10,10,10"
				y="19,18,17,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,10"
				y="16,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Woodstr93 has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,10"
				y="15,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="15,14,13,12,11"
				y="16,15,15,15,15"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="307000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			[move]
				x="20,20,19,18,18"
				y="5,6,7,7,8"
			[/move]
		[/command]
		[command]
			[move]
				x="18,19,19,19"
				y="6,7,8,9"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="19"
					y="9"
				[/source]
				[destination]
					x="18"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="2964"
				[results]
					chance="70"
					damage="10"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="19009"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="32411"
				[results]
					chance="70"
					damage="10"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="19889"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="201"
				[results]
					chance="70"
					damage="10"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="6524"
				[results]
					chance="60"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="18"
					y="8"
				[/source]
				[destination]
					x="18"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="10284"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="6421"
				[results]
					chance="50"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="32142"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="22269"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="15083"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="6458"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="17094"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Mobbydick has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Devoy has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="28,27,27"
				y="9,10,11"
			[/move]
		[/command]
		[command]
			[move]
				x="26,26,25,25,24"
				y="10,9,9,8,7"
			[/move]
		[/command]
		[command]
			[move]
				x="27,27,27"
				y="11,12,13"
			[/move]
		[/command]
		[command]
			[move]
				x="28,27,27,27,27,27,27"
				y="10,11,12,13,14,15,16"
			[/move]
		[/command]
		[command]
			[move]
				x="28,28,29,29,30"
				y="11,12,13,14,14"
			[/move]
		[/command]
		[command]
			[move]
				x="28,29,30,31,32"
				y="14,15,15,15,15"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="32"
					y="15"
				[/source]
				[destination]
					x="33"
					y="16"
				[/destination]
			[/attack]
			[random]
				value="16156"
				[results]
					chance="30"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="15308"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="2623"
				[results]
					chance="30"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="3821"
				[results]
					chance="60"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="4071"
				[results]
					chance="30"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			[countdown_update]
				team="1"
				value="245000"
			[/countdown_update]
		[/command]
		[command]
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Ansengrinth has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="20,21,22,23,24,25,26,27"
				y="20,20,19,19,18,18,17,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="1"
				weapon="1"
				[source]
					x="27"
					y="17"
				[/source]
				[destination]
					x="27"
					y="16"
				[/destination]
			[/attack]
			[random]
				value="440105750"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="299110030"
				[results]
					chance="60"
					damage="7"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="66952305"
				[results]
					chance="40"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="509957911"
				[results]
					chance="40"
					damage="5"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1948932548"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="zuzik has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,25,26,26,26"
				y="20,19,18,17,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="26"
					y="16"
				[/source]
				[destination]
					x="27"
					y="16"
				[/destination]
			[/attack]
			[random]
				value="765655653"
				[results]
					chance="80"
					damage="4"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="356065101"
				[results]
					chance="40"
					damage="16"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,22,23,24,25,26,27"
				y="20,19,19,18,19,18,18"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="33"
					y="16"
				[/source]
				[destination]
					x="32"
					y="15"
				[/destination]
			[/attack]
			[random]
				value="1038071238"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="495713668"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="900239255"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="533028963"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="24,25,26,27"
				y="17,17,16,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="25,24,23,22,21,20"
				y="18,18,19,19,20,20"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="1"
				x="21"
				y="20"
			[/recruit]
			[random]
				value="778626132"
			[/random]
			[random]
				value="1958307669"
			[/random]
			[random]
				value="1023012648"
			[/random]
			[random]
				value="1596157394"
			[/random]
			[random]
				value="540294553"
			[/random]
			[random]
				value="632743590"
			[/random]
			[random]
				value="268725709"
			[/random]
			[random]
				value="296616854"
			[/random]
			[random]
				value="1907278094"
			[/random]
			[random]
				value="1933298358"
			[/random]
			[random]
				value="1279828892"
			[/random]
			[random]
				value="1751180744"
			[/random]
			[random]
				value="662804949"
			[/random]
			[random]
				value="966433304"
			[/random]
			[random]
				value="1773084321"
				[results]
					checksum="ACIByNSVYrLXPemyRXKCwqFrLmVQqEv0TwtBGgNMvJHtOMFtHrtKmNzMnuxEPDq6BPSLFIOJqR+ProSyETFwFyA9CumVnpCouMKPBb5tJGPbmz3o>.fjcflW4pf7m5p7"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="18"
					y="9"
				[/source]
				[destination]
					x="19"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="371212189"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1060749673"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1859501997"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="605229713"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="1319558649"
				[results]
					chance="60"
					damage="6"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[move]
				x="11,12,13,13,14"
				y="15,15,16,17,17"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="10,10,10,10,10,10"
				y="14,15,16,17,18,19"
			[/move]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			[move]
				x="24,23,22,21,20,19"
				y="7,8,8,8,8,9"
			[/move]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="19"
					y="9"
				[/source]
				[destination]
					x="18"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="13290"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="13946"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="25164"
				[results]
					chance="40"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="30535"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="30715"
				[results]
					chance="40"
					damage="9"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="27478"
				[results]
					chance="60"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="31727"
				[results]
					chance="60"
					damage="6"
					dies="no"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			[attack]
				defender_weapon="0"
				weapon="0"
				[source]
					x="18"
					y="8"
				[/source]
				[destination]
					x="18"
					y="9"
				[/destination]
			[/attack]
			[random]
				value="3902"
				[results]
					chance="40"
					damage="8"
					dies="yes"
					hits="yes"
				[/results]
			[/random]
		[/command]
		[command]
			[move]
				x="27,27,27,27"
				y="13,12,11,10"
			[/move]
		[/command]
		[command]
			[move]
				x="32,32,32,32,32,31,31,30,30,30"
				y="15,14,13,12,11,11,10,9,8,7"
			[/move]
		[/command]
		[command]
			[move]
				x="30,30,30,30,30,30"
				y="14,13,12,11,10,9"
			[/move]
		[/command]
		[command]
			[move]
				x="8,9,9,10"
				y="10,11,12,12"
			[/move]
		[/command]
		[command]
			[move]
				x="10,9,9,8"
				y="12,12,11,10"
			[/move]
		[/command]
		[command]
			[move]
				x="11,10,9,9,8"
				y="9,9,10,11,11"
			[/move]
		[/command]
		[command]
			[countdown_update]
				team="1"
				value="270000"
			[/countdown_update]
		[/command]
		[command]
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="PositionalPlayer has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27,27,26,26,25"
				y="18,17,16,15,14,13,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="26,26,26,26,26"
				y="16,15,14,13,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27,27,27"
				y="16,15,14,13,12"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="27,27,27,27,27,27,27"
				y="17,16,15,14,13,12,11"
			[/move]
		[/command]
		[command]
			sent="yes"
			[attack]
				defender_weapon="-1"
				weapon="1"
				[source]
					x="27"
					y="11"
				[/source]
				[destination]
					x="27"
					y="10"
				[/destination]
			[/attack]
			[random]
				value="1574141242"
				[results]
					chance="50"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="622842715"
				[results]
					chance="50"
					damage="3"
					dies="no"
					hits="yes"
				[/results]
			[/random]
			[random]
				value="73899857"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
			[random]
				value="1556172168"
				[results]
					chance="50"
					damage="0"
					dies="no"
					hits="no"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Maisteri has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[move]
				x="33,32,31,30,29,28,27"
				y="16,15,16,15,16,16,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[move]
				x="21,22,23,24,24,25,25"
				y="20,19,19,18,17,17,16"
			[/move]
		[/command]
		[command]
			sent="yes"
			[recruit]
				value="0"
				x="21"
				y="20"
			[/recruit]
			[random]
				value="1413857007"
			[/random]
			[random]
				value="1849937836"
			[/random]
			[random]
				value="731401657"
			[/random]
			[random]
				value="27124206"
			[/random]
			[random]
				value="1187744287"
			[/random]
			[random]
				value="1231969666"
			[/random]
			[random]
				value="1615578476"
			[/random]
			[random]
				value="1429515397"
			[/random]
			[random]
				value="1310037145"
			[/random]
			[random]
				value="346206809"
			[/random]
			[random]
				value="735383644"
			[/random]
			[random]
				value="714202097"
			[/random]
			[random]
				value="1710651873"
			[/random]
			[random]
				value="836810166"
			[/random]
			[random]
				value="1386313476"
				[results]
					checksum="DB6s-,zQn1M2yKRrtl,yvEJs-TqLAH7qSCNCNSvmIJ>KNGxwmIQwSVVvQLyBGFwuCzBR9PMVRCroPzMEKTmSKvvPnFtw-JnBRSqBwbD3xFMMEJCCHO+YDPPnPywBn8FA"
				[/results]
			[/random]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="LucaGamer has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="fede has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[countdown_update]
				team="2"
				value="330000"
			[/countdown_update]
		[/command]
		[command]
			sent="yes"
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			[move]
				x="19,18"
				y="9,9"
			[/move]
		[/command]
		[command]
			[move]
				x="18,19,19,19,19,19"
				y="8,8,7,6,5,4"
			[/move]
		[/command]
		[command]
			[recruit]
				value="5"
				x="20"
				y="3"
			[/recruit]
			[random]
				value="17504"
			[/random]
			[random]
				value="12118"
			[/random]
			[random]
				value="24177"
			[/random]
			[random]
				value="8223"
			[/random]
			[random]
				value="20806"
			[/random]
			[random]
				value="29098"
			[/random]
			[random]
				value="29095"
			[/random]
			[random]
				value="6180"
			[/random]
			[random]
				value="4996"
			[/random]
			[random]
				value="28237"
			[/random]
			[random]
				value="27366"
			[/random]
			[random]
				value="13103"
			[/random]
			[random]
				value="12619"
			[/random]
			[random]
				value="15997"
			[/random]
			[random]
				value="6916"
				[results]
					checksum="ixp,4nc1oNO<LLyKmJLIEhoF>vyBA6mszOAMDTywuzyODCrTtRLwFwmIsr1QENmxPFHFw.RFKFnqypNKqM8mwoFomIhFlq1.CL-<<ddBfkHDONNHvMSO1I9LGCHpACmL"
				[/results]
			[/random]
		[/command]
		[command]
			[recruit]
				value="5"
				x="20"
				y="4"
			[/recruit]
			[random]
				value="31962"
			[/random]
			[random]
				value="28923"
			[/random]
			[random]
				value="20971"
			[/random]
			[random]
				value="12177"
			[/random]
			[random]
				value="11245"
			[/random]
			[random]
				value="29407"
			[/random]
			[random]
				value="13865"
			[/random]
			[random]
				value="32602"
			[/random]
			[random]
				value="6217"
			[/random]
			[random]
				value="9962"
			[/random]
			[random]
				value="2542"
			[/random]
			[random]
				value="8855"
			[/random]
			[random]
				value="2092"
			[/random]
			[random]
				value="10925"
			[/random]
			[random]
				value="25497"
				[results]
					checksum="iqp,4nc1oNO<LLyKmJLIEhoF>vyBA6mszOAMDTywuzyODCrTtRLwFwmIsr1QENmxPFHFw.RFKFnqypNKpM8mwoFomIhFlq1.CLW<<ddBfkHDONNHvHQO1I9LGCHpACmL"
				[/results]
			[/random]
		[/command]
		[command]
			[recruit]
				value="3"
				x="19"
				y="5"
			[/recruit]
			[random]
				value="32274"
			[/random]
			[random]
				value="25312"
			[/random]
			[random]
				value="6005"
			[/random]
			[random]
				value="6572"
			[/random]
			[random]
				value="6225"
			[/random]
			[random]
				value="7413"
			[/random]
			[random]
				value="7166"
			[/random]
			[random]
				value="3063"
			[/random]
			[random]
				value="30978"
			[/random]
			[random]
				value="11888"
			[/random]
			[random]
				value="15917"
			[/random]
			[random]
				value="19921"
			[/random]
			[random]
				value="13699"
			[/random]
			[random]
				value="254"
			[/random]
			[random]
				value="899"
				[results]
					checksum="eKEMoMtJ2Sm2IxNK-ruIvyJD8uFQquOORqLQAKsDuHBwnqvBFyQvVsL8qHTmQQNRqrWuTuTxDUyGDPxfDLuyOcqNHBnCR5lyBlS<1Ip648,gYgdg-Lb7,b2<2j8614eh"
				[/results]
			[/random]
		[/command]
		[command]
			[move]
				x="28,27,26"
				y="5,6,6"
			[/move]
		[/command]
		[command]
			[move]
				x="30,30,29,29,29,28"
				y="9,8,8,7,6,5"
			[/move]
		[/command]
		[command]
			[move]
				x="26,25,24"
				y="6,7,7"
			[/move]
		[/command]
		[command]
			[move]
				x="30,29,28,27,27,26,25,24,23,22"
				y="7,7,6,6,5,4,4,3,3,2"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="milan has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[recruit]
				value="7"
				x="18"
				y="4"
			[/recruit]
			[random]
				value="12063"
			[/random]
			[random]
				value="2367"
			[/random]
			[random]
				value="10710"
			[/random]
			[random]
				value="31705"
			[/random]
			[random]
				value="26731"
			[/random]
			[random]
				value="16659"
			[/random]
			[random]
				value="18804"
			[/random]
			[random]
				value="28916"
			[/random]
			[random]
				value="4479"
			[/random]
			[random]
				value="8172"
			[/random]
			[random]
				value="17643"
			[/random]
			[random]
				value="17351"
			[/random]
			[random]
				value="8602"
			[/random]
			[random]
				value="19738"
			[/random]
			[random]
				value="16156"
				[results]
					checksum=",Ad3Y5f-Gtmspp5jHbEoRiSrOCpxE4IDyxOzzQOG.nCLyyGDmUtLNvFrwCUxRLwFwmIsr1QENmxPFHFw.RFKFnqypNLpM8mwoFomIhFlq1.CLW<<ddNv5EsLNHBNzkOI"
				[/results]
			[/random]
		[/command]
		[command]
			[move]
				x="13,12,12"
				y="12,12,13"
			[/move]
		[/command]
		[command]
			[move]
				x="8,9,9,9"
				y="10,11,12,13"
			[/move]
		[/command]
		[command]
			[move]
				x="8,8,7,7,6"
				y="11,12,13,14,14"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="mjk has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="9,8,8,8,7"
				y="13,13,14,15,16"
			[/move]
		[/command]
		[command]
			[move]
				x="12,13"
				y="13,13"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="kojack has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="13,12"
				y="13,12"
			[/move]
		[/command]
		[command]
			[move]
				x="27,28"
				y="10,9"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Panq has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[move]
				x="28,28,28,28"
				y="9,8,7,6"
			[/move]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="spronkey has logged into the lobby"
			[/speak]
		[/command]
		[command]
			[countdown_update]
				team="1"
				value="271000"
			[/countdown_update]
		[/command]
		[command]
			[end_turn]
			[/end_turn]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="Sinnej has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="SweetDreamZ has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="GEO has logged into the lobby"
			[/speak]
		[/command]
		[command]
			sent="yes"
			[speak]
				id="server"
				message="aramaki has logged into the lobby"
			[/speak]
		[/command]
	[/replay]
	[statistics]
		mid_scenario="yes"
		[scenario]
			scenario="2p - The Freelands"
			[team]
				damage_inflicted="423"
				damage_taken="480"
				expected_damage_inflicted="379769"
				expected_damage_taken="459286"
				recall_cost="0"
				recruit_cost="334"
				turn_damage_inflicted="0"
				turn_damage_taken="0"
				turn_expected_damage_inflicted="0"
				turn_expected_damage_taken="0"
				[recruits]
					Cavalryman="2"
					Fencer="2"
					Heavy Infantryman="4"
					Mage="4"
					Merman Fighter="1"
					Spearman="7"
				[/recruits]
				[recalls]
				[/recalls]
				[advances]
				[/advances]
				[deaths]
					Fencer="1"
					Heavy Infantryman="2"
					Mage="2"
					Merman Fighter="1"
					Spearman="2"
				[/deaths]
				[killed]
					Elvish Fighter="8"
					Elvish Scout="1"
					Elvish Shaman="1"
				[/killed]
				[attacks]
					[sequence]
						_num="30"
						s000="1"
						s010="1"
					[/sequence]
					[sequence]
						_num="40"
						s00="1"
						s000="2"
						s001="2"
						s01="1"
						s011="1"
						s1="2"
						s10="1"
						s11="1"
						s1101="1"
						s111="1"
					[/sequence]
					[sequence]
						_num="50"
						s0001="1"
						s001="1"
						s010="1"
						s100="1"
					[/sequence]
					[sequence]
						_num="60"
						s00="1"
						s011="1"
						s1="2"
						s100="1"
						s11="2"
						s110="1"
						s111="4"
					[/sequence]
					[sequence]
						_num="70"
						s011="1"
						s101="1"
						s11="1"
						s111="1"
					[/sequence]
				[/attacks]
				[defends]
					[sequence]
						_num="0"
						s="18"
					[/sequence]
					[sequence]
						_num="40"
						s0="7"
					[/sequence]
					[sequence]
						_num="60"
						s="1"
						s1="5"
						s101="1"
						s11="1"
					[/sequence]
					[sequence]
						_num="80"
						s1="1"
					[/sequence]
				[/defends]
			[/team]
			[team]
				damage_inflicted="480"
				damage_taken="423"
				expected_damage_inflicted="459286"
				expected_damage_taken="379769"
				recall_cost="0"
				recruit_cost="316"
				turn_damage_inflicted="0"
				turn_damage_taken="0"
				turn_expected_damage_inflicted="0"
				turn_expected_damage_taken="0"
				[recruits]
					Elvish Archer="4"
					Elvish Fighter="10"
					Elvish Scout="1"
					Elvish Shaman="2"
					Wose="3"
				[/recruits]
				[recalls]
				[/recalls]
				[advances]
				[/advances]
				[deaths]
					Elvish Fighter="8"
					Elvish Scout="1"
					Elvish Shaman="1"
				[/deaths]
				[killed]
					Fencer="1"
					Heavy Infantryman="2"
					Mage="2"
					Merman Fighter="1"
					Spearman="2"
				[/killed]
				[attacks]
					[sequence]
						_num="40"
						s00="1"
						s000="2"
						s0001="2"
						s001="1"
						s0011="1"
						s011="2"
						s0110="1"
						s1="2"
						s100="1"
					[/sequence]
					[sequence]
						_num="50"
						s000="1"
						s101="1"
						s1010="1"
						s110="1"
						s1100="1"
					[/sequence]
					[sequence]
						_num="60"
						s0011="1"
						s1="1"
						s101="1"
						s1010="1"
						s1011="1"
						s11="1"
						s111="1"
						s1110="1"
					[/sequence]
					[sequence]
						_num="70"
						s00="1"
						s01="1"
						s011="1"
						s11="2"
						s1101="1"
						s111="2"
					[/sequence]
				[/attacks]
				[defends]
					[sequence]
						_num="30"
						s101="1"
					[/sequence]
					[sequence]
						_num="40"
						s0011="1"
						s01="1"
						s1110="1"
					[/sequence]
					[sequence]
						_num="50"
						s="2"
						s000="1"
						s0010="1"
						s01="1"
						s1000="1"
						s11="1"
					[/sequence]
					[sequence]
						_num="60"
						s="2"
						s0="1"
						s00="1"
						s0010="1"
						s0011="1"
						s0110="1"
						s10="2"
						s1001="1"
						s101="1"
						s11="2"
						s1100="1"
						s1101="1"
						s111="1"
						s1110="2"
					[/sequence]
					[sequence]
						_num="70"
						s001="1"
						s1="1"
						s1011="1"
						s1110="1"
						s1111="2"
					[/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,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"
				[team_formula]
					rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
				[/team_formula]
			[/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,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"
				[team_formula]
					rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
				[/team_formula]
			[/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"
				[team_formula]
					rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
				[/team_formula]
			[/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"
				[team_formula]
					rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
				[/team_formula]
			[/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"
			random_leader="Dwarvish Steelclad,Dwarvish Thunderguard,Rogue,Trapper"
			recruit="Dwarvish Guardsman,Dwarvish Fighter,Dwarvish Ulfserker,Dwarvish Thunderer,Thief,Poacher,Footpad,Gryphon Rider"
			terrain_liked="Hh, Ha, Mm"
			type="Dwarvish Steelclad"
			[ai]
				recruitment_pattern="fighter,fighter,fighter,mixed fighter,archer,scout"
				[team_formula]
					rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
				[/team_formula]
			[/ai]
		[/multiplayer_side]
		[multiplayer_side]
			flag_rgb="magenta"
			id="Drakes"
			image="units/drakes/flare.png"
			leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior,Saurian Oracle,Saurian Soothsayer"
			name=_ "Drakes"
			random_leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior"
			recruit="Drake Burner,Drake Clasher,Drake Glider,Drake Fighter,Saurian Skirmisher,Saurian Augur"
			terrain_liked="Hh, Ha, Ds, Ss"
			type="Drake Flare"
			[ai]
				recruitment_pattern="fighter,fighter,archer,healer,scout,scout"
				[team_formula]
					rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
				[/team_formula]
			[/ai]
		[/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]
					[set_variables]
						mode="merge"
						name="leaders_to_make_quick[$i].modifications"
						[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]
					[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]
					[set_variable]
						add="1"
						name="i"
					[/set_variable]
				[/do]
			[/while]
			[clear_variable]
				name="i"
			[/clear_variable]
			[clear_variable]
				name="leaders_to_make_quick"
			[/clear_variable]
		[/event]
	[/era]
	[side]
		action_bonus_count="0"
		aggression="0.5"
		allow_changes="no"
		allow_player="yes"
		caution="0.25"
		colour="4"
		controller="human"
		countdown_time="271000"
		current_player="Sku"
		disallow_observers="no"
		fog="yes"
		global_recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
		gold="1"
		hidden="no"
		id="Sku1"
		income="0"
		leader_value="3"
		name="Sku"
		no_leader="yes"
		number_of_possible_recruits_to_force_recruit="3.1"
		objectives="Victory:
@Defeat enemy leader(s)"
		objectives_changed="no"
		recruit="Bowman,Cavalryman,Fencer,Heavy Infantryman,Horseman,Mage,Merman Fighter,Spearman"
		recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
		save_id="Sku1"
		share_maps="no"
		share_view="yes"
		shroud="no"
		side="1"
		start_gold="100"
		team_name="north"
#textdomain wesnoth-multiplayer
		user_team_name=_ "teamname^North"
		village_gold="2"
		village_value="1"
		villages_per_scout="8"
		[ai]
			recruitment_pattern="fighter,fighter,fighter,archer,mixed fighter,scout"
			villages_per_scout="8"
			[team_formula]
				rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
			[/team_formula]
		[/ai]
		[ai]
			villages_per_scout="8"
		[/ai]
		[village]
			x="8"
			y="5"
		[/village]
		[village]
			x="11"
			y="9"
		[/village]
		[village]
			x="12"
			y="2"
		[/village]
		[village]
			x="12"
			y="5"
		[/village]
		[village]
			x="18"
			y="9"
		[/village]
		[village]
			x="22"
			y="2"
		[/village]
		[village]
			x="24"
			y="7"
		[/village]
		[village]
			x="28"
			y="5"
		[/village]
		[unit]
			advances_to="General"
			alignment="lawful"
			allow_changes="yes"
			allow_player="yes"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			colour="4"
			controller="network"
			cost="35"
			current_player="Various"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			experience="10"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			fog="yes"
			gender="male"
			gold="100"
			goto_x="-999"
			goto_y="-999"
			hitpoints="24"
			id="Sku1"
			image="units/human-loyalists/lieutenant.png"
			income="0"
#textdomain wesnoth-units
			language_name=_ "Lieutenant"
			leader="Lieutenant,Swordsman,Pikeman,Javelineer,Shock Trooper,Longbowman,White Mage,Red Mage"
			level="2"
			max_attacks="1"
			max_experience="56"
			max_hitpoints="40"
			max_moves="6"
			movement="6"
			movement_type="smallfoot"
			moves="1"
			mp_countdown="yes"
			mp_countdown_action_bonus="13"
			mp_countdown_init_time="270"
			mp_countdown_reservoir_time="330"
			mp_countdown_turn_bonus="60"
			name="Sku"
			profile="portraits/humans/lieutenant.png"
			race="human"
			random_leader="Lieutenant,Swordsman,Pikeman,Javelineer,Longbowman,Red Mage"
			random_traits="no"
			recruit="Cavalryman,Horseman,Spearman,Fencer,Heavy Infantryman,Bowman,Mage,Merman Fighter"
			resting="no"
			save_id="Sku1"
			share_maps="no"
			share_view="yes"
			shroud="no"
			side="1"
			team_name="north"
			terrain_liked="Gg, Ww, Wo"
			type="Lieutenant"
			underlying_id="1"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			user_team_name="wesnoth-multiplayerteamname^North"
			village_gold="2"
			x="19"
			y="4"
			zoc="yes"
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				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]
				hidden="yes"
			[/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="Dragoon"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="horse-die.ogg"
			ellipse="misc/ellipse"
			experience="9"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="41"
			id="Cavalryman-3"
			image="units/human-loyalists/cavalryman.png"
			language_name=_ "Cavalryman"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="41"
			max_moves="9"
			movement="8"
			movement_type="mounted"
			moves="1"
			name="Aethun"
			profile="portraits/humans/cavalryman.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Cavalryman"
			undead_variation="mounted"
			underlying_id="3"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			x="7"
			y="16"
			zoc="yes"
			[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]
			[defense]
				castle="60"
				cave="80"
				deep_water="80"
				flat="60"
				forest="70"
				frozen="70"
				fungus="80"
				hills="60"
				impassable="80"
				mountains="80"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="4"
				deep_water="99"
				flat="1"
				forest="3"
				frozen="2"
				fungus="4"
				hills="2"
				impassable="99"
				mountains="99"
				reef="3"
				sand="2"
				shallow_water="4"
				swamp_water="4"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="70"
				cold="80"
				fire="100"
				impact="60"
				pierce="120"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "sword"
				icon="attacks/sword-human.png"
				name="sword"
				number="3"
				range="melee"
				type="blade"
			[/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^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="Duelist"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="16"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="29"
			id="Fencer-4"
			image="units/human-loyalists/fencer.png"
#textdomain wesnoth-units
			language_name=_ "Fencer"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="29"
			max_moves="6"
			movement="6"
			movement_type="elusivefoot"
			moves="0"
			name="Cin"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Fencer"
			underlying_id="4"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="12"
			y="12"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="saber"
				[/filter_attack]
				[frame]
					begin="-300"
					end="-250"
					image="units/human-loyalists/fencer-attack-1.png"
					offset="0.0~-0.07"
				[/frame]
				[frame]
					begin="-250"
					end="-200"
					image="units/human-loyalists/fencer-attack-2.png"
					offset="-0.07~-0.15"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-200"
						end="-150"
						image="units/human-loyalists/fencer-attack-3.png"
						offset="-0.15~-0.25"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-200"
						end="-150"
						image="units/human-loyalists/fencer-attack-3.png"
						offset="-0.15~-0.25"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-150"
					end="-100"
					image="units/human-loyalists/fencer-attack-4.png"
					offset="-0.25~-0.2"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/human-loyalists/fencer-attack-5.png"
					offset="-0.2~-0.1"
				[/frame]
				[frame]
					begin="-50"
					end="0"
					image="units/human-loyalists/fencer-attack-6.png"
					offset="-0.1~0.25"
				[/frame]
				[frame]
					begin="0"
					end="50"
					image="units/human-loyalists/fencer-attack-7.png"
					offset="0.25~0.55"
				[/frame]
				[frame]
					begin="50"
					end="100"
					image="units/human-loyalists/fencer-attack-8.png"
					offset="0.55~0.25"
				[/frame]
				[frame]
					begin="100"
					end="150"
					image="units/human-loyalists/fencer-attack-9.png"
					offset="0.25~0.1"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/human-loyalists/fencer-attack-1.png"
					offset="0.1~0.0"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="100"
					image="units/human-loyalists/fencer-die1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/human-loyalists/fencer-die2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/human-loyalists/fencer-die3.png"
				[/frame]
				[frame]
					begin="300"
					end="400"
					image="units/human-loyalists/fencer-die4.png"
				[/frame]
				[frame]
					begin="400"
					end="500"
					image="units/human-loyalists/fencer-die5.png"
				[/frame]
			[/death]
			[defend]
				hits="miss"
				[frame]
					begin="-126"
					end="-125"
					image="units/human-loyalists/fencer.png"
				[/frame]
				[frame]
					begin="-125"
					end="-42"
					image="units/human-loyalists/fencer-defend-1-1.png"
				[/frame]
				[frame]
					begin="-42"
					end="41"
					image="units/human-loyalists/fencer-defend-1-2.png"
				[/frame]
				[frame]
					begin="41"
					end="125"
					image="units/human-loyalists/fencer-defend-1-1.png"
				[/frame]
				[frame]
					begin="125"
					end="126"
					image="units/human-loyalists/fencer-defend-1-1.png"
				[/frame]
			[/defend]
			[defend]
				hits="hit"
				[frame]
					begin="-126"
					end="-125"
					image="units/human-loyalists/fencer.png"
				[/frame]
				[frame]
					begin="-125"
					end="-25"
					image="units/human-loyalists/fencer-defend.png"
				[/frame]
				[frame]
					begin="-25"
					end="125"
					image="units/human-loyalists/fencer-defend.png"
					sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,human-hit-5.ogg"
				[/frame]
				[frame]
					begin="125"
					end="126"
					image="units/human-loyalists/fencer.png"
				[/frame]
			[/defend]
			[defend]
				hits="kill"
				[frame]
					begin="-126"
					end="-125"
					image="units/human-loyalists/fencer.png"
				[/frame]
				[frame]
					begin="-125"
					end="125"
					image="units/human-loyalists/fencer-defend.png"
				[/frame]
				[frame]
					begin="125"
					end="126"
					image="units/human-loyalists/fencer.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/fencer-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/human-loyalists/fencer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="30"
				cave="50"
				deep_water="70"
				flat="40"
				forest="30"
				frozen="60"
				fungus="30"
				hills="30"
				impassable="50"
				mountains="30"
				reef="50"
				sand="60"
				shallow_water="60"
				swamp_water="60"
				unwalkable="80"
				village="30"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="130"
				cold="90"
				fire="100"
				impact="120"
				pierce="120"
			[/resistance]
			[abilities]
				[skirmisher]
					affect_self="yes"
#textdomain wesnoth
					description=_ "Skirmisher:
This unit is skilled in moving past enemies quickly, and ignores all enemy Zones of Control."
					female_name=_ "female^skirmisher"
					id="skirmisher"
					name=_ "skirmisher"
				[/skirmisher]
			[/abilities]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
#textdomain wesnoth-units
				description=_ "saber"
				icon="attacks/saber-human.png"
				name="saber"
				number="4"
				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"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="horse-die.ogg"
			ellipse="misc/ellipse"
			experience="14"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="8"
			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="36"
			max_moves="9"
			movement="8"
			movement_type="mounted"
			moves="0"
			name="Yreollyn"
			profile="portraits/humans/cavalryman.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Cavalryman"
			undead_variation="mounted"
			underlying_id="8"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			x="22"
			y="2"
			zoc="yes"
			[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]
			[defense]
				castle="60"
				cave="80"
				deep_water="80"
				flat="60"
				forest="70"
				frozen="70"
				fungus="80"
				hills="60"
				impassable="80"
				mountains="80"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="4"
				deep_water="99"
				flat="1"
				forest="3"
				frozen="2"
				fungus="4"
				hills="2"
				impassable="99"
				mountains="99"
				reef="3"
				sand="2"
				shallow_water="4"
				swamp_water="4"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="70"
				cold="80"
				fire="100"
				impact="60"
				pierce="120"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				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^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="Swordsman,Pikeman,Javelineer"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="37"
			id="Spearman-24"
			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"
			movement="5"
			movement_type="smallfoot"
			moves="0"
			name="Blyn"
			profile="portraits/humans/spearman.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Spearman"
			underlying_id="24"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="6"
			y="14"
			zoc="yes"
			[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]
				[frame]
					begin="-100"
					end="-90"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
				[frame]
					begin="-90"
					end="90"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
				[frame]
					begin="90"
					end="100"
					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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/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="Swordsman,Pikeman,Javelineer"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="2"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="39"
			id="Spearman-26"
			image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
			language_name=_ "Spearman"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="39"
			max_moves="6"
			movement="5"
			movement_type="smallfoot"
			moves="0"
			name="Sydocyn"
			profile="portraits/humans/spearman.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Spearman"
			underlying_id="26"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="24"
			y="7"
			zoc="yes"
			[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]
				[frame]
					begin="-100"
					end="-90"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
				[frame]
					begin="-90"
					end="90"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
				[frame]
					begin="90"
					end="100"
					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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="7"
				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^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^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="Shock Trooper"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="19"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="10"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="20"
			id="Heavy Infantryman-29"
			image="units/human-loyalists/heavyinfantry.png"
#textdomain wesnoth-units
			language_name=_ "Heavy Infantryman"
			level="1"
			max_attacks="1"
			max_experience="22"
			max_hitpoints="38"
			max_moves="4"
			movement="4"
			movement_type="armoredfoot"
			moves="0"
			name="Seoc"
			profile="portraits/humans/heavy-infantry.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Heavy Infantryman"
			underlying_id="29"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="28"
			y="6"
			zoc="yes"
			[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]
			[defense]
				castle="50"
				cave="60"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="60"
				mountains="80"
				reef="80"
				sand="80"
				shallow_water="90"
				swamp_water="90"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="4"
				fungus="2"
				hills="3"
				impassable="99"
				mountains="99"
				reef="3"
				sand="2"
				shallow_water="4"
				swamp_water="4"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="50"
				cold="110"
				fire="110"
				impact="90"
				pierce="60"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="11"
#textdomain wesnoth-units
				description=_ "mace"
				name="mace"
				number="2"
				range="melee"
				type="impact"
			[/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]
					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="Swordsman,Pikeman,Javelineer"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="19"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="14"
			id="Spearman-30"
			image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
			language_name=_ "Spearman"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="39"
			max_moves="6"
			movement="5"
			movement_type="smallfoot"
			moves="0"
			name="Bleodric"
			profile="portraits/humans/spearman.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Spearman"
			underlying_id="30"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="18"
			y="9"
			zoc="yes"
			[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]
				[frame]
					begin="-100"
					end="-90"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
				[frame]
					begin="-90"
					end="90"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
				[frame]
					begin="90"
					end="100"
					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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="7"
				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^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"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="1"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="28"
			id="Spearman-33"
			image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
			language_name=_ "Spearman"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="34"
			max_moves="6"
			movement="5"
			movement_type="smallfoot"
			moves="1"
			name="Vycyn"
			profile="portraits/humans/spearman.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Spearman"
			underlying_id="33"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="28"
			y="5"
			zoc="yes"
			[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]
				[frame]
					begin="-100"
					end="-90"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
				[frame]
					begin="-90"
					end="90"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
				[frame]
					begin="90"
					end="100"
					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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="7"
				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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="White Mage,Red Mage"
			alignment="lawful"
			alpha="256"
			attacks_left="0"
			cost="20"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="23"
			id="Mage-39"
			image="units/human-magi/mage.png"
#textdomain wesnoth-units
			language_name=_ "Mage"
			level="1"
			max_attacks="1"
			max_experience="34"
			max_hitpoints="23"
			max_moves="6"
			movement="5"
			movement_type="smallfoot"
			moves="0"
			name="Blinyn"
			profile="portraits/humans/mage.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Mage"
			underlying_id="39"
			unrenamable="no"
			upkeep="full"
			usage="mixed fighter"
			x="20"
			y="3"
			zoc="yes"
			[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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="5"
				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^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="White Mage,Red Mage"
			alignment="lawful"
			alpha="256"
			attacks_left="0"
			cost="20"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="ne"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="24"
			id="Mage-40"
			image="units/human-magi/mage.png"
#textdomain wesnoth-units
			language_name=_ "Mage"
			level="1"
			max_attacks="1"
			max_experience="42"
			max_hitpoints="24"
			max_moves="6"
			movement="5"
			movement_type="smallfoot"
			moves="0"
			name="Glac"
			profile="portraits/humans/mage.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Mage"
			underlying_id="40"
			unrenamable="no"
			upkeep="full"
			usage="mixed fighter"
			x="20"
			y="4"
			zoc="yes"
			[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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[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^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="Shock Trooper"
			alignment="lawful"
			alpha="256"
			attacks_left="0"
			cost="19"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="43"
			id="Heavy Infantryman-41"
			image="units/human-loyalists/heavyinfantry.png"
#textdomain wesnoth-units
			language_name=_ "Heavy Infantryman"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="43"
			max_moves="4"
			movement="4"
			movement_type="armoredfoot"
			moves="0"
			name="Mimyryn"
			profile="portraits/humans/heavy-infantry.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Heavy Infantryman"
			underlying_id="41"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="19"
			y="5"
			zoc="yes"
			[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]
			[defense]
				castle="50"
				cave="60"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="60"
				mountains="80"
				reef="80"
				sand="80"
				shallow_water="90"
				swamp_water="90"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="4"
				fungus="2"
				hills="3"
				impassable="99"
				mountains="99"
				reef="3"
				sand="2"
				shallow_water="4"
				swamp_water="4"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="50"
				cold="110"
				fire="110"
				impact="90"
				pierce="60"
			[/resistance]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="11"
#textdomain wesnoth-units
				description=_ "mace"
				name="mace"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					description=_ "Fights normally during unfavorable times of day/night"
					female_name=_ "female^fearless"
					id="fearless"
					male_name=_ "fearless"
					name=_ "fearless"
				[/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"
			alignment="lawful"
			alpha="256"
			attacks_left="0"
			cost="14"
			die_sound="human-die-1.ogg,human-die-2.ogg,human-die-3.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="34"
			id="Spearman-42"
			image="units/human-loyalists/spearman.png"
#textdomain wesnoth-units
			language_name=_ "Spearman"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="34"
			max_moves="6"
			movement="5"
			movement_type="smallfoot"
			moves="0"
			name="Aetheon"
			profile="portraits/humans/spearman.png"
			race="human"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="1"
			type="Spearman"
			underlying_id="42"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="18"
			y="4"
			zoc="yes"
			[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]
				[frame]
					begin="-100"
					end="-90"
					image="units/human-loyalists/spearman-defend-2.png"
				[/frame]
				[frame]
					begin="-90"
					end="90"
					image="units/human-loyalists/spearman-defend.png"
				[/frame]
				[frame]
					begin="90"
					end="100"
					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]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
			[/status]
			[attack]
				damage="7"
				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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/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="12"
		aggression="0.5"
		allow_changes="no"
		allow_player="yes"
		caution="0.25"
		colour="7"
		controller="network"
		countdown_time="330000"
		current_player="Various"
		disallow_observers="no"
		fog="yes"
		global_recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
		gold="23"
		hidden="no"
		id="Various2"
		income="0"
		leader_value="3"
		name="Various"
		no_leader="yes"
		number_of_possible_recruits_to_force_recruit="3.1"
		objectives="Victory:
@Defeat enemy leader(s)"
		objectives_changed="yes"
		recruit="Elvish Archer,Elvish Fighter,Elvish Scout,Elvish Shaman,Mage,Merman Hunter,Wose"
		recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
		save_id="Various2"
		share_maps="no"
		share_view="yes"
		shroud="no"
		side="2"
		start_gold="100"
		team_name="south"
#textdomain wesnoth-multiplayer
		user_team_name=_ "teamname^South"
		village_gold="2"
		village_value="1"
		villages_per_scout="8"
		[ai]
			recruitment_pattern="fighter,fighter,archer,archer,mixed fighter,healer,scout"
			villages_per_scout="8"
			[team_formula]
				rulebase="fai 'recruitment.fai'
		# ===== Some general functions used later ==== #

def sumarize_values( input_map )
	sum(
		values(input_map)
	);

def lowest_value( input_map )
	choose( input_map, -value ).value;

def highest_value( input_map )
	choose( input_map, value ).value;

def change_numbers_to_percents( input_map )
	map( input_map, 
		(value*100) / highest_value(input_map) 
	);

def add_number_to_values( input_map, number )
	map( input_map, 
		value + number 
	);

#make sure we have only positive values in a map #

def make_positive_only( input_map )
	if( lowest_value( input_map ) < 0, 
		add_number_to_values( 
			input_map, 
			abs(lowest_value(input_map))
		), 
		input_map 
	);

def sumarize_maps_values( map_A, map_B )
	map( map_A + map_B, 
		value + map_A[key]
	);

		#===== Evaluation how good unit is on a map ===== #

# ==1==  evaluate average defense #
#gives map where key is id of terrain, and value is number of hexes of that terrain on a gamemap#

def locations_map(ai*) 
	tomap( 
		map( 
			map.terrain, 
			id 
		) 
	);

#filters terrain map, min_percent it minimal % of map that terrain has to occupy to be considered in later evaluations# 

def filtered_locations_map(ai*, min_percent)
	filter( 
		locations_map(ai) , 
		value >  (map.w * map.h) / ( 100 / min_percent ) 
	);

#returns average defense of the unit #

def unit_average_defense(ai*, unit, terrain_min_percent )
	sum( 
		values( 
			map(
				filtered_locations_map(ai,terrain_min_percent), 
				defense_on( 
					unit, 
					find(map.terrain,id=key).loc
				) *
				value
			) 
		) 
	) / 
	sum(
		values(
			filtered_locations_map(
				ai,
				terrain_min_percent
			)
		)
	);

#returns map of units from units_list and their average defense (more -> better) #

def map_units_average_defense(ai*, units_list, terrain_min_percent) 
	tomap(
		map( 
			units_list, 
			id 
		), 
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	);

def units_average_defense(ai*, units_list, terrain_min_percent)
	sum(
		map( 
			units_list, 'unit', 
			unit_average_defense(
				ai, 
				unit, 
				terrain_min_percent 
			) 
		) 
	) /
	size(
		units_list
	);


# ==2== TODO: evaluate unit effectivness based on movement points and movement cost#


		#===== Evaluation of game state - how good is ai doing ===== #

# ==1== based on unit cost and current amount of gold #
# returns number between 0 and 100 where: 0 we are losing, 100 we are winning #

def units_cost_gold_eval(ai*)
	min(
		[
			(
				(
					sum(
						map(
							allies, 'team', 
							sum(
								map(
									units_of_side[team], 
									cost
								)
							) + 
							teams[team].gold 
						)
					) * 
					100
				) / 
				sum(
					map(
						enemies, 'team', 
						sum(
							map(
								units_of_side[team], 
								cost
							)
						) + 
						max(
							[teams[team].gold, 0]
						) 
					)
				)
			) / 2,
			100
		]
	);

# ==2== based on village possession #

def count_allied_villages(ai*)
	sum(
		map(
			allies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

def count_enemy_villages(ai*)
	sum(
		map(
			enemies, 'side', 
			size(
				villages_of_side[side]
			)
		)
	);

# multipled by 1000 to increase precision #

def village_evaluation(ai*)
	(
		50000 + 
		(
			count_allied_villages(ai) - 
			count_enemy_villages(ai)
		) * 
		(
			50000 /
			size(
				villages
			)
		)
	) /
	1000;

# ==3== combined 2 of the above #

def eval(ai*)
	( 
		units_cost_gold_eval(ai) + 
		village_evaluation(ai)
	) / 
	2;

		#===== Evaluation how effective my units are against the enemy ===== #

#==1==  basic evaluation #

# evaluate how much damage unit can inflict - how much damage unit can get#

def evaluate_attacker_against_opponents(ai*, unit, enemy_units)
	sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( unit, enemy_unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				) 
			)
		)
	);

def evaluate_defender_against_opponents(ai*, unit, enemy_units)
	-sum( 
		map( 
			enemy_units, 'enemy_unit', 
			sum(
				map(
					[
						max_possible_damage_with_retaliation( enemy_unit, unit )
					],
					max(
						[
							self[0] - self[2],
							self[1] - self[3]
						]
					)
				)
			)
		)
	);

def units_hp_map(ai*, units)
	tomap( 
		map(
			units, 
			id
		), 
		map( 
			units, 
			hitpoints
		)
	);

#in case side's gold is more than 50, add units that side can recruit to the side's unit list#

def create_side_unit_list(ai*, side)
	if( 
		teams[side].gold > 50, 
		recruits_of_side[side], 
		[]
	) + 
	units_of_side[side];

def evaluate_my_recruits_as_attackers(ai*)
	tomap( 
		map(
			my_recruits, 
			id
		), 
		map(
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_attacker_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai, 
							enemy_side
						)
					)
				)
			)
		)
	);

def evaluate_my_recruits_as_defenders(ai*)
	tomap(
		map(
			my_recruits, 
			id
		),
		map( 
			my_recruits, 'my_unit',
			sum(
				map(
					enemies, 'enemy_side',
					evaluate_defender_against_opponents(
						ai,
						my_unit,
						create_side_unit_list(
							ai,
							enemy_side
						)
					)
				)
			)
		)
	);


# === 2 ===  now consider abilities and weapon specials  #

def abilities_weights()
	['skirmisher' -> 15, 'ambush' -> 10, 'nightstalk' -> 20, 'regenerates' -> 20, 'healing' -> 15, 'curing' -> 10, 'leadership' -> 20, 'illumination' -> 15, 'teleport' -> 10, 'steadfast' -> 15 ];

def weapon_specials_weights()
	[ 'backstab' -> 20 ,'slow' -> 10 ,'berserk' -> 20 ,'stones' -> 60 ,'plague' -> 10 ,'marksman' -> 30 ,'magical' -> 40 ,'charge' -> 30 ,'drains' -> 30,  'firststrike' -> 10, 'poison' -> 25 ];

def apply_abilities_weights( units_map )
	map( 
		units_map, 
		value +
		(
			value * 
			max(
				map(
					get_unit_type( key ).abilities, 'ability',
					abilities_weights()[ability]
				)
			)
		) / 100
	);

def apply_weapon_specials_weights( units_map )
	map(
		units_map, 
		value +
		(
			value *
			max(
				map(
					get_unit_type( key ).attacks, 'attack',
					vars.weapon_specials[attack.special]
				)
			)
		) / 100
	);

# since undead units don't get random traits and are balanced with that, we need to lower their evaluation a bit to match fairly the living units #

def undead_malus( units_map )
	map( 
		units_map, 
		if(
			get_unit_type(key).undead,
			( value * 90 ) / 100,
			value 
		)
	);

# === 3 ===  pit 1 and 2 together  #

def evaluate_attackers(ai*)
	change_numbers_to_percents(
		apply_abilities_weights(
			apply_weapon_specials_weights(
				undead_malus( 
					make_positive_only(
						evaluate_my_recruits_as_attackers( ai )	
					)
				)
			)
		)
	);

def evaluate_defenders(ai*)
	map(
		map(
			change_numbers_to_percents(
				apply_abilities_weights(
					apply_weapon_specials_weights(
						undead_malus( 
							make_positive_only(
								evaluate_my_recruits_as_defenders( ai )	
							)
						)
					)
				)
			),
			value / 3
		), 
		value +
		map(
			change_numbers_to_percents(
				units_hp_map(
					ai,
					my_recruits
				)
			),
		value * 2 / 3
		)[key]
	);

	#=========== we have evaluation of game state and units, time to combine them: ==========#
		#=========	recruitment_list_builder	=========#

def rlb_apply_eval(eval, attackers_map, defenders_map, offset)
	map(
		sumarize_maps_values(
			map(
				attackers_map, 
				value * (eval+offset)
			),
			map(
				defenders_map,
				value * ( (100 - eval) - offset )
			)
		),
		value / 100
	);

def rlb_remove_lowest( input_map, percent)
	filter(
		input_map, 
		value > 
		(
			(
				percent * sumarize_values(input_map)
			) / 100
		)
	);

def rlb_first_step(eval, attackers_map, defenders_map, offset)
	rlb_remove_lowest(
		rlb_apply_eval(
			eval,
			attackers_map,
			defenders_map,
			offset
		),
		10
	);

def recruitment_list_builder(eval, attackers_map, defenders_map)
	map(
		rlb_first_step(
			eval,
			attackers_map,
			defenders_map,
			40
		),
		(
			(
				value * 100
			) / 
			sumarize_values(
				rlb_first_step(
					eval,
					attackers_map,
					defenders_map,
					40
				)
			)
		)
	);

		# ========== choose the unit to recruit now ========= #

def unit_chooser(ai*,unit_map) 
	choose(
		keys(unit_map), 'unit_type',
		unit_map[unit_type] - 
		(
			(
				100 * 
				size(
					filter(
						my_units, 
						type = unit_type
					)
				)
			) / 
			size(my_units)
		)
	);

def unit_map_cost_filter(ai*, unit_map)
	filter( unit_map,
		get_unit_type(key).cost < my_side.gold
	);

		# ==========	Main formula section 	========== #

def initialize_weapon_specials_map(ai*)
	if(vars.weapon_specials_init != turn,
		[
			set_var('weapon_specials_init', turn),
			set_var('weapon_specials',
				map(
					weapon_specials_weights(),
					if( key = 'magical',
						units_average_defense(ai, enemy_units, 10),
						if( key = 'marksman',
							units_average_defense(ai, enemy_units, 10) - 10,
							value
						)
					)
				)
			)
		],
		[]
	);

def create_recruits_map(ai*)
	if(vars.recruits_map_creator != turn,
		[
			set_var('recruits_map_creator', turn ),
			set_var('recruits_map',
				debug_print('final unit evaluation: ', recruitment_list_builder(
					debug_print('current AI evaluation (0-100): ', eval(ai)),
					debug_print('attackers evaluation: ',evaluate_attackers(ai)),
					debug_print('defenders evaluation: ',evaluate_defenders(ai))
				))
			)
		],
		[]
	);

def castle_space(ai*)
	filter( map( castle_locs( my_leader.loc ), 'location', if( unit_at( location ), 1, 0 ) ), self = 0  ).size;

if(vars.turn_initialized = turn,
		if( my_leader.loc = nearest_keep( my_leader.loc ),
			if( 
				get_unit_type(
					choose(
						vars.recruits_map,
						-get_unit_type(key).cost
					).key
				).cost <
				my_side.gold,
				if( castle_space(self),
					recruit(debug_print(
						unit_chooser(
							self,
							unit_map_cost_filter(
								self,
								vars.recruits_map
							)
						)
					)),
					fallback()
				),
				fallback() 
			),
			if( my_leader.movement_left > 0,
				move( my_leader.loc, nearest_keep( my_leader.loc ) ),
				fallback()
			)
		),
	[set_var(debug_print('turn_initialized'), turn)] +
	initialize_weapon_specials_map(self) +
	create_recruits_map(self)
)

faiend
"
			[/team_formula]
		[/ai]
		[ai]
			villages_per_scout="8"
		[/ai]
		[village]
			x="10"
			y="19"
		[/village]
		[village]
			x="14"
			y="17"
		[/village]
		[village]
			x="16"
			y="22"
		[/village]
		[village]
			x="20"
			y="15"
		[/village]
		[village]
			x="26"
			y="19"
		[/village]
		[village]
			x="26"
			y="22"
		[/village]
		[village]
			x="27"
			y="16"
		[/village]
		[village]
			x="30"
			y="19"
		[/village]
		[unit]
			advances_to="Elvish Sharpshooter"
			alignment="neutral"
			allow_changes="yes"
			allow_player="yes"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			colour="7"
			controller="network"
			cost="41"
			current_player="Various"
			die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
			experience="8"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			fog="yes"
			gender="female"
			gold="100"
			goto_x="-999"
			goto_y="-999"
			hitpoints="37"
			id="Various2"
			image="units/elves-wood/marksman+female.png"
			income="0"
#textdomain wesnoth-units
			language_name=_ "female^Elvish Marksman"
			leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,White Mage,Red Mage,Elder Wose"
			level="2"
			max_attacks="1"
			max_experience="56"
			max_hitpoints="37"
			max_moves="6"
			movement="6"
			movement_type="woodland"
			moves="6"
			mp_countdown="yes"
			mp_countdown_action_bonus="13"
			mp_countdown_init_time="270"
			mp_countdown_reservoir_time="330"
			mp_countdown_turn_bonus="60"
			name="Various"
			profile="portraits/elves/marksman+female.png"
			race="elf"
			random_leader="Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Druid,Elvish Sorceress,Red Mage"
			random_traits="no"
			recruit="Elvish Fighter,Elvish Archer,Mage,Elvish Shaman,Elvish Scout,Wose,Merman Hunter"
			resting="yes"
			save_id="Various2"
			share_maps="no"
			share_view="yes"
			shroud="no"
			side="2"
			team_name="south"
			terrain_liked="Ff, Fa, Ss, Ww"
			type="Elvish Marksman"
			undead_variation="archer"
			underlying_id="2"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			user_team_name="wesnoth-multiplayerteamname^South"
			village_gold="2"
			x="20"
			y="20"
			zoc="yes"
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[portrait]
				image="portraits/elves/transparent/marksman+female.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image=" "
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="9"
				description=_ "longbow"
				icon="attacks/bow-elven-magic.png"
				name="longbow"
				number="4"
				range="ranged"
				type="pierce"
				[specials]
					[chance_to_hit]
						active_on="offense"
						cumulative="yes"
#textdomain wesnoth
						description=_ "Marksman:
When used offensively, this attack always has at least a 60% chance to hit."
						id="marksman"
						name=_ "marksman"
						value="60"
					[/chance_to_hit]
				[/specials]
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elvish Captain,Elvish Hero"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="38"
			id="Elvish Fighter-10"
			image="units/elves-wood/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Elvish Fighter"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="38"
			max_moves="5"
			movement="5"
			movement_type="woodland"
			moves="5"
			name="Norfinomiril"
			profile="portraits/elves/fighter.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Elvish Fighter"
			underlying_id="10"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="10"
			y="19"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/fighter-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/fighter-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/fighter-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-175"
					end="-100"
					image="units/elves-wood/fighter.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/elves-wood/fighter-melee-2.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.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/elves-wood/fighter-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-idle-2.png"
				[/frame]
				[frame]
					duration="125"
					image="units/elves-wood/fighter-idle-3.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-4.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="250"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-10.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-11.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-12.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="40"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="4"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				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^dextrous"
					id="dextrous"
					male_name=_ "dextrous"
					name=_ "dextrous"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="ranged"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elvish Ranger,Elvish Marksman"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
			ellipse="misc/ellipse"
			experience="7"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="29"
			id="Elvish Archer-25"
			image="units/elves-wood/archer.png"
#textdomain wesnoth-units
			language_name=_ "Elvish Archer"
			level="1"
			max_attacks="1"
			max_experience="31"
			max_hitpoints="29"
			max_moves="7"
			movement="6"
			movement_type="woodland"
			moves="7"
			name="Taralundel"
			profile="portraits/elves/archer.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Elvish Archer"
			undead_variation="archer"
			underlying_id="25"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="27"
			y="16"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/archer-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/archer-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/archer-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/archer-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/archer-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/elves-wood/archer-sword.png"
				[/frame]
				[frame]
					begin="-175"
					end="-75"
					image="units/elves-wood/archer-sword-1.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer-sword-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer-sword-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="125"
					image="units/elves-wood/archer-sword-3.png"
				[/frame]
				[frame]
					begin="125"
					end="175"
					image="units/elves-wood/archer-sword-4.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/elves-wood/archer-sword.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer-sword.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-sword-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer-sword-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer-sword-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer-sword.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer-bow-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer-bow.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/elves-wood/archer-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/archer.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/archer.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="4"
				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="Elvish Druid,Elvish Sorceress"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="15"
			die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			gender="female"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Elvish Shaman-27"
			image="units/elves-wood/shaman.png"
#textdomain wesnoth-units
			language_name=_ "female^Elvish Shaman"
			level="1"
			max_attacks="1"
			max_experience="22"
			max_hitpoints="31"
			max_moves="5"
			movement="5"
			movement_type="woodland"
			moves="5"
			name="Amith"
			profile="portraits/elves/shaman.png~RIGHT()"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Elvish Shaman"
			underlying_id="27"
			unrenamable="no"
			upkeep="full"
			usage="healer"
			x="14"
			y="17"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="entangle"
				[/filter_attack]
				[missile_frame]
					begin="-200"
					end="50"
					image="projectiles/entangle.png"
					image_diagonal="projectiles/entangle.png"
					offset="1.0"
				[/missile_frame]
				[frame]
					begin="-450"
					end="-375"
					halo="halo/elven/nature-halo1.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/shaman.png"
				[/frame]
				[frame]
					begin="-375"
					end="-300"
					halo="halo/elven/nature-halo2.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/shaman.png"
				[/frame]
				[frame]
					begin="-300"
					end="-225"
					halo="halo/elven/nature-halo3.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/shaman.png"
				[/frame]
				[frame]
					begin="-225"
					end="-150"
					halo="halo/elven/nature-halo4.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/shaman-attack2.png"
				[/frame]
				[frame]
					begin="-150"
					end="-75"
					halo="halo/elven/nature-halo5.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/shaman-attack2.png"
				[/frame]
				[if]
					hits="hit"
					slowed_sound_start_time="-100"
					[filter_second]
						[not]
							[filter_wml]
								[status]
									slowed="yes"
								[/status]
							[/filter_wml]
						[/not]
					[/filter_second]
					[slowed_sound_frame]
						duration="100"
						sound="slowed.wav"
					[/slowed_sound_frame]
				[/if]
				[frame]
					begin="-75"
					end="0"
					halo="halo/elven/nature-halo6.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/shaman-attack2.png"
					sound="entangle.wav"
				[/frame]
				[frame]
					begin="-0"
					end="50"
					halo="halo/elven/nature-halo7.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/shaman.png"
				[/frame]
				[frame]
					begin="50"
					end="100"
					halo="halo/elven/nature-halo8.png"
					halo_x="0"
					halo_y="-12"
					image="units/elves-wood/shaman.png"
				[/frame]
				[frame]
					begin="100"
					end="150"
					image="units/elves-wood/shaman.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="staff"
				[/filter_attack]
				[frame]
					begin="-175"
					end="-100"
					image="units/elves-wood/shaman.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/shaman-attack.png"
						sound="staff.wav"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/shaman-attack.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="175"
					image="units/elves-wood/shaman.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/elves-wood/shaman.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/shaman-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/shaman-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/shaman-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/shaman.png"
				[/frame]
			[/defend]
			[healing_anim]
				start_time="-200"
				[frame]
					duration="55"
					image="units/elves-wood/shaman-heal1.png"
				[/frame]
				[frame]
					duration="55"
					image="units/elves-wood/shaman-heal2.png"
				[/frame]
				[frame]
					duration="55"
					halo="halo/elven/shaman-heal-halo-1.png"
					image="units/elves-wood/shaman-heal3.png"
				[/frame]
				[frame]
					duration="55"
					halo="halo/elven/shaman-heal-halo-2.png"
					image="units/elves-wood/shaman-heal4.png"
				[/frame]
				[frame]
					duration="55"
					halo="halo/elven/shaman-heal-halo-3.png"
					image="units/elves-wood/shaman-heal5.png"
				[/frame]
				[frame]
					duration="55"
					halo="halo/elven/shaman-heal-halo-4.png"
					image="units/elves-wood/shaman-heal6.png"
				[/frame]
				[frame]
					duration="55"
					halo="halo/elven/shaman-heal-halo-5.png"
					image="units/elves-wood/shaman-heal7.png"
				[/frame]
				[frame]
					duration="55"
					halo="halo/elven/shaman-heal-halo-6.png"
					image="units/elves-wood/shaman-heal8.png"
				[/frame]
				[frame]
					duration="55"
					halo="halo/elven/shaman-heal-halo-7.png"
					image="units/elves-wood/shaman-heal9.png"
				[/frame]
				[frame]
					duration="30"
					image="units/elves-wood/shaman-heal9.png"
				[/frame]
			[/healing_anim]
			[portrait]
				image="portraits/elves/transparent/shaman.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/shaman.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[abilities]
				[heals]
					affect_allies="yes"
					affect_self="no"
#textdomain wesnoth
					description=_ "Heals +4:
Allows the unit to heal adjacent allied units at the beginning of our turn.

A unit cared for by this healer may heal up to 4 HP per turn, or stop poison from taking effect for that turn.
A poisoned unit cannot be cured of its poison by a healer, and must seek the care of a village or a unit that can cure."
					female_name=_ "female^heals +4"
					id="healing"
					name=_ "heals +4"
					poison="slowed"
					value="4"
					[affect_adjacent]
						adjacent="n,ne,se,s,sw,nw"
					[/affect_adjacent]
				[/heals]
			[/abilities]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="3"
#textdomain wesnoth-units
				description=_ "staff"
				icon="attacks/druidstaff.png"
				name="staff"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[attack]
				damage="4"
				description=_ "entangle"
				name="entangle"
				number="2"
				range="ranged"
				type="impact"
				[specials]
					[slow]
#textdomain wesnoth
						description=_ "Slow:
This attack slows the target until it ends a turn. Slow halves the damage caused by attacks and the movement cost for a slowed unit is doubled. A unit that is slowed will feature a snail icon in its sidebar information when it is selected."
						id="slow"
						name=_ "slows"
					[/slow]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "female^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^dextrous"
					id="dextrous"
					male_name=_ "dextrous"
					name=_ "female^dextrous"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="ranged"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elder Wose"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="20"
			die_sound="wose-die.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="52"
			id="Wose-31"
			image="units/woses/wose.png"
#textdomain wesnoth-units
			language_name=_ "Wose"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="52"
			max_moves="4"
			movement="4"
			movement_type="treefolk"
			moves="4"
			name="Tantor"
			race="wose"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Wose"
			undead_variation="wose"
			underlying_id="31"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="27"
			y="12"
			zoc="yes"
			[attack_anim]
				start_time="-500"
				[filter_attack]
					name="crush"
				[/filter_attack]
				[if]
					hits="yes"
					[frame]
						duration="400"
						image="units/woses/wose-attack-1.png"
						sound="wose-attack.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="400"
						image="units/woses/wose-attack-1.png"
						sound="wose-miss.ogg"
					[/frame]
				[/else]
				[frame]
					duration="150"
					image="units/woses/wose-attack-2.png"
				[/frame]
				[frame]
					duration="75"
					image="units/woses/wose-attack-1.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[filter_attack]
					type="blade,impact,pierce"
				[/filter_attack]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-9.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-10.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-11.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-12.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-13.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-14.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-15.png"
				[/frame]
			[/death]
			[death]
				start_time="0"
				[filter_attack]
					type="arcane,fire,cold"
				[/filter_attack]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-1.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-2.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-3.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-4.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-5.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-7.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-8.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/woses/wose.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/woses/wose-defend.png"
						sound="wose-hit.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/woses/wose-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/woses/wose.png"
				[/frame]
			[/defend]
			[defense]
				castle="80"
				cave="80"
				deep_water="90"
				flat="80"
				forest="60"
				frozen="80"
				fungus="70"
				hills="70"
				impassable="80"
				mountains="70"
				reef="80"
				sand="80"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="80"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="100"
				cold="90"
				fire="150"
				impact="60"
				pierce="40"
			[/resistance]
			[abilities]
				[hides]
					affect_self="yes"
#textdomain wesnoth
					description=_ "Ambush:
This unit can hide in forest, and remain undetected by its enemies.

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

Enemy units cannot see this unit while it is in forest, 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^ambush"
					female_name_inactive=_ "female^ambush"
					id="ambush"
					name=_ "ambush"
					name_inactive=_ "ambush"
					[filter_self]
						[filter_location]
							terrain="*^Fp,*^Fet,*^Ft,*^Fpa,*^Fd*,*^Fm*"
						[/filter_location]
					[/filter_self]
				[/hides]
				[regenerate]
					affect_self="yes"
					description=_ "Regenerates:
The unit will heal itself 8 HP per turn. If it is poisoned, it will remove the poison instead of healing."
					female_name=_ "female^regenerates"
					id="regenerates"
					name=_ "regenerates"
					poison="cured"
					value="8"
				[/regenerate]
			[/abilities]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="13"
#textdomain wesnoth-units
				description=_ "crush"
				icon="attacks/crush-wose.png"
				name="crush"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elder Wose"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="20"
			die_sound="wose-die.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="52"
			id="Wose-32"
			image="units/woses/wose.png"
			language_name=_ "Wose"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="52"
			max_moves="4"
			movement="4"
			movement_type="treefolk"
			moves="4"
			name="Lolman"
			race="wose"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Wose"
			undead_variation="wose"
			underlying_id="32"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="12"
			y="18"
			zoc="yes"
			[attack_anim]
				start_time="-500"
				[filter_attack]
					name="crush"
				[/filter_attack]
				[if]
					hits="yes"
					[frame]
						duration="400"
						image="units/woses/wose-attack-1.png"
						sound="wose-attack.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="400"
						image="units/woses/wose-attack-1.png"
						sound="wose-miss.ogg"
					[/frame]
				[/else]
				[frame]
					duration="150"
					image="units/woses/wose-attack-2.png"
				[/frame]
				[frame]
					duration="75"
					image="units/woses/wose-attack-1.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[filter_attack]
					type="blade,impact,pierce"
				[/filter_attack]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-9.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-10.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-11.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-12.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-13.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-14.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-15.png"
				[/frame]
			[/death]
			[death]
				start_time="0"
				[filter_attack]
					type="arcane,fire,cold"
				[/filter_attack]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-1.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-2.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-3.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-4.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-5.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-7.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-8.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/woses/wose.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/woses/wose-defend.png"
						sound="wose-hit.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/woses/wose-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/woses/wose.png"
				[/frame]
			[/defend]
			[defense]
				castle="80"
				cave="80"
				deep_water="90"
				flat="80"
				forest="60"
				frozen="80"
				fungus="70"
				hills="70"
				impassable="80"
				mountains="70"
				reef="80"
				sand="80"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="80"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="100"
				cold="90"
				fire="150"
				impact="60"
				pierce="40"
			[/resistance]
			[abilities]
				[hides]
					affect_self="yes"
#textdomain wesnoth
					description=_ "Ambush:
This unit can hide in forest, and remain undetected by its enemies.

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

Enemy units cannot see this unit while it is in forest, 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^ambush"
					female_name_inactive=_ "female^ambush"
					id="ambush"
					name=_ "ambush"
					name_inactive=_ "ambush"
					[filter_self]
						[filter_location]
							terrain="*^Fp,*^Fet,*^Ft,*^Fpa,*^Fd*,*^Fm*"
						[/filter_location]
					[/filter_self]
				[/hides]
				[regenerate]
					affect_self="yes"
					description=_ "Regenerates:
The unit will heal itself 8 HP per turn. If it is poisoned, it will remove the poison instead of healing."
					female_name=_ "female^regenerates"
					id="regenerates"
					name=_ "regenerates"
					poison="cured"
					value="8"
				[/regenerate]
			[/abilities]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="13"
#textdomain wesnoth-units
				description=_ "crush"
				icon="attacks/crush-wose.png"
				name="crush"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elder Wose"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="20"
			die_sound="wose-die.ogg"
			ellipse="misc/ellipse"
			experience="8"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="52"
			id="Wose-34"
			image="units/woses/wose.png"
			language_name=_ "Wose"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="52"
			max_moves="4"
			movement="4"
			movement_type="treefolk"
			moves="4"
			name="Delmantor"
			race="wose"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Wose"
			undead_variation="wose"
			underlying_id="34"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="26"
			y="12"
			zoc="yes"
			[attack_anim]
				start_time="-500"
				[filter_attack]
					name="crush"
				[/filter_attack]
				[if]
					hits="yes"
					[frame]
						duration="400"
						image="units/woses/wose-attack-1.png"
						sound="wose-attack.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="400"
						image="units/woses/wose-attack-1.png"
						sound="wose-miss.ogg"
					[/frame]
				[/else]
				[frame]
					duration="150"
					image="units/woses/wose-attack-2.png"
				[/frame]
				[frame]
					duration="75"
					image="units/woses/wose-attack-1.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[filter_attack]
					type="blade,impact,pierce"
				[/filter_attack]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-9.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-10.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-11.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-12.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-13.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-14.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-die-fall-15.png"
				[/frame]
			[/death]
			[death]
				start_time="0"
				[filter_attack]
					type="arcane,fire,cold"
				[/filter_attack]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-1.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-2.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-3.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-4.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-5.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-7.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-8.png"
				[/frame]
				[frame]
					duration="150"
					image="units/woses/wose-die-decay-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/woses/wose.png"
				[/frame]
				[frame]
					duration="100"
					image="units/woses/wose-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/woses/wose-defend.png"
						sound="wose-hit.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/woses/wose-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/woses/wose.png"
				[/frame]
			[/defend]
			[defense]
				castle="80"
				cave="80"
				deep_water="90"
				flat="80"
				forest="60"
				frozen="80"
				fungus="70"
				hills="70"
				impassable="80"
				mountains="70"
				reef="80"
				sand="80"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="80"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="100"
				cold="90"
				fire="150"
				impact="60"
				pierce="40"
			[/resistance]
			[abilities]
				[hides]
					affect_self="yes"
#textdomain wesnoth
					description=_ "Ambush:
This unit can hide in forest, and remain undetected by its enemies.

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

Enemy units cannot see this unit while it is in forest, 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^ambush"
					female_name_inactive=_ "female^ambush"
					id="ambush"
					name=_ "ambush"
					name_inactive=_ "ambush"
					[filter_self]
						[filter_location]
							terrain="*^Fp,*^Fet,*^Ft,*^Fpa,*^Fd*,*^Fm*"
						[/filter_location]
					[/filter_self]
				[/hides]
				[regenerate]
					affect_self="yes"
					description=_ "Regenerates:
The unit will heal itself 8 HP per turn. If it is poisoned, it will remove the poison instead of healing."
					female_name=_ "female^regenerates"
					id="regenerates"
					name=_ "regenerates"
					poison="cured"
					value="8"
				[/regenerate]
			[/abilities]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="13"
#textdomain wesnoth-units
				description=_ "crush"
				icon="attacks/crush-wose.png"
				name="crush"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elvish Ranger,Elvish Marksman"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="29"
			id="Elvish Archer-35"
			image="units/elves-wood/archer.png"
			language_name=_ "Elvish Archer"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="29"
			max_moves="6"
			movement="6"
			movement_type="woodland"
			moves="6"
			name="Cin"
			profile="portraits/elves/archer.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Elvish Archer"
			undead_variation="archer"
			underlying_id="35"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="25"
			y="13"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/archer-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/archer-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/archer-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/archer-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/archer-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/elves-wood/archer-sword.png"
				[/frame]
				[frame]
					begin="-175"
					end="-75"
					image="units/elves-wood/archer-sword-1.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer-sword-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer-sword-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="125"
					image="units/elves-wood/archer-sword-3.png"
				[/frame]
				[frame]
					begin="125"
					end="175"
					image="units/elves-wood/archer-sword-4.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/elves-wood/archer-sword.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer-sword.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-sword-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer-sword-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer-sword-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer-sword.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer-bow-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer-bow.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/elves-wood/archer-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/archer.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/archer.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="6"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="4"
				range="ranged"
				type="pierce"
			[/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^dextrous"
					id="dextrous"
					male_name=_ "dextrous"
					name=_ "dextrous"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="ranged"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Elvish Ranger,Elvish Marksman"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
			ellipse="misc/ellipse"
			experience="2"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="26"
			id="Elvish Archer-36"
			image="units/elves-wood/archer.png"
#textdomain wesnoth-units
			language_name=_ "Elvish Archer"
			level="1"
			max_attacks="1"
			max_experience="31"
			max_hitpoints="33"
			max_moves="7"
			movement="6"
			movement_type="woodland"
			moves="7"
			name="Garandelduil"
			profile="portraits/elves/archer.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Elvish Archer"
			undead_variation="archer"
			underlying_id="36"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="27"
			y="11"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/archer-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/archer-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/archer-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/archer-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/archer-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/elves-wood/archer-sword.png"
				[/frame]
				[frame]
					begin="-175"
					end="-75"
					image="units/elves-wood/archer-sword-1.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer-sword-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer-sword-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="125"
					image="units/elves-wood/archer-sword-3.png"
				[/frame]
				[frame]
					begin="125"
					end="175"
					image="units/elves-wood/archer-sword-4.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/elves-wood/archer-sword.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer-sword.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-sword-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer-sword-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer-sword-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer-sword.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer-bow-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer-bow.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/elves-wood/archer-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/archer.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/archer.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="4"
				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^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="Elvish Captain,Elvish Hero"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="n"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Elvish Fighter-37"
			image="units/elves-wood/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Elvish Fighter"
			level="1"
			max_attacks="1"
			max_experience="28"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="woodland"
			moves="6"
			name="Eärelith"
			profile="portraits/elves/fighter.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Elvish Fighter"
			underlying_id="37"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="25"
			y="16"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/fighter-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/fighter-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/fighter-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/fighter-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-175"
					end="-100"
					image="units/elves-wood/fighter.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="100"
						image="units/elves-wood/fighter-melee-1.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="100"
					end="150"
					image="units/elves-wood/fighter-melee-2.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
						sound="human-hit-1.ogg,human-hit-2.ogg,human-hit-3.ogg,human-hit-4.ogg,elf-hit-1.ogg,elf-hit-2.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/fighter-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/fighter-bow.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/elves-wood/fighter-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/fighter-idle-2.png"
				[/frame]
				[frame]
					duration="125"
					image="units/elves-wood/fighter-idle-3.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-4.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="175"
					image="units/elves-wood/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="200"
					image="units/elves-wood/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="250"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="400"
					image="units/elves-wood/fighter-idle-10.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-9.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-11.png"
				[/frame]
				[frame]
					duration="150"
					image="units/elves-wood/fighter-idle-12.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/fighter.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="40"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="4"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^dextrous"
					id="dextrous"
					male_name=_ "dextrous"
					name=_ "dextrous"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="ranged"
					[/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="Elvish Ranger,Elvish Marksman"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="se"
			flag_rgb="magenta"
			flying="no"
			gender="female"
			goto_x="-999"
			goto_y="-999"
			hitpoints="29"
			id="Elvish Archer-38"
			image="units/elves-wood/archer+female.png"
#textdomain wesnoth-units
			language_name=_ "female^Elvish Archer"
			level="1"
			max_attacks="1"
			max_experience="31"
			max_hitpoints="29"
			max_moves="7"
			movement="6"
			movement_type="woodland"
			moves="7"
			name="Urith"
			profile="portraits/elves/archer+female.png"
			race="elf"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Elvish Archer"
			undead_variation="archer"
			underlying_id="38"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="21"
			y="20"
			zoc="yes"
			[attack_anim]
				[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]
					begin="-445"
					end="-380"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer+female-bow-attack1.png"
						sound="bow.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-380"
						end="-305"
						image="units/elves-wood/archer+female-bow-attack1.png"
						sound="bow-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-305"
					end="-230"
					image="units/elves-wood/archer+female-bow-attack2.png"
				[/frame]
				[frame]
					begin="-230"
					end="-130"
					image="units/elves-wood/archer+female-bow-attack3.png"
				[/frame]
				[frame]
					begin="-130"
					end="0"
					image="units/elves-wood/archer+female-bow-attack4.png"
				[/frame]
				[frame]
					begin="0"
					end="65"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
				[frame]
					begin="-175"
					end="-75"
					image="units/elves-wood/archer+female-sword-1.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer+female-sword-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="75"
						image="units/elves-wood/archer+female-sword-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="125"
					image="units/elves-wood/archer+female-sword-3.png"
				[/frame]
				[frame]
					begin="125"
					end="175"
					image="units/elves-wood/archer+female-sword-4.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer+female-sword-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-sword-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-sword-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-sword.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer+female-bow-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-bow-defend.png"
						sound="human-female-hit-1.ogg,human-female-hit-2.ogg,human-female-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/elves-wood/archer+female-bow-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/elves-wood/archer+female-bow.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/elves-wood/archer-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/elves-wood/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/elves/transparent/archer+female.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/elves/transparent/archer+female.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="70"
				deep_water="80"
				flat="60"
				forest="30"
				frozen="70"
				fungus="50"
				hills="50"
				impassable="70"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="99"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="2"
				impassable="99"
				mountains="3"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "sword"
				icon="attacks/sword-elven.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-elven.png"
				name="bow"
				number="4"
				range="ranged"
				type="pierce"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^quick"
					id="quick"
					male_name=_ "quick"
					name=_ "female^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=_ "female^strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
	[/side]
[/replay_start]
[statistics]
	mid_scenario="yes"
	[scenario]
		scenario="2p - The Freelands"
		[team]
			[recruits]
				Elvish Archer="4"
				Elvish Fighter="10"
				Elvish Scout="1"
				Elvish Shaman="2"
				Wose="3"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
				Elvish Fighter="8"
				Elvish Scout="1"
				Elvish Shaman="1"
			[/deaths]
			[killed]
				Fencer="1"
				Heavy Infantryman="2"
				Mage="2"
				Merman Fighter="1"
				Spearman="2"
			[/killed]
			[attacks]
				[sequence]
					s00="1"
					s000="2"
					s0001="2"
					s001="1"
					s0011="1"
					s011="2"
					s0110="1"
					s1="2"
					s100="1"
					_num="40"
				[/sequence]
				[sequence]
					s000="1"
					s101="1"
					s1010="1"
					s110="1"
					s1100="1"
					_num="50"
				[/sequence]
				[sequence]
					s0011="1"
					s1="1"
					s101="1"
					s1010="1"
					s1011="1"
					s11="1"
					s111="1"
					s1110="1"
					_num="60"
				[/sequence]
				[sequence]
					s00="1"
					s01="1"
					s011="1"
					s11="2"
					s1101="1"
					s111="2"
					_num="70"
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					s101="1"
					_num="30"
				[/sequence]
				[sequence]
					s0011="1"
					s01="1"
					s1110="1"
					_num="40"
				[/sequence]
				[sequence]
					s="2"
					s000="1"
					s0010="1"
					s01="1"
					s1000="1"
					s11="1"
					_num="50"
				[/sequence]
				[sequence]
					s="2"
					s0="1"
					s00="1"
					s0010="1"
					s0011="1"
					s0110="1"
					s10="2"
					s1001="1"
					s101="1"
					s11="2"
					s1100="1"
					s1101="1"
					s111="1"
					s1110="2"
					_num="60"
				[/sequence]
				[sequence]
					s001="1"
					s1="1"
					s1011="1"
					s1110="1"
					s1111="2"
					_num="70"
				[/sequence]
			[/defends]
			recruit_cost="316"
			recall_cost="0"
			damage_inflicted="480"
			damage_taken="423"
			expected_damage_inflicted="459286"
			expected_damage_taken="379769"
			turn_damage_inflicted="0"
			turn_damage_taken="0"
			turn_expected_damage_inflicted="0"
			turn_expected_damage_taken="0"
		[/team]
		[team]
			[recruits]
				Cavalryman="4"
				Fencer="2"
				Heavy Infantryman="1"
				Horseman="3"
				Mage="3"
				Spearman="6"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
				Dragoon="1"
				Pikeman="1"
			[/advances]
			[deaths]
				Cavalryman="5"
				Dragoon="1"
				Fencer="3"
				Heavy Infantryman="3"
				Horseman="2"
				Mage="5"
				Pikeman="1"
				Spearman="8"
			[/deaths]
			[killed]
				Elvish Archer="9"
				Elvish Fighter="7"
				Elvish Shaman="1"
				Wose="4"
			[/killed]
			[attacks]
				[sequence]
					s000="1"
					s01="1"
					s1="1"
					_num="30"
				[/sequence]
				[sequence]
					s000="5"
					s001="1"
					s0010="1"
					s010="2"
					s0110="1"
					s1="1"
					s10="1"
					s101="1"
					_num="40"
				[/sequence]
				[sequence]
					s010="1"
					s1000="1"
					s101="1"
					s11="1"
					_num="50"
				[/sequence]
				[sequence]
					s00="2"
					s000="2"
					s001="5"
					s010="1"
					s011="1"
					s1="3"
					s10="3"
					s100="2"
					s101="2"
					s11="3"
					s110="3"
					s111="2"
					_num="60"
				[/sequence]
				[sequence]
					s001="2"
					s01="2"
					s010="1"
					s011="3"
					s1="1"
					s100="1"
					s101="4"
					s11="1"
					s110="1"
					s111="4"
					_num="70"
				[/sequence]
				[sequence]
					s1="1"
					s11="2"
					_num="80"
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					s="49"
					_num="0"
				[/sequence]
				[sequence]
					s0="1"
					s1="1"
					_num="30"
				[/sequence]
				[sequence]
					s="1"
					s0="6"
					s1="2"
					_num="40"
				[/sequence]
				[sequence]
					s="1"
					s1="1"
					_num="50"
				[/sequence]
				[sequence]
					s="1"
					s0="8"
					s0011="1"
					s1="10"
					_num="60"
				[/sequence]
				[sequence]
					s="1"
					s1="1"
					s101="1"
					_num="70"
				[/sequence]
				[sequence]
					s0="1"
					s1="3"
					s11="1"
					s111="1"
					s1111="1"
					_num="80"
				[/sequence]
			[/defends]
			recruit_cost="332"
			recall_cost="0"
			damage_inflicted="879"
			damage_taken="1168"
			expected_damage_inflicted="902748"
			expected_damage_taken="1196262"
			turn_damage_inflicted="0"
			turn_damage_taken="0"
			turn_expected_damage_inflicted="0"
			turn_expected_damage_taken="0"
			save_id="Sku1"
		[/team]
		[team]
			[recruits]
				Elvish Archer="8"
				Elvish Fighter="9"
				Elvish Shaman="1"
				Mage="3"
				Wose="2"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
				Elvish Druid="1"
			[/advances]
			[deaths]
				Elvish Archer="9"
				Elvish Fighter="7"
				Elvish Shaman="1"
				Wose="4"
			[/deaths]
			[killed]
				Cavalryman="5"
				Dragoon="1"
				Fencer="3"
				Heavy Infantryman="3"
				Horseman="2"
				Mage="5"
				Pikeman="1"
				Spearman="8"
			[/killed]
			[attacks]
				[sequence]
					s00="1"
					s000="1"
					s0000="1"
					s011="1"
					s0110="1"
					s1="1"
					s10="1"
					s1000="1"
					s11="1"
					_num="30"
				[/sequence]
				[sequence]
					s0001="2"
					s001="1"
					s011="1"
					s1100="1"
					s1101="1"
					_num="40"
				[/sequence]
				[sequence]
					s00="1"
					s10="1"
					_num="50"
				[/sequence]
				[sequence]
					s000="2"
					s0000="1"
					s0001="2"
					s0010="1"
					s0011="3"
					s01="7"
					s010="1"
					s0101="3"
					s011="1"
					s1="7"
					s10="2"
					s100="1"
					s1000="3"
					s1001="2"
					s101="2"
					s1011="1"
					s11="4"
					s110="1"
					s1100="1"
					s1101="3"
					s1110="1"
					s1111="1"
					_num="60"
				[/sequence]
				[sequence]
					s000="1"
					s01="1"
					s010="2"
					s011="1"
					s0111="1"
					s1="2"
					s100="2"
					s101="1"
					s11="3"
					s110="5"
					s1101="1"
					s111="5"
					_num="70"
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					s="6"
					_num="0"
				[/sequence]
				[sequence]
					s0="1"
					s1011="1"
					_num="30"
				[/sequence]
				[sequence]
					s00="2"
					s0010="1"
					s0100="1"
					s0110="2"
					s1="1"
					s1000="1"
					s11="1"
					s110="1"
					_num="40"
				[/sequence]
				[sequence]
					s="1"
					s00="1"
					s0010="1"
					s0110="1"
					s11="1"
					_num="50"
				[/sequence]
				[sequence]
					s="6"
					s0="5"
					s00="6"
					s0011="3"
					s01="5"
					s0100="1"
					s011="1"
					s0111="1"
					s1="3"
					s10="4"
					s1001="1"
					s1011="2"
					s11="1"
					s1100="1"
					s1101="1"
					s1110="1"
					s1111="1"
					_num="60"
				[/sequence]
				[sequence]
					s01="1"
					s10="1"
					s11="4"
					_num="70"
				[/sequence]
			[/defends]
			recruit_cost="377"
			recall_cost="0"
			damage_inflicted="1168"
			damage_taken="879"
			expected_damage_inflicted="1196262"
			expected_damage_taken="902748"
			turn_damage_inflicted="53"
			turn_damage_taken="0"
			turn_expected_damage_inflicted="41606"
			turn_expected_damage_taken="0"
			save_id="Various2"
		[/team]
	[/scenario]
[/statistics]
