﻿<?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="108008" version="45">
	<displayname>$$2001740$$</displayname>
	<level>43</level>
	<difficultycoloroverride>2</difficultycoloroverride>
	<repeatable>true</repeatable>
	<offertype>eOfferNone</offertype>
	<timer>
		<time>00:40:00</time>
		<events/>
		<hideonui>false</hideonui>
	</timer>
	<canplaycoop>true</canplaycoop>
	<cooprequired>false</cooprequired>
	<ranked>false</ranked>
	<alliance>eAllianceNone</alliance>
	<questtype>RandomMap</questtype>
	<description>$$2001741$$</description>
	<completiontext>$$2001742$$</completiontext>
	<inprogresstext>$$2001743$$</inprogresstext>
	<summarytext>$$2001744$$</summarytext>
	<rewardinfotext>$$40022$$</rewardinfotext>
	<!-- EDIT ADDED -->
	<repeatableduration>72</repeatableduration>
	<canabandon>true</canabandon>
	<hiddenquest>false</hiddenquest>
	<friendonly>false</friendonly>
	<suppressnotifications>false</suppressnotifications>
	<customquest>false</customquest>
	<questgamemodetype>Normal</questgamemodetype>
	<prereqs>
		<values>
			<event>Winter</event>
			<questcomplete>
				<id>108000</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>Player2</name>
			<count>1</count>
			<team>3</team>
			<area>Player2</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>5</team>
			<name>iceking</name>
			<area>Quest_Area_A</area>
			<protoname>iceking</protoname>
			<overrides parent="NPC_Winter_Unit_IceKing">
				<visualscale>1.7</visualscale>
				<initialhitpoints>7000</initialhitpoints>
				<maxhitpoints>7000</maxhitpoints>
				<convertresist>100</convertresist>
				<Armor type="Ranged" value="0.4000" />
				<ProtoAction>
					<Name>MeleeAttack</Name>
					<Damage>70.000000</Damage>
					<DamageArea>2.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>
					<timer id="2">
						<description>$$2471$$</description>
						<failonexpire>true</failonexpire>
					</timer>
					<and id="3" mustfailall="false">
						<values>
							<kill id="4">
								<description>$$2507$$</description>
								<type>Gr_Bldg_Fortress</type>
								<count>3</count>
								<includeconversion>true</includeconversion>
								<onlycountelites>false</onlycountelites>
							</kill>
							<kill id="5">
								<description>$$2001732$$</description>
								<type>iceking</type>
								<count>1</count>
								<includeconversion>true</includeconversion>
								<onlycountelites>false</onlycountelites>
							</kill>
						</values>
					</and>
					<and id="6" mustfailall="true">
						<values>
							<reduceunitsto id="7">
								<type>LogicalTypeNeededForVictory</type>
								<count>0</count>
								<includeteam>false</includeteam>
								<includeunderconstruction>false</includeunderconstruction>
								<canuncomplete>false</canuncomplete>
								<causesfailure>true</causesfailure>
								<playerid>1</playerid>
							</reduceunitsto>
							<reduceunitsto id="8">
								<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="9" mustfailall="false" rewardname="Optional">
		<description>$$9658$$</description>
		<values>
			<or id="10" mustfailall="false">
				<values>
					<timer id="11">
						<description>$$9656$$</description>
						<failonexpire>true</failonexpire>
					</timer>
					<dummy id="12">
						<description>$$10416$$</description>
						<objectivename>TimeFailed</objectivename>
						<autocomplete>false</autocomplete>
					</dummy>
					<and id="13" mustfailall="false">
						<values>
							<kill id="14">
								<description />
								<type>Gr_Bldg_Fortress</type>
								<count>3</count>
								<includeconversion>true</includeconversion>
								<onlycountelites>false</onlycountelites>
							</kill>
							<kill id="15">
								<description />
								<type>iceking</type>
								<count>1</count>
								<includeconversion>true</includeconversion>
								<onlycountelites>false</onlycountelites>
							</kill>
						</values>
					</and>
				</values>
			</or>
		</values>
	</secondaryobjectives>
	<onaccept />
 	<rewards visible="true">
		<gamecurrency visible="true">
			<gamecurrency>cGameCurEmpirePoints</gamecurrency>
			<amount>30</amount>
		</gamecurrency>
		<alliancepoints visible="true">
			<amount>30</amount>
		</alliancepoints>
		<capitalresource visible="true">
			<capitalresource>cCapResCoin</capitalresource>
			<amount>2000</amount>
		</capitalresource>
		<capitalresource visible="true">
			<capitalresource>cCapResFactionPoints2</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>
		<loottable visible="true">celeste_leg_chest_fp</loottable>
		<material visible="true">
			<materialname>WE_IceKingsHeartShard</materialname>
			<count>4</count>
		</material>
	</rewards>
	<secondaryrewards visible="true" name="Optional">
		<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>$$2001733$$</personality>
		<script>CORE\Boom_Heavy</script>
		<dataset>celeste\event\C01_CoreRamp_T4_WE</dataset>
		<!-- <dataset>C01\C01_CyprusRamp_T4</dataset> -->
		<cooponly>false</cooponly>
		<startingfood>-1</startingfood>
		<startingwood>-1</startingwood>
		<startinggold>-1</startinggold>
		<startingstone>-1</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>
		</aislidervariables>
		<aiflagvariables>
			<aivariable>
				<key>NoResign</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>$$2001733$$</personality>
		<script>Custom\Cyprus_Popcorn_Heavy</script>
		<dataset>celeste\event\C01_CoreRamp_T4_WE</dataset>
		<!-- <dataset>C01\C01_CyprusRamp_T4</dataset> -->
		<cooponly>false</cooponly>
		<startingfood>-1</startingfood>
		<startingwood>1000</startingwood>
		<startinggold>-1</startinggold>
		<startingstone>-1</startingstone>
		<aislidervariables>
			<aivariable>
				<key>InfantryBias</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>CavalryBias</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>ArcherBias</key>
				<value>0</value>
			</aivariable>
			<aivariable>
				<key>SiegeBias</key>
				<value>-1</value>
			</aivariable>
		</aislidervariables>
		<aiflagvariables>
			<aivariable>
				<key>NoResign</key>
				<value>0</value>
			</aivariable>
		</aiflagvariables>
	</playersettings>
	<playersettings id="5">
		<team>2</team>
		<color>2</color>
		<tributablebehavior>Default</tributablebehavior>
		<playertype>Computer</playertype>
		<personality>$$2001733$$</personality>
		<script/>
		<dataset>celeste\event\C01_CoreRamp_T4_WE</dataset>
		<!-- <dataset>C01\C01_CyprusRamp_T4</dataset> -->
		<cooponly>false</cooponly>
		<startingfood>-1</startingfood>
		<startingwood>-1</startingwood>
		<startinggold>-1</startinggold>
		<startingstone>-1</startingstone>
		<aislidervariables />
		<aiflagvariables />
	</playersettings>
	<diplomacysettings />
	<randommap>
		<map>Celeste\Event\Winter\Winter_Cyprus_Loader</map>
		<randommap>true</randommap>
		<numplayers>5</numplayers>
		<mapvariables>
			<variable name="scenarioFile" type="String">Celeste\Event\Winter\Winter2019_M12_Paphos</variable>
			<variable name="IsREPEAT" type="Bool">true</variable>
			<variable name="bIsELITE" type="Bool">false</variable>
			<variable name="IsLEGENDARY" type="Bool">true</variable>
			<variable name="GeneralsPlayerID" type="Int">5</variable>
			<variable name="QuestID" type="Int">108008</variable>
			<variable name="OptionalRestrictTime" type="Bool">true</variable>
			<variable name="TimeFailedMinutes" type="Int">25</variable>
			<variable name="lighting" type="String">Afternoon</variable>
			<variable name="MainPlayerID" type="Int">1</variable>
			<variable name="CoopPlayerID" type="Int">3</variable>
			<variable name="region" type="String">Celtic Alps</variable>
		</mapvariables>
		<nuggetoverrides>
			<nuggetoverride overrideweight="10000000">Legendary_40-50_01</nuggetoverride>
		</nuggetoverrides>
		<mapregionname>Celtic Alps</mapregionname>
		<lightsetname>Afternoon</lightsetname>
		<mapsizename>&lt;Not Specified&gt;</mapsizename>
	</randommap>
	<questgivers>
		<protounit>GEN_Winter_AbominableSnowmanIceKing</protounit>
	</questgivers>
	<questreturners>
		<protounit>GEN_Winter_AbominableSnowmanIceKing</protounit>
	</questreturners>
	<maplocationx>0.24</maplocationx>
	<maplocationy>0.66</maplocationy>
	<mapmarker>QuestRepeatable</mapmarker>
	<mappage>Cyprus</mappage>
	<elitespawnchance>1</elitespawnchance>
	<linkedquestid>0</linkedquestid>
	<questbasescale>0</questbasescale>
	<victoryconditions />
</quest>