<?xml version="1.0" encoding="utf-8"?>
<quest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema" uniqueid="105863" version="45">
	<difficultycoloroverride>2</difficultycoloroverride>
	<repeatableduration>72</repeatableduration>
	<level>43</level>
	<repeatable>true</repeatable>
	<offertype>eOfferNone</offertype>
	<timer>
		<time>00:35:00</time>
		<events/>
		<hideonui>false</hideonui>
	</timer>
	<canplaycoop>true</canplaycoop>
	<cooprequired>false</cooprequired>
	<ranked>false</ranked>
	<alliance>eAllianceNone</alliance>
	<questtype>RandomMap</questtype>
	<displayname>$$3001053$$</displayname>
	<description>$$3001054$$</description>
	<completiontext>$$3001055$$</completiontext>
	<inprogresstext>$$3001056$$</inprogresstext>
	<summarytext>$$3001057$$</summarytext>
	<rewardinfotext>$$40022$$</rewardinfotext>
	<canabandon>true</canabandon>
	<hiddenquest>false</hiddenquest>
	<friendonly>false</friendonly>
	<suppressnotifications>false</suppressnotifications>
	<customquest>false</customquest>
	<questgamemodetype>Normal</questgamemodetype>
	<prereqs>
		<values>
			<event>Halloween</event>
			<questcomplete>
				<id>105800</id>
			</questcomplete>
			<level>
				<min>40</min>
				<max>99</max>
			</level>
		</values>
	</prereqs>
	<equipmentprereqs />
	<targets>
		<grouping>
			<cooponly>false</cooponly>
			<forcetocenter>false</forcetocenter>
			<name>Player1</name>
			<count>1</count>
			<team>1</team>
			<area>Player1</area>
			<groupfilename>Shared_Player1_Age2_BarracksTowers</groupfilename>
			<rottype>Rotate0</rottype>
			<rotateunitorientations>false</rotateunitorientations>
		</grouping>
		<grouping>
			<cooponly>true</cooponly>
			<forcetocenter>false</forcetocenter>
			<name>Player3</name>
			<count>1</count>
			<team>3</team>
			<area>Player3</area>
			<groupfilename>Shared_Player3_Age2_BarracksTowers</groupfilename>
			<rottype>Rotate0</rottype>
			<rotateunitorientations>false</rotateunitorientations>
		</grouping>
		<protounit>
			<cooponly>false</cooponly>
			<forcetocenter>false</forcetocenter>
			<count>1</count>
			<team>8</team>
			<name>HeadlessHorseman</name>
			<area>Quest_Area_A</area>
			<protoname>HeadlessHorseman</protoname>
			<overrides parent="NPC_Halloween_HeadlessHorseman">
				<visualscale>1.6</visualscale>
				<initialhitpoints>16000</initialhitpoints>
				<maxhitpoints>16000</maxhitpoints>
				<convertresist>100</convertresist>
				<Armor type="Ranged" value="0.6000" />
				<ProtoAction>
					<Name>MeleeAttack</Name>
					<Damage>130.000000</Damage>
					<DamageArea>4.000000</DamageArea>
					<ROF>0.000000</ROF>
					<DamageFlags>Gaia Enemy</DamageFlags>
					<DamageType>Hand</DamageType>
					<ImpactEffect>effects\impacts\meleelite</ImpactEffect>
				</ProtoAction>
			</overrides>
			<usequesttargetindicator>true</usequesttargetindicator>
		</protounit>
	</targets>
	<objectives id="0" mustfailall="false">
		<values>
			<or id="1" mustfailall="false">
				<values>
					<and id="2" mustfailall="false">
						<values>
							<kill id="3">
								<description>$$2507$$</description>
								<type>Ce_Bldg_Fortress</type>
								<count>6</count>
								<includeconversion>true</includeconversion>
								<onlycountelites>false</onlycountelites>
							</kill>
							<kill id="4">
								<description>$$2001716$$</description>
								<type>HeadlessHorseman</type>
								<count>1</count>
								<includeconversion>true</includeconversion>
								<onlycountelites>false</onlycountelites>
							</kill>
						</values>
					</and>
					<and id="5" mustfailall="true">
						<values>
							<reduceunitsto id="6">
								<type>LogicalTypeNeededForVictory</type>
								<count>0</count>
								<includeteam>false</includeteam>
								<includeunderconstruction>false</includeunderconstruction>
								<canuncomplete>false</canuncomplete>
								<causesfailure>true</causesfailure>
								<playerid>1</playerid>
							</reduceunitsto>
							<reduceunitsto id="7">
								<type>LogicalTypeNeededForVictory</type>
								<count>0</count>
								<includeteam>false</includeteam>
								<includeunderconstruction>false</includeunderconstruction>
								<canuncomplete>false</canuncomplete>
								<causesfailure>true</causesfailure>
								<playerid>3</playerid>
							</reduceunitsto>
						</values>
					</and>
				</values>
			</or>
		</values>
	</objectives>
	<secondaryobjectives id="8" mustfailall="false" rewardname="Option1">
		<description>$$9656$$</description>
		<values>
			<or id="9" mustfailall="false">
				<values>
					<timer id="10">
						<description>$$9656$$</description>
						<failonexpire>true</failonexpire>
					</timer>
					<kill id="11">
						<description>$$3001058$$</description>
						<type>HeadlessHorseman</type>
						<count>1</count>
						<includeconversion>true</includeconversion>
						<onlycountelites>false</onlycountelites>
					</kill>
				</values>
			</or>
		</values>
	</secondaryobjectives>
	<secondaryobjectives id="12" mustfailall="false" rewardname="Option2">
		<description>$$9658$$</description>
		<values>
			<or id="13" mustfailall="false">
				<values>
					<dummy id="14">
						<description>$$30013$$</description>
						<objectivename>OptionalRestrictCaravans</objectivename>
						<autocomplete>false</autocomplete>
					</dummy>
					<and id="15" mustfailall="false">
						<values>
							<kill id="16">
								<description />
								<type>Ce_Bldg_Fortress</type>
								<count>6</count>
								<includeconversion>true</includeconversion>
								<onlycountelites>false</onlycountelites>
							</kill>
							<kill id="17">
								<description />
								<type>HeadlessHorseman</type>
								<count>1</count>
								<includeconversion>true</includeconversion>
								<onlycountelites>false</onlycountelites>
							</kill>
						</values>
					</and>
				</values>
			</or>
		</values>
	</secondaryobjectives>
	<rewards visible="true">
		<gamecurrency visible="true">
			<gamecurrency>cGameCurEmpirePoints</gamecurrency>
			<amount>20</amount>
		</gamecurrency>
		<alliancepoints visible="true">
			<amount>20</amount>
		</alliancepoints>
		<capitalresource visible="true">
			<capitalresource>cCapResCoin</capitalresource>
			<amount>1000</amount>
		</capitalresource>
		<capitalresource visible="true">
			<capitalresource>cCapResFactionPoints1</capitalresource>
			<amount>550</amount>
		</capitalresource>
		<loottable visible="true">celeste_leg_chest_fp</loottable>
		<loottable visible="true">celeste_leg_chest_fp</loottable>
		<loottable visible="true">celeste_leg_chest_fp</loottable>
		<loottable visible="true">celeste_leg_chest_fp</loottable>
		<material visible="true">
			<materialname>HE_UndyingSoul</materialname>
			<count>4</count>
		</material>
		<material visible="true">
			<materialname>HE_FlawlessEmerald</materialname>
			<count>4</count>
		</material>
		<material visible="true">
			<materialname>HE_MeteoricIron</materialname>
			<count>400</count>
		</material>
		<material visible="true">
			<materialname>HE_Blackwood</materialname>
			<count>400</count>
		</material>
	</rewards>
	<secondaryrewards visible="true" name="Option1">
		<capitalresource visible="true">
			<capitalresource>cCapResCoin</capitalresource>
			<amount>500</amount>
		</capitalresource>
		<loottable visible="true">celeste_leg_chest_fp</loottable>
		<loottable visible="true">celeste_leg_chest_fp</loottable>
	</secondaryrewards>
	<secondaryrewards visible="true" name="Option2">
		<capitalresource visible="true">
			<capitalresource>cCapResCoin</capitalresource>
			<amount>500</amount>
		</capitalresource>
		<loottable visible="true">celeste_leg_chest_fp</loottable>
		<loottable visible="true">celeste_leg_chest_fp</loottable>
	</secondaryrewards>
	<playersettings id="1">
		<team>1</team>
		<color>1</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Human</playertype>
		<cooponly>false</cooponly>
		<startingfood>800</startingfood>
		<startingwood>1200</startingwood>
		<startinggold>400</startinggold>
		<startingstone>400</startingstone>
		<aislidervariables />
		<aiflagvariables />
	</playersettings>
	<playersettings id="2">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script>CORE\Turtle_Moderate</script>
		<dataset>celeste\event\c03_coreramp_t4_he</dataset>
		<cooponly>false</cooponly>
		<startingfood>0</startingfood>
		<startingwood>0</startingwood>
		<startinggold>0</startinggold>
		<startingstone>0</startingstone>
		<aislidervariables>
			<aivariable>
				<key>InfantryBias</key>
				<value>1</value>
			</aivariable>
			<aivariable>
				<key>CavalryBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>ArcherBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>SiegeBias</key>
				<value>1</value>
			</aivariable>
			<aivariable>
				<key>NavyBias</key>
				<value>1</value>
			</aivariable>
		</aislidervariables>
		<aiflagvariables>
			<aivariable>
				<key>NoResign</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>NoTrainNavy</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>UseWaves</key>
				<value>0</value>
			</aivariable>
		</aiflagvariables>
	</playersettings>
	<playersettings id="3">
		<team>1</team>
		<color>7</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Human</playertype>
		<cooponly>true</cooponly>
		<startingfood>800</startingfood>
		<startingwood>1200</startingwood>
		<startinggold>400</startinggold>
		<startingstone>400</startingstone>
		<aislidervariables />
		<aiflagvariables />
	</playersettings>
	<playersettings id="4">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script>CORE\Turtle_Moderate</script>
		<dataset>celeste\event\c03_coreramp_t4_he</dataset>
		<cooponly>false</cooponly>
		<startingfood>0</startingfood>
		<startingwood>0</startingwood>
		<startinggold>0</startinggold>
		<startingstone>0</startingstone>
		<aislidervariables>
			<aivariable>
				<key>InfantryBias</key>
				<value>1</value>
			</aivariable>
			<aivariable>
				<key>CavalryBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>ArcherBias</key>
				<value>1</value>
			</aivariable>
			<aivariable>
				<key>SiegeBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>NavyBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>EconomyHandicap</key>
				<value>-0.2</value>
			</aivariable>
		</aislidervariables>
		<aiflagvariables>
			<aivariable>
				<key>NoResign</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>NoTrainNavy</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>UseWaves</key>
				<value>0</value>
			</aivariable>
		</aiflagvariables>
	</playersettings>
	<playersettings id="5">
		<team>3</team>
		<color>5</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2265$$</personality>
		<script>Custom\AIDoNothing</script>
		<dataset>Celeste\Event\C04_CoreRamp_T4_HE</dataset>
		<cooponly>false</cooponly>
		<startingfood>0</startingfood>
		<startingwood>0</startingwood>
		<startinggold>0</startinggold>
		<startingstone>0</startingstone>
		<aislidervariables />
		<aiflagvariables>
			<aivariable>
				<value>0</value>
			</aivariable>
		</aiflagvariables>
	</playersettings>
	<playersettings id="6">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script>CORE\Rush_Moderate</script>
		<dataset>celeste\event\c03_coreramp_t4_he</dataset>
		<cooponly>false</cooponly>
		<startingfood>0</startingfood>
		<startingwood>0</startingwood>
		<startinggold>0</startinggold>
		<startingstone>0</startingstone>
		<aislidervariables>
			<aivariable>
				<key>InfantryBias</key>
				<value>1</value>
			</aivariable>
			<aivariable>
				<key>CavalryBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>ArcherBias</key>
				<value>1</value>
			</aivariable>
			<aivariable>
				<key>SiegeBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>NavyBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>EconomyHandicap</key>
				<value>-0.2</value>
			</aivariable>
		</aislidervariables>
		<aiflagvariables>
			<aivariable>
				<key>NoResign</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>NoTrainNavy</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>UseWaves</key>
				<value>0</value>
			</aivariable>
		</aiflagvariables>
	</playersettings>
	<playersettings id="7">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script>core\Turtle_Heavy</script>
		<dataset>celeste\event\c03_coreramp_t4_he</dataset>
		<cooponly>false</cooponly>
		<startingfood>0</startingfood>
		<startingwood>0</startingwood>
		<startinggold>0</startinggold>
		<startingstone>0</startingstone>
		<aislidervariables>
			<aivariable>
				<key>InfantryBias</key>
				<value>1</value>
			</aivariable>
			<aivariable>
				<key>CavalryBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>ArcherBias</key>
				<value>1</value>
			</aivariable>
			<aivariable>
				<key>SiegeBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>NavyBias</key>
				<value>-1</value>
			</aivariable>
			<aivariable>
				<key>EconomyHandicap</key>
				<value>-0.4</value>
			</aivariable>
		</aislidervariables>
		<aiflagvariables>
			<aivariable>
				<key>NoResign</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>NoTrainNavy</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>UseWaves</key>
				<value>0</value>
			</aivariable>
		</aiflagvariables>
	</playersettings>
	<playersettings id="8">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script>Custom\AIDoNothing</script>
		<dataset>celeste\event\c03_coreramp_t4_he</dataset>
		<cooponly>false</cooponly>
		<startingfood>0</startingfood>
		<startingwood>0</startingwood>
		<startinggold>0</startinggold>
		<startingstone>0</startingstone>
		<aislidervariables />
		<aiflagvariables>
			<aivariable>
				<value>0</value>
			</aivariable>
		</aiflagvariables>
	</playersettings>
	<diplomacysettings>
		<diplomacy relation="Ally" team1="1" team2="3" sharedlos="true"/>
		<diplomacy relation="Ally" team1="3" team2="1" sharedlos="true"/>
		<diplomacy relation="Neutral" team1="2" team2="3" sharedlos="false"/>
		<diplomacy relation="Neutral" team1="3" team2="2" sharedlos="false"/>
	</diplomacysettings>
	<randommap>
		<map>Celeste\Event\Halloween\Halloween_Loader_NoBonusMultipliers</map>
		<randommap>true</randommap>
		<numplayers>8</numplayers>
		<mapvariables>
			<variable name="scenarioFile" type="String">Celeste\Event\Halloween\Halloween2022_M19_VileIsle</variable>
			<variable name="region" type="String">Celeste DarkGround</variable>
			<variable name="mapSize" type="String">Standard</variable>
			<variable name="IsREPEAT" type="Bool">true</variable>
			<variable name="QuestID" type="Int">105863</variable>
			<variable name="IsLEGENDARY" type="Bool">true</variable>
			<variable name="bIsELITE" type="Bool">false</variable>
			<variable name="MainPlayerID" type="Int">1</variable>
			<variable name="CoopPlayerID" type="Int">3</variable>
			<variable name="EnemyTeamID" type="String">2,4,6,7,8</variable>
			<variable name="OptionalRestrictCaravans" type="Bool">true</variable>
			<variable name="P2AttackDelayMod" type="Int">10</variable>
			<variable name="P4AttackDelayMod" type="Int">9</variable>
			<variable name="P6AttackDelayMod" type="Int">4</variable>
			<variable name="P7AttackDelayMod" type="Int">7</variable>
			<variable name="lighting" type="String">PersianNight</variable>
		</mapvariables>
		<nuggetoverrides>
			<nuggetoverride overrideweight="10000000">Legendary_40-50_01</nuggetoverride>
		</nuggetoverrides>
		<mapregionname>Celeste DarkGround</mapregionname>
		<lightsetname>PersianNight</lightsetname>
		<mapsizename>Standard</mapsizename>
	</randommap>
	<questgivers>
		<protounit>Halloween_BahramQG</protounit>
	</questgivers>
	<questreturners>
		<protounit>Halloween_BahramQG</protounit>
	</questreturners>
	<maplocationx>0.2</maplocationx>
	<maplocationy>0.07</maplocationy>
	<mapmarker>QuestRepeatable</mapmarker>
	<mappage>Persia</mappage>
	<elitespawnchance>1</elitespawnchance>
	<questbasescale>0</questbasescale>
	<victoryconditions />
</quest>