<?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="105822" version="45">
	<difficultycoloroverride>2</difficultycoloroverride>
	<repeatableduration>72</repeatableduration>
	<level>43</level>
	<repeatable>true</repeatable>
	<offertype>eOfferNone</offertype>
	<timer>
		<time>00:20:00</time>
		<events/>
		<hideonui>false</hideonui>
	</timer>
	<canplaycoop>true</canplaycoop>
	<cooprequired>false</cooprequired>
	<ranked>false</ranked>
	<alliance>eAllianceNone</alliance>
	<questtype>RandomMap</questtype>
	<displayname>$$3000878$$</displayname>
	<description>$$3000879$$</description>
	<completiontext>$$3000880$$</completiontext>
	<inprogresstext>$$3000881$$</inprogresstext>
	<summarytext>$$3000882$$</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>Quest_Area_A</area>
			<groupfilename>Shared_Player1_Age2_BarracksTowers</groupfilename>
			<rottype>Rotate0</rottype>
			<rotateunitorientations>false</rotateunitorientations>
		</grouping>
		<grouping>
			<cooponly>true</cooponly>
			<forcetocenter>false</forcetocenter>
			<name>Player2</name>
			<count>1</count>
			<team>3</team>
			<area>Quest_Area_B</area>
			<groupfilename>Shared_Player3_Age2_BarracksTowers</groupfilename>
			<rottype>Rotate0</rottype>
			<rotateunitorientations>false</rotateunitorientations>
		</grouping>
		<random placeatleast="0" placenomore="1">
			<cooponly>false</cooponly>
			<forcetocenter>false</forcetocenter>
			<unitprobability>
				<unit name="PhantomJugger" chance="0.08"/>
			</unitprobability>
			<targets>
				<protounit>
					<cooponly>false</cooponly>
					<forcetocenter>false</forcetocenter>
					<count>1</count>
					<team>7</team>
					<name>PhantomJugger</name>
					<area>Quest_Area_E</area>
					<protoname>PhantomJugger</protoname>
					<overrides parent="NPC_IndianHero01">
						<visualscale>1.0</visualscale>
						<DisplayNameID>171227</DisplayNameID>
						<RolloverTextID>171228</RolloverTextID>
						<ShortRolloverTextID>171229</ShortRolloverTextID>
						<animfile>Celeste\CivIndian\Units\Mounted\PhantomJuggernaut\PhantomJuggernaut.xml</animfile>
						<initialhitpoints>17500</initialhitpoints>
						<maxhitpoints>17500</maxhitpoints>
						<ProtoAction>
							<Name>MeleeAttack</Name>
							<Damage>120.000000</Damage>
						</ProtoAction>
					</overrides>
					<usequesttargetindicator>true</usequesttargetindicator>
				</protounit>
			</targets>
		</random>
	</targets>
	<objectives id="0" mustfailall="false">
		<values>
			<or id="1" mustfailall="false">
				<values>
					<and id="2" mustfailall="false">
						<values>
							<kill id="3">
								<description>$$2001045$$</description>
								<type>Pe_Bldg_TownCenter</type>
								<count>3</count>
								<includeconversion>true</includeconversion>
								<onlycountelites>false</onlycountelites>
							</kill>
							<kill id="4">
								<description>$$2507$$</description>
								<type>Pe_Bldg_Fortress</type>
								<count>7</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>$$2530$$</description>
						<type>Pe_Bldg_Wonder</type>
						<count>1</count>
						<includeconversion>true</includeconversion>
						<onlycountelites>false</onlycountelites>
					</kill>
				</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>
	<playersettings id="1">
		<team>1</team>
		<color>1</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Human</playertype>
		<cooponly>false</cooponly>
		<startingfood>1000</startingfood>
		<startingwood>1000</startingwood>
		<startinggold>1000</startinggold>
		<startingstone>1000</startingstone>
		<aislidervariables />
		<aiflagvariables />
	</playersettings>
	<playersettings id="2">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script>core/Rush_Moderate</script>
		<dataset>Celeste\Event\C04_CoreRamp_T4_HE</dataset>
		<!-- <dataset>c03\c03_coreramp_t4</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>1000</startingfood>
		<startingwood>1000</startingwood>
		<startinggold>1000</startinggold>
		<startingstone>1000</startingstone>
		<aislidervariables />
		<aiflagvariables />
	</playersettings>
	<playersettings id="4">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script>core/Rush_Moderate</script>
		<dataset>Celeste\Event\C04_CoreRamp_T4_HE</dataset>
		<!-- <dataset>c03\c03_coreramp_t4</dataset> -->
		<cooponly>false</cooponly>
		<startingfood>100</startingfood>
		<startingwood>100</startingwood>
		<startinggold>100</startinggold>
		<startingstone>500</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="5">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script>core/Turtle_Moderate</script>
		<dataset>Celeste\Event\C04_CoreRamp_T4_HE</dataset>
		<!-- <dataset>c03\c03_coreramp_t4</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="6">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script>core\Rush_Moderate</script>
		<dataset>Celeste\Event\C04_CoreRamp_T4_HE</dataset>
		<!-- <dataset>c03\c03_coreramp_t4</dataset> -->
		<cooponly>false</cooponly>
		<startingfood>0</startingfood>
		<startingwood>0</startingwood>
		<startinggold>0</startinggold>
		<startingstone>0</startingstone>
		<aislidervariables>
		</aislidervariables>
	</playersettings>
	<playersettings id="7">
		<team>2</team>
		<color>14</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script/>
		<dataset>Celeste\Event\C04_CoreRamp_T4_HE</dataset>
		<!-- <dataset>c03\c03_coreramp_t4</dataset> -->
		<cooponly>false</cooponly>
		<startingfood>0</startingfood>
		<startingwood>0</startingwood>
		<startinggold>0</startinggold>
		<startingstone>0</startingstone>
		<aislidervariables>
		</aislidervariables>
	</playersettings>
	<playersettings id="8">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001684$$</personality>
		<script/>
		<dataset>Celeste\Event\C04_CoreRamp_T4_HE</dataset>
		<!-- <dataset>c03\c03_coreramp_t4</dataset> -->
		<cooponly>false</cooponly>
		<startingfood>0</startingfood>
		<startingwood>0</startingwood>
		<startinggold>0</startinggold>
		<startingstone>0</startingstone>
		<aislidervariables>
		</aislidervariables>
	</playersettings>
	<randommap>
		<map>Celeste\Event\Halloween\Halloween_Loader_NoBonusMultipliers</map>
		<randommap>true</randommap>
		<numplayers>8</numplayers>
		<mapvariables>
			<variable name="scenarioFile" type="String">Celeste\Event\Halloween\Halloween2021_M17_EnterAtOwnRisk</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">105822</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,5,6,7,8</variable>
			<variable name="OptionalRestrictCaravans" type="Bool">true</variable>
			<variable name="lighting" type="String">Darkness</variable>
		</mapvariables>
		<nuggetoverrides>
			<nuggetoverride overrideweight="10000000">Legendary_40-50_01</nuggetoverride>
		</nuggetoverrides>
		<mapregionname>Celeste DarkGround</mapregionname>
		<lightsetname>Darkness</lightsetname>
		<mapsizename>Standard</mapsizename>
	</randommap>
	<questgivers>
		<protounit>Halloween_BahramQG</protounit>
	</questgivers>
	<questreturners>
		<protounit>Halloween_BahramQG</protounit>
	</questreturners>
	<maplocationx>0.5</maplocationx>
	<maplocationy>0.40</maplocationy>
	<mapmarker>QuestRepeatable</mapmarker>
	<mappage>Persia</mappage>
	<elitespawnchance>1</elitespawnchance>
	<questbasescale>0</questbasescale>
	<victoryconditions />
</quest>