label="2p - Silverhead Crossing Turn 14_dr_snuggles"
version="1.6"
completion="victory"
campaign_type="multiplayer"
difficulty="NORMAL"
random_seed="1884764481"
random_calls="0"
next_underlying_unit_id="36"
end_text_duration="0"
[variables]
[/variables]
[replay]
	[command]
		[start]
		[/start]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="nobota has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="1"
			x="6"
			y="14"
		[/recruit]
		[random]
			value="1793181578"
		[/random]
		[random]
			value="474407566"
		[/random]
		[random]
			value="633690919"
		[/random]
		[random]
			value="90532107"
		[/random]
		[random]
			value="470504752"
		[/random]
		[random]
			value="1377268412"
		[/random]
		[random]
			value="2137373023"
		[/random]
		[random]
			value="1230822420"
		[/random]
		[random]
			value="369555522"
		[/random]
		[random]
			value="717763903"
		[/random]
		[random]
			value="1717019138"
		[/random]
		[random]
			value="1520573191"
		[/random]
		[random]
			value="1921999379"
		[/random]
		[random]
			value="41966586"
		[/random]
		[random]
			value="1555178465"
			[results]
				checksum="KzLvyin74-,BpeaEvE02ik,1f-H<ltHpHl.4.Zv+KOuxJJEBpQwGOLzIDBBrtvLGpNIMjJxOsDGJKEAIFmsFKnyPOypu3tJHxVzEnyVqOuyLwrBF>8AJxGsqutBjv5-V"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Oshura has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Confusius has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="2"
			x="5"
			y="12"
		[/recruit]
		[random]
			value="1142308005"
		[/random]
		[random]
			value="2075327539"
		[/random]
		[random]
			value="17772239"
		[/random]
		[random]
			value="788005936"
		[/random]
		[random]
			value="402251457"
		[/random]
		[random]
			value="651463159"
		[/random]
		[random]
			value="878538043"
		[/random]
		[random]
			value="872756209"
		[/random]
		[random]
			value="2028731571"
		[/random]
		[random]
			value="868427419"
		[/random]
		[random]
			value="2103578630"
		[/random]
		[random]
			value="250803445"
		[/random]
		[random]
			value="1586191322"
		[/random]
		[random]
			value="1673114120"
		[/random]
		[random]
			value="1771376636"
			[results]
				checksum="dyxuTOJUoJO8HNrG4rKqKKyCcwwqoNtRxBzMHwQmPyQBpPAuOCIG6zNHsCQFqzuGzwKqqyuyKqqQ5RBJTuEm3frBwnBwBICTrpKGHCIsunwtfvIWc<MGO<7LH5>f.208"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="PAblo_PL has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tucory has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="4"
			x="5"
			y="14"
		[/recruit]
		[random]
			value="1151950819"
		[/random]
		[random]
			value="1543738203"
		[/random]
		[random]
			value="329853989"
		[/random]
		[random]
			value="1033198742"
		[/random]
		[random]
			value="264681974"
		[/random]
		[random]
			value="285948971"
		[/random]
		[random]
			value="1284002188"
		[/random]
		[random]
			value="1850873296"
		[/random]
		[random]
			value="1959063091"
		[/random]
		[random]
			value="907895176"
		[/random]
		[random]
			value="1064096702"
		[/random]
		[random]
			value="1526660150"
		[/random]
		[random]
			value="2086966630"
		[/random]
		[random]
			value="1364209719"
		[/random]
		[random]
			value="873504629"
			[results]
				checksum="4zf1OSw,C7F>rbJjCs8AZ92.m<LzFBEHnuR73QRpoMa2r4.k-cpOaw87,.Y8Z.5ndaB-kwWvSlbAfbufC3iaj7hobd->Zhetk<>2fa5>ai01-b1+6Z+40CN5c8b.>X,4"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gally has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="4"
			x="5"
			y="13"
		[/recruit]
		[random]
			value="1944239482"
		[/random]
		[random]
			value="397563984"
		[/random]
		[random]
			value="2024122932"
		[/random]
		[random]
			value="1821433706"
		[/random]
		[random]
			value="1599893954"
		[/random]
		[random]
			value="377126944"
		[/random]
		[random]
			value="339150218"
		[/random]
		[random]
			value="1056991734"
		[/random]
		[random]
			value="1529077764"
		[/random]
		[random]
			value="1882888422"
		[/random]
		[random]
			value="1386845723"
		[/random]
		[random]
			value="414792858"
		[/random]
		[random]
			value="86748"
		[/random]
		[random]
			value="1672794694"
		[/random]
		[random]
			value="1698795046"
			[results]
				checksum="4zf1OSw,C7F>rbJjIs8AZ92.m<KzFBEHnuR73QRpoMa2r4.k-cpOaw87,.Y8Z.5ndaB-kwWvSlbAfbufC3iaj7hobd->Zhenk<>2fa5>ai01-b1+6Z+40CN5c8b.>X,4"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="dr_snuggles"
			message="hi"
			side="2"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="5"
			x="4"
			y="13"
		[/recruit]
		[random]
			value="1089122739"
		[/random]
		[random]
			value="2000984086"
		[/random]
		[random]
			value="1279160328"
		[/random]
		[random]
			value="763072797"
		[/random]
		[random]
			value="1453394392"
		[/random]
		[random]
			value="1656287272"
		[/random]
		[random]
			value="1102223016"
		[/random]
		[random]
			value="362902478"
		[/random]
		[random]
			value="1037881388"
		[/random]
		[random]
			value="837627790"
		[/random]
		[random]
			value="1749748201"
		[/random]
		[random]
			value="1452674247"
		[/random]
		[random]
			value="837714538"
		[/random]
		[random]
			value="1275059247"
		[/random]
		[random]
			value="1003985645"
			[results]
				checksum="hfk10b5br.lQp.+wk<Ab-239eel1N5llg71o3Xl17<1,5g7Z-k6kZlaGnZ68p4>gn6n3e1iafnb5+9es4>73a+>+.57mc,6d1edjnNmi-f,a8gbj.r.awWGe+,PQ3hpR"
			[/results]
		[/random]
	[/command]
	[command]
		[recruit]
			value="5"
			x="4"
			y="12"
		[/recruit]
		[random]
			value="957682090"
		[/random]
		[random]
			value="1295569286"
		[/random]
		[random]
			value="633618436"
		[/random]
		[random]
			value="818795623"
		[/random]
		[random]
			value="440452543"
		[/random]
		[random]
			value="89554890"
		[/random]
		[random]
			value="73833019"
		[/random]
		[random]
			value="1529575282"
		[/random]
		[random]
			value="2090538976"
		[/random]
		[random]
			value="1352993347"
		[/random]
		[random]
			value="145164431"
		[/random]
		[random]
			value="1396449720"
		[/random]
		[random]
			value="861796971"
		[/random]
		[random]
			value="1247387447"
		[/random]
		[random]
			value="1759352199"
			[results]
				checksum="efk10b5br.lQp.+wk<Ab-239eel1N5llg71o3Xl17<1,5g7Z-k6kZlaGnZ68p4>gn6n3e1iafnb5+9er4>73a+>+.57mc,6d1edjnNmi-f,a8gbj+B.awWJe+,PQ3hpR"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="4,4,5,5,5"
			y="11,10,10,9,8"
		[/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="christi4nk has logged into the lobby"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="KnightKunibert"
			message="hf :-)"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="nomoney has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="6"
			x="22"
			y="17"
		[/recruit]
		[random]
			value="546824220"
		[/random]
		[random]
			value="1392140027"
		[/random]
		[random]
			value="863099724"
		[/random]
		[random]
			value="2012509430"
		[/random]
		[random]
			value="1378549760"
		[/random]
		[random]
			value="84748837"
		[/random]
		[random]
			value="592045498"
		[/random]
		[random]
			value="1216948335"
		[/random]
		[random]
			value="616412317"
		[/random]
		[random]
			value="580698691"
		[/random]
		[random]
			value="1637207669"
		[/random]
		[random]
			value="841323872"
		[/random]
		[random]
			value="1097984856"
		[/random]
		[random]
			value="504496121"
		[/random]
		[random]
			value="800867291"
			[results]
				checksum="J59kONwuL-Q+2062sP>0636mC5373eQ6,a5n2j.dTe2hl89<fZ.a.g-4+XcWi.Xef>.1Xyja86>c+>fg4o.2cih1iXao6r,8m4,Z.v3Dnk4Yd84dfCd5sga,Y<,09k7r"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Horatiu has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="SpoOkyMagician has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="6"
			x="23"
			y="15"
		[/recruit]
		[random]
			value="176651074"
		[/random]
		[random]
			value="1152200564"
		[/random]
		[random]
			value="1174834149"
		[/random]
		[random]
			value="1472891725"
		[/random]
		[random]
			value="847223106"
		[/random]
		[random]
			value="1462162932"
		[/random]
		[random]
			value="917025503"
		[/random]
		[random]
			value="2104978049"
		[/random]
		[random]
			value="720468865"
		[/random]
		[random]
			value="1407412269"
		[/random]
		[random]
			value="1993117025"
		[/random]
		[random]
			value="1867913269"
		[/random]
		[random]
			value="2102360237"
		[/random]
		[random]
			value="1820059168"
		[/random]
		[random]
			value="977368708"
			[results]
				checksum="J59kLNwuL-Q+0062sP>0637mC5373eQ6,a5n2j.dTe2hl89<fZ.a.g-4+XcWi.Xef>.1Xyja86>c+>fg4o.2cih1iXai6r,8m4,Z.v3Dnk4Yd84dfCd5sga,Y<,06m7r"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="5"
			x="23"
			y="16"
		[/recruit]
		[random]
			value="1197037958"
		[/random]
		[random]
			value="990155010"
		[/random]
		[random]
			value="684472467"
		[/random]
		[random]
			value="2006339537"
		[/random]
		[random]
			value="760373165"
		[/random]
		[random]
			value="2064084505"
		[/random]
		[random]
			value="617441897"
		[/random]
		[random]
			value="704980575"
		[/random]
		[random]
			value="941243526"
		[/random]
		[random]
			value="1115397680"
		[/random]
		[random]
			value="1104053097"
		[/random]
		[random]
			value="1561691199"
		[/random]
		[random]
			value="798847959"
		[/random]
		[random]
			value="169885869"
		[/random]
		[random]
			value="1266033420"
			[results]
				checksum="SU39RsIPnopbtoBBt5yPBdjCxIoyMyJsCAbPtOQpxQRNpnMsQGGGqEpPQwrEETo0BNqQDyBuEICFSQFuTGrqGMJbRBzNpHETGFOwJPvMPJFf8IBNyQOKRJUZDRgOWmID"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="5"
			x="23"
			y="17"
		[/recruit]
		[random]
			value="1498235159"
		[/random]
		[random]
			value="1592556238"
		[/random]
		[random]
			value="2003999505"
		[/random]
		[random]
			value="86160987"
		[/random]
		[random]
			value="703730431"
		[/random]
		[random]
			value="1404909788"
		[/random]
		[random]
			value="736108151"
		[/random]
		[random]
			value="116403490"
		[/random]
		[random]
			value="35854013"
		[/random]
		[random]
			value="1302975331"
		[/random]
		[random]
			value="1215639658"
		[/random]
		[random]
			value="96314448"
		[/random]
		[random]
			value="1701741345"
		[/random]
		[random]
			value="979574669"
		[/random]
		[random]
			value="1101823981"
			[results]
				checksum="SU39RsEPnopbtoBBt5yPBdjCxIoyMyJsCAbPtOQpxQRNpnMsQGGGqEpPQwrEETo0BNqQDyBuEICFSQFuTGrqGIJbRBzNpHETGFOwJPvMPJFf8IBNyQOKRJUZDRgO-mID"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="3"
			x="24"
			y="15"
		[/recruit]
		[random]
			value="381491387"
		[/random]
		[random]
			value="1487055014"
		[/random]
		[random]
			value="518936512"
		[/random]
		[random]
			value="834866717"
		[/random]
		[random]
			value="2094246768"
		[/random]
		[random]
			value="748455446"
		[/random]
		[random]
			value="1478960443"
		[/random]
		[random]
			value="1912435123"
		[/random]
		[random]
			value="909367612"
		[/random]
		[random]
			value="100339185"
		[/random]
		[random]
			value="626019400"
		[/random]
		[random]
			value="985669147"
		[/random]
		[random]
			value="452500671"
		[/random]
		[random]
			value="939183470"
		[/random]
		[random]
			value="851774840"
			[results]
				checksum="H-Q.4kSU1kP6gOQR,wHJxusL-.Ekr06z8QM,E>N>OoNiAM-x,w+es6q9HO5BeFhCwtP2J9TQGVxvQw8SMUFUUA1FGHuc9g.x6zCvNjoC,6pf75HoLfpj9>yBpy8oYyof"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Simao has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="24"
			y="16"
		[/recruit]
		[random]
			value="843014018"
		[/random]
		[random]
			value="1586981267"
		[/random]
		[random]
			value="647258729"
		[/random]
		[random]
			value="1472786248"
		[/random]
		[random]
			value="1221954814"
		[/random]
		[random]
			value="1008442637"
		[/random]
		[random]
			value="954457935"
		[/random]
		[random]
			value="2019154102"
		[/random]
		[random]
			value="1386402420"
		[/random]
		[random]
			value="1067902990"
		[/random]
		[random]
			value="1724714951"
		[/random]
		[random]
			value="549914251"
		[/random]
		[random]
			value="1786683516"
		[/random]
		[random]
			value="526017411"
		[/random]
		[random]
			value="1731935625"
			[results]
				checksum="uanXXm6,wl3GigaA+g95nn6hVh52<,alcaZ.01ah->ke.j8yho864c09je5dob.ld3k,h+bA1+Z,..>9<ImYcB->dd8+XYVckKYca0dYfE>btqe-anyQoXDDBuuCDOtE"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,21,20,19,18,17"
			y="14,14,13,13,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="6,7,8,9,10,11"
			y="14,15,15,16,16,16"
		[/move]
	[/command]
	[command]
		[move]
			x="5,6,7,8,9,10"
			y="12,11,11,11,11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="5,6,7,8,9,10,11"
			y="8,7,7,6,7,6,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="diator has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="5,5,5,5,6,6,7"
			y="14,15,16,17,17,18,19"
		[/move]
	[/command]
	[command]
		[move]
			x="4,5,5,5,5,5,6"
			y="13,14,15,16,17,18,18"
		[/move]
	[/command]
	[command]
		[move]
			x="5,5,6,7,8,8,8,8"
			y="13,14,14,15,15,16,17,18"
		[/move]
	[/command]
	[command]
		[move]
			x="4,4,5,5,5,5,6"
			y="12,13,14,15,16,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sorenike has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="dr_snuggles"
			message="always ;)"
			side="2"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Horatiu1 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="vermind has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gauteamus has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="diator has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Robert has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,22,22,22,22,22,22,21,20"
			y="15,14,13,12,11,10,9,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="salokine has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="humanressource has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,22,22,22,22,22,21,20,19"
			y="17,18,19,20,21,22,23,23,24"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Kronjohn has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,22,21,21,20"
			y="17,17,18,19,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,24,24,24,24"
			y="16,17,18,19,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,22,21,20,19"
			y="16,16,17,16,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="brunogama has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,23,22,22,22,22,22"
			y="15,15,14,13,12,11,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,18,18,18,18,19"
			y="12,11,10,9,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="xekaltsotos has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="6,6,7,8,9,10"
			y="17,18,19,19,20,20"
		[/move]
	[/command]
	[command]
		[move]
			x="6,7,8,9,10,11,12"
			y="18,19,19,20,20,21,21"
		[/move]
	[/command]
	[command]
		[move]
			x="7,7,7,7,8,8,9"
			y="19,20,21,22,22,23,24"
		[/move]
	[/command]
	[command]
		[move]
			x="8,7,7,6,5"
			y="18,19,20,20,21"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="elfwood has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,11,12"
			y="10,10,10"
		[/move]
	[/command]
	[command]
		[move]
			x="11,10,9,9,9"
			y="7,6,6,5,4"
		[/move]
	[/command]
	[command]
		[move]
			x="12,13"
			y="10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="reini has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Jiskah has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="11,12,13,14"
			y="16,15,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="save_the_queen has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="13,14"
			y="11,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="mordok has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="14,13,12"
			y="15,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="GeneralZomberd has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,20,20,20,20,21"
			y="8,7,6,5,4,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="elfwood has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,22,22,22,23"
			y="10,9,8,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,20,21,22,22,23"
			y="8,8,9,9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,19,19"
			y="17,16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,18"
			y="14,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Baleog has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="24,23,23,22"
			y="20,20,19,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="20,19,18"
			y="19,20,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="9,9,8,7,7,7,7"
			y="24,23,22,22,21,20,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Danyo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="12,12,11,10,9"
			y="21,22,23,23,24"
		[/move]
	[/command]
	[command]
		[move]
			x="9,9,9,8"
			y="4,5,6,6"
		[/move]
	[/command]
	[command]
		[recruit]
			value="4"
			x="9"
			y="6"
		[/recruit]
		[random]
			value="2096567707"
		[/random]
		[random]
			value="1202908488"
		[/random]
		[random]
			value="897753043"
		[/random]
		[random]
			value="153105214"
		[/random]
		[random]
			value="445761826"
		[/random]
		[random]
			value="807133872"
		[/random]
		[random]
			value="1228636931"
		[/random]
		[random]
			value="1276049789"
		[/random]
		[random]
			value="1280941552"
		[/random]
		[random]
			value="1981535834"
		[/random]
		[random]
			value="1234607207"
		[/random]
		[random]
			value="1560607084"
		[/random]
		[random]
			value="290165571"
		[/random]
		[random]
			value="2017929844"
		[/random]
		[random]
			value="240503356"
			[results]
				checksum="4zf1OSv,C7F>rbJjGs8AZ92.m<LzFBEHnuR73QRpoMa2r4.k-cpOaw87,.Y8Z.5ndaB-kwWvSlbAfbufC3iaj7hobd->Zhepk<>2fa5>ai01-b1+6Z+40CN5c8b.>X,4"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="8,8,8,9"
			y="6,5,4,4"
		[/move]
	[/command]
	[command]
		[move]
			x="14,13,12,11,10,9,8"
			y="11,11,10,11,10,11,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tarcisio has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kardan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="12,11,10,10,9"
			y="14,14,13,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tarcisio has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ansengrinth_ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="sharpshooter has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="5,6,7,8,8,8"
			y="21,20,20,19,18,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sinbad has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gwledig has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ProGamer has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="_astyonax has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,22,22,22,22"
			y="11,11,12,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="John has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Nickname has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="2"
			x="23"
			y="15"
		[/recruit]
		[random]
			value="2027629712"
		[/random]
		[random]
			value="2102058988"
		[/random]
		[random]
			value="1051934519"
		[/random]
		[random]
			value="1778078729"
		[/random]
		[random]
			value="1934250298"
		[/random]
		[random]
			value="337310200"
		[/random]
		[random]
			value="1963186967"
		[/random]
		[random]
			value="1344601861"
		[/random]
		[random]
			value="753060446"
		[/random]
		[random]
			value="1565784151"
		[/random]
		[random]
			value="869615519"
		[/random]
		[random]
			value="2001809998"
		[/random]
		[random]
			value="1941822484"
		[/random]
		[random]
			value="901505129"
		[/random]
		[random]
			value="1099573518"
			[results]
				checksum="<3l85mndU3eF>a,..P305kg7W0d6cpzj<c3>k7>a,+alX1ah,2Wi<0o.-bnee7bo56d2incd,4Z6occi44H-f-5057b>02aa.o6Z+40CN5c8b.<X,48D.7v393e4xt<3"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Bad_Player has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Junkie has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tarrasque has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="plo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="2"
			x="23"
			y="16"
		[/recruit]
		[random]
			value="266160560"
		[/random]
		[random]
			value="152095219"
		[/random]
		[random]
			value="758805803"
		[/random]
		[random]
			value="1491235135"
		[/random]
		[random]
			value="2054753455"
		[/random]
		[random]
			value="556790778"
		[/random]
		[random]
			value="1396355867"
		[/random]
		[random]
			value="851762253"
		[/random]
		[random]
			value="442195269"
		[/random]
		[random]
			value="1682467463"
		[/random]
		[random]
			value="1313470592"
		[/random]
		[random]
			value="1515832231"
		[/random]
		[random]
			value="993802056"
		[/random]
		[random]
			value="1850832473"
		[/random]
		[random]
			value="640746916"
			[results]
				checksum="<3k85mndU3eF>a,..P305kg7W0d6cpzj<c3>k7>a,+alX1ah,2Wi<0o.-bnee7bo56d2incd,4Z6occi45H-f-5057b>02aa.o6Z+40CN5c8b.<X,47J.7v3b3e4xt<3"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,20,19"
			y="4,4,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18"
			y="4,3"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Binks has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,22,21,20,19"
			y="7,7,8,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Boz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,21,20,19"
			y="18,18,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17"
			y="20,21"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16"
			y="21,21"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="sitenuker has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17"
			y="12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="rb2 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Oesis has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,8,8,8"
			y="4,4,5,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Kronjohn has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,10"
			y="6,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="oesis has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,11"
			y="5,5"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="angryfish has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="4"
			x="9"
			y="6"
		[/recruit]
		[random]
			value="411171844"
		[/random]
		[random]
			value="1680771798"
		[/random]
		[random]
			value="440492885"
		[/random]
		[random]
			value="353816909"
		[/random]
		[random]
			value="1802326093"
		[/random]
		[random]
			value="1082564799"
		[/random]
		[random]
			value="1452574584"
		[/random]
		[random]
			value="1389441159"
		[/random]
		[random]
			value="1144823105"
		[/random]
		[random]
			value="1289852519"
		[/random]
		[random]
			value="1049617695"
		[/random]
		[random]
			value="1281080363"
		[/random]
		[random]
			value="991204644"
		[/random]
		[random]
			value="925012713"
		[/random]
		[random]
			value="2027236992"
			[results]
				checksum="3Cf1OSv,C7F>rbJjHs8AZ92.m<KzFBEHnuR73QRpoMa2r4.k-cpOaw87,.Y8Z.5ndaB-kwWvSlbAfbufC3iaj7hobd->Zheok<>2fa5>ai01-b1+6Z+40CN5c8b.>X,4"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="8,7,7,8,9,10,11"
			y="10,10,9,8,8,7,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Armenio has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,8,8,9"
			y="6,5,4,4"
		[/move]
	[/command]
	[command]
		[move]
			x="11,10,9,9"
			y="5,5,6,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="-winchester has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,10"
			y="24,23"
		[/move]
	[/command]
	[command]
		[move]
			x="10,11"
			y="23,23"
		[/move]
	[/command]
	[command]
		[move]
			x="10,10,10,10,11"
			y="20,21,22,23,24"
		[/move]
	[/command]
	[command]
		[move]
			x="11,10,9"
			y="24,24,24"
		[/move]
	[/command]
	[command]
		[move]
			x="11,10,10,10"
			y="23,22,21,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="eliana has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="gracz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mia has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dusancic has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gozd has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Domestos has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,22,21,20,19,18,17"
			y="16,16,17,16,17,17,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="22,21,20,19,18"
			y="14,14,13,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="1"
			x="16"
			y="13"
		[/recruit]
		[random]
			value="1458365536"
		[/random]
		[random]
			value="1518700341"
		[/random]
		[random]
			value="1953486592"
		[/random]
		[random]
			value="1519156408"
		[/random]
		[random]
			value="1028670073"
		[/random]
		[random]
			value="1614558561"
		[/random]
		[random]
			value="282371235"
		[/random]
		[random]
			value="2021970422"
		[/random]
		[random]
			value="1475652426"
		[/random]
		[random]
			value="1684579"
		[/random]
		[random]
			value="395431842"
		[/random]
		[random]
			value="1708564676"
		[/random]
		[random]
			value="1842665495"
		[/random]
		[random]
			value="817301078"
		[/random]
		[random]
			value="1073811734"
			[results]
				checksum="uanXXm6,wl3GigaA+g95nn6hVh52<,alcaZ.01ah->ke.j8yho864c09je5dob.ld3k,h+bA1+Z...>9<ImYcB->dd8+XYVckKYca0dYfE>bqAh-anyQoXDDBuuCCOtE"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mrbloom has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="23,22,21,20,19,18,18"
			y="15,14,14,13,13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18"
			y="24,24"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="HODOR has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17"
			y="24,25"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mia has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="thonsew has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="reanimation has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18,17,16"
			y="17,17,18,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Horatiu has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15"
			y="17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="heron has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="H_Guderian has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Moebius has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="hogar has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Teenage_Dirtbag has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="The_Dog_ITA has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mia has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Chaka has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16"
			y="12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15"
			y="12,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,16,16"
			y="13,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15"
			y="14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16"
			y="25,25"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="manuel has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="heron has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jdavid has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,18"
			y="3,2"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="4"
			x="17"
			y="13"
		[/recruit]
		[random]
			value="358588906"
		[/random]
		[random]
			value="964629660"
		[/random]
		[random]
			value="1176644417"
		[/random]
		[random]
			value="1833294943"
		[/random]
		[random]
			value="92739845"
		[/random]
		[random]
			value="1752930840"
		[/random]
		[random]
			value="180474687"
		[/random]
		[random]
			value="991154845"
		[/random]
		[random]
			value="308830136"
		[/random]
		[random]
			value="40120953"
		[/random]
		[random]
			value="2991913"
		[/random]
		[random]
			value="892957910"
		[/random]
		[random]
			value="1327868134"
		[/random]
		[random]
			value="829668514"
		[/random]
		[random]
			value="627394827"
			[results]
				checksum="jfC5opl9pneud6314Hg106a+elObfd5dh>d-kgk5j40fd5c,laoh2>q4W68<jj1,,Bh1+4l10mji-0Ug681h64jGjKk7ELYl9YI95gAxGxnvPuSVVEH>yBMtLAwyHUqR"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="poteha has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="bot has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="268000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="StarWarior has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="DrAdam has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ansengrinth has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Quetzalcoatl has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,11"
			y="20,21"
		[/move]
	[/command]
	[command]
		[move]
			x="11,12"
			y="21,21"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="lukesterbu has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kardan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mia has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="12,13"
			y="21,22"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="noname has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="13,13"
			y="22,23"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="scruppy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,10,11,12,13"
			y="24,24,25,24,25"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jules has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="mazayka has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="King_John_VI has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,8,8,9,10,10,10"
			y="17,18,19,20,20,21,22"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Wiggles has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Coriolan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="7,8,9,10,10,10,10"
			y="19,19,20,20,21,22,23"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="unrest has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,9,8,7,7,7,7"
			y="7,8,8,9,10,11,12"
		[/move]
	[/command]
	[command]
		[move]
			x="9,9,9,8,7,7,7"
			y="6,7,8,8,9,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="MrBumble has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="11,10,9,8,7,7,8"
			y="7,7,8,8,9,10,10"
		[/move]
	[/command]
	[command]
		[move]
			x="9,9,9,8"
			y="4,5,6,6"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="wb has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="0"
			x="9"
			y="7"
		[/recruit]
		[random]
			value="1727262244"
		[/random]
		[random]
			value="1208023807"
		[/random]
		[random]
			value="356379254"
		[/random]
		[random]
			value="179966682"
		[/random]
		[random]
			value="433708786"
		[/random]
		[random]
			value="1030796743"
		[/random]
		[random]
			value="644555974"
		[/random]
		[random]
			value="1906797396"
		[/random]
		[random]
			value="779708266"
		[/random]
		[random]
			value="227628743"
		[/random]
		[random]
			value="713435321"
		[/random]
		[random]
			value="612933501"
		[/random]
		[random]
			value="866038810"
		[/random]
		[random]
			value="1823403814"
		[/random]
		[random]
			value="912128738"
			[results]
				checksum=">UABrPGKRFs+RPP0VDMFU5szDKhwNqBscwwqoNtRxBzMHwQmPyPvpPAuOCIG6zNHsCQFqzuGzwKqqyuyKqqO5RBJTuEm3frBwnBwBICTrpKGHCIsunwtfyIWcjMGO<Yo"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="8,9,10,11"
			y="6,6,6,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tillanz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="TDW_Lonolico has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ProGamer has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15"
			y="13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13,12"
			y="14,14,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="shadowofzo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,11"
			y="15,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,17,18"
			y="21,21,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,17,18,19"
			y="25,25,24,24"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jackryan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Coriolan_ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jackryan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,18,18,18,19,19,19,19,18"
			y="2,3,4,5,6,7,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="I_Bet_I_Cant has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,18,19,20,21,21"
			y="18,18,18,17,18,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mia has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,12"
			y="13,13,14,14,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13,12,11,10"
			y="15,14,15,14,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mia has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13,12,11,10"
			y="17,17,17,16,17,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sorenike has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="andygreter has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rocky5000 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="cybershot has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kardan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,17,16,15,14,13"
			y="11,12,13,13,14,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="0"
			x="16"
			y="13"
		[/recruit]
		[random]
			value="434495153"
		[/random]
		[random]
			value="1115636671"
		[/random]
		[random]
			value="825807540"
		[/random]
		[random]
			value="160514219"
		[/random]
		[random]
			value="523018101"
		[/random]
		[random]
			value="714656336"
		[/random]
		[random]
			value="353001481"
		[/random]
		[random]
			value="1546058153"
		[/random]
		[random]
			value="47248771"
		[/random]
		[random]
			value="1688628454"
		[/random]
		[random]
			value="1782031273"
		[/random]
		[random]
			value="1792664249"
		[/random]
		[random]
			value="112465533"
		[/random]
		[random]
			value="422603771"
			[results]
				checksum="TtCMTozq7Vz-vHfNG<LtrmzARfmmFqV+ryEAuy4CQEqETFPCHGCyrKADxItsJVFvuOxEx3PuvGswNKRdEuCIrvtwzJGzixTLICN<rDI4RC8pMORdj<Pya5jb,a-<394R"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15,14"
			y="12,13,13,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tkachukill has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tasssadar has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="23-0 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Samy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="lamb has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="giuseppe has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Hades has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="Coriolan_"
			message="hi guys"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="giocatore has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="TesLa has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="7,7,7,7,8"
			y="11,12,13,14,14"
		[/move]
	[/command]
	[command]
		[move]
			x="8,8,9"
			y="14,15,16"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="9"
				y="16"
			[/source]
			[destination]
				x="10"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="75893629"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="3366352"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="41712256"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="dr_snuggles"
			message="hi"
			side="2"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="autsida12 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="7,7,8,8,9"
			y="12,13,13,14,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="9"
				y="15"
			[/source]
			[destination]
				x="10"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="2076960874"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2085425760"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1401003540"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="A_Guy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Crazy_Horse has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,9,10,10"
			y="12,13,13,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="1"
			[source]
				x="10"
				y="14"
			[/source]
			[destination]
				x="10"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1044518814"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="894190202"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="626788738"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1296175489"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="496804591"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1191905994"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="qoob has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Shen has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,8,9,9,10"
			y="10,11,12,13,13"
		[/move]
	[/command]
	[command]
		[move]
			x="10,10,10,9,8,8,8,9"
			y="22,21,20,20,19,18,17,17"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="9"
				y="17"
			[/source]
			[destination]
				x="10"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="1553069121"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="789046462"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2088555012"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Spree has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,10,10,10,9,8,8"
			y="23,22,21,20,20,19,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ruzguz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="13,12,11,10,9"
			y="25,24,24,24,24"
		[/move]
	[/command]
	[command]
		[move]
			x="13,12,12,11,10"
			y="23,22,21,21,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zakopunu has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,8,7,7,7,8"
			y="7,7,8,9,10,10"
		[/move]
	[/command]
	[command]
		[move]
			x="11,10,9,8"
			y="7,6,7,6"
		[/move]
	[/command]
	[command]
		[recruit]
			value="0"
			x="9"
			y="7"
		[/recruit]
		[random]
			value="1101635911"
		[/random]
		[random]
			value="244074041"
		[/random]
		[random]
			value="1008430258"
		[/random]
		[random]
			value="730537006"
		[/random]
		[random]
			value="1522763319"
		[/random]
		[random]
			value="1525041000"
		[/random]
		[random]
			value="110655692"
		[/random]
		[random]
			value="1851290932"
		[/random]
		[random]
			value="1596845134"
		[/random]
		[random]
			value="25711418"
		[/random]
		[random]
			value="1102726079"
		[/random]
		[random]
			value="2131369010"
		[/random]
		[random]
			value="465525870"
		[/random]
		[random]
			value="1241257485"
		[/random]
		[random]
			value="320809077"
			[results]
				checksum=">UABxPGKRFs+RPQ0VDMFU5szDKhwNqBscwwqoNtRxBzMHwQmPyPvpPAuOCIG6zNHsCQFqzuGzwKqqyuyKqqU5RBJTuEm3frBwnBwBICTrpKGHCIsunwteCIWceMGO<Yo"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Boucman has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="wsx_ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,8,8,9"
			y="6,5,4,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Delekoth has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="manuel has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="heron has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kyus_ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17"
			y="9,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="joXtreme has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15"
			y="10,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rommel has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="wiatrakk1 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="mosn 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="11,11,10"
			y="16,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="10"
				y="17"
			[/source]
			[destination]
				x="9"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="1517162556"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1872801242"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1554776908"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="539576942"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1453618053"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1811658652"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="konio has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="10"
				y="16"
			[/source]
			[destination]
				x="9"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="180736543"
			[results]
				chance="60"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="konio has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rahja has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,12,11,11,10,9"
			y="14,15,16,17,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="9"
				y="17"
			[/source]
			[destination]
				x="9"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="1965027889"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="250678606"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="135697436"
			[results]
				chance="60"
				damage="11"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1873251210"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="10"
				y="15"
			[/source]
			[destination]
				x="9"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="2039098131"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="953889897"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1849752877"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1274749289"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Wargon has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,12,11"
			y="15,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="11"
				y="14"
			[/source]
			[destination]
				x="10"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="173905700"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="509658541"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="772378735"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,13,12,11"
			y="14,15,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="11"
				y="15"
			[/source]
			[destination]
				x="10"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="777471263"
			[results]
				chance="70"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1194838381"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="812006993"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dulcatos has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,18,18,18,17,16"
			y="8,9,9,10,11,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,16,17,18,18,19"
			y="9,9,10,9,8,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Blood has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15"
			y="20,21,20,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18,17,16,15,14,13"
			y="24,23,23,22,23,22,23"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gozd has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="korvus has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="21,21,20,19,18,17"
			y="19,18,17,18,18,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="silloz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="hmm has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15,14,13,12"
			y="13,14,14,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="9,8"
			y="15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Kaerthas has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,8,9,9,9,9"
			y="10,11,12,13,14,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="9"
				y="15"
			[/source]
			[destination]
				x="10"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="758848352"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1249146392"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="420392014"
			[results]
				chance="60"
				damage="7"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="pad911 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="McBear has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,8"
			y="16,16"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="8"
				y="16"
			[/source]
			[destination]
				x="9"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="567263490"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="561659124"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="356885163"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tarcisio has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="WIF-Lux has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Jack_Sparrow has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,8"
			y="18,17"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="8"
				y="17"
			[/source]
			[destination]
				x="9"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="362965420"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="673905195"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1756749856"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Eowyn has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="denver has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Agnedul has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Mabuse has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Eowyn has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,8,9"
			y="14,15,16"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="9"
				y="16"
			[/source]
			[destination]
				x="10"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="1226288344"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1154968089"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="96735040"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Volff has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kardan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,9,9,10"
			y="13,14,15,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="10"
				y="15"
			[/source]
			[destination]
				x="10"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="1247867818"
			[results]
				chance="50"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2127192662"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2021071217"
			[results]
				chance="50"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="autsida1 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,10"
			y="14,13"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="1"
			[source]
				x="10"
				y="13"
			[/source]
			[destination]
				x="11"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="432449429"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1695351461"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1032397283"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="129833602"
			[results]
				chance="60"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1419862866"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1508872702"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="denver has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,8,7,7,7,7,8"
			y="7,7,8,9,10,11,11"
		[/move]
	[/command]
	[command]
		[move]
			x="9,9,9,8"
			y="4,5,6,6"
		[/move]
	[/command]
	[command]
		[recruit]
			value="2"
			x="9"
			y="7"
		[/recruit]
		[random]
			value="867503170"
		[/random]
		[random]
			value="1835267215"
		[/random]
		[random]
			value="479653261"
		[/random]
		[random]
			value="1740475587"
		[/random]
		[random]
			value="1585014352"
		[/random]
		[random]
			value="1886649082"
		[/random]
		[random]
			value="680751637"
		[/random]
		[random]
			value="587436712"
		[/random]
		[random]
			value="866843746"
		[/random]
		[random]
			value="1548552361"
		[/random]
		[random]
			value="350072944"
		[/random]
		[random]
			value="913980321"
		[/random]
		[random]
			value="442661448"
		[/random]
		[random]
			value="1565013108"
		[/random]
		[random]
			value="1356668185"
			[results]
				checksum="dyxuTOJUoJO8HNrG4rKqKKyCcwwqoNtRxBzMHwQmPyQBpPAuOCIG6zNHsCQFqzuGzwKqqyuyKqqV5RBJTuEm3frBwnBwBICTrpKGHCIsunwtfyIWc<MGO<7LH5>f0208"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="8,9,10,11"
			y="6,6,6,7"
		[/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="Havengar has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Stardert has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Polia has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ping has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Grail has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Friese has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="nanetes has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="allan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="gleem has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dusseldorf has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Jaxerell has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14"
			y="18,18,19,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,12,13,14,15,16,17"
			y="14,14,14,13,13,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="paris has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="9"
				y="17"
			[/source]
			[destination]
				x="8"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="1082139699"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1666349868"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="523175595"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1093914232"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gally has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,12,13,14,15,16"
			y="15,14,14,13,14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,11,12,13,14,15,15,15"
			y="17,17,16,16,16,16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,13,14,15,16,17"
			y="14,14,13,13,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,15,15"
			y="20,19,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,14,15,16,17,18"
			y="23,22,22,21,21,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="WinterKnight has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="gleem has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="A_Guy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="allan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,9,10,11,12,13,14"
			y="11,12,12,12,12,13,13"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="14"
				y="13"
			[/source]
			[destination]
				x="15"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1385705817"
			[results]
				chance="40"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="911370554"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1371602944"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="181192046"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="9,10,11,12,13,14"
			y="15,15,15,14,14,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="14"
				y="14"
			[/source]
			[destination]
				x="15"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1919628816"
			[results]
				chance="40"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="493045283"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1764894333"
			[results]
				chance="40"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="638088998"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Oh_Hi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,11,12,13,14,15"
			y="15,15,14,15,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="contenta has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="15"
				y="15"
			[/source]
			[destination]
				x="15"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1398648464"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2112098303"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1672109196"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="876698324"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="124626962"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1346106071"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1833492411"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="darky has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="8"
				y="16"
			[/source]
			[destination]
				x="9"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="1964880005"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="197304152"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="774317933"
			[results]
				chance="70"
				damage="4"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="YANIV has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,10,11,12,13,14"
			y="16,15,15,14,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Partagas has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="WIF_Gadenz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="A_Guy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,9,10,11"
			y="17,17,16,16"
		[/move]
	[/command]
	[command]
		[move]
			x="9,9,10,11,12,13"
			y="7,6,5,5,4,4"
		[/move]
	[/command]
	[command]
		[move]
			x="13,14"
			y="4,3"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="m4estr0 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="TDW_Lonolicoo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="11,10,9,8,7,7,8"
			y="7,7,8,8,9,10,10"
		[/move]
	[/command]
	[command]
		[move]
			x="9,10"
			y="24,23"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="hiddenAgenda has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,11"
			y="23,24"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="BaRaKO has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="11,12"
			y="24,24"
		[/move]
	[/command]
	[command]
		[move]
			x="12,13"
			y="24,25"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Codazzo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,10,10,10"
			y="13,12,11,10"
		[/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="EDF has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="wasu has logged into the lobby"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="KnightKunibert"
			message="Hi :-)"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gambit has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Coriolan__ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="GarlicThunder has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Euthanasie 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="insomniach has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Raidon has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,16,17,17,17,18,19"
			y="14,13,14,15,16,16,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,17,18"
			y="13,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,16,17,17,16"
			y="12,13,14,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="16"
				y="15"
			[/source]
			[destination]
				x="15"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1432339231"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1629355350"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1947083629"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1649256208"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="364882948"
			[results]
				chance="70"
				damage="2"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1285536024"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kardan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15"
			y="13,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="15"
				y="14"
			[/source]
			[destination]
				x="14"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="1323622860"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1338031348"
			[results]
				chance="60"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1400726767"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="300979105"
			[results]
				chance="60"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gozdz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="5"
			x="16"
			y="13"
		[/recruit]
		[random]
			value="1383778305"
		[/random]
		[random]
			value="2061558772"
		[/random]
		[random]
			value="1117120306"
		[/random]
		[random]
			value="2138940868"
		[/random]
		[random]
			value="302917696"
		[/random]
		[random]
			value="1601473282"
		[/random]
		[random]
			value="1548902723"
		[/random]
		[random]
			value="611296527"
		[/random]
		[random]
			value="498962041"
		[/random]
		[random]
			value="131381552"
		[/random]
		[random]
			value="516555348"
		[/random]
		[random]
			value="1616832662"
		[/random]
		[random]
			value="1995964743"
		[/random]
		[random]
			value="337385814"
		[/random]
		[random]
			value="1086547818"
			[results]
				checksum="SU39RsRPnopbtoBBs5yPBdjCxIoyMyJsCAbPtOQpxQRNpnMsQGGGqEpPQwrEETo0BNqQDyBuEICFSQFuTGrqGVJbRBzNpHETGFOwJPvMPJFf8IBNyQOKRJUZDRgOWmID"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sigm4 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="donkey_noob_trash has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="2"
			x="17"
			y="13"
		[/recruit]
		[random]
			value="320088920"
		[/random]
		[random]
			value="287942705"
		[/random]
		[random]
			value="1172386244"
		[/random]
		[random]
			value="1133141683"
		[/random]
		[random]
			value="827284585"
		[/random]
		[random]
			value="1362889417"
		[/random]
		[random]
			value="1021852617"
		[/random]
		[random]
			value="850208860"
		[/random]
		[random]
			value="104122882"
		[/random]
		[random]
			value="1941589116"
		[/random]
		[random]
			value="1274256447"
		[/random]
		[random]
			value="1721176845"
		[/random]
		[random]
			value="1214508825"
		[/random]
		[random]
			value="417757040"
		[/random]
		[random]
			value="1118529237"
			[results]
				checksum="<3l85mndU3eF>a,..P305kg7W0d6cpzj<c3>k7>a,+alX1ah,2Wi<0o.-bnee7bo56d2incd,4Z6occi44H-f-5057b>02aa.o6Z+40CN5c8b.<X,48D.7v393e4xt<3"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="4"
			x="18"
			y="11"
		[/recruit]
		[random]
			value="1658463985"
		[/random]
		[random]
			value="1613941482"
		[/random]
		[random]
			value="648542717"
		[/random]
		[random]
			value="1577936094"
		[/random]
		[random]
			value="1096375055"
		[/random]
		[random]
			value="1365858125"
		[/random]
		[random]
			value="1524804092"
		[/random]
		[random]
			value="1460014593"
		[/random]
		[random]
			value="1317113929"
		[/random]
		[random]
			value="472371427"
		[/random]
		[random]
			value="2047014277"
		[/random]
		[random]
			value="1480928599"
		[/random]
		[random]
			value="631494663"
		[/random]
		[random]
			value="666617567"
		[/random]
		[random]
			value="419262170"
			[results]
				checksum="6hs5opl9pneud6314Hg106a+elObfd5dh>d-kgk5j40fd5c,laoh2>q4W68<jj1,,Bh1+4l10mji0WUg681h64jGjKk7ELbfXlO69>IPFNIDBGnoCSO3srDyLKztBBJx"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,17,16,15"
			y="12,13,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="15"
				y="14"
			[/source]
			[destination]
				x="15"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1428252359"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1787216523"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="364344957"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1602441360"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1322153670"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="442042487"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,16"
			y="12,13,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="16"
				y="14"
			[/source]
			[destination]
				x="15"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="808564028"
			[results]
				chance="70"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2093940998"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1877307986"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1544693576"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1033455275"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2051607132"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Pain has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jules has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="eastprince has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,18,18"
			y="20,21,22"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,18,19"
			y="22,23,24"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="gilbertbb has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13"
			y="18,18,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,12"
			y="19,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="alexm has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="brulemeilleur has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dragonos has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Dauntless has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,15,16,17"
			y="18,18,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Earl_WyldFey has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Berethor has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="13,14,14,15"
			y="25,24,23,23"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="cearA has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="brulemeilleur has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="15,15,16"
			y="23,22,21"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Cobra_Commander has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sk has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Cyrion has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,9,8,8,9,9,10"
			y="20,20,19,18,18,17,16"
		[/move]
	[/command]
	[command]
		[move]
			x="8,8,8,8,9,10"
			y="16,17,18,19,20,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="txaurlo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="A_Guy has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="15,14,13,12,11,10,9"
			y="15,15,15,14,14,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Kuru has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,8,9,10,10,10,10"
			y="10,11,12,12,13,14,15"
		[/move]
	[/command]
	[command]
		[recruit]
			value="5"
			x="12"
			y="14"
		[/recruit]
		[random]
			value="255412756"
		[/random]
		[random]
			value="2054450842"
		[/random]
		[random]
			value="1150793123"
		[/random]
		[random]
			value="322365480"
		[/random]
		[random]
			value="1156899163"
		[/random]
		[random]
			value="854340617"
		[/random]
		[random]
			value="1817132471"
		[/random]
		[random]
			value="429906882"
		[/random]
		[random]
			value="1457215285"
		[/random]
		[random]
			value="585084007"
		[/random]
		[random]
			value="1505175625"
		[/random]
		[random]
			value="368710788"
		[/random]
		[random]
			value="894302642"
		[/random]
		[random]
			value="2094512572"
		[/random]
		[random]
			value="761831803"
			[results]
				checksum="bfk10b5br.lQp.+wk<Ab-239eel1N5llg71o3Xl17<1,5g7Z-k6kZlaGnZ68p4>gn6n3e1iafnb5+9fm4>73a+>+.57mc,6d1edjnNmi-f,a8gbj.r.awWJe+,PQ3hpQ"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Codazzo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="14,13,12,11,10,9,8"
			y="15,15,15,16,16,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Regis has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="14,13,12,11"
			y="14,15,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tarcisio has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="_Sky_ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="14,13,12,11,10,9,8"
			y="13,14,14,15,15,16,16"
		[/move]
	[/command]
	[command]
		[move]
			x="14,15"
			y="3,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="DrDabic has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jdavid has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zdenek has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,9,8,7,7,8"
			y="10,10,10,10,9,8"
		[/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="Captian_Falcon has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,19,19,18"
			y="8,9,10,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="craigfongyee has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15,15"
			y="10,10,9,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Liso has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="insomniach has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Liso has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Frezycus has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,12"
			y="13,13,13,13,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="2"
			[source]
				x="12"
				y="13"
			[/source]
			[destination]
				x="12"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1734754146"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="97558031"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2138798978"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="850807723"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="attackm0ve has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="papikk has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15,14,13"
			y="11,12,12,13,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="13"
				y="14"
			[/source]
			[destination]
				x="12"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="2125919644"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1706127464"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1946705538"
			[results]
				chance="40"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="180419874"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1072579348"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1488575789"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sollkanor has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Dauntless has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Grail has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jdavid has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15"
			y="17,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15,14,13"
			y="13,14,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="13"
				y="15"
			[/source]
			[destination]
				x="12"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="364042186"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1484020030"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="126222850"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1758955792"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="955246080"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="416707368"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,16,17,17"
			y="14,13,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="StarWarior has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="FongMan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,16,17,18"
			y="14,13,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="4"
			x="16"
			y="13"
		[/recruit]
		[random]
			value="68600093"
		[/random]
		[random]
			value="1910528259"
		[/random]
		[random]
			value="1072959069"
		[/random]
		[random]
			value="802888824"
		[/random]
		[random]
			value="1512710867"
		[/random]
		[random]
			value="72644836"
		[/random]
		[random]
			value="1171047156"
		[/random]
		[random]
			value="101926137"
		[/random]
		[random]
			value="1528117900"
		[/random]
		[random]
			value="1320610827"
		[/random]
		[random]
			value="1262677644"
		[/random]
		[random]
			value="389763054"
		[/random]
		[random]
			value="922525228"
		[/random]
		[random]
			value="49575656"
		[/random]
		[random]
			value="2141879003"
			[results]
				checksum="jfC5opl9pneud6314Hg106a+elObfd5dh>d-kgk5j40fd5c,laoh2>q4W68<jj1,,Bh1+4l10mji0.Ug681h64jGjKk7ELYl9YI95gAxGxnvPuSIVEH>yBMtLAwyHPDR"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Friese has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="2"
			x="17"
			y="13"
		[/recruit]
		[random]
			value="1272324639"
		[/random]
		[random]
			value="1465534494"
		[/random]
		[random]
			value="1748293215"
		[/random]
		[random]
			value="1692806251"
		[/random]
		[random]
			value="1131305101"
		[/random]
		[random]
			value="24621969"
		[/random]
		[random]
			value="1504572759"
		[/random]
		[random]
			value="734417088"
		[/random]
		[random]
			value="1759478707"
		[/random]
		[random]
			value="708809359"
		[/random]
		[random]
			value="867106804"
		[/random]
		[random]
			value="640026286"
		[/random]
		[random]
			value="176200979"
		[/random]
		[random]
			value="29904840"
		[/random]
		[random]
			value="99472482"
			[results]
				checksum="<3l85mndU3eF>a,..P305kg7W0d6cpzj<c3>k7>a,+alX1ah,2Wi<0o.-bnee7bo56d2incd,4Z6occi44H-f-5057b>02aa.o6Z+40CN5c8b.<X,48D.7v393e4xt<3"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="4"
			x="18"
			y="11"
		[/recruit]
		[random]
			value="1084471442"
		[/random]
		[random]
			value="1017813605"
		[/random]
		[random]
			value="1686010880"
		[/random]
		[random]
			value="738137995"
		[/random]
		[random]
			value="2019736893"
		[/random]
		[random]
			value="443952522"
		[/random]
		[random]
			value="1151847576"
		[/random]
		[random]
			value="1684615774"
		[/random]
		[random]
			value="912911570"
		[/random]
		[random]
			value="1681582822"
		[/random]
		[random]
			value="1477694834"
		[/random]
		[random]
			value="2116181130"
		[/random]
		[random]
			value="32090296"
		[/random]
		[random]
			value="323209475"
		[/random]
		[random]
			value="1195503062"
			[results]
				checksum="6hs5opl9pneud6314Hg106a+elObfd5dh>d-kgk5j40fd5c,laoh2>q4W68<jj1,,Bh1+4l10mji0WUg681h64jGjKk7ELbfXlO69>IPFNIDBGnoCSO3srDyLKztBBJx"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sliss has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16"
			y="12,13,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15,14"
			y="15,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,13"
			y="18,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,13,13,12"
			y="19,20,21,21"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rebeldi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18,17,16,15,14,13"
			y="24,23,23,23,23,22,23"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,12,11"
			y="23,23,23"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jdavid has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		[move]
			x="8,8,8,9,10,10,10"
			y="17,18,19,20,20,21,22"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="10"
				y="22"
			[/source]
			[destination]
				x="11"
				y="23"
			[/destination]
		[/attack]
		[random]
			value="1549927536"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="427596906"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1298653117"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="10,9,8,7,7,8,9,10"
			y="20,21,20,21,22,22,23,23"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="10"
				y="23"
			[/source]
			[destination]
				x="11"
				y="23"
			[/destination]
		[/attack]
		[random]
			value="314008625"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="232522579"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2108682375"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="mul has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="16,15,14,13,12"
			y="21,22,22,23,23"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="23"
			[/source]
			[destination]
				x="11"
				y="23"
			[/destination]
		[/attack]
		[random]
			value="1842949699"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="841345626"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1800783457"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1436044112"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="46624109"
			[results]
				chance="60"
				damage="6"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="8,8,8,8,9,10"
			y="16,17,18,19,20,20"
		[/move]
	[/command]
	[command]
		[move]
			x="11,10,10,10,10"
			y="15,14,13,12,11"
		[/move]
	[/command]
	[command]
		[move]
			x="10,10"
			y="11,10"
		[/move]
	[/command]
	[command]
		[move]
			x="8,9,10,11"
			y="8,8,7,7"
		[/move]
	[/command]
	[command]
		[move]
			x="15,14,13,12,11,10,9"
			y="4,4,5,4,4,4,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="StarWarior has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Hegro has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,9,8,8,7,7,6"
			y="13,12,11,10,10,9,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Flamechamp has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="_Sky_ has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="cmarcatto5 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,10,11,11"
			y="16,15,15,14"
		[/move]
	[/command]
	[command]
		[move]
			x="11,11"
			y="16,15"
		[/move]
	[/command]
	[command]
		[move]
			x="12,11,11"
			y="14,15,16"
		[/move]
	[/command]
	[command]
		[move]
			x="11,12"
			y="15,14"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="14"
			[/source]
			[destination]
				x="12"
				y="13"
			[/destination]
		[/attack]
		[random]
			value="2010352983"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="208096067"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="154210193"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="18061541"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1900124930"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="554901248"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="12"
				y="14"
			[/source]
			[destination]
				x="13"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1866089619"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="793005820"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1902538824"
			[results]
				chance="70"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rolf has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="4"
			x="11"
			y="15"
		[/recruit]
		[random]
			value="1227398643"
		[/random]
		[random]
			value="1513395976"
		[/random]
		[random]
			value="930904059"
		[/random]
		[random]
			value="555381333"
		[/random]
		[random]
			value="860373362"
		[/random]
		[random]
			value="717983065"
		[/random]
		[random]
			value="473943496"
		[/random]
		[random]
			value="555735631"
		[/random]
		[random]
			value="2061874927"
		[/random]
		[random]
			value="822787177"
		[/random]
		[random]
			value="1801527122"
		[/random]
		[random]
			value="93971569"
		[/random]
		[random]
			value="1979436143"
		[/random]
		[random]
			value="1555437810"
		[/random]
		[random]
			value="2064866199"
			[results]
				checksum="4zf1OSv,C7F>rbJjGs8AZ92.m<LzFBEHnuR73QRpoMa2r4.k-cpOaw87,.Y8Z.5ndaB-kwWvSlbAfbufC3iaj7hobd->Zhepk<>2fa5>ai01-b1+6Z+40CN5c8b.>X,4"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="thomas has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="HammerTYME has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="branko has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ChrisNihilus has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Marckraft has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Robby has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="insomniach has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Michael has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,10,10,9,8,8"
			y="15,16,17,18,18,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="topace has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Codazzo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,11"
			y="13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="2"
			[source]
				x="11"
				y="13"
			[/source]
			[destination]
				x="11"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="595241828"
			[results]
				chance="60"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1802067816"
			[results]
				chance="80"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="945740290"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2106385445"
			[results]
				chance="80"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Hootyhoot has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rebeldi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15,14,13,12"
			y="12,13,13,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="12"
				y="13"
			[/source]
			[destination]
				x="11"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1851161253"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="663454879"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="603365113"
			[results]
				chance="60"
				damage="8"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dusancic has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,14"
			y="14,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16,15,14,13"
			y="11,12,12,13,13,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="13"
				y="14"
			[/source]
			[destination]
				x="12"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="451618208"
			[results]
				chance="40"
				damage="12"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="531433"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1840800"
			[results]
				chance="40"
				damage="12"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1340552350"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Danuis has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="shaade has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="slowthinker has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jdavid has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18,17,16,15,14,13"
			y="17,16,16,16,17,17,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,13,13"
			y="21,22,23"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="13"
				y="23"
			[/source]
			[destination]
				x="12"
				y="23"
			[/destination]
		[/attack]
		[random]
			value="1193347157"
			[results]
				chance="60"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="405779329"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1743643209"
			[results]
				chance="60"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="m4estr0 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,14"
			y="15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,17,16,15,14,13"
			y="12,13,13,14,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="13"
				y="15"
			[/source]
			[destination]
				x="12"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="582616036"
			[results]
				chance="40"
				damage="5"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15,14,13,12,11"
			y="13,14,13,13,13,14"
		[/move]
	[/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="1747710231"
			[results]
				chance="40"
				damage="14"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="942277552"
			[results]
				chance="60"
				damage="6"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="124296692"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1758118988"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,13,12"
			y="13,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="14"
			[/source]
			[destination]
				x="11"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="1010908629"
			[results]
				chance="40"
				damage="12"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,13,12,11"
			y="14,15,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="11"
				y="15"
			[/source]
			[destination]
				x="11"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="638621821"
			[results]
				chance="40"
				damage="11"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="180081875"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="388198869"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="379810729"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1996440515"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="753291792"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,14,13,12"
			y="16,15,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="2"
			[source]
				x="12"
				y="15"
			[/source]
			[destination]
				x="11"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="510500473"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="53882205"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="272993345"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2036686242"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Rebeldi has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="14,13,12,11,10,10"
			y="15,15,14,14,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="10"
				y="15"
			[/source]
			[destination]
				x="11"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="1928025841"
			[results]
				chance="60"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1025710035"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="372362280"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2059137771"
			[results]
				chance="30"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1290454325"
			[results]
				chance="60"
				damage="4"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="martona has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="p5ych0p4N has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,16,15,14,13,12,11"
			y="13,13,14,14,15,15,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="15,16,17,18"
			y="8,7,8,7"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gaz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,19"
			y="7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Philosoraptor has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="zipoz has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[recruit]
			value="5"
			x="6"
			y="18"
		[/recruit]
		[random]
			value="1351216193"
		[/random]
		[random]
			value="1702965356"
		[/random]
		[random]
			value="1035781551"
		[/random]
		[random]
			value="957913823"
		[/random]
		[random]
			value="13944143"
		[/random]
		[random]
			value="742510831"
		[/random]
		[random]
			value="800500999"
		[/random]
		[random]
			value="1320072962"
		[/random]
		[random]
			value="1943090643"
		[/random]
		[random]
			value="186367950"
		[/random]
		[random]
			value="892296455"
		[/random]
		[random]
			value="1040602173"
		[/random]
		[random]
			value="1598626291"
		[/random]
		[random]
			value="1312658426"
		[/random]
		[random]
			value="1960202104"
			[results]
				checksum="dfk10b5br.kQp.+wk<Ab-239eel1N5llg71o3Xl17<1,5g7Z-k6kZlaGnZ68p4>gn6n3e1iafnb5+9fo4>73a+>+.57mc,6d1edjnNmi-f,a8gbj.r.awWGe+,PQ3hpQ"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="10,9,8,7,7,7"
			y="23,23,22,22,21,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="hmm has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,10"
			y="20,21"
		[/move]
	[/command]
	[command]
		[move]
			x="10,10,10"
			y="21,22,23"
		[/move]
	[/command]
	[command]
		[move]
			x="10,9"
			y="23,24"
		[/move]
	[/command]
	[command]
		[move]
			x="10,10,10"
			y="22,21,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Lord-Riddok has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,9,9,8,7,7"
			y="4,5,6,6,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="King_Marco has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="6,6,7,7,8,8,9"
			y="8,7,7,6,5,4,4"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="jasonchang has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="10,11,12,13,14"
			y="10,10,9,9,8"
		[/move]
	[/command]
	[command]
		[move]
			x="14,15"
			y="8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Gambit has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="266000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="joseluisizquierdo has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Szopaa has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Baal has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,14,15,16,17,18"
			y="23,22,22,21,21,20"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="ZetaLambdaNinja has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="FongMan has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="snowbear has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="PsychoticKittens has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Sliss has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="sartori69 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,12,13,14,15,16,17"
			y="13,13,13,13,13,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="drks has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Ferro95 has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,14,15,16,17,17"
			y="14,13,13,12,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10,10,10"
			y="14,13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10"
			y="11,10"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Angel has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10,9,8"
			y="15,15,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,12,11,10,9"
			y="17,17,18,17,18"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10,9,8,7"
			y="16,16,16,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tarrasque has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="brunogama has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Joli has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,11,11"
			y="14,15,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,12,11,10"
			y="15,15,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,11"
			y="15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,12,11,10"
			y="13,14,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,12,13"
			y="15,14,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="4"
			x="11"
			y="15"
		[/recruit]
		[random]
			value="373959300"
		[/random]
		[random]
			value="1596803978"
		[/random]
		[random]
			value="381321687"
		[/random]
		[random]
			value="782390761"
		[/random]
		[random]
			value="599149546"
		[/random]
		[random]
			value="355598839"
		[/random]
		[random]
			value="102697472"
		[/random]
		[random]
			value="1607043363"
		[/random]
		[random]
			value="675973622"
		[/random]
		[random]
			value="900172324"
		[/random]
		[random]
			value="173956353"
		[/random]
		[random]
			value="959181304"
		[/random]
		[random]
			value="1947921946"
		[/random]
		[random]
			value="335947907"
		[/random]
		[random]
			value="541964986"
			[results]
				checksum="6hs5opl9mneud6314Hg106a+elObfd5dh>d-kgk5j40fd5c,laoh2>q4W68<jj1,,Bh1+4l10mji0YUg681h64jGjKk7ELbfXlO69>IPFNIDBGnBCSO3srDyLKztBBHx"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,11"
			y="16,17"
		[/move]
	[/command]
	[command]
		sent="yes"
		[recruit]
			value="2"
			x="10"
			y="16"
		[/recruit]
		[random]
			value="1948545533"
		[/random]
		[random]
			value="79156381"
		[/random]
		[random]
			value="1088917974"
		[/random]
		[random]
			value="588749284"
		[/random]
		[random]
			value="1652054459"
		[/random]
		[random]
			value="1263220350"
		[/random]
		[random]
			value="921088208"
		[/random]
		[random]
			value="1667384280"
		[/random]
		[random]
			value="1213484257"
		[/random]
		[random]
			value="377711840"
		[/random]
		[random]
			value="241234348"
		[/random]
		[random]
			value="2124044947"
		[/random]
		[random]
			value="1202760148"
		[/random]
		[random]
			value="526238225"
		[/random]
		[random]
			value="1148189229"
			[results]
				checksum="<3l85mndU3eF>a,..P305kg7W0d6cpzj<c3>k7>a,+alX1ah,2Wi<0o.-bnee7bo56d2incd,4Z6occi44H-f-5057b>02aa.o6Z+40CN5c8b.<X,48D.7v393e4xt<3"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dusancic has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="15,14,13,12,11"
			y="9,8,9,9,10"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="11"
				y="10"
			[/source]
			[destination]
				x="10"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="1166063575"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1054815482"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1836586573"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1255568558"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="7,7,7,8,8,9"
			y="8,9,10,10,11,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="d4sUnter has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="9,9"
			y="12,11"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="-1"
			weapon="1"
			[source]
				x="9"
				y="11"
			[/source]
			[destination]
				x="10"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="794081518"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1345205769"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="524522709"
			[results]
				chance="40"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="11,10,9,8,7,7"
			y="7,7,8,8,9,10"
		[/move]
	[/command]
	[command]
		[move]
			x="9,8,7,7,7,6,5"
			y="4,4,5,6,7,7,8"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dusancic has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kos has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kos has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="RumcajsPL has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="kos has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="6,5"
			y="18,18"
		[/move]
	[/command]
	[command]
		[recruit]
			value="1"
			x="6"
			y="18"
		[/recruit]
		[random]
			value="1556883125"
		[/random]
		[random]
			value="1399381303"
		[/random]
		[random]
			value="1180096872"
		[/random]
		[random]
			value="1062016949"
		[/random]
		[random]
			value="109368071"
		[/random]
		[random]
			value="1417917872"
		[/random]
		[random]
			value="32941838"
		[/random]
		[random]
			value="1429562189"
		[/random]
		[random]
			value="452856112"
		[/random]
		[random]
			value="1122683714"
		[/random]
		[random]
			value="1996393036"
		[/random]
		[random]
			value="1837805792"
		[/random]
		[random]
			value="1292765113"
		[/random]
		[random]
			value="1994539077"
		[/random]
		[random]
			value="22379793"
			[results]
				checksum="KFLvyin74-,rpeaEvE02ij,1f-H<ltHpHl.4.Zv+KOuxJJEBpQwGOLzIDBBrtvLGpNIMjJxOsDGJKEAIFmsFKnyPOyvu3tJHxVzEnyVqOuyLwrBF>8AJxGsqutBis5-V"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="toasty has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Edax has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="sardinha has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="lucas has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="8,7,6,6,5,5,6"
			y="19,19,18,17,17,16,15"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="6"
				y="15"
			[/source]
			[destination]
				x="7"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="801425408"
			[results]
				chance="40"
				damage="11"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="576183762"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1999872180"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1343129501"
			[results]
				chance="70"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="639592296"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="psarda has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="5,5,6"
			y="18,17,16"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="6"
				y="16"
			[/source]
			[destination]
				x="7"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="343756937"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1372457783"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="968105384"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="170906852"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1852357457"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1096054439"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="10,9,8,7,7,7"
			y="20,20,19,19,18,17"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="2"
			weapon="1"
			[source]
				x="7"
				y="17"
			[/source]
			[destination]
				x="7"
				y="16"
			[/destination]
		[/attack]
		[random]
			value="467183971"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1845883902"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="970511448"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="772504708"
			[results]
				chance="60"
				damage="8"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1361996078"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[move]
			x="9,9,10,10,10,9,8"
			y="24,23,22,21,20,20,19"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Bad_Player has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="7,7,6,6,5,5,5,6"
			y="20,19,18,17,17,16,15,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Vasquez has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[countdown_update]
			team="1"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="BM has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="8"
				y="16"
			[/source]
			[destination]
				x="7"
				y="17"
			[/destination]
		[/attack]
		[random]
			value="1842967699"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2122506904"
			[results]
				chance="50"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1642537915"
			[results]
				chance="60"
				damage="9"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="drks has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="DrDabic has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Pentarctagon has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="7,8,8,8,8,8"
			y="16,15,14,13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="8"
				y="11"
			[/source]
			[destination]
				x="9"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="2026604394"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="749638595"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1179138974"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="382813398"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="910430869"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="365000754"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="dusancic has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="brunogama has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,10,10,9"
			y="15,14,13,12,12"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="9"
				y="12"
			[/source]
			[destination]
				x="9"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="2110987840"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="224615853"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="564051358"
			[results]
				chance="60"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="69499100"
			[results]
				chance="50"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1217105890"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1936433340"
			[results]
				chance="50"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="12,12,11,10,10,10"
			y="15,14,14,13,12,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="10"
				y="11"
			[/source]
			[destination]
				x="9"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="503803782"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="95022421"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="388552418"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1109622547"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1562387556"
			[results]
				chance="60"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1224718809"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="thermophilus has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="oesis has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="10"
				y="10"
			[/source]
			[destination]
				x="11"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="234136113"
			[results]
				chance="70"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="378921184"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1488150058"
			[results]
				chance="70"
				damage="9"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1846094734"
			[results]
				chance="40"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Shadrak has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="drk has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tarcisio has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="19,18,18,17,16,15,14,13,12"
			y="8,8,9,10,9,9,8,9,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="12"
				y="9"
			[/source]
			[destination]
				x="11"
				y="10"
			[/destination]
		[/attack]
		[random]
			value="699534613"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1761839835"
			[results]
				chance="60"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1990483708"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="489022381"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="2145450055"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Edax has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="13,12,11,10,9,8,7"
			y="15,14,15,15,15,15,15"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="7"
				y="15"
			[/source]
			[destination]
				x="6"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="774685541"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="428896874"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="446475786"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1030615863"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1190789092"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1362070250"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Edax has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="RumcajsPL has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="9,9,9,9,8,7"
			y="18,17,16,15,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="7"
				y="14"
			[/source]
			[destination]
				x="6"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1640306154"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1270063873"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="447182102"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="286221425"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="390026307"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="21899427"
			[results]
				chance="40"
				damage="4"
				dies="no"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10,9,8,7,6"
			y="15,14,14,13,13,13"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="6"
				y="13"
			[/source]
			[destination]
				x="6"
				y="14"
			[/destination]
		[/attack]
		[random]
			value="1948330315"
			[results]
				chance="40"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="10,10,9,8,7,6"
			y="16,15,15,14,14,14"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="6"
				y="14"
			[/source]
			[destination]
				x="6"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="128819600"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="608264177"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1164278855"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2017629869"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="788326198"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1059813497"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[move]
			x="11,10,9,8,7"
			y="17,16,16,16,16"
		[/move]
	[/command]
	[command]
		sent="yes"
		[attack]
			defender_weapon="1"
			weapon="1"
			[source]
				x="7"
				y="16"
			[/source]
			[destination]
				x="6"
				y="15"
			[/destination]
		[/attack]
		[random]
			value="28653889"
			[results]
				chance="70"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1624194142"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1511527411"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1542708538"
			[results]
				chance="40"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2074937833"
			[results]
				chance="70"
				damage="5"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1326730577"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="yura has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Deany has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[move]
			x="18,17,16"
			y="20,21,21"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="16,15,14,13"
			y="21,22,22,22"
		[/move]
	[/command]
	[command]
		sent="yes"
		[move]
			x="17,17,16,15,14,13"
			y="11,10,9,9,8,9"
		[/move]
	[/command]
	[command]
		sent="yes"
		[countdown_update]
			team="2"
			value="270000"
		[/countdown_update]
	[/command]
	[command]
		sent="yes"
		[end_turn]
		[/end_turn]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="drk has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Dragon has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="5,5,5,6,7"
			y="8,9,10,10,11"
		[/move]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="7"
				y="11"
			[/source]
			[destination]
				x="8"
				y="11"
			[/destination]
		[/attack]
		[random]
			value="824417374"
			[results]
				chance="40"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="48086342"
			[results]
				chance="70"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="484784037"
			[results]
				chance="40"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="drks has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Tarrasque has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Jah-works has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Pedromir has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[move]
			x="7,8,8"
			y="10,10,11"
		[/move]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="drks has logged into the lobby"
		[/speak]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="1"
			[source]
				x="8"
				y="11"
			[/source]
			[destination]
				x="9"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="424401735"
			[results]
				chance="50"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1098156175"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="773357105"
			[results]
				chance="50"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1633255560"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="682506128"
			[results]
				chance="50"
				damage="7"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1343834781"
			[results]
				chance="60"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
		[random]
			value="1281569164"
			[results]
				chance="50"
				damage="0"
				dies="no"
				hits="no"
			[/results]
		[/random]
	[/command]
	[command]
		[attack]
			defender_weapon="0"
			weapon="0"
			[source]
				x="9"
				y="11"
			[/source]
			[destination]
				x="9"
				y="12"
			[/destination]
		[/attack]
		[random]
			value="1971096519"
			[results]
				chance="50"
				damage="10"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="2007365943"
			[results]
				chance="60"
				damage="3"
				dies="no"
				hits="yes"
			[/results]
		[/random]
		[random]
			value="1693739932"
			[results]
				chance="50"
				damage="10"
				dies="yes"
				hits="yes"
			[/results]
		[/random]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="dr_snuggles"
			message="what a mess..."
			side="2"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="KnightKunibert"
			message="gg :-)"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="PK has logged into the lobby"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Arystos has logged into the lobby"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="KnightKunibert"
			message="you risked your leader :-)"
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="dr_snuggles"
			message="thats always may prob..."
			side="2"
		[/speak]
	[/command]
	[command]
		sent="yes"
		undo="no"
		[speak]
			id="dr_snuggles"
			message="whatever"
			side="2"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="KnightKunibert"
			message="otherwise you would have won :-)"
			side="1"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="KnightKunibert"
			message="i know that problem ..."
			side="1"
		[/speak]
	[/command]
	[command]
		sent="yes"
		[speak]
			id="server"
			message="Balance has logged into the lobby"
		[/speak]
	[/command]
	[command]
		undo="no"
		[speak]
			id="KnightKunibert"
			message="thx and CU "
			side="1"
		[/speak]
	[/command]
[/replay]
[snapshot]
	campaign_type="multiplayer"
	completion="running"
	current_tod="1"
#textdomain wesnoth-multiplayer
	description=_ "Players must traverse all manner of terrain in pursuit of victory on this multi-fronted duel map."
	difficulty="NORMAL"
	end_text_duration="0"
	experience_modifier="70"
	hash="cy9,5.FpN3rBcL.L4e+O18wLdEdI4Tz0IvgfbwAuK9N2059<42Xr0yhIQSuhssS,4T<A9.6ab>JpBPvMvrcHSQVHi2E+1XTwfH7D.FR+I29N,oCK6dipd3xe.OJ>Piko"
	id="multiplayer_Silverhead_Crossing"
	label="2p - Silverhead Crossing"
	map_data="border_size=1
usage=map

Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Ww          , Ww          , Wo          , Ww          , Ww          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          
Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Ww          , Wo          , Ww          , Ww          , Ww          , Ww          , Uh          , Xu          , Xu          , Ww          , Hh          , Wo          , Ww          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          
Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Ww          , Ww          , Ww          , Gs^Fp       , Ww          , Xu          , Xu          , Gs^Fp       , Uu^Uf       , Uh          , Gs^Fp       , Mm          , Gg^Fet      , Ww          , Ww          , Ww          , Ww          , Ww          , Wo          , Ww          , Wo          , Wo          
Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Ww          , Ww          , Hh          , Gg          , Gg          , Gg          , Gg          , Uh          , Gg          , Gg          , Gg          , Ggf         , Gg          , Gg          , Gg          , Gs^Fp       , Hh          , Mm          , Gs^Fms      , Ww          , Ww          , Wo          , Wo          
Wo          , Wo          , Wo          , Wo          , Ww          , Wo          , Ww          , Mm          , Gs^Fms      , Gg^Ve       , Gg          , Gg          , Wwf         , Wwf         , Wwf         , Wo          , Wwf         , Gg          , Gg          , Gg          , Rr          , Gg^Vc       , Gg          , Wwf         , Chw         , Hh          , Gs^Fp       , Ww          , Wo          
Wo          , Wo          , Wo          , Wo          , Ww          , Ww          , Gg          , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Gg          , Gs^Fp       , Xu          , Wwf         , Xu          , Wwf         , Wwf         , Gg          , Wwf         , Wwf         , Wwf         , Chw         , Rr          , Rr          , Wwf         , Ww          , Wo          
Wo          , Wo          , Wo          , Ww          , Ww          , Gs^Fp       , Rd          , Chw         , Kh          , Ch          , Gg          , Gg          , Rd          , Rd^Uf       , Uh          , Xu          , Xu          , Rd^Uf       , Xu          , Wwf         , Wwf         , Gg          , Gg          , Hh          , Hh          , Wwf         , Ww          , Ww          , Xu          
Wo          , Wo          , Wo          , Wo          , Gg          , Ggf         , Hh          , Mm          , Wwf         , Chw         , Rd          , Uu^Vud      , Uu          , Ur          , Uu^Uf       , Ur          , Gs^Fp       , Xu          , Rd          , Gg          , Wwf         , Gg          , Gg          , Gg^Ve       , Gg^Fet      , Wwf         , Gs^Fp       , Ww          , Xu          
Wo          , Wo          , Ww          , Ww          , Ww          , Gg^Ve       , Wwf         , Gg^Fet      , Wwf         , Ggf         , Xu          , Uu          , Xu          , Uu^Uf       , Wwf         , Uh          , Xu          , Rd          , Gg          , Gg^Ve       , Kh          , Wwf         , Gg          , Gg          , Xu          , Wwf         , Wwf         , Xu          , Xu          
Wo          , Wo          , Ww          , Ww          , Gg          , Wwf         , Gg          , Wwf         , Xu          , Xu          , Gg          , Xu          , Gg          , Gg          , Ww          , Gg          , Gg          , Xu          , Gg          , Gg          , Ww          , Chw         , Ch          , Gg          , Xu          , Xu          , Uh          , Xu          , Xu          
Ww          , Ww          , Ww          , Gg          , Gg          , Gs^Fds      , Gg          , Rd          , Gg          , Gg          , Gg^Vc       , Gg          , Gs^Fms      , Ww          , Wo          , Ww          , Ww          , Gg          , Wwf         , Wwf         , Gg          , Ww          , Kh          , Gg          , Rd          , Gs^Fp       , Rd          , Xu          , Xu          
Ww          , Ww          , Gg          , Gg          , 1 Kh        , Gg          , Rd          , Rd          , Mm          , Gs^Fp       , Gg          , Gg          , Gg          , Ww          , Wo          , Wo          , Ww          , Wwf         , Kh          , Gs^Fms      , Ggf         , Gg          , Gg          , Gg          , Hh          , Rd          , Gg          , Xu          , Xu          
Ww          , Ww          , Ggf         , Gg          , Ch          , Ch          , Ggf         , Gg          , Gg          , Hh          , Gg          , Gs^Fp       , Ww          , Ww          , Ww          , Ww          , Wwf         , Ss^Vhs      , Kh          , Gg          , Hh          , Gs^Fds      , Gg          , Mm          , Gg          , Gg          , Ww          , Gg          , Gg          
Ww          , Gg          , Gg          , Rd          , Ch          , Ch          , Gg          , Gg          , Gg          , Gg          , Hh          , Ww          , Wwf         , Wwf         , Rr          , Rr          , Chw         , Chw         , Wwf         , Gg          , Gg          , Gg          , Wwf         , Gg          , Wwf         , Gs^Fp       , Ww          , Ww          , Ww          
Ww          , Wwf         , Wwf         , Wwf         , Wwf         , Ch          , Kh          , Wwf         , Wwf         , Gg          , Wwf         , Wwf         , Chw         , Wwf         , Rr          , Wwf         , Wwf         , Wwf         , Gs^Fp       , Wwf         , Wwf         , Wwf         , 2 Kud       , Wwf         , Gg          , Wwf         , Ww          , Wo          , Wo          
Gs^Fds      , Gs^Fms      , Hh          , Gg          , Gg          , Wwf         , Wwf         , Wwf         , Gg          , Wwf         , Kh          , Chw         , Wwf         , Rr          , Mm          , Wwf         , Ww          , Ww          , Gg          , Gg          , Hh          , Gg          , Gg          , Cud         , Cud         , Gg          , Gg          , Ww          , Xu          
Rd          , Rd          , Rd          , Gg          , Rd          , Gg          , Gs^Fp       , Mm          , Hh          , Gg          , Kh          , Ss^Vhs      , Ww          , Ww          , Wo          , Ww          , Ww          , Ww          , Gg          , Gg          , Gg          , Mm          , Gg          , Kud         , Cud         , Rd          , Gg          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Rd          , Rd          , Rd          , Rd          , Gg          , Gg          , Wwf         , Wwf         , Ww          , Ww          , Ww          , Ww          , Ww          , Gs^Fms      , Ggf         , Gg^Ve       , Gs^Fds      , Gg          , Cud         , Cud         , Gg          , Rd          , Xu          , Xu          , Xu          
Xu          , Xu          , Uu^Uf       , Uu^Uf       , Uh          , Gg          , Kud         , Gg          , Wwf         , Wwf         , Xu          , Ww          , Hh          , Gs^Fp       , Gs^Fp       , Hh          , Ww          , Gg          , Hh          , Hh          , Xu          , Rd          , Rd          , Gg          , Rd          , Rd          , Gg          , Uu^Uf       , Uu^Uf       
Xu          , Xu          , Cud         , Wwf         , Xu          , Xu          , Wwf         , Cud         , Kud         , Xu          , Xu          , Xu          , Xu          , Cud         , Xu          , Cud         , Xu          , Xu          , Xu          , Xu          , Gs^Fp       , Gg          , Rd          , Rd          , Gg          , Gg          , Gs^Fp       , Xu          , Xu          
Xu          , Xu          , Cud         , Wwf         , Wwf         , Ww          , Gg          , Cud         , Rd          , Rd          , Uu^Vu       , Ur          , Uu^Uf       , Wwf^Uf      , Xu          , Wwf^Uf      , Uu^Uf       , Ur          , Uu^Vu       , Rd          , Rd          , Gg          , Rd          , Gg          , Uu^Vud      , Uu^Uf       , Cud         , Xu          , Xu          
Wwf         , Wwf         , Wwf         , Wwf         , Gs^Fp       , Gg^Vc       , Rd          , Rd          , Xu          , Ur          , Ur          , Uh          , Uh          , Wwf         , Wwf         , Wwf         , Uh          , Uh          , Ur          , Ur          , Xu          , Rd          , Gg          , Gg          , Gg          , Ur          , Cud         , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Gg          , Ggf         , Mm          , Rd          , Rd          , Xu          , Rd          , Xu          , Wwf         , Wwf         , Ggf         , Wwf         , Wwf         , Xu          , Rd          , Xu          , Rd          , Rd          , Kud         , Gg          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Hh          , Gs^Fp       , Gg          , Gg          , Rd          , Gg          , Gg          , Wwf         , Mm          , Gs^Fp       , Hh          , Gg          , Wwf         , Gg          , Rd          , Gg          , Cud         , Cud         , Cud         , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Rd^Uf       , Gg          , Gs^Fms      , Gg^Ve       , Gg          , Wwf         , Gg          , Gg          , Gg          , Gs^Fms      , Gg          , Wwf         , Gg          , Gg^Ve       , Gs^Fds      , Rd          , Rd^Uf       , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Ur          , Xu          , Xu          , Ggf         , Gg          , Wwf         , Gg          , Hh          , Gg          , Mm          , Hh          , Wwf         , Wwf         , Ggf         , Xu          , Xu          , Ur          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Ur          , Xu          , Rr          , Xu          , Wwf         , Wwf         , Gs^Fp       , Gg          , Xu          , Gg          , Gg          , Gg          , Wwf         , Xu          , Xu          , Ur          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Rr          , Wwf         , Chw         , Wwf         , Rr          , Ur          , Xu          , Uu^Uf       , Xu          , Ur          , Gs^Fp       , Rr          , Wwf         , Wwf         , Chw         , Wwf         , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Wwf         , Xu          , Xu          , Rr          , Rr          , Wwf         , Uh          , Wwf         , Uu^Uf       , Wwf         , Rr          , Rr          , Rr          , Rr          , Wwf         , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Wo          , Wwf         , Ur          , Wwf         , Wo          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Uh          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
"
	mp_countdown="yes"
	mp_countdown_action_bonus="20"
	mp_countdown_init_time="270"
	mp_countdown_reservoir_time="270"
	mp_countdown_turn_bonus="200"
	mp_fog="yes"
	mp_shroud="no"
	mp_use_map_settings="yes"
	mp_village_gold="2"
	name=_ "2p - Silverhead Crossing"
	next_underlying_unit_id="36"
#textdomain wesnoth
	objectives=_ "Victory:
@Defeat enemy leader(s)"
	observer="yes"
	playing_team="0"
	random_calls="1"
	random_seed="1884764481"
	random_start_time="no"
	snapshot="yes"
	turn_at="14"
	turns="-1"
	unit_wml_ids="Drake Burner,Drake Clasher,Drake Fighter,Drake Warrior,Goblin Spearman,Naga Fighter,Orcish Archer,Orcish Assassin,Orcish Crossbowman,Orcish Grunt,Saurian Augur,Saurian Skirmisher,Troll Whelp,Wolf Rider,era_events"
	version="1.6"
	[side]
		action_bonus_count="3"
		aggression="0.5"
		allow_player="yes"
		caution="0.25"
		colour="1"
		controller="human"
		countdown_time="221065"
		current_player="KnightKunibert"
		disallow_observers="no"
		fog="yes"
		global_recruitment_pattern="fighter,fighter,archer,healer,scout,scout"
		gold="20"
		hidden="no"
		id="KnightKunibert1"
		income="0"
		leader_value="3"
		name="KnightKunibert"
		no_leader="yes"
		number_of_possible_recruits_to_force_recruit="3.1"
		objectives=_ "Victory:
@Defeat enemy leader(s)"
		objectives_changed="no"
		recruit="Drake Burner,Drake Clasher,Drake Fighter,Drake Glider,Saurian Augur,Saurian Skirmisher"
		recruitment_pattern="fighter,fighter,archer,healer,scout,scout"
		save_id="KnightKunibert1"
		share_maps="no"
		share_view="yes"
		shroud="no"
		side="1"
		start_gold="100"
		team_name="west"
#textdomain wesnoth-multiplayer
		user_team_name=_ "teamname^West"
		village_gold="2"
		village_value="1"
		villages_per_scout="8"
		[ai]
			recruitment_pattern="fighter,fighter,archer,healer,scout,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="5"
			y="8"
		[/village]
		[village]
			x="5"
			y="21"
		[/village]
		[village]
			x="9"
			y="4"
		[/village]
		[village]
			x="9"
			y="24"
		[/village]
		[village]
			x="10"
			y="20"
		[/village]
		[village]
			x="11"
			y="7"
		[/village]
		[unit]
			advances_to="Drake Blademaster"
			alignment="lawful"
			allow_changes="yes"
			allow_player="yes"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			colour="1"
			controller="human"
			cost="30"
			current_player="KnightKunibert"
			die_sound="drake-die.ogg"
			experience="4"
			facing="se"
			flying="no"
			fog="yes"
			gender="male"
			gold="100"
			goto_x="-999"
			goto_y="-999"
			hitpoints="60"
			id="KnightKunibert1"
			image="units/drakes/warrior.png"
			income="0"
#textdomain wesnoth-units
			language_name=_ "Drake Warrior"
			leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior,Saurian Oracle,Saurian Soothsayer"
			level="2"
			max_attacks="1"
			max_experience="49"
			max_hitpoints="60"
			max_moves="6"
			movement="6"
			movement_type="drakefly"
			moves="6"
			mp_countdown="yes"
			mp_countdown_action_bonus="20"
			mp_countdown_init_time="270"
			mp_countdown_reservoir_time="270"
			mp_countdown_turn_bonus="200"
			name="KnightKunibert"
			profile="portraits/drakes/fighter.png"
			race="drake"
			random_leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior"
			random_traits="no"
			recruit="Drake Burner,Drake Clasher,Drake Glider,Drake Fighter,Saurian Skirmisher,Saurian Augur"
			resting="yes"
			save_id="KnightKunibert1"
			share_maps="no"
			share_view="yes"
			shroud="no"
			side="1"
			team_name="west"
			terrain_liked="Hh, Ha, Ds, Ss"
			type="Drake Warrior"
			undead_variation="drake"
			underlying_id="1"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			user_team_name="wesnoth-multiplayerteamname^West"
			village_gold="2"
			x="6"
			y="15"
			zoc="yes"
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="11"
				description=_ "sword"
				icon="attacks/scimitar.png"
				name="sword"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="3"
				range="ranged"
				type="fire"
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Drake Gladiator,Drake Slasher"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="19"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="7"
			facing="se"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="48"
			id="Drake Clasher-3"
			image="units/drakes/clasher.png"
			language_name=_ "Drake Clasher"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="48"
			max_moves="5"
			movement="5"
			movement_type="drakefoot"
			moves="5"
			name="Marchin"
			profile="portraits/drakes/clasher.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Clasher"
			undead_variation="drake"
			underlying_id="3"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="8"
			y="11"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/clasher-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/clasher-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/clasher-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/clasher-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/clasher-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/clasher-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/clasher-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/clasher-die-8.png"
				[/frame]
				[frame]
					begin="1200"
					end="1350"
					image="units/drakes/clasher-die-9.png"
				[/frame]
				[frame]
					begin="1350"
					end="1500"
					image="units/drakes/clasher-die-10.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/clasher-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
			[/defend]
			[defense]
				castle="60"
				cave="70"
				deep_water="90"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="2"
				sand="1"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="80"
				cold="150"
				fire="50"
				impact="70"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/scimitar.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="6"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="4"
				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]
			[modifications]
				[trait]
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/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="Drake Warrior"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="21"
			facing="se"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="45"
			id="Drake Fighter-4"
			image="units/drakes/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Drake Fighter"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="45"
			max_moves="6"
			movement="6"
			movement_type="drakefly"
			moves="6"
			name="Gartick"
			profile="portraits/drakes/fighter.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Fighter"
			undead_variation="drake"
			underlying_id="4"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="7"
			y="11"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="11"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="11"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="24"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="26"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/fighter-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="scimitar"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					begin="-175"
					end="-100"
					image="units/drakes/fighter-attack-close1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="150"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/fighter-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/fighter-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/fighter-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/fighter-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/fighter-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/fighter-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/fighter-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/fighter-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="8"
				description=_ "scimitar"
				icon="attacks/scimitar.png"
				name="scimitar"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="3"
				range="ranged"
				type="fire"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "resilient"
					[effect]
						apply_to="hitpoints"
						increase_total="4"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
						times="per level"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Fire Drake,Drake Flare"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="21"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="12"
			facing="ne"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="47"
			id="Drake Burner-21"
			image="units/drakes/burner.png"
#textdomain wesnoth-units
			language_name=_ "Drake Burner"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="47"
			max_moves="5"
			movement="5"
			movement_type="drakefly"
			moves="5"
			name="Marisharkon"
			profile="portraits/drakes/burner.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Burner"
			undead_variation="drake"
			underlying_id="21"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="11"
			y="10"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="9"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="9"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="22"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="24"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/burner-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="claws"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/burner-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="claws.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="50"
					end="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[frame]
					begin="100"
					end="175"
					image="units/drakes/burner-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="110"
					image="units/drakes/burner-die-1.png"
				[/frame]
				[frame]
					begin="110"
					end="320"
					image="units/drakes/burner-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/burner-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/burner-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/burner-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/burner-die-6.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="7"
				description=_ "claws"
				icon="attacks/claws-drake.png"
				name="claws"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="6"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="4"
				range="ranged"
				type="fire"
			[/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^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="Fire Drake,Drake Flare"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="21"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="5"
			facing="nw"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="41"
			id="Drake Burner-23"
			image="units/drakes/burner.png"
#textdomain wesnoth-units
			language_name=_ "Drake Burner"
			level="1"
			max_attacks="1"
			max_experience="30"
			max_hitpoints="41"
			max_moves="6"
			movement="5"
			movement_type="drakefly"
			moves="6"
			name="Gaké"
			profile="portraits/drakes/burner.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Burner"
			undead_variation="drake"
			underlying_id="23"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="8"
			y="19"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="9"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="9"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="22"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="24"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/burner-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="claws"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/burner-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="claws.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="50"
					end="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[frame]
					begin="100"
					end="175"
					image="units/drakes/burner-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="110"
					image="units/drakes/burner-die-1.png"
				[/frame]
				[frame]
					begin="110"
					end="320"
					image="units/drakes/burner-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/burner-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/burner-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/burner-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/burner-die-6.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="8"
				description=_ "claws"
				icon="attacks/claws-drake.png"
				name="claws"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="6"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="4"
				range="ranged"
				type="fire"
			[/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="Drake Warrior"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="21"
			facing="s"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="40"
			id="Drake Fighter-24"
			image="units/drakes/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Drake Fighter"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="40"
			max_moves="6"
			movement="6"
			movement_type="drakefly"
			moves="6"
			name="Gratakré Ihn"
			profile="portraits/drakes/fighter.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Fighter"
			undead_variation="drake"
			underlying_id="24"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="9"
			y="11"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="11"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="11"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="24"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="26"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/fighter-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="scimitar"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					begin="-175"
					end="-100"
					image="units/drakes/fighter-attack-close1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="150"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/fighter-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/fighter-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/fighter-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/fighter-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/fighter-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/fighter-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/fighter-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/fighter-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="8"
				description=_ "scimitar"
				icon="attacks/scimitar.png"
				name="scimitar"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="3"
				range="ranged"
				type="fire"
			[/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="Saurian Ambusher"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="15"
			die_sound="hiss-die.wav"
			ellipse="misc/ellipse"
			experience="1"
			facing="ne"
			flag_rgb="magenta"
			flies="false"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="25"
			id="Saurian Skirmisher-33"
			image="units/saurians/skirmisher.png"
#textdomain wesnoth-units
			language_name=_ "Saurian Skirmisher"
			level="1"
			max_attacks="1"
			max_experience="18"
			max_hitpoints="25"
			max_moves="7"
			movement="6"
			movement_type="lizard"
			moves="7"
			name="Flizis"
			profile="portraits/saurians/skirmisher.png"
			race="lizard"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Saurian Skirmisher"
			undead_variation="saurian"
			underlying_id="33"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			x="6"
			y="16"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="spear"
					range="ranged"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/spear-n.png"
					image_diagonal="projectiles/spear-ne.png"
				[/missile_frame]
				[frame]
					begin="-200"
					end="-100"
					image="units/saurians/skirmisher-attack-ranged-1.png"
					sound="throw-1.wav,throw-2.wav,throw-3.wav,throw-4.wav"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack-ranged-2.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack-ranged-2.png"
					[/frame]
				[/else]
			[/attack_anim]
			[attack_anim]
				direction="ne,nw,s,se,sw"
				[filter_attack]
					name="spear"
					range="melee"
				[/filter_attack]
				[frame]
					begin="-150"
					end="-100"
					image="units/saurians/skirmisher-attack1.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack2.png"
						sound="spear-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack2.png"
						sound="spear.ogg"
					[/frame]
				[/else]
				[frame]
					begin="50"
					end="150"
					image="units/saurians/skirmisher-defend.png"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/saurians/skirmisher.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="n"
				[filter_attack]
					name="spear"
					range="melee"
				[/filter_attack]
				[frame]
					begin="-150"
					end="-100"
					image="units/saurians/skirmisher-attack-n1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="90"
						image="units/saurians/skirmisher-attack-n2.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="90"
						image="units/saurians/skirmisher-attack-n2.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="90"
					end="150"
					image="units/saurians/skirmisher-attack1.png"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/saurians/skirmisher.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/saurians/skirmisher.png"
				[/frame]
				[frame]
					duration="100"
					image="units/saurians/skirmisher-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/saurians/skirmisher-defend.png"
						sound="hiss-hit.wav"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/saurians/skirmisher-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/saurians/skirmisher.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]
				[filter]
					[filter_location]
						[not]
							terrain="C*,K*,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-1.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-2.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-3.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-4.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-7.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-8.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-9.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-10.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-11.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-12.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-13.png"
				[/frame]
				[frame]
					duration="225"
					image="units/saurians/skirmisher-idle-12.png"
				[/frame]
				[frame]
					duration="225"
					image="units/saurians/skirmisher-idle-13.png"
				[/frame]
				[frame]
					duration="250"
					image="units/saurians/skirmisher-idle-12.png"
				[/frame]
				[frame]
					duration="250"
					image="units/saurians/skirmisher-idle-13.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/saurians/transparent/skirmisher.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/saurians/transparent/skirmisher.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="40"
				deep_water="80"
				flat="60"
				forest="40"
				frozen="70"
				fungus="40"
				hills="40"
				impassable="40"
				mountains="40"
				reef="60"
				sand="40"
				shallow_water="60"
				swamp_water="40"
				unwalkable="80"
				village="50"
			[/defense]
			[movement_costs]
				castle="1"
				cave="1"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="4"
				fungus="1"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="1"
				shallow_water="3"
				swamp_water="1"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="110"
				cold="120"
				fire="120"
				impact="110"
				pierce="80"
			[/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="4"
#textdomain wesnoth-units
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="4"
				range="melee"
				type="pierce"
			[/attack]
			[attack]
				damage="4"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="2"
				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]
		[unit]
			advances_to="Drake Gladiator,Drake Slasher"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="19"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="ne"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="42"
			id="Drake Clasher-36"
			image="units/drakes/clasher.png"
#textdomain wesnoth-units
			language_name=_ "Drake Clasher"
			level="1"
			max_attacks="1"
			max_experience="32"
			max_hitpoints="42"
			max_moves="6"
			movement="5"
			movement_type="drakefoot"
			moves="6"
			name="Mert'leck"
			profile="portraits/drakes/clasher.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Clasher"
			undead_variation="drake"
			underlying_id="36"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="6"
			y="18"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/clasher-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/clasher-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/clasher-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/clasher-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/clasher-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/clasher-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/clasher-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/clasher-die-8.png"
				[/frame]
				[frame]
					begin="1200"
					end="1350"
					image="units/drakes/clasher-die-9.png"
				[/frame]
				[frame]
					begin="1350"
					end="1500"
					image="units/drakes/clasher-die-10.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/clasher-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
			[/defend]
			[defense]
				castle="60"
				cave="70"
				deep_water="90"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="2"
				sand="1"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="80"
				cold="150"
				fire="50"
				impact="70"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "sword"
				icon="attacks/scimitar.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="7"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="4"
				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]
			[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="Drake Blademaster"
			alignment="lawful"
			allow_changes="yes"
			allow_player="yes"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			colour="1"
			controller="human"
			cost="30"
			current_player="KnightKunibert"
			die_sound="drake-die.ogg"
			experience="4"
			facing="se"
			flying="no"
			fog="yes"
			gender="male"
			gold="100"
			goto_x="-999"
			goto_y="-999"
			hitpoints="60"
			id="KnightKunibert1"
			image="units/drakes/warrior.png"
			income="0"
#textdomain wesnoth-units
			language_name=_ "Drake Warrior"
			leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior,Saurian Oracle,Saurian Soothsayer"
			level="2"
			max_attacks="1"
			max_experience="49"
			max_hitpoints="60"
			max_moves="6"
			movement="6"
			movement_type="drakefly"
			moves="6"
			mp_countdown="yes"
			mp_countdown_action_bonus="20"
			mp_countdown_init_time="270"
			mp_countdown_reservoir_time="270"
			mp_countdown_turn_bonus="200"
			name="KnightKunibert"
			profile="portraits/drakes/fighter.png"
			race="drake"
			random_leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior"
			random_traits="no"
			recruit="Drake Burner,Drake Clasher,Drake Glider,Drake Fighter,Saurian Skirmisher,Saurian Augur"
			resting="yes"
			save_id="KnightKunibert1"
			share_maps="no"
			share_view="yes"
			shroud="no"
			side="1"
			team_name="west"
			terrain_liked="Hh, Ha, Ds, Ss"
			type="Drake Warrior"
			undead_variation="drake"
			underlying_id="1"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			user_team_name="wesnoth-multiplayerteamname^West"
			village_gold="2"
			zoc="yes"
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="11"
				description=_ "sword"
				icon="attacks/scimitar.png"
				name="sword"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="3"
				range="ranged"
				type="fire"
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Drake Gladiator,Drake Slasher"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="19"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="7"
			facing="se"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="48"
			id="Drake Clasher-3"
			image="units/drakes/clasher.png"
			language_name=_ "Drake Clasher"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="48"
			max_moves="5"
			movement="5"
			movement_type="drakefoot"
			moves="5"
			name="Marchin"
			profile="portraits/drakes/clasher.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Clasher"
			undead_variation="drake"
			underlying_id="3"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/clasher-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/clasher-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/clasher-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/clasher-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/clasher-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/clasher-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/clasher-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/clasher-die-8.png"
				[/frame]
				[frame]
					begin="1200"
					end="1350"
					image="units/drakes/clasher-die-9.png"
				[/frame]
				[frame]
					begin="1350"
					end="1500"
					image="units/drakes/clasher-die-10.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/clasher-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
			[/defend]
			[defense]
				castle="60"
				cave="70"
				deep_water="90"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="2"
				sand="1"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="80"
				cold="150"
				fire="50"
				impact="70"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/scimitar.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="6"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="4"
				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]
			[modifications]
				[trait]
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/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="Drake Warrior"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="21"
			facing="se"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="45"
			id="Drake Fighter-4"
			image="units/drakes/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Drake Fighter"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="45"
			max_moves="6"
			movement="6"
			movement_type="drakefly"
			moves="6"
			name="Gartick"
			profile="portraits/drakes/fighter.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Fighter"
			undead_variation="drake"
			underlying_id="4"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="11"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="11"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="24"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="26"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/fighter-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="scimitar"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					begin="-175"
					end="-100"
					image="units/drakes/fighter-attack-close1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="150"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/fighter-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/fighter-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/fighter-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/fighter-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/fighter-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/fighter-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/fighter-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/fighter-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="8"
				description=_ "scimitar"
				icon="attacks/scimitar.png"
				name="scimitar"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="3"
				range="ranged"
				type="fire"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "resilient"
					[effect]
						apply_to="hitpoints"
						increase_total="4"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
						times="per level"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Fire Drake,Drake Flare"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="21"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="12"
			facing="ne"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="47"
			id="Drake Burner-21"
			image="units/drakes/burner.png"
#textdomain wesnoth-units
			language_name=_ "Drake Burner"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="47"
			max_moves="5"
			movement="5"
			movement_type="drakefly"
			moves="5"
			name="Marisharkon"
			profile="portraits/drakes/burner.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Burner"
			undead_variation="drake"
			underlying_id="21"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="9"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="9"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="22"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="24"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/burner-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="claws"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/burner-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="claws.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="50"
					end="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[frame]
					begin="100"
					end="175"
					image="units/drakes/burner-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="110"
					image="units/drakes/burner-die-1.png"
				[/frame]
				[frame]
					begin="110"
					end="320"
					image="units/drakes/burner-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/burner-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/burner-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/burner-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/burner-die-6.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="7"
				description=_ "claws"
				icon="attacks/claws-drake.png"
				name="claws"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="6"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="4"
				range="ranged"
				type="fire"
			[/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^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="Fire Drake,Drake Flare"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="21"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="5"
			facing="nw"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="41"
			id="Drake Burner-23"
			image="units/drakes/burner.png"
#textdomain wesnoth-units
			language_name=_ "Drake Burner"
			level="1"
			max_attacks="1"
			max_experience="30"
			max_hitpoints="41"
			max_moves="6"
			movement="5"
			movement_type="drakefly"
			moves="6"
			name="Gaké"
			profile="portraits/drakes/burner.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Burner"
			undead_variation="drake"
			underlying_id="23"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="9"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="9"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="22"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="24"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/burner-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="claws"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/burner-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="claws.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="50"
					end="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[frame]
					begin="100"
					end="175"
					image="units/drakes/burner-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="110"
					image="units/drakes/burner-die-1.png"
				[/frame]
				[frame]
					begin="110"
					end="320"
					image="units/drakes/burner-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/burner-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/burner-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/burner-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/burner-die-6.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="8"
				description=_ "claws"
				icon="attacks/claws-drake.png"
				name="claws"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="6"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="4"
				range="ranged"
				type="fire"
			[/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="Drake Warrior"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="21"
			facing="s"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="40"
			id="Drake Fighter-24"
			image="units/drakes/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Drake Fighter"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="40"
			max_moves="6"
			movement="6"
			movement_type="drakefly"
			moves="6"
			name="Gratakré Ihn"
			profile="portraits/drakes/fighter.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Fighter"
			undead_variation="drake"
			underlying_id="24"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="11"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="11"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="24"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="26"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/fighter-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="scimitar"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					begin="-175"
					end="-100"
					image="units/drakes/fighter-attack-close1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="150"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/fighter-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/fighter-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/fighter-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/fighter-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/fighter-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/fighter-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/fighter-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/fighter-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="8"
				description=_ "scimitar"
				icon="attacks/scimitar.png"
				name="scimitar"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="3"
				range="ranged"
				type="fire"
			[/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="Saurian Ambusher"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="15"
			die_sound="hiss-die.wav"
			ellipse="misc/ellipse"
			experience="1"
			facing="ne"
			flag_rgb="magenta"
			flies="false"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="25"
			id="Saurian Skirmisher-33"
			image="units/saurians/skirmisher.png"
#textdomain wesnoth-units
			language_name=_ "Saurian Skirmisher"
			level="1"
			max_attacks="1"
			max_experience="18"
			max_hitpoints="25"
			max_moves="7"
			movement="6"
			movement_type="lizard"
			moves="7"
			name="Flizis"
			profile="portraits/saurians/skirmisher.png"
			race="lizard"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Saurian Skirmisher"
			undead_variation="saurian"
			underlying_id="33"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="spear"
					range="ranged"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/spear-n.png"
					image_diagonal="projectiles/spear-ne.png"
				[/missile_frame]
				[frame]
					begin="-200"
					end="-100"
					image="units/saurians/skirmisher-attack-ranged-1.png"
					sound="throw-1.wav,throw-2.wav,throw-3.wav,throw-4.wav"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack-ranged-2.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack-ranged-2.png"
					[/frame]
				[/else]
			[/attack_anim]
			[attack_anim]
				direction="ne,nw,s,se,sw"
				[filter_attack]
					name="spear"
					range="melee"
				[/filter_attack]
				[frame]
					begin="-150"
					end="-100"
					image="units/saurians/skirmisher-attack1.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack2.png"
						sound="spear-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack2.png"
						sound="spear.ogg"
					[/frame]
				[/else]
				[frame]
					begin="50"
					end="150"
					image="units/saurians/skirmisher-defend.png"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/saurians/skirmisher.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="n"
				[filter_attack]
					name="spear"
					range="melee"
				[/filter_attack]
				[frame]
					begin="-150"
					end="-100"
					image="units/saurians/skirmisher-attack-n1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="90"
						image="units/saurians/skirmisher-attack-n2.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="90"
						image="units/saurians/skirmisher-attack-n2.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="90"
					end="150"
					image="units/saurians/skirmisher-attack1.png"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/saurians/skirmisher.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/saurians/skirmisher.png"
				[/frame]
				[frame]
					duration="100"
					image="units/saurians/skirmisher-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/saurians/skirmisher-defend.png"
						sound="hiss-hit.wav"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/saurians/skirmisher-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/saurians/skirmisher.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]
				[filter]
					[filter_location]
						[not]
							terrain="C*,K*,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-1.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-2.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-3.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-4.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-7.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-8.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-9.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-10.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-11.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-12.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-13.png"
				[/frame]
				[frame]
					duration="225"
					image="units/saurians/skirmisher-idle-12.png"
				[/frame]
				[frame]
					duration="225"
					image="units/saurians/skirmisher-idle-13.png"
				[/frame]
				[frame]
					duration="250"
					image="units/saurians/skirmisher-idle-12.png"
				[/frame]
				[frame]
					duration="250"
					image="units/saurians/skirmisher-idle-13.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/saurians/transparent/skirmisher.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/saurians/transparent/skirmisher.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="40"
				deep_water="80"
				flat="60"
				forest="40"
				frozen="70"
				fungus="40"
				hills="40"
				impassable="40"
				mountains="40"
				reef="60"
				sand="40"
				shallow_water="60"
				swamp_water="40"
				unwalkable="80"
				village="50"
			[/defense]
			[movement_costs]
				castle="1"
				cave="1"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="4"
				fungus="1"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="1"
				shallow_water="3"
				swamp_water="1"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="110"
				cold="120"
				fire="120"
				impact="110"
				pierce="80"
			[/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="4"
#textdomain wesnoth-units
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="4"
				range="melee"
				type="pierce"
			[/attack]
			[attack]
				damage="4"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="2"
				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]
		[unit]
			advances_to="Drake Gladiator,Drake Slasher"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="19"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="ne"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="42"
			id="Drake Clasher-36"
			image="units/drakes/clasher.png"
#textdomain wesnoth-units
			language_name=_ "Drake Clasher"
			level="1"
			max_attacks="1"
			max_experience="32"
			max_hitpoints="42"
			max_moves="6"
			movement="5"
			movement_type="drakefoot"
			moves="6"
			name="Mert'leck"
			profile="portraits/drakes/clasher.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Clasher"
			undead_variation="drake"
			underlying_id="36"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/clasher-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/clasher-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/clasher-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/clasher-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/clasher-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/clasher-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/clasher-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/clasher-die-8.png"
				[/frame]
				[frame]
					begin="1200"
					end="1350"
					image="units/drakes/clasher-die-9.png"
				[/frame]
				[frame]
					begin="1350"
					end="1500"
					image="units/drakes/clasher-die-10.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/clasher-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
			[/defend]
			[defense]
				castle="60"
				cave="70"
				deep_water="90"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="2"
				sand="1"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="80"
				cold="150"
				fire="50"
				impact="70"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "sword"
				icon="attacks/scimitar.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="7"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="4"
				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]
			[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]
	[/side]
	[side]
		action_bonus_count="11"
		aggression="0.5"
		allow_player="yes"
		caution="0.25"
		colour="2"
		controller="network"
		countdown_time="270000"
		current_player="dr_snuggles"
		disallow_observers="no"
		fog="yes"
		global_recruitment_pattern="fighter,fighter,fighter,mixed fighter,archer,scout"
		gold="27"
		hidden="no"
		id="dr_snuggles2"
		income="0"
		leader_value="3"
		name="dr_snuggles"
		no_leader="yes"
		number_of_possible_recruits_to_force_recruit="3.1"
		objectives=_ "Victory:
@Defeat enemy leader(s)"
		objectives_changed="yes"
		recruit="Goblin Spearman,Naga Fighter,Orcish Archer,Orcish Assassin,Orcish Grunt,Troll Whelp,Wolf Rider"
		recruitment_pattern="fighter,fighter,fighter,mixed fighter,archer,scout"
		save_id="dr_snuggles2"
		share_maps="no"
		share_view="yes"
		shroud="no"
		side="2"
		start_gold="100"
		team_name="east"
#textdomain wesnoth-multiplayer
		user_team_name=_ "teamname^East"
		village_gold="2"
		village_value="1"
		villages_per_scout="8"
		[ai]
			recruitment_pattern="fighter,fighter,fighter,mixed fighter,archer,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]
		[unit]
			advances_to="Goblin Knight,Goblin Pillager"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="wolf-die.wav"
			ellipse="misc/ellipse"
			experience="1"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="33"
			id="Wolf Rider-10"
			image="units/goblins/wolf-rider.png"
#textdomain wesnoth-units
			language_name=_ "Wolf Rider"
			level="1"
			max_attacks="1"
			max_experience="17"
			max_hitpoints="33"
			max_moves="8"
			movement="8"
			movement_type="orcishfoot"
			moves="8"
			name="Praolg"
			race="wolf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Wolf Rider"
			undead_variation="mounted"
			underlying_id="10"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			x="12"
			y="9"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fangs"
				[/filter_attack]
				[if]
					hits="no"
					[frame]
						begin="-250"
						end="-200"
						image="units/goblins/wolf-rider.png"
						sound="wolf-bite-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-250"
						end="-200"
						image="units/goblins/wolf-rider.png"
						sound="wolf-bite.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-200"
					end="-100"
					image="units/goblins/wolf-rider-moving.png"
				[/frame]
				[frame]
					begin="-100"
					end="50"
					image="units/goblins/wolf-rider-attack.png"
				[/frame]
				[frame]
					begin="50"
					end="100"
					image="units/goblins/wolf-rider-moving.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/goblins/wolf-rider.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/goblins/wolf-rider.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/goblins/wolf-rider-defend.png"
						sound="wolf-hit.wav"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/goblins/wolf-rider-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/goblins/wolf-rider.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/goblins/wolf-rider-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-1.png"
				[/frame]
			[/idle_anim]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/goblins/wolf-rider-moving.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="-50"
				[frame]
					duration="50"
					image="units/goblins/wolf-rider.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				start_time="-50"
				terrain="Wo,Ww,Ww^Vm,Chs,Chw,Ss"
				[frame]
					duration="50"
					image="units/goblins/wolf-rider-water.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="50"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "fangs"
				icon="attacks/fangs-animal.png"
				name="fangs"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Troll,Troll Rocklobber"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="13"
			die_sound="troll-die-1.ogg,troll-die-2.ogg,troll-die-3.ogg"
			ellipse="misc/ellipse"
			experience="8"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="45"
			id="Troll Whelp-12"
			image="units/trolls/whelp.png"
#textdomain wesnoth-units
			language_name=_ "Troll Whelp"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="45"
			max_moves="5"
			movement="4"
			movement_type="largefoot"
			moves="5"
			name="Ga"
			profile="portraits/trolls/whelp.png"
			race="troll"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Troll Whelp"
			undead_variation="troll"
			underlying_id="12"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="13"
			y="22"
			zoc="yes"
			[attack_anim]
				start_time="-250"
				[filter_attack]
					name="fist"
				[/filter_attack]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="fist.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-3.png"
				[/frame]
				[frame]
					duration="75"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[frame]
					duration="50"
					image="units/trolls/whelp.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
						sound="troll-hit-1.ogg,troll-hit-2.ogg,troll-hit-3.ogg,troll-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.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/trolls/whelp-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="175"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="60"
				cave="60"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="1"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="80"
				cold="100"
				fire="100"
				impact="100"
				pierce="80"
			[/resistance]
			[abilities]
				[regenerate]
					affect_self="yes"
#textdomain wesnoth
					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="7"
#textdomain wesnoth-units
				description=_ "fist"
				icon="attacks/fist-troll.png"
				name="fist"
				number="2"
				range="melee"
				type="impact"
			[/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="Orcish Slayer"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="11"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Assassin-13"
			image="units/orcs/assassin.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Assassin"
			level="1"
			max_attacks="1"
			max_experience="17"
			max_hitpoints="31"
			max_moves="6"
			movement="6"
			movement_type="elusivefoot"
			moves="6"
			name="Prong"
			profile="portraits/orcs/assassin.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Assassin"
			underlying_id="13"
			unrenamable="no"
			upkeep="full"
			usage="mixed fighter"
			x="7"
			y="15"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="throwing knives"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/dagger-n.png"
					image_diagonal="projectiles/dagger-ne.png"
				[/missile_frame]
				[if]
					attack_sound_start_time="-200"
					hits="yes"
					[attack_sound_frame]
						sound="throwing-knife.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					attack_sound_start_time="-200"
					hits="no"
					[attack_sound_frame]
						sound="throwing-knife-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					begin="-200"
					end="-100"
					image="units/orcs/assassin-ranged1.png"
				[/frame]
				[frame]
					begin="-100"
					end="0"
					image="units/orcs/assassin-ranged2.png"
				[/frame]
				[if]
					hits="hit"
					poisoned_sound_start_time="-100"
					[filter_second]
						[not]
							[filter_wml]
								[status]
									poisoned="yes"
								[/status]
							[/filter_wml]
						[/not]
					[/filter_second]
					[poisoned_sound_frame]
						duration="100"
						sound="poison.ogg"
					[/poisoned_sound_frame]
				[/if]
			[/attack_anim]
			[attack_anim]
				start_time="-320"
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-1.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-2.png"
				[/frame]
				[if]
					attack_sound_start_time="-100"
					hits="yes"
					[attack_sound_frame]
						sound="dagger-swish.wav"
					[/attack_sound_frame]
				[/if]
				[else]
					attack_sound_start_time="-100"
					hits="no"
					[attack_sound_frame]
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-3.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-attack-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-attack-6.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/assassin-die-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-5.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-die-6.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-die-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-9.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-10.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/orcs/assassin-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend-2.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/assassin-defend-1.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/orcs/assassin.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/assassin.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/orcs/assassin-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-9.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="100"
				blade="130"
				cold="100"
				fire="100"
				impact="120"
				pierce="120"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="7"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="1"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "throwing knives"
				icon="attacks/dagger-thrown-poison-orcish.png"
				name="throwing knives"
				number="3"
				range="ranged"
				type="blade"
				[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]
					[poison]
						description=_ "Poison:
This attack poisons living targets. Poisoned units lose 8 HP every turn until they are cured or are reduced to 1 HP. Poison can not, of itself, kill a unit."
						id="poison"
						name=_ "poison"
					[/poison]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/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="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="13"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Archer-16"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="21"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Hirt"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="16"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="7"
			y="16"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="2"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="30"
			id="Orcish Archer-17"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="17"
			max_hitpoints="30"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Erag"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="17"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="10"
			y="11"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="3"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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="Naga Warrior"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="naga-die.ogg"
			ellipse="misc/ellipse"
			experience="5"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="38"
			id="Naga Fighter-19"
			image="units/nagas/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Naga Fighter"
			level="1"
			max_attacks="1"
			max_experience="18"
			max_hitpoints="38"
			max_moves="7"
			movement="7"
			movement_type="naga"
			moves="7"
			name="Sil"
			profile="portraits/nagas/fighter.png"
			race="naga"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Naga Fighter"
			undead_variation="swimmer"
			underlying_id="19"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="7"
			y="14"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.3,0.3~0.5,0.5~0.60,0.60~0.3,0.3~0.0"
				start_time="-250"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="130"
					image="units/nagas/fighter-melee-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="100"
						image="units/nagas/fighter-melee-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="100"
						image="units/nagas/fighter-melee-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/nagas/fighter-melee-3.png"
				[/frame]
				[frame]
					duration="90"
					image="units/nagas/fighter-melee-4.png"
				[/frame]
				[frame]
					duration="80"
					image="units/nagas/fighter-melee-5.png"
				[/frame]
				[frame]
					duration="70"
					image="units/nagas/fighter-melee-6.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/nagas/fighter-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/nagas/fighter-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/nagas/fighter-defend-2.png"
						sound="naga-hit-1.ogg,naga-hit-2.ogg,naga-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/nagas/fighter-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/nagas/fighter-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/nagas/fighter-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/nagas/fighter-idle-2.png"
				[/frame]
				[frame]
					duration="350"
					image="units/nagas/fighter-idle-3.png"
				[/frame]
				[frame]
					duration="450"
					image="units/nagas/fighter-idle-4.png"
				[/frame]
				[frame]
					duration="250"
					image="units/nagas/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="250"
					image="units/nagas/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="350"
					image="units/nagas/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="350"
					image="units/nagas/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/nagas/fighter-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="50"
				cave="60"
				deep_water="50"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="60"
				mountains="60"
				reef="30"
				sand="60"
				shallow_water="40"
				swamp_water="40"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="2"
				cave="2"
				deep_water="1"
				flat="2"
				forest="3"
				frozen="2"
				fungus="2"
				hills="3"
				impassable="99"
				mountains="5"
				reef="2"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="120"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				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^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="Troll,Troll Rocklobber"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="13"
			die_sound="troll-die-1.ogg,troll-die-2.ogg,troll-die-3.ogg"
			ellipse="misc/ellipse"
			experience="10"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="48"
			id="Troll Whelp-25"
			image="units/trolls/whelp.png"
#textdomain wesnoth-units
			language_name=_ "Troll Whelp"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="48"
			max_moves="4"
			movement="4"
			movement_type="largefoot"
			moves="4"
			name="Trog"
			profile="portraits/trolls/whelp.png"
			race="troll"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Troll Whelp"
			undead_variation="troll"
			underlying_id="25"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="8"
			y="16"
			zoc="yes"
			[attack_anim]
				start_time="-250"
				[filter_attack]
					name="fist"
				[/filter_attack]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="fist.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-3.png"
				[/frame]
				[frame]
					duration="75"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[frame]
					duration="50"
					image="units/trolls/whelp.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
						sound="troll-hit-1.ogg,troll-hit-2.ogg,troll-hit-3.ogg,troll-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.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/trolls/whelp-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="175"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="60"
				cave="60"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="1"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="80"
				cold="100"
				fire="100"
				impact="100"
				pierce="80"
			[/resistance]
			[abilities]
				[regenerate]
					affect_self="yes"
#textdomain wesnoth
					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="8"
#textdomain wesnoth-units
				description=_ "fist"
				icon="attacks/fist-troll.png"
				name="fist"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "resilient"
					[effect]
						apply_to="hitpoints"
						increase_total="4"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
						times="per level"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="3"
			facing="ne"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Archer-26"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="21"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Pogdish"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="26"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="17"
			y="12"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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^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="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="10"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="43"
			id="Orcish Grunt-27"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="43"
			max_moves="5"
			movement="5"
			movement_type="orcishfoot"
			moves="5"
			name="Bor"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Orcish Grunt"
			underlying_id="27"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="11"
			y="16"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="9"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="4"
			facing="ne"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="44"
			id="Orcish Grunt-29"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="44"
			max_moves="5"
			movement="5"
			movement_type="orcishfoot"
			moves="5"
			name="Vrong"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Grunt"
			underlying_id="29"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="10"
			y="10"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="10"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "resilient"
					[effect]
						apply_to="hitpoints"
						increase_total="4"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
						times="per level"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="1"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="43"
			id="Orcish Grunt-31"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="43"
			max_moves="5"
			movement="5"
			movement_type="orcishfoot"
			moves="5"
			name="Punk"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Grunt"
			underlying_id="31"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="13"
			y="9"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="9"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="8"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="41"
			id="Orcish Grunt-34"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="41"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Hadish"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Grunt"
			underlying_id="34"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			x="6"
			y="13"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="9"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				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="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="2"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Archer-35"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="21"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Eragdushnak"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="35"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			x="6"
			y="14"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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="Goblin Knight,Goblin Pillager"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="wolf-die.wav"
			ellipse="misc/ellipse"
			experience="1"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="33"
			id="Wolf Rider-10"
			image="units/goblins/wolf-rider.png"
#textdomain wesnoth-units
			language_name=_ "Wolf Rider"
			level="1"
			max_attacks="1"
			max_experience="17"
			max_hitpoints="33"
			max_moves="8"
			movement="8"
			movement_type="orcishfoot"
			moves="8"
			name="Praolg"
			race="wolf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Wolf Rider"
			undead_variation="mounted"
			underlying_id="10"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fangs"
				[/filter_attack]
				[if]
					hits="no"
					[frame]
						begin="-250"
						end="-200"
						image="units/goblins/wolf-rider.png"
						sound="wolf-bite-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-250"
						end="-200"
						image="units/goblins/wolf-rider.png"
						sound="wolf-bite.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-200"
					end="-100"
					image="units/goblins/wolf-rider-moving.png"
				[/frame]
				[frame]
					begin="-100"
					end="50"
					image="units/goblins/wolf-rider-attack.png"
				[/frame]
				[frame]
					begin="50"
					end="100"
					image="units/goblins/wolf-rider-moving.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/goblins/wolf-rider.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/goblins/wolf-rider.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/goblins/wolf-rider-defend.png"
						sound="wolf-hit.wav"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/goblins/wolf-rider-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/goblins/wolf-rider.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/goblins/wolf-rider-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-1.png"
				[/frame]
			[/idle_anim]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/goblins/wolf-rider-moving.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="-50"
				[frame]
					duration="50"
					image="units/goblins/wolf-rider.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				start_time="-50"
				terrain="Wo,Ww,Ww^Vm,Chs,Chw,Ss"
				[frame]
					duration="50"
					image="units/goblins/wolf-rider-water.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="50"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "fangs"
				icon="attacks/fangs-animal.png"
				name="fangs"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Troll,Troll Rocklobber"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="13"
			die_sound="troll-die-1.ogg,troll-die-2.ogg,troll-die-3.ogg"
			ellipse="misc/ellipse"
			experience="8"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="45"
			id="Troll Whelp-12"
			image="units/trolls/whelp.png"
#textdomain wesnoth-units
			language_name=_ "Troll Whelp"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="45"
			max_moves="5"
			movement="4"
			movement_type="largefoot"
			moves="5"
			name="Ga"
			profile="portraits/trolls/whelp.png"
			race="troll"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Troll Whelp"
			undead_variation="troll"
			underlying_id="12"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				start_time="-250"
				[filter_attack]
					name="fist"
				[/filter_attack]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="fist.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-3.png"
				[/frame]
				[frame]
					duration="75"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[frame]
					duration="50"
					image="units/trolls/whelp.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
						sound="troll-hit-1.ogg,troll-hit-2.ogg,troll-hit-3.ogg,troll-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.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/trolls/whelp-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="175"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="60"
				cave="60"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="1"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="80"
				cold="100"
				fire="100"
				impact="100"
				pierce="80"
			[/resistance]
			[abilities]
				[regenerate]
					affect_self="yes"
#textdomain wesnoth
					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="7"
#textdomain wesnoth-units
				description=_ "fist"
				icon="attacks/fist-troll.png"
				name="fist"
				number="2"
				range="melee"
				type="impact"
			[/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="Orcish Slayer"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="11"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Assassin-13"
			image="units/orcs/assassin.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Assassin"
			level="1"
			max_attacks="1"
			max_experience="17"
			max_hitpoints="31"
			max_moves="6"
			movement="6"
			movement_type="elusivefoot"
			moves="6"
			name="Prong"
			profile="portraits/orcs/assassin.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Assassin"
			underlying_id="13"
			unrenamable="no"
			upkeep="full"
			usage="mixed fighter"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="throwing knives"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/dagger-n.png"
					image_diagonal="projectiles/dagger-ne.png"
				[/missile_frame]
				[if]
					attack_sound_start_time="-200"
					hits="yes"
					[attack_sound_frame]
						sound="throwing-knife.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					attack_sound_start_time="-200"
					hits="no"
					[attack_sound_frame]
						sound="throwing-knife-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					begin="-200"
					end="-100"
					image="units/orcs/assassin-ranged1.png"
				[/frame]
				[frame]
					begin="-100"
					end="0"
					image="units/orcs/assassin-ranged2.png"
				[/frame]
				[if]
					hits="hit"
					poisoned_sound_start_time="-100"
					[filter_second]
						[not]
							[filter_wml]
								[status]
									poisoned="yes"
								[/status]
							[/filter_wml]
						[/not]
					[/filter_second]
					[poisoned_sound_frame]
						duration="100"
						sound="poison.ogg"
					[/poisoned_sound_frame]
				[/if]
			[/attack_anim]
			[attack_anim]
				start_time="-320"
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-1.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-2.png"
				[/frame]
				[if]
					attack_sound_start_time="-100"
					hits="yes"
					[attack_sound_frame]
						sound="dagger-swish.wav"
					[/attack_sound_frame]
				[/if]
				[else]
					attack_sound_start_time="-100"
					hits="no"
					[attack_sound_frame]
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-3.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-attack-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-attack-6.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/assassin-die-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-5.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-die-6.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-die-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-9.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-10.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/orcs/assassin-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend-2.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/assassin-defend-1.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/orcs/assassin.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/assassin.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/orcs/assassin-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-9.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="100"
				blade="130"
				cold="100"
				fire="100"
				impact="120"
				pierce="120"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="7"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="1"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "throwing knives"
				icon="attacks/dagger-thrown-poison-orcish.png"
				name="throwing knives"
				number="3"
				range="ranged"
				type="blade"
				[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]
					[poison]
						description=_ "Poison:
This attack poisons living targets. Poisoned units lose 8 HP every turn until they are cured or are reduced to 1 HP. Poison can not, of itself, kill a unit."
						id="poison"
						name=_ "poison"
					[/poison]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/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="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="13"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Archer-16"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="21"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Hirt"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="16"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="2"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="30"
			id="Orcish Archer-17"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="17"
			max_hitpoints="30"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Erag"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="17"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="3"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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="Naga Warrior"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="naga-die.ogg"
			ellipse="misc/ellipse"
			experience="5"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="38"
			id="Naga Fighter-19"
			image="units/nagas/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Naga Fighter"
			level="1"
			max_attacks="1"
			max_experience="18"
			max_hitpoints="38"
			max_moves="7"
			movement="7"
			movement_type="naga"
			moves="7"
			name="Sil"
			profile="portraits/nagas/fighter.png"
			race="naga"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Naga Fighter"
			undead_variation="swimmer"
			underlying_id="19"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.3,0.3~0.5,0.5~0.60,0.60~0.3,0.3~0.0"
				start_time="-250"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="130"
					image="units/nagas/fighter-melee-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="100"
						image="units/nagas/fighter-melee-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="100"
						image="units/nagas/fighter-melee-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/nagas/fighter-melee-3.png"
				[/frame]
				[frame]
					duration="90"
					image="units/nagas/fighter-melee-4.png"
				[/frame]
				[frame]
					duration="80"
					image="units/nagas/fighter-melee-5.png"
				[/frame]
				[frame]
					duration="70"
					image="units/nagas/fighter-melee-6.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/nagas/fighter-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/nagas/fighter-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/nagas/fighter-defend-2.png"
						sound="naga-hit-1.ogg,naga-hit-2.ogg,naga-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/nagas/fighter-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/nagas/fighter-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/nagas/fighter-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/nagas/fighter-idle-2.png"
				[/frame]
				[frame]
					duration="350"
					image="units/nagas/fighter-idle-3.png"
				[/frame]
				[frame]
					duration="450"
					image="units/nagas/fighter-idle-4.png"
				[/frame]
				[frame]
					duration="250"
					image="units/nagas/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="250"
					image="units/nagas/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="350"
					image="units/nagas/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="350"
					image="units/nagas/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/nagas/fighter-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="50"
				cave="60"
				deep_water="50"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="60"
				mountains="60"
				reef="30"
				sand="60"
				shallow_water="40"
				swamp_water="40"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="2"
				cave="2"
				deep_water="1"
				flat="2"
				forest="3"
				frozen="2"
				fungus="2"
				hills="3"
				impassable="99"
				mountains="5"
				reef="2"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="120"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				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^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="Troll,Troll Rocklobber"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="13"
			die_sound="troll-die-1.ogg,troll-die-2.ogg,troll-die-3.ogg"
			ellipse="misc/ellipse"
			experience="10"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="48"
			id="Troll Whelp-25"
			image="units/trolls/whelp.png"
#textdomain wesnoth-units
			language_name=_ "Troll Whelp"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="48"
			max_moves="4"
			movement="4"
			movement_type="largefoot"
			moves="4"
			name="Trog"
			profile="portraits/trolls/whelp.png"
			race="troll"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Troll Whelp"
			undead_variation="troll"
			underlying_id="25"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				start_time="-250"
				[filter_attack]
					name="fist"
				[/filter_attack]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="fist.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-3.png"
				[/frame]
				[frame]
					duration="75"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[frame]
					duration="50"
					image="units/trolls/whelp.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
						sound="troll-hit-1.ogg,troll-hit-2.ogg,troll-hit-3.ogg,troll-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.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/trolls/whelp-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="175"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="60"
				cave="60"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="1"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="80"
				cold="100"
				fire="100"
				impact="100"
				pierce="80"
			[/resistance]
			[abilities]
				[regenerate]
					affect_self="yes"
#textdomain wesnoth
					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="8"
#textdomain wesnoth-units
				description=_ "fist"
				icon="attacks/fist-troll.png"
				name="fist"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "resilient"
					[effect]
						apply_to="hitpoints"
						increase_total="4"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
						times="per level"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="3"
			facing="ne"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Archer-26"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="21"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Pogdish"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="26"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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^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="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="10"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="43"
			id="Orcish Grunt-27"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="43"
			max_moves="5"
			movement="5"
			movement_type="orcishfoot"
			moves="5"
			name="Bor"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Orcish Grunt"
			underlying_id="27"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="9"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="4"
			facing="ne"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="44"
			id="Orcish Grunt-29"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="44"
			max_moves="5"
			movement="5"
			movement_type="orcishfoot"
			moves="5"
			name="Vrong"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Grunt"
			underlying_id="29"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="10"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "resilient"
					[effect]
						apply_to="hitpoints"
						increase_total="4"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
						times="per level"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="1"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="43"
			id="Orcish Grunt-31"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="43"
			max_moves="5"
			movement="5"
			movement_type="orcishfoot"
			moves="5"
			name="Punk"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Grunt"
			underlying_id="31"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="9"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="8"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="41"
			id="Orcish Grunt-34"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="41"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Hadish"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Grunt"
			underlying_id="34"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="9"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				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="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="2"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Archer-35"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="21"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Eragdushnak"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="35"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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]
	[/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]
	[variables]
		damage_inflicted="10"
		side_number="1"
		turn_number="14"
	[/variables]
	[player]
		can_recruit="Drake Burner,Drake Clasher,Drake Fighter,Drake Glider,Saurian Augur,Saurian Skirmisher"
		gold="-1"
		gold_add="no"
		name="KnightKunibert"
		save_id="KnightKunibert1"
		[unit]
			advances_to="Drake Blademaster"
			alignment="lawful"
			allow_changes="yes"
			allow_player="yes"
			alpha="256"
			attacks_left="1"
			canrecruit="yes"
			colour="1"
			controller="human"
			cost="30"
			current_player="KnightKunibert"
			die_sound="drake-die.ogg"
			experience="4"
			facing="se"
			flying="no"
			fog="yes"
			gender="male"
			gold="100"
			goto_x="-999"
			goto_y="-999"
			hitpoints="60"
			id="KnightKunibert1"
			image="units/drakes/warrior.png"
			income="0"
#textdomain wesnoth-units
			language_name=_ "Drake Warrior"
			leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior,Saurian Oracle,Saurian Soothsayer"
			level="2"
			max_attacks="1"
			max_experience="49"
			max_hitpoints="60"
			max_moves="6"
			movement="6"
			movement_type="drakefly"
			moves="6"
			mp_countdown="yes"
			mp_countdown_action_bonus="20"
			mp_countdown_init_time="270"
			mp_countdown_reservoir_time="270"
			mp_countdown_turn_bonus="200"
			name="KnightKunibert"
			profile="portraits/drakes/fighter.png"
			race="drake"
			random_leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior"
			random_traits="no"
			recruit="Drake Burner,Drake Clasher,Drake Glider,Drake Fighter,Saurian Skirmisher,Saurian Augur"
			resting="yes"
			save_id="KnightKunibert1"
			share_maps="no"
			share_view="yes"
			shroud="no"
			side="1"
			team_name="west"
			terrain_liked="Hh, Ha, Ds, Ss"
			type="Drake Warrior"
			undead_variation="drake"
			underlying_id="1"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			user_team_name="wesnoth-multiplayerteamname^West"
			village_gold="2"
			zoc="yes"
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="11"
				description=_ "sword"
				icon="attacks/scimitar.png"
				name="sword"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="3"
				range="ranged"
				type="fire"
			[/attack]
			[modifications]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Drake Gladiator,Drake Slasher"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="19"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="7"
			facing="se"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="48"
			id="Drake Clasher-3"
			image="units/drakes/clasher.png"
			language_name=_ "Drake Clasher"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="48"
			max_moves="5"
			movement="5"
			movement_type="drakefoot"
			moves="5"
			name="Marchin"
			profile="portraits/drakes/clasher.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Clasher"
			undead_variation="drake"
			underlying_id="3"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/clasher-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/clasher-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/clasher-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/clasher-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/clasher-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/clasher-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/clasher-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/clasher-die-8.png"
				[/frame]
				[frame]
					begin="1200"
					end="1350"
					image="units/drakes/clasher-die-9.png"
				[/frame]
				[frame]
					begin="1350"
					end="1500"
					image="units/drakes/clasher-die-10.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/clasher-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
			[/defend]
			[defense]
				castle="60"
				cave="70"
				deep_water="90"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="2"
				sand="1"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="80"
				cold="150"
				fire="50"
				impact="70"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="5"
				description=_ "sword"
				icon="attacks/scimitar.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="6"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="4"
				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]
			[modifications]
				[trait]
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/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="Drake Warrior"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="21"
			facing="se"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="45"
			id="Drake Fighter-4"
			image="units/drakes/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Drake Fighter"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="45"
			max_moves="6"
			movement="6"
			movement_type="drakefly"
			moves="6"
			name="Gartick"
			profile="portraits/drakes/fighter.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Fighter"
			undead_variation="drake"
			underlying_id="4"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="11"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="11"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="24"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="26"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/fighter-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="scimitar"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					begin="-175"
					end="-100"
					image="units/drakes/fighter-attack-close1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="150"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/fighter-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/fighter-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/fighter-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/fighter-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/fighter-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/fighter-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/fighter-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/fighter-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="8"
				description=_ "scimitar"
				icon="attacks/scimitar.png"
				name="scimitar"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="3"
				range="ranged"
				type="fire"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "resilient"
					[effect]
						apply_to="hitpoints"
						increase_total="4"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
						times="per level"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Fire Drake,Drake Flare"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="21"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="12"
			facing="ne"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="47"
			id="Drake Burner-21"
			image="units/drakes/burner.png"
#textdomain wesnoth-units
			language_name=_ "Drake Burner"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="47"
			max_moves="5"
			movement="5"
			movement_type="drakefly"
			moves="5"
			name="Marisharkon"
			profile="portraits/drakes/burner.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Burner"
			undead_variation="drake"
			underlying_id="21"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="9"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="9"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="22"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="24"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/burner-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="claws"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/burner-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="claws.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="50"
					end="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[frame]
					begin="100"
					end="175"
					image="units/drakes/burner-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="110"
					image="units/drakes/burner-die-1.png"
				[/frame]
				[frame]
					begin="110"
					end="320"
					image="units/drakes/burner-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/burner-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/burner-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/burner-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/burner-die-6.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="7"
				description=_ "claws"
				icon="attacks/claws-drake.png"
				name="claws"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="6"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="4"
				range="ranged"
				type="fire"
			[/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^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="Fire Drake,Drake Flare"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="21"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="5"
			facing="nw"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="41"
			id="Drake Burner-23"
			image="units/drakes/burner.png"
#textdomain wesnoth-units
			language_name=_ "Drake Burner"
			level="1"
			max_attacks="1"
			max_experience="30"
			max_hitpoints="41"
			max_moves="6"
			movement="5"
			movement_type="drakefly"
			moves="6"
			name="Gaké"
			profile="portraits/drakes/burner.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Burner"
			undead_variation="drake"
			underlying_id="23"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="9"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="9"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="22"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="24"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/burner-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/burner-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="claws"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/burner-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="claws.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/drakes/burner-attack-close.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="50"
					end="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[frame]
					begin="100"
					end="175"
					image="units/drakes/burner-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/burner.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="110"
					image="units/drakes/burner-die-1.png"
				[/frame]
				[frame]
					begin="110"
					end="320"
					image="units/drakes/burner-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/burner-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/burner-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/burner-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/burner-die-6.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/burner-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/burner-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/burner.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/burner-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="8"
				description=_ "claws"
				icon="attacks/claws-drake.png"
				name="claws"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="6"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="4"
				range="ranged"
				type="fire"
			[/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="Drake Warrior"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="21"
			facing="s"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="40"
			id="Drake Fighter-24"
			image="units/drakes/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Drake Fighter"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="40"
			max_moves="6"
			movement="6"
			movement_type="drakefly"
			moves="6"
			name="Gratakré Ihn"
			profile="portraits/drakes/fighter.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Fighter"
			undead_variation="drake"
			underlying_id="24"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fire breath"
				[/filter_attack]
				[if]
					direction="n"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-n-1.png:80,projectiles/fire-breath-n-2.png:80,projectiles/fire-breath-n-3.png:80,projectiles/fire-breath-n-4.png:80,projectiles/fire-breath-n-5.png:80"
						halo_x="11"
						halo_y="-34"
					[/missile_frame]
				[/if]
				[else]
					direction="s"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-s-1.png:80,projectiles/fire-breath-s-2.png:80,projectiles/fire-breath-s-3.png:80,projectiles/fire-breath-s-4.png:80,projectiles/fire-breath-s-5.png:80"
						halo_x="11"
						halo_y="15"
					[/missile_frame]
				[/else]
				[else]
					direction="ne,nw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-ne-1.png:80,projectiles/fire-breath-ne-2.png:80,projectiles/fire-breath-ne-3.png:80,projectiles/fire-breath-ne-4.png:80,projectiles/fire-breath-ne-5.png:80"
						halo_x="24"
						halo_y="-22"
					[/missile_frame]
				[/else]
				[else]
					direction="se,sw"
					[missile_frame]
						begin="-400"
						end="100"
						halo="projectiles/fire-breath-se-1.png:80,projectiles/fire-breath-se-2.png:80,projectiles/fire-breath-se-3.png:80,projectiles/fire-breath-se-4.png:80,projectiles/fire-breath-se-5.png:80"
						halo_x="26"
						halo_y="10"
					[/missile_frame]
				[/else]
				[if]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/drakes/fighter-attack-ranged1.png"
						sound="flame-big.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-150"
					image="units/drakes/fighter-attack-ranged2.png"
				[/frame]
				[frame]
					begin="-150"
					end="0"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="scimitar"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					begin="-175"
					end="-100"
					image="units/drakes/fighter-attack-close1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/fighter-attack-close2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="150"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/drakes/fighter.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/fighter-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/fighter-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/fighter-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/fighter-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/fighter-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/fighter-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/fighter-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/fighter-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/fighter-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/fighter-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/fighter.png"
				[/frame]
			[/defend]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="0"
				[filter]
					[filter_location]
						terrain="!,W*,Qx*,Ql*"
						[or]
							terrain="Wwf,Wwr,*^V*"
						[/or]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				layer="60"
				start_time="0"
				submerge="0.01"
				[filter]
					[filter_location]
						terrain="W*,Qx*,Ql*"
						[not]
							terrain="Wwf,Wwr,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="150"
					image="units/drakes/fighter-flying.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="60"
				cave="70"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="70"
				unwalkable="60"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="3"
				deep_water="2"
				flat="1"
				forest="1"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="1"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="1"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="90"
				cold="150"
				fire="50"
				impact="80"
				pierce="110"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="8"
				description=_ "scimitar"
				icon="attacks/scimitar.png"
				name="scimitar"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "fire breath"
				icon="attacks/fire-breath-drake.png"
				name="fire breath"
				number="3"
				range="ranged"
				type="fire"
			[/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="Saurian Ambusher"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="15"
			die_sound="hiss-die.wav"
			ellipse="misc/ellipse"
			experience="1"
			facing="ne"
			flag_rgb="magenta"
			flies="false"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="25"
			id="Saurian Skirmisher-33"
			image="units/saurians/skirmisher.png"
#textdomain wesnoth-units
			language_name=_ "Saurian Skirmisher"
			level="1"
			max_attacks="1"
			max_experience="18"
			max_hitpoints="25"
			max_moves="7"
			movement="6"
			movement_type="lizard"
			moves="7"
			name="Flizis"
			profile="portraits/saurians/skirmisher.png"
			race="lizard"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Saurian Skirmisher"
			undead_variation="saurian"
			underlying_id="33"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="spear"
					range="ranged"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/spear-n.png"
					image_diagonal="projectiles/spear-ne.png"
				[/missile_frame]
				[frame]
					begin="-200"
					end="-100"
					image="units/saurians/skirmisher-attack-ranged-1.png"
					sound="throw-1.wav,throw-2.wav,throw-3.wav,throw-4.wav"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack-ranged-2.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack-ranged-2.png"
					[/frame]
				[/else]
			[/attack_anim]
			[attack_anim]
				direction="ne,nw,s,se,sw"
				[filter_attack]
					name="spear"
					range="melee"
				[/filter_attack]
				[frame]
					begin="-150"
					end="-100"
					image="units/saurians/skirmisher-attack1.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack2.png"
						sound="spear-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-100"
						end="50"
						image="units/saurians/skirmisher-attack2.png"
						sound="spear.ogg"
					[/frame]
				[/else]
				[frame]
					begin="50"
					end="150"
					image="units/saurians/skirmisher-defend.png"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/saurians/skirmisher.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				direction="n"
				[filter_attack]
					name="spear"
					range="melee"
				[/filter_attack]
				[frame]
					begin="-150"
					end="-100"
					image="units/saurians/skirmisher-attack-n1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="90"
						image="units/saurians/skirmisher-attack-n2.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="90"
						image="units/saurians/skirmisher-attack-n2.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="90"
					end="150"
					image="units/saurians/skirmisher-attack1.png"
				[/frame]
				[frame]
					begin="150"
					end="200"
					image="units/saurians/skirmisher.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/saurians/skirmisher.png"
				[/frame]
				[frame]
					duration="100"
					image="units/saurians/skirmisher-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/saurians/skirmisher-defend.png"
						sound="hiss-hit.wav"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/saurians/skirmisher-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/saurians/skirmisher.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]
				[filter]
					[filter_location]
						[not]
							terrain="C*,K*,*^V*"
						[/not]
					[/filter_location]
				[/filter]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-1.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-2.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-3.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-4.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-7.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-6.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-8.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-9.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-10.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-11.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-12.png"
				[/frame]
				[frame]
					duration="200"
					image="units/saurians/skirmisher-idle-13.png"
				[/frame]
				[frame]
					duration="225"
					image="units/saurians/skirmisher-idle-12.png"
				[/frame]
				[frame]
					duration="225"
					image="units/saurians/skirmisher-idle-13.png"
				[/frame]
				[frame]
					duration="250"
					image="units/saurians/skirmisher-idle-12.png"
				[/frame]
				[frame]
					duration="250"
					image="units/saurians/skirmisher-idle-13.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/saurians/transparent/skirmisher.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/saurians/transparent/skirmisher.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="40"
				cave="40"
				deep_water="80"
				flat="60"
				forest="40"
				frozen="70"
				fungus="40"
				hills="40"
				impassable="40"
				mountains="40"
				reef="60"
				sand="40"
				shallow_water="60"
				swamp_water="40"
				unwalkable="80"
				village="50"
			[/defense]
			[movement_costs]
				castle="1"
				cave="1"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="4"
				fungus="1"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="1"
				shallow_water="3"
				swamp_water="1"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="80"
				blade="110"
				cold="120"
				fire="120"
				impact="110"
				pierce="80"
			[/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="4"
#textdomain wesnoth-units
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="4"
				range="melee"
				type="pierce"
			[/attack]
			[attack]
				damage="4"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="2"
				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]
		[unit]
			advances_to="Drake Gladiator,Drake Slasher"
			alignment="lawful"
			alpha="256"
			attacks_left="1"
			cost="19"
			die_sound="drake-die.ogg"
			ellipse="misc/ellipse"
			experience="0"
			facing="ne"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="42"
			id="Drake Clasher-36"
			image="units/drakes/clasher.png"
#textdomain wesnoth-units
			language_name=_ "Drake Clasher"
			level="1"
			max_attacks="1"
			max_experience="32"
			max_hitpoints="42"
			max_moves="6"
			movement="5"
			movement_type="drakefoot"
			moves="6"
			name="Mert'leck"
			profile="portraits/drakes/clasher.png"
			race="drake"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="1"
			type="Drake Clasher"
			undead_variation="drake"
			underlying_id="36"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="spear"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-spear.png"
						sound="spear-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-100"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-100"
						end="75"
						image="units/drakes/clasher-attack-sword.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					begin="75"
					end="175"
					image="units/drakes/clasher-flying.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/drakes/clasher.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="130"
					image="units/drakes/clasher-die-1.png"
				[/frame]
				[frame]
					begin="130"
					end="320"
					image="units/drakes/clasher-die-2.png"
				[/frame]
				[frame]
					begin="320"
					end="450"
					image="units/drakes/clasher-die-3.png"
				[/frame]
				[frame]
					begin="450"
					end="600"
					image="units/drakes/clasher-die-4.png"
				[/frame]
				[frame]
					begin="600"
					end="750"
					image="units/drakes/clasher-die-5.png"
				[/frame]
				[frame]
					begin="750"
					end="900"
					image="units/drakes/clasher-die-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1050"
					image="units/drakes/clasher-die-7.png"
				[/frame]
				[frame]
					begin="1050"
					end="1200"
					image="units/drakes/clasher-die-8.png"
				[/frame]
				[frame]
					begin="1200"
					end="1350"
					image="units/drakes/clasher-die-9.png"
				[/frame]
				[frame]
					begin="1350"
					end="1500"
					image="units/drakes/clasher-die-10.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
				[frame]
					duration="100"
					image="units/drakes/clasher-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
						sound="drake-hit-1.ogg,drake-hit-2.ogg,drake-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/drakes/clasher-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/drakes/clasher.png"
				[/frame]
			[/defend]
			[defense]
				castle="60"
				cave="70"
				deep_water="90"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="70"
				mountains="60"
				reef="70"
				sand="60"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="3"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="1"
				reef="2"
				sand="1"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="130"
				blade="80"
				cold="150"
				fire="50"
				impact="70"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "sword"
				icon="attacks/scimitar.png"
				name="sword"
				number="4"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="7"
				description=_ "spear"
				icon="attacks/spear.png"
				name="spear"
				number="4"
				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]
			[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]
	[/player]
	[player]
		can_recruit="Goblin Spearman,Naga Fighter,Orcish Archer,Orcish Assassin,Orcish Grunt,Troll Whelp,Wolf Rider"
		gold="-1"
		gold_add="no"
		name="dr_snuggles"
		save_id="dr_snuggles2"
		[unit]
			advances_to="Goblin Knight,Goblin Pillager"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="wolf-die.wav"
			ellipse="misc/ellipse"
			experience="1"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="33"
			id="Wolf Rider-10"
			image="units/goblins/wolf-rider.png"
#textdomain wesnoth-units
			language_name=_ "Wolf Rider"
			level="1"
			max_attacks="1"
			max_experience="17"
			max_hitpoints="33"
			max_moves="8"
			movement="8"
			movement_type="orcishfoot"
			moves="8"
			name="Praolg"
			race="wolf"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Wolf Rider"
			undead_variation="mounted"
			underlying_id="10"
			unrenamable="no"
			upkeep="full"
			usage="scout"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="fangs"
				[/filter_attack]
				[if]
					hits="no"
					[frame]
						begin="-250"
						end="-200"
						image="units/goblins/wolf-rider.png"
						sound="wolf-bite-miss.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-250"
						end="-200"
						image="units/goblins/wolf-rider.png"
						sound="wolf-bite.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-200"
					end="-100"
					image="units/goblins/wolf-rider-moving.png"
				[/frame]
				[frame]
					begin="-100"
					end="50"
					image="units/goblins/wolf-rider-attack.png"
				[/frame]
				[frame]
					begin="50"
					end="100"
					image="units/goblins/wolf-rider-moving.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/goblins/wolf-rider.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/goblins/wolf-rider.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/goblins/wolf-rider-defend.png"
						sound="wolf-hit.wav"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/goblins/wolf-rider-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/goblins/wolf-rider.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/goblins/wolf-rider-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/goblins/wolf-rider-idle-1.png"
				[/frame]
			[/idle_anim]
			[movement_anim]
				[frame]
					begin="0"
					end="150"
					image="units/goblins/wolf-rider-moving.png"
				[/frame]
			[/movement_anim]
			[standing_anim]
				start_time="-50"
				[frame]
					duration="50"
					image="units/goblins/wolf-rider.png"
				[/frame]
			[/standing_anim]
			[standing_anim]
				start_time="-50"
				terrain="Wo,Ww,Ww^Vm,Chs,Chw,Ss"
				[frame]
					duration="50"
					image="units/goblins/wolf-rider-water.png"
				[/frame]
			[/standing_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="50"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="6"
				description=_ "fangs"
				icon="attacks/fangs-animal.png"
				name="fangs"
				number="3"
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Troll,Troll Rocklobber"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="13"
			die_sound="troll-die-1.ogg,troll-die-2.ogg,troll-die-3.ogg"
			ellipse="misc/ellipse"
			experience="8"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="45"
			id="Troll Whelp-12"
			image="units/trolls/whelp.png"
#textdomain wesnoth-units
			language_name=_ "Troll Whelp"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="45"
			max_moves="5"
			movement="4"
			movement_type="largefoot"
			moves="5"
			name="Ga"
			profile="portraits/trolls/whelp.png"
			race="troll"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Troll Whelp"
			undead_variation="troll"
			underlying_id="12"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				start_time="-250"
				[filter_attack]
					name="fist"
				[/filter_attack]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="fist.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-3.png"
				[/frame]
				[frame]
					duration="75"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[frame]
					duration="50"
					image="units/trolls/whelp.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
						sound="troll-hit-1.ogg,troll-hit-2.ogg,troll-hit-3.ogg,troll-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.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/trolls/whelp-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="175"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="60"
				cave="60"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="1"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="80"
				cold="100"
				fire="100"
				impact="100"
				pierce="80"
			[/resistance]
			[abilities]
				[regenerate]
					affect_self="yes"
#textdomain wesnoth
					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="7"
#textdomain wesnoth-units
				description=_ "fist"
				icon="attacks/fist-troll.png"
				name="fist"
				number="2"
				range="melee"
				type="impact"
			[/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="Orcish Slayer"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="17"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="11"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Assassin-13"
			image="units/orcs/assassin.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Assassin"
			level="1"
			max_attacks="1"
			max_experience="17"
			max_hitpoints="31"
			max_moves="6"
			movement="6"
			movement_type="elusivefoot"
			moves="6"
			name="Prong"
			profile="portraits/orcs/assassin.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Assassin"
			underlying_id="13"
			unrenamable="no"
			upkeep="full"
			usage="mixed fighter"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="throwing knives"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/dagger-n.png"
					image_diagonal="projectiles/dagger-ne.png"
				[/missile_frame]
				[if]
					attack_sound_start_time="-200"
					hits="yes"
					[attack_sound_frame]
						sound="throwing-knife.ogg"
					[/attack_sound_frame]
				[/if]
				[else]
					attack_sound_start_time="-200"
					hits="no"
					[attack_sound_frame]
						sound="throwing-knife-miss.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					begin="-200"
					end="-100"
					image="units/orcs/assassin-ranged1.png"
				[/frame]
				[frame]
					begin="-100"
					end="0"
					image="units/orcs/assassin-ranged2.png"
				[/frame]
				[if]
					hits="hit"
					poisoned_sound_start_time="-100"
					[filter_second]
						[not]
							[filter_wml]
								[status]
									poisoned="yes"
								[/status]
							[/filter_wml]
						[/not]
					[/filter_second]
					[poisoned_sound_frame]
						duration="100"
						sound="poison.ogg"
					[/poisoned_sound_frame]
				[/if]
			[/attack_anim]
			[attack_anim]
				start_time="-320"
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-1.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-2.png"
				[/frame]
				[if]
					attack_sound_start_time="-100"
					hits="yes"
					[attack_sound_frame]
						sound="dagger-swish.wav"
					[/attack_sound_frame]
				[/if]
				[else]
					attack_sound_start_time="-100"
					hits="no"
					[attack_sound_frame]
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/attack_sound_frame]
				[/else]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-3.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-attack-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-attack-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-attack-6.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/assassin-die-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-5.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-die-6.png"
				[/frame]
				[frame]
					duration="80"
					image="units/orcs/assassin-die-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-9.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-die-10.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[filter_attack]
					range="melee"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/orcs/assassin-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend-2.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/assassin-defend-1.png"
				[/frame]
			[/defend]
			[defend]
				start_time="-126"
				[filter_attack]
					range="ranged"
				[/filter_attack]
				[frame]
					duration="1"
					image="units/orcs/assassin.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/assassin-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/assassin.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/orcs/assassin-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-8.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/assassin-idle-9.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="100"
				blade="130"
				cold="100"
				fire="100"
				impact="120"
				pierce="120"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="7"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="1"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="3"
				description=_ "throwing knives"
				icon="attacks/dagger-thrown-poison-orcish.png"
				name="throwing knives"
				number="3"
				range="ranged"
				type="blade"
				[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]
					[poison]
						description=_ "Poison:
This attack poisons living targets. Poisoned units lose 8 HP every turn until they are cured or are reduced to 1 HP. Poison can not, of itself, kill a unit."
						id="poison"
						name=_ "poison"
					[/poison]
				[/specials]
			[/attack]
			[modifications]
				[trait]
					female_name=_ "female^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/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="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="13"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Archer-16"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="21"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Hirt"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="16"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="2"
			facing="nw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="30"
			id="Orcish Archer-17"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="17"
			max_hitpoints="30"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Erag"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="17"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="3"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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="Naga Warrior"
			alignment="neutral"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="naga-die.ogg"
			ellipse="misc/ellipse"
			experience="5"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="38"
			id="Naga Fighter-19"
			image="units/nagas/fighter.png"
#textdomain wesnoth-units
			language_name=_ "Naga Fighter"
			level="1"
			max_attacks="1"
			max_experience="18"
			max_hitpoints="38"
			max_moves="7"
			movement="7"
			movement_type="naga"
			moves="7"
			name="Sil"
			profile="portraits/nagas/fighter.png"
			race="naga"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Naga Fighter"
			undead_variation="swimmer"
			underlying_id="19"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.3,0.3~0.5,0.5~0.60,0.60~0.3,0.3~0.0"
				start_time="-250"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="130"
					image="units/nagas/fighter-melee-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="100"
						image="units/nagas/fighter-melee-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="100"
						image="units/nagas/fighter-melee-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/nagas/fighter-melee-3.png"
				[/frame]
				[frame]
					duration="90"
					image="units/nagas/fighter-melee-4.png"
				[/frame]
				[frame]
					duration="80"
					image="units/nagas/fighter-melee-5.png"
				[/frame]
				[frame]
					duration="70"
					image="units/nagas/fighter-melee-6.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/nagas/fighter-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/nagas/fighter-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/nagas/fighter-defend-2.png"
						sound="naga-hit-1.ogg,naga-hit-2.ogg,naga-hit-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/nagas/fighter-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/nagas/fighter-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/nagas/fighter-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/nagas/fighter-idle-2.png"
				[/frame]
				[frame]
					duration="350"
					image="units/nagas/fighter-idle-3.png"
				[/frame]
				[frame]
					duration="450"
					image="units/nagas/fighter-idle-4.png"
				[/frame]
				[frame]
					duration="250"
					image="units/nagas/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="250"
					image="units/nagas/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-7.png"
				[/frame]
				[frame]
					duration="60"
					image="units/nagas/fighter-idle-8.png"
				[/frame]
				[frame]
					duration="350"
					image="units/nagas/fighter-idle-6.png"
				[/frame]
				[frame]
					duration="350"
					image="units/nagas/fighter-idle-5.png"
				[/frame]
				[frame]
					duration="200"
					image="units/nagas/fighter-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="50"
				cave="60"
				deep_water="50"
				flat="70"
				forest="60"
				frozen="80"
				fungus="60"
				hills="60"
				impassable="60"
				mountains="60"
				reef="30"
				sand="60"
				shallow_water="40"
				swamp_water="40"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="2"
				cave="2"
				deep_water="1"
				flat="2"
				forest="3"
				frozen="2"
				fungus="2"
				hills="3"
				impassable="99"
				mountains="5"
				reef="2"
				sand="1"
				shallow_water="1"
				swamp_water="1"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="120"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				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^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="Troll,Troll Rocklobber"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="13"
			die_sound="troll-die-1.ogg,troll-die-2.ogg,troll-die-3.ogg"
			ellipse="misc/ellipse"
			experience="10"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="48"
			id="Troll Whelp-25"
			image="units/trolls/whelp.png"
#textdomain wesnoth-units
			language_name=_ "Troll Whelp"
			level="1"
			max_attacks="1"
			max_experience="25"
			max_hitpoints="48"
			max_moves="4"
			movement="4"
			movement_type="largefoot"
			moves="4"
			name="Trog"
			profile="portraits/trolls/whelp.png"
			race="troll"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Troll Whelp"
			undead_variation="troll"
			underlying_id="25"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				start_time="-250"
				[filter_attack]
					name="fist"
				[/filter_attack]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="fist.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="125"
						image="units/trolls/whelp-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/trolls/whelp-attack-3.png"
				[/frame]
				[frame]
					duration="75"
					image="units/trolls/whelp-attack-1.png"
				[/frame]
				[frame]
					duration="50"
					image="units/trolls/whelp.png"
				[/frame]
			[/attack_anim]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
						sound="troll-hit-1.ogg,troll-hit-2.ogg,troll-hit-3.ogg,troll-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/trolls/whelp-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/trolls/whelp-defend-2.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/trolls/whelp-idle-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="175"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="150"
					image="units/trolls/whelp-idle-7.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-6.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-5.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-4.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-3.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-2.png"
				[/frame]
				[frame]
					duration="100"
					image="units/trolls/whelp-idle-1.png"
				[/frame]
			[/idle_anim]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="false"
				side="left"
				size="400"
			[/portrait]
			[portrait]
				image="portraits/trolls/transparent/whelp.png"
				mirror="true"
				side="right"
				size="400"
			[/portrait]
			[defense]
				castle="60"
				cave="60"
				deep_water="80"
				flat="70"
				forest="60"
				frozen="80"
				fungus="50"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="80"
				unwalkable="80"
				village="60"
			[/defense]
			[movement_costs]
				castle="1"
				cave="1"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="2"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="2"
				swamp_water="2"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="110"
				blade="80"
				cold="100"
				fire="100"
				impact="100"
				pierce="80"
			[/resistance]
			[abilities]
				[regenerate]
					affect_self="yes"
#textdomain wesnoth
					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="8"
#textdomain wesnoth-units
				description=_ "fist"
				icon="attacks/fist-troll.png"
				name="fist"
				number="2"
				range="melee"
				type="impact"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "resilient"
					[effect]
						apply_to="hitpoints"
						increase_total="4"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
						times="per level"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="3"
			facing="ne"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Archer-26"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="21"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Pogdish"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="26"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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^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="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="10"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="43"
			id="Orcish Grunt-27"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="43"
			max_moves="5"
			movement="5"
			movement_type="orcishfoot"
			moves="5"
			name="Bor"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="yes"
			side="2"
			type="Orcish Grunt"
			underlying_id="27"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="9"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="4"
			facing="ne"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="44"
			id="Orcish Grunt-29"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="44"
			max_moves="5"
			movement="5"
			movement_type="orcishfoot"
			moves="5"
			name="Vrong"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Grunt"
			underlying_id="29"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="10"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[modifications]
				[trait]
#textdomain wesnoth
					female_name=_ "female^strong"
					id="strong"
					male_name=_ "strong"
					name=_ "strong"
					[effect]
						apply_to="attack"
						increase_damage="1"
						range="melee"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
					[/effect]
				[/trait]
				[trait]
					female_name=_ "female^resilient"
					id="resilient"
					male_name=_ "resilient"
					name=_ "resilient"
					[effect]
						apply_to="hitpoints"
						increase_total="4"
					[/effect]
					[effect]
						apply_to="hitpoints"
						increase_total="1"
						times="per level"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="1"
			facing="sw"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="43"
			id="Orcish Grunt-31"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="24"
			max_hitpoints="43"
			max_moves="5"
			movement="5"
			movement_type="orcishfoot"
			moves="5"
			name="Punk"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Grunt"
			underlying_id="31"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="9"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				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^intelligent"
					id="intelligent"
					male_name=_ "intelligent"
					name=_ "intelligent"
					[effect]
						apply_to="max_experience"
						increase="-20%"
					[/effect]
				[/trait]
			[/modifications]
		[/unit]
		[unit]
			advances_to="Orcish Warrior"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="12"
			die_sound="orc-die-1.ogg,orc-die-2.ogg,orc-die-3.ogg"
			ellipse="misc/ellipse"
			experience="8"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="41"
			id="Orcish Grunt-34"
			image="units/orcs/grunt.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Grunt"
			level="1"
			max_attacks="1"
			max_experience="29"
			max_hitpoints="41"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Hadish"
			profile="portraits/orcs/warlord5.png"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Grunt"
			underlying_id="34"
			unrenamable="no"
			upkeep="full"
			usage="fighter"
			zoc="yes"
			[attack_anim]
				offset="0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75"
				start_time="-300"
				[filter_attack]
					name="sword"
				[/filter_attack]
				[frame]
					duration="50"
					image="units/orcs/grunt.png"
				[/frame]
				[frame]
					duration="50"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-1.png"
				[/frame]
				[if]
					hits="yes"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="sword-1.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						duration="75"
						image="units/orcs/grunt-attack-2.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/else]
				[frame]
					duration="100"
					image="units/orcs/grunt-attack-3.png"
				[/frame]
				[frame]
					duration="20"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="30"
					image="units/orcs/grunt-attack-4.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt-attack-5.png"
				[/frame]
				[frame]
					duration="75"
					image="units/orcs/grunt.png"
				[/frame]
			[/attack_anim]
			[death]
				start_time="0"
				[frame]
					duration="120"
					image="units/orcs/grunt-die-1.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-2.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-3.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-4.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-5.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-6.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-7.png"
				[/frame]
				[frame]
					duration="120"
					image="units/orcs/grunt-die-8.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/grunt-defend-2.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
						sound="orc-hit-1.ogg,orc-hit-2.ogg,orc-hit-3.ogg,orc-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/grunt-defend-2.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/grunt-defend-1.png"
				[/frame]
			[/defend]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="9"
				description=_ "sword"
				icon="attacks/sword-orcish.png"
				name="sword"
				number="2"
				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="Orcish Crossbowman"
			alignment="chaotic"
			alpha="256"
			attacks_left="1"
			cost="14"
			die_sound="orc-small-die-1.ogg,orc-small-die-2.ogg"
			ellipse="misc/ellipse"
			experience="2"
			facing="s"
			flag_rgb="magenta"
			flying="no"
			gender="male"
			goto_x="-999"
			goto_y="-999"
			hitpoints="31"
			id="Orcish Archer-35"
			image="units/orcs/archer.png"
#textdomain wesnoth-units
			language_name=_ "Orcish Archer"
			level="1"
			max_attacks="1"
			max_experience="21"
			max_hitpoints="31"
			max_moves="6"
			movement="5"
			movement_type="orcishfoot"
			moves="6"
			name="Eragdushnak"
			race="orc"
			random_gender="no"
			random_traits="no"
			resting="no"
			side="2"
			type="Orcish Archer"
			undead_variation="archer"
			underlying_id="35"
			unrenamable="no"
			upkeep="full"
			usage="archer"
			zoc="yes"
			[attack_anim]
				[filter_attack]
					name="bow"
					type="fire"
				[/filter_attack]
				[if]
					hits="yes"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
						offset="0~0.8"
					[/missile_frame]
					[missile_frame]
						begin="0"
						end="75"
						image="projectiles/fire-burst-small-1.png"
						image_diagonal="projectiles/fire-burst-small-1.png"
						offset="0.8"
					[/missile_frame]
					[missile_frame]
						begin="75"
						end="150"
						image="projectiles/fire-burst-small-2.png"
						image_diagonal="projectiles/fire-burst-small-2.png"
						offset="0.83"
					[/missile_frame]
					[missile_frame]
						begin="150"
						end="225"
						image="projectiles/fire-burst-small-3.png"
						image_diagonal="projectiles/fire-burst-small-3.png"
						offset="0.86"
					[/missile_frame]
					[missile_frame]
						begin="225"
						end="300"
						image="projectiles/fire-burst-small-4.png"
						image_diagonal="projectiles/fire-burst-small-4.png"
						offset="0.89"
					[/missile_frame]
					[missile_frame]
						begin="300"
						end="375"
						image="projectiles/fire-burst-small-5.png"
						image_diagonal="projectiles/fire-burst-small-5.png"
						offset="0.92"
					[/missile_frame]
					[missile_frame]
						begin="375"
						end="450"
						image="projectiles/fire-burst-small-6.png"
						image_diagonal="projectiles/fire-burst-small-6.png"
						offset="0.95"
					[/missile_frame]
					[missile_frame]
						begin="450"
						end="525"
						image="projectiles/fire-burst-small-7.png"
						image_diagonal="projectiles/fire-burst-small-7.png"
						offset="0.98"
					[/missile_frame]
					[missile_frame]
						begin="525"
						end="600"
						image="projectiles/fire-burst-small-8.png"
						image_diagonal="projectiles/fire-burst-small-8.png"
						offset="1.0"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[missile_frame]
						begin="-150"
						end="0"
						image="projectiles/missile-fire-n.png"
						image_diagonal="projectiles/missile-fire-ne.png"
					[/missile_frame]
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-fire-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="bow"
					type="pierce"
				[/filter_attack]
				[missile_frame]
					begin="-150"
					end="0"
					image="projectiles/missile-n.png"
					image_diagonal="projectiles/missile-ne.png"
				[/missile_frame]
				[if]
					hits="yes"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny.ogg"
					[/frame]
				[/if]
				[else]
					hits="no"
					[frame]
						begin="-400"
						end="-350"
						image="units/orcs/archer-ranged-1.png"
						sound="bow-puny-miss.ogg"
					[/frame]
				[/else]
				[frame]
					begin="-350"
					end="-300"
					image="units/orcs/archer-ranged-2.png"
				[/frame]
				[frame]
					begin="-300"
					end="-250"
					image="units/orcs/archer-ranged-3.png"
				[/frame]
				[frame]
					begin="-250"
					end="-100"
					image="units/orcs/archer-ranged-4.png"
				[/frame]
				[frame]
					begin="-100"
					end="-50"
					image="units/orcs/archer-ranged-5.png"
				[/frame]
				[frame]
					begin="-50"
					end="100"
					image="units/orcs/archer-ranged-6.png"
				[/frame]
			[/attack_anim]
			[attack_anim]
				[filter_attack]
					name="dagger"
				[/filter_attack]
				[frame]
					begin="-200"
					end="-175"
					image="units/orcs/archer-melee-01.png"
				[/frame]
				[frame]
					begin="-175"
					end="-150"
					image="units/orcs/archer-melee-02.png"
				[/frame]
				[frame]
					begin="-150"
					end="-125"
					image="units/orcs/archer-melee-03.png"
				[/frame]
				[frame]
					begin="-125"
					end="-100"
					image="units/orcs/archer-melee-04.png"
				[/frame]
				[frame]
					begin="-100"
					end="-75"
					image="units/orcs/archer-melee-05.png"
				[/frame]
				[if]
					hits="no"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="miss-1.ogg,miss-2.ogg,miss-3.ogg"
					[/frame]
				[/if]
				[else]
					hits="yes"
					[frame]
						begin="-75"
						end="-50"
						image="units/orcs/archer-melee-06.png"
						sound="dagger-swish.wav"
					[/frame]
				[/else]
				[frame]
					begin="-50"
					end="-25"
					image="units/orcs/archer-melee-07.png"
				[/frame]
				[frame]
					begin="-25"
					end="0"
					image="units/orcs/archer-melee-08.png"
				[/frame]
				[frame]
					begin="0"
					end="25"
					image="units/orcs/archer-melee-09.png"
				[/frame]
				[frame]
					begin="25"
					end="50"
					image="units/orcs/archer-melee-10.png"
				[/frame]
				[frame]
					begin="50"
					end="75"
					image="units/orcs/archer-melee-11.png"
				[/frame]
				[frame]
					begin="75"
					end="100"
					image="units/orcs/archer-melee-12.png"
				[/frame]
				[frame]
					begin="100"
					end="125"
					image="units/orcs/archer-melee-13.png"
				[/frame]
				[frame]
					begin="125"
					end="150"
					image="units/orcs/archer-melee-14.png"
				[/frame]
				[frame]
					begin="150"
					end="175"
					image="units/orcs/archer-melee-15.png"
				[/frame]
				[frame]
					begin="175"
					end="200"
					image="units/orcs/archer-melee-16.png"
				[/frame]
				[frame]
					begin="200"
					end="225"
					image="units/orcs/archer-melee-17.png"
				[/frame]
			[/attack_anim]
			[death]
				[frame]
					begin="0"
					end="55"
					image="units/orcs/archer-death-1.png"
				[/frame]
				[frame]
					begin="55"
					end="110"
					image="units/orcs/archer-death-2.png"
				[/frame]
				[frame]
					begin="110"
					end="165"
					image="units/orcs/archer-death-3.png"
				[/frame]
				[frame]
					begin="165"
					end="220"
					image="units/orcs/archer-death-4.png"
				[/frame]
				[frame]
					begin="220"
					end="275"
					image="units/orcs/archer-death-5.png"
				[/frame]
				[frame]
					begin="275"
					end="330"
					image="units/orcs/archer-death-6.png"
				[/frame]
				[frame]
					begin="330"
					end="385"
					image="units/orcs/archer-death-7.png"
				[/frame]
				[frame]
					begin="385"
					end="440"
					image="units/orcs/archer-death-8.png"
				[/frame]
				[frame]
					begin="440"
					end="500"
					image="units/orcs/archer-death-9.png"
				[/frame]
			[/death]
			[defend]
				start_time="-126"
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
				[frame]
					duration="100"
					image="units/orcs/archer-defend.png"
				[/frame]
				[if]
					hits="hit"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
						sound="orc-small-hit-1.ogg,orc-small-hit-2.ogg,orc-small-hit-3.ogg,orc-small-hit-4.ogg"
					[/frame]
				[/if]
				[else]
					hits="miss,kill"
					[frame]
						duration="150"
						image="units/orcs/archer-defend.png"
					[/frame]
				[/else]
				[frame]
					duration="1"
					image="units/orcs/archer.png"
				[/frame]
			[/defend]
			[idle_anim]
				[filter]
					[not]
						[filter_wml]
							[status]
								poisoned="yes"
							[/status]
						[/filter_wml]
					[/not]
				[/filter]
				[filter]
					[filter_adjacent]
						count="0"
						is_enemy="yes"
					[/filter_adjacent]
				[/filter]
				[frame]
					begin="0"
					end="100"
					image="units/orcs/archer-idle-1.png"
				[/frame]
				[frame]
					begin="100"
					end="200"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="200"
					end="300"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="300"
					end="500"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="500"
					end="600"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="600"
					end="700"
					image="units/orcs/archer-idle-3.png"
				[/frame]
				[frame]
					begin="700"
					end="900"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="900"
					end="1000"
					image="units/orcs/archer-idle-4.png"
				[/frame]
				[frame]
					begin="1000"
					end="1100"
					image="units/orcs/archer-idle-5.png"
				[/frame]
				[frame]
					begin="1100"
					end="1300"
					image="units/orcs/archer-idle-6.png"
				[/frame]
				[frame]
					begin="1300"
					end="1400"
					image="units/orcs/archer-idle-2.png"
				[/frame]
				[frame]
					begin="1400"
					end="1500"
					image="units/orcs/archer-idle-1.png"
				[/frame]
			[/idle_anim]
			[defense]
				castle="40"
				cave="60"
				deep_water="80"
				flat="60"
				forest="50"
				frozen="80"
				fungus="60"
				hills="50"
				impassable="60"
				mountains="40"
				reef="70"
				sand="70"
				shallow_water="80"
				swamp_water="70"
				unwalkable="80"
				village="40"
			[/defense]
			[movement_costs]
				castle="1"
				cave="2"
				deep_water="99"
				flat="1"
				forest="2"
				frozen="2"
				fungus="3"
				hills="1"
				impassable="99"
				mountains="2"
				reef="2"
				sand="2"
				shallow_water="3"
				swamp_water="3"
				unwalkable="99"
				village="1"
			[/movement_costs]
			[resistance]
				arcane="100"
				blade="100"
				cold="100"
				fire="100"
				impact="100"
				pierce="100"
			[/resistance]
			[variables]
			[/variables]
			[status]
				hidden="yes"
			[/status]
			[attack]
				damage="4"
				description=_ "dagger"
				icon="attacks/dagger-orcish.png"
				name="dagger"
				number="2"
				range="melee"
				type="blade"
			[/attack]
			[attack]
				damage="5"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="3"
				range="ranged"
				type="pierce"
			[/attack]
			[attack]
				damage="7"
				description=_ "bow"
				icon="attacks/bow-orcish.png"
				name="bow"
				number="2"
				range="ranged"
				type="fire"
			[/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]
	[/player]
[/snapshot]
[replay_start]
	current_tod="0"
#textdomain wesnoth-multiplayer
	description=_ "Players must traverse all manner of terrain in pursuit of victory on this multi-fronted duel map."
	experience_modifier="70"
	hash="cy9,5.FpN3rBcL.L4e+O18wLdEdI4Tz0IvgfbwAuK9N2059<42Xr0yhIQSuhssS,4T<A9.6ab>JpBPvMvrcHSQVHi2E+1XTwfH7D.FR+I29N,oCK6dipd3xe.OJ>Piko"
	id="multiplayer_Silverhead_Crossing"
	map_data="border_size=1
usage=map

Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Ww          , Ww          , Wo          , Ww          , Ww          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          
Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Ww          , Wo          , Ww          , Ww          , Ww          , Ww          , Uh          , Xu          , Xu          , Ww          , Hh          , Wo          , Ww          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          
Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Ww          , Ww          , Ww          , Gs^Fp       , Ww          , Xu          , Xu          , Gs^Fp       , Uu^Uf       , Uh          , Gs^Fp       , Mm          , Gg^Fet      , Ww          , Ww          , Ww          , Ww          , Ww          , Wo          , Ww          , Wo          , Wo          
Wo          , Wo          , Wo          , Wo          , Wo          , Wo          , Ww          , Ww          , Hh          , Gg          , Gg          , Gg          , Gg          , Uh          , Gg          , Gg          , Gg          , Ggf         , Gg          , Gg          , Gg          , Gs^Fp       , Hh          , Mm          , Gs^Fms      , Ww          , Ww          , Wo          , Wo          
Wo          , Wo          , Wo          , Wo          , Ww          , Wo          , Ww          , Mm          , Gs^Fms      , Gg^Ve       , Gg          , Gg          , Wwf         , Wwf         , Wwf         , Wo          , Wwf         , Gg          , Gg          , Gg          , Rr          , Gg^Vc       , Gg          , Wwf         , Chw         , Hh          , Gs^Fp       , Ww          , Wo          
Wo          , Wo          , Wo          , Wo          , Ww          , Ww          , Gg          , Wwf         , Wwf         , Wwf         , Wwf         , Wwf         , Gg          , Gs^Fp       , Xu          , Wwf         , Xu          , Wwf         , Wwf         , Gg          , Wwf         , Wwf         , Wwf         , Chw         , Rr          , Rr          , Wwf         , Ww          , Wo          
Wo          , Wo          , Wo          , Ww          , Ww          , Gs^Fp       , Rd          , Chw         , Kh          , Ch          , Gg          , Gg          , Rd          , Rd^Uf       , Uh          , Xu          , Xu          , Rd^Uf       , Xu          , Wwf         , Wwf         , Gg          , Gg          , Hh          , Hh          , Wwf         , Ww          , Ww          , Xu          
Wo          , Wo          , Wo          , Wo          , Gg          , Ggf         , Hh          , Mm          , Wwf         , Chw         , Rd          , Uu^Vud      , Uu          , Ur          , Uu^Uf       , Ur          , Gs^Fp       , Xu          , Rd          , Gg          , Wwf         , Gg          , Gg          , Gg^Ve       , Gg^Fet      , Wwf         , Gs^Fp       , Ww          , Xu          
Wo          , Wo          , Ww          , Ww          , Ww          , Gg^Ve       , Wwf         , Gg^Fet      , Wwf         , Ggf         , Xu          , Uu          , Xu          , Uu^Uf       , Wwf         , Uh          , Xu          , Rd          , Gg          , Gg^Ve       , Kh          , Wwf         , Gg          , Gg          , Xu          , Wwf         , Wwf         , Xu          , Xu          
Wo          , Wo          , Ww          , Ww          , Gg          , Wwf         , Gg          , Wwf         , Xu          , Xu          , Gg          , Xu          , Gg          , Gg          , Ww          , Gg          , Gg          , Xu          , Gg          , Gg          , Ww          , Chw         , Ch          , Gg          , Xu          , Xu          , Uh          , Xu          , Xu          
Ww          , Ww          , Ww          , Gg          , Gg          , Gs^Fds      , Gg          , Rd          , Gg          , Gg          , Gg^Vc       , Gg          , Gs^Fms      , Ww          , Wo          , Ww          , Ww          , Gg          , Wwf         , Wwf         , Gg          , Ww          , Kh          , Gg          , Rd          , Gs^Fp       , Rd          , Xu          , Xu          
Ww          , Ww          , Gg          , Gg          , 1 Kh        , Gg          , Rd          , Rd          , Mm          , Gs^Fp       , Gg          , Gg          , Gg          , Ww          , Wo          , Wo          , Ww          , Wwf         , Kh          , Gs^Fms      , Ggf         , Gg          , Gg          , Gg          , Hh          , Rd          , Gg          , Xu          , Xu          
Ww          , Ww          , Ggf         , Gg          , Ch          , Ch          , Ggf         , Gg          , Gg          , Hh          , Gg          , Gs^Fp       , Ww          , Ww          , Ww          , Ww          , Wwf         , Ss^Vhs      , Kh          , Gg          , Hh          , Gs^Fds      , Gg          , Mm          , Gg          , Gg          , Ww          , Gg          , Gg          
Ww          , Gg          , Gg          , Rd          , Ch          , Ch          , Gg          , Gg          , Gg          , Gg          , Hh          , Ww          , Wwf         , Wwf         , Rr          , Rr          , Chw         , Chw         , Wwf         , Gg          , Gg          , Gg          , Wwf         , Gg          , Wwf         , Gs^Fp       , Ww          , Ww          , Ww          
Ww          , Wwf         , Wwf         , Wwf         , Wwf         , Ch          , Kh          , Wwf         , Wwf         , Gg          , Wwf         , Wwf         , Chw         , Wwf         , Rr          , Wwf         , Wwf         , Wwf         , Gs^Fp       , Wwf         , Wwf         , Wwf         , 2 Kud       , Wwf         , Gg          , Wwf         , Ww          , Wo          , Wo          
Gs^Fds      , Gs^Fms      , Hh          , Gg          , Gg          , Wwf         , Wwf         , Wwf         , Gg          , Wwf         , Kh          , Chw         , Wwf         , Rr          , Mm          , Wwf         , Ww          , Ww          , Gg          , Gg          , Hh          , Gg          , Gg          , Cud         , Cud         , Gg          , Gg          , Ww          , Xu          
Rd          , Rd          , Rd          , Gg          , Rd          , Gg          , Gs^Fp       , Mm          , Hh          , Gg          , Kh          , Ss^Vhs      , Ww          , Ww          , Wo          , Ww          , Ww          , Ww          , Gg          , Gg          , Gg          , Mm          , Gg          , Kud         , Cud         , Rd          , Gg          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Rd          , Rd          , Rd          , Rd          , Gg          , Gg          , Wwf         , Wwf         , Ww          , Ww          , Ww          , Ww          , Ww          , Gs^Fms      , Ggf         , Gg^Ve       , Gs^Fds      , Gg          , Cud         , Cud         , Gg          , Rd          , Xu          , Xu          , Xu          
Xu          , Xu          , Uu^Uf       , Uu^Uf       , Uh          , Gg          , Kud         , Gg          , Wwf         , Wwf         , Xu          , Ww          , Hh          , Gs^Fp       , Gs^Fp       , Hh          , Ww          , Gg          , Hh          , Hh          , Xu          , Rd          , Rd          , Gg          , Rd          , Rd          , Gg          , Uu^Uf       , Uu^Uf       
Xu          , Xu          , Cud         , Wwf         , Xu          , Xu          , Wwf         , Cud         , Kud         , Xu          , Xu          , Xu          , Xu          , Cud         , Xu          , Cud         , Xu          , Xu          , Xu          , Xu          , Gs^Fp       , Gg          , Rd          , Rd          , Gg          , Gg          , Gs^Fp       , Xu          , Xu          
Xu          , Xu          , Cud         , Wwf         , Wwf         , Ww          , Gg          , Cud         , Rd          , Rd          , Uu^Vu       , Ur          , Uu^Uf       , Wwf^Uf      , Xu          , Wwf^Uf      , Uu^Uf       , Ur          , Uu^Vu       , Rd          , Rd          , Gg          , Rd          , Gg          , Uu^Vud      , Uu^Uf       , Cud         , Xu          , Xu          
Wwf         , Wwf         , Wwf         , Wwf         , Gs^Fp       , Gg^Vc       , Rd          , Rd          , Xu          , Ur          , Ur          , Uh          , Uh          , Wwf         , Wwf         , Wwf         , Uh          , Uh          , Ur          , Ur          , Xu          , Rd          , Gg          , Gg          , Gg          , Ur          , Cud         , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Gg          , Ggf         , Mm          , Rd          , Rd          , Xu          , Rd          , Xu          , Wwf         , Wwf         , Ggf         , Wwf         , Wwf         , Xu          , Rd          , Xu          , Rd          , Rd          , Kud         , Gg          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Hh          , Gs^Fp       , Gg          , Gg          , Rd          , Gg          , Gg          , Wwf         , Mm          , Gs^Fp       , Hh          , Gg          , Wwf         , Gg          , Rd          , Gg          , Cud         , Cud         , Cud         , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Rd^Uf       , Gg          , Gs^Fms      , Gg^Ve       , Gg          , Wwf         , Gg          , Gg          , Gg          , Gs^Fms      , Gg          , Wwf         , Gg          , Gg^Ve       , Gs^Fds      , Rd          , Rd^Uf       , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Ur          , Xu          , Xu          , Ggf         , Gg          , Wwf         , Gg          , Hh          , Gg          , Mm          , Hh          , Wwf         , Wwf         , Ggf         , Xu          , Xu          , Ur          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Ur          , Xu          , Rr          , Xu          , Wwf         , Wwf         , Gs^Fp       , Gg          , Xu          , Gg          , Gg          , Gg          , Wwf         , Xu          , Xu          , Ur          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Rr          , Wwf         , Chw         , Wwf         , Rr          , Ur          , Xu          , Uu^Uf       , Xu          , Ur          , Gs^Fp       , Rr          , Wwf         , Wwf         , Chw         , Wwf         , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Wwf         , Xu          , Xu          , Rr          , Rr          , Wwf         , Uh          , Wwf         , Uu^Uf       , Wwf         , Rr          , Rr          , Rr          , Rr          , Wwf         , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Wo          , Wwf         , Ur          , Wwf         , Wo          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Uh          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          , Xu          
"
	mp_countdown="yes"
	mp_countdown_action_bonus="20"
	mp_countdown_init_time="270"
	mp_countdown_reservoir_time="270"
	mp_countdown_turn_bonus="200"
	mp_fog="yes"
	mp_shroud="no"
	mp_use_map_settings="yes"
	mp_village_gold="2"
	name=_ "2p - Silverhead Crossing"
	next_underlying_unit_id="0"
#textdomain wesnoth
	objectives=_ "Victory:
@Defeat enemy leader(s)"
	observer="yes"
	random_seed="1884764481"
	random_start_time="no"
	scenario="Ladder KnightKunibert"
	turns="-1"
	version="1.6"
	[time]
		green="-20"
		id="dawn"
		image="misc/schedule-dawn.png"
		name=_ "Dawn"
		red="-20"
		sound="ambient/morning.ogg"
	[/time]
	[time]
		id="morning"
		image="misc/schedule-morning.png"
		lawful_bonus="25"
		name=_ "Morning"
	[/time]
	[time]
		id="afternoon"
		image="misc/schedule-afternoon.png"
		lawful_bonus="25"
		name=_ "Afternoon"
	[/time]
	[time]
		blue="-20"
		green="-20"
		id="dusk"
		image="misc/schedule-dusk.png"
		name=_ "Dusk"
		sound="ambient/night.ogg"
	[/time]
	[time]
		blue="-10"
		green="-40"
		id="first_watch"
		image="misc/schedule-firstwatch.png"
		lawful_bonus="-25"
		name=_ "First Watch"
		red="-40"
	[/time]
	[time]
		blue="-10"
		green="-40"
		id="second_watch"
		image="misc/schedule-secondwatch.png"
		lawful_bonus="-25"
		name=_ "Second Watch"
		red="-40"
	[/time]
	[music]
		ms_before="12000"
		name="knolls.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="wanderer.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="battle.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="transience.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="the_king_is_dead.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="knalgan_theme.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="the_city_falls.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="nunc_dimittis.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="revelation.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="loyalists.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="breaking_the_chains.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="elvish-theme.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="legends_of_the_north.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="traveling_minstrels.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="underground.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="vengeful.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="frantic.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="the_dangerous_symphony.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="heroes_rite.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="suspense.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="the_deep_path.ogg"
	[/music]
	[music]
		append="yes"
		ms_before="12000"
		name="siege_of_laurelmor.ogg"
	[/music]
	[event]
		name="prestart"
		[music]
			ms_before="12000"
			name="knolls.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="wanderer.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="battle.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="transience.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="revelation.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="loyalists.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="the_king_is_dead.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="knalgan_theme.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="the_city_falls.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="nunc_dimittis.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="breaking_the_chains.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="elvish-theme.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="legends_of_the_north.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="traveling_minstrels.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="underground.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="vengeful.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="frantic.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="the_dangerous_symphony.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="heroes_rite.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="suspense.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="the_deep_path.ogg"
		[/music]
		[music]
			append="yes"
			ms_before="12000"
			name="siege_of_laurelmor.ogg"
		[/music]
	[/event]
	[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]
		allow_changes="yes"
		allow_player="yes"
		canrecruit="yes"
		colour="1"
		controller="human"
		current_player="KnightKunibert"
		flag_rgb="magenta"
		fog="yes"
		gender="male"
		gold="100"
		id="KnightKunibert1"
		image="units/drakes/flare.png"
		income="0"
		leader="Drake Flare,Fire Drake,Drake Slasher,Drake Gladiator,Drake Warrior,Saurian Oracle,Saurian Soothsayer"
		mp_countdown="yes"
		mp_countdown_action_bonus="20"
		mp_countdown_init_time="270"
		mp_countdown_reservoir_time="270"
		mp_countdown_turn_bonus="200"
		name="KnightKunibert"
		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"
		save_id="KnightKunibert1"
		share_maps="no"
		share_view="yes"
		shroud="no"
		side="1"
		team_name="west"
		terrain_liked="Hh, Ha, Ds, Ss"
		type="Drake Warrior"
		user_team_name="wesnoth-multiplayerteamname^West"
		village_gold="2"
		[ai]
			recruitment_pattern="fighter,fighter,archer,healer,scout,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]
	[/side]
	[side]
		allow_changes="yes"
		allow_player="yes"
		canrecruit="yes"
		colour="2"
		controller="network"
		current_player="dr_snuggles"
		flag_rgb="magenta"
		fog="yes"
		gender="male"
		gold="100"
		id="dr_snuggles2"
		image="units/orcs/warrior.png"
		income="0"
		leader="Orcish Warrior,Troll,Troll Rocklobber,Orcish Crossbowman,Orcish Slayer"
		mp_countdown="yes"
		mp_countdown_action_bonus="20"
		mp_countdown_init_time="270"
		mp_countdown_reservoir_time="270"
		mp_countdown_turn_bonus="200"
		name="dr_snuggles"
		recruit="Orcish Grunt,Troll Whelp,Wolf Rider,Orcish Archer,Orcish Assassin,Naga Fighter,Goblin Spearman"
		save_id="dr_snuggles2"
		share_maps="no"
		share_view="yes"
		shroud="no"
		side="2"
		team_name="east"
		terrain_liked="Hh, Ha, Mm, Ss"
		type="Orcish Crossbowman"
		user_team_name="wesnoth-multiplayerteamname^East"
		village_gold="2"
		[ai]
			recruitment_pattern="fighter,fighter,fighter,mixed fighter,archer,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]
	[/side]
[/replay_start]
[statistics]
	mid_scenario="yes"
	[scenario]
		scenario="2p - Silverhead Crossing"
		[team]
			[recruits]
				Drake Burner="2"
				Drake Clasher="2"
				Drake Fighter="2"
				Saurian Augur="5"
				Saurian Skirmisher="4"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
				Saurian Augur="5"
				Saurian Skirmisher="3"
			[/deaths]
			[killed]
				Goblin Spearman="1"
				Naga Fighter="1"
				Orcish Archer="1"
				Orcish Crossbowman="1"
				Orcish Grunt="1"
				Troll Whelp="1"
				Wolf Rider="1"
			[/killed]
			[attacks]
				[sequence]
					s000="1"
					s0000="1"
					s01="1"
					s100="1"
					s1000="1"
					s1001="1"
					s101="1"
					s1010="1"
					_num="40"
				[/sequence]
				[sequence]
					s11="2"
					s1110="1"
					_num="50"
				[/sequence]
				[sequence]
					s0011="1"
					s011="1"
					s1001="1"
					s101="1"
					s1100="1"
					_num="60"
				[/sequence]
				[sequence]
					s010="1"
					s011="2"
					s100="1"
					s101="2"
					s111="5"
					_num="70"
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					s="2"
					_num="0"
				[/sequence]
				[sequence]
					s00="1"
					_num="30"
				[/sequence]
				[sequence]
					s="1"
					s00="1"
					s000="3"
					s01="2"
					s010="1"
					s1="1"
					_num="40"
				[/sequence]
				[sequence]
					s="1"
					s011="1"
					s1="1"
					_num="50"
				[/sequence]
				[sequence]
					s="1"
					s0="1"
					s00="1"
					s001="1"
					s0010="1"
					s01="1"
					s0110="1"
					s10="2"
					s100="1"
					s11="5"
					s111="2"
					_num="60"
				[/sequence]
				[sequence]
					s="1"
					s1001="1"
					_num="70"
				[/sequence]
				[sequence]
					s11="1"
					_num="80"
				[/sequence]
			[/defends]
			recruit_cost="254"
			recall_cost="0"
			damage_inflicted="449"
			damage_taken="398"
			expected_damage_inflicted="465709"
			expected_damage_taken="377501"
			turn_damage_inflicted="40"
			turn_damage_taken="6"
			turn_expected_damage_inflicted="29238"
			turn_expected_damage_taken="9666"
			save_id="KnightKunibert1"
		[/team]
		[team]
			[recruits]
				Goblin Spearman="1"
				Naga Fighter="2"
				Orcish Archer="5"
				Orcish Assassin="1"
				Orcish Grunt="5"
				Troll Whelp="3"
				Wolf Rider="2"
			[/recruits]
			[recalls]
			[/recalls]
			[advances]
			[/advances]
			[deaths]
				Goblin Spearman="1"
				Naga Fighter="1"
				Orcish Archer="1"
				Orcish Crossbowman="1"
				Orcish Grunt="1"
				Troll Whelp="1"
				Wolf Rider="1"
			[/deaths]
			[killed]
				Saurian Augur="5"
				Saurian Skirmisher="3"
			[/killed]
			[attacks]
				[sequence]
					s00="4"
					s01="1"
					s0111="1"
					s1="3"
					s10="2"
					s11="1"
					_num="40"
				[/sequence]
				[sequence]
					s000="1"
					s01="2"
					s011="1"
					s1="1"
					s10="2"
					s101="1"
					s11="2"
					s110="1"
					s1111="1"
					_num="60"
				[/sequence]
				[sequence]
					s011="1"
					s100="3"
					s11="2"
					s110="2"
					s111="3"
					_num="70"
				[/sequence]
			[/attacks]
			[defends]
				[sequence]
					s="15"
					_num="0"
				[/sequence]
				[sequence]
					s00="1"
					_num="40"
				[/sequence]
				[sequence]
					s0="1"
					s000="1"
					s01="2"
					s1="1"
					s11="2"
					_num="60"
				[/sequence]
				[sequence]
					s1="1"
					s10="1"
					s11="1"
					s1101="1"
					_num="70"
				[/sequence]
			[/defends]
			recruit_cost="257"
			recall_cost="0"
			damage_inflicted="398"
			damage_taken="449"
			expected_damage_inflicted="377501"
			expected_damage_taken="465709"
			turn_damage_inflicted="119"
			turn_damage_taken="84"
			turn_expected_damage_inflicted="112946"
			turn_expected_damage_taken="82890"
			save_id="dr_snuggles2"
		[/team]
	[/scenario]
[/statistics]
