<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xai="uri:ea.com:eala:asset:instance">
	<Tags></Tags>
	<Includes>
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:NOD/Structures/NODOperationsCenter.xml" />
	</Includes>
	<GameObject
		id="BlackHandOperationsCenter"
		inheritFrom="NODOperationsCenter"
		Side="BlackHand"
		EditorSorting="STRUCTURE"
		CommandSet="BlackHandOperationsCenterCommandSet"
		EditorName="BlackHandOperationsCenter"
		Description="Desc:BlackHandOperationsCenter"
		TypeDescription="Type:BlackHandOperationsCenter">
		<GameDependency
			xai:joinAction="Replace">
			<RequiredObject>BlackHandPowerPlant</RequiredObject>
			<RequiredObject>BlackHandRefinery</RequiredObject>
		</GameDependency>		
		<Behaviors>
			
			<!-- Cloaking field -->
			<GrantUpgradeAreaOfEffectSpecialPower
				xai:joinAction="Remove"
				id="ModuleTag_CloakingField"
				SpecialPowerTemplate="SpecialPower_CloakingField" 
				TriggerFX="FX_NodCloakingField"
				Radius="=$CLOAKING_FIELD_RADIUS">
				<AcceptObjectFilter
					Rule="ANY"
					Relationship="ALLIES"
					Include="VEHICLE HUGE_VEHICLE"
					Exclude="AIRCRAFT"
				/>
				<UpgradeTemplate>Upgrade_CloakingFieldInvisibility</UpgradeTemplate>
			</GrantUpgradeAreaOfEffectSpecialPower>
			<WeaponFireSpecialAbilityUpdate
				xai:joinAction="Remove"
				id="ModuleTag_WeaponFireSpecialAbilityUpdateCloakingField"
				SpecialPowerTemplate="SpecialPower_CloakingField"
				SpecialWeapon="CloakingFieldKillInfantryWeapon"
				WhichSpecialWeapon="2"
			/>
			<AISpecialPowerUpdate
				xai:joinAction="Remove"
				id="ModuleTag_NODOpsCloakingFieldAI"
				CommandButtonName="Command_CloakingField"
				AllyUnitInclude="VEHICLE"
				AllyUnitExclude="INFANTRY HARVESTER"
				SpecialPowerRadius="100.0" 
				SpecialPowerAIType="SPECIAL_POWER_AOE_BUFF"
			/>


			
			<!-- Power Signature Scan -->
			<SpecialPower
				id="ModuleTag_PowerSignatureScan"
				SpecialPowerTemplate="SpecialPower_PowerSignatureScan" />
			<RadarScanMapSpecialAbilityUpdate
				id="ModuleTag_PowerSignatureScanUpdate"
				SpecialPowerTemplate="SpecialPower_PowerSignatureScan"
				PackTime="10s">
				<IntersectionFlagsFilter
					KindOf="FS_POWER" />
			</RadarScanMapSpecialAbilityUpdate>
			<AISpecialPowerUpdate
				id="ModuleTag_OperationsCenterPowerSignatureScan"
				CommandButtonName="Command_PowerSignatureScan"
				SpecialPowerRadius="999999.0"
				SpecialPowerAIType="SPECIAL_POWER_TARGET_STEALTH"
			/>
			<xi:include
				xai:joinAction="Remove"
				href="../../Includes/AdvancedNODBuildingDestruction.xml" />
			<xi:include
				xai:joinAction="Remove"
				href="../../Includes/AdvancedNODBuildingSuicide.xml" />
				
			<xi:include
				href="../../Includes/AdvancedBlackHandBuildingDestruction.xml" />
			<xi:include
				href="../../Includes/AdvancedBlackHandBuildingSuicide.xml" />
		</Behaviors>
	</GameObject>
</AssetDeclaration>