<?xml version="1.0" encoding="utf-8" ?>
<Patch>

	<!-- ========== Shoulder Pads  ========== -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[@Name="GW_CM_DarkAngelShoulder_Base" or @Name="GW_CM_UltramarineShoulder_Base"]/statBases</xpath>
		<value>
			<Bulk>15</Bulk>
			<WornBulk>5</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="GW_CM_DarkAngelShoulder_Base" or @Name="GW_CM_UltramarineShoulder_Base"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>35</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="GW_CM_DarkAngelShoulder_Base" or @Name="GW_CM_UltramarineShoulder_Base"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>50</ArmorRating_Blunt>
		</value>
	</Operation>

	<!-- ========== Helmets  ========== -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[@Name="GW_CM_DAngelHelmet_Base" or @Name="GW_CM_UltramarineHelmet_Base"]/statBases</xpath>
		<value>
			<Bulk>10</Bulk>
			<WornBulk>5</WornBulk>
			<NightVisionEfficiency_Apparel>0.6</NightVisionEfficiency_Apparel>
		</value>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[@Name="GW_CM_DAngelHelmet_Base"]/apparel/immuneToToxGasExposure</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/ThingDef[@Name="GW_CM_DAngelHelmet_Base"]/apparel</xpath>
			<value>
				<immuneToToxGasExposure>true</immuneToToxGasExposure>
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[@Name="GW_CM_DAngelHelmet_Base" or @Name="GW_CM_UltramarineHelmet_Base"]/apparel/immuneToToxGasExposure</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/ThingDef[@Name="GW_CM_DAngelHelmet_Base" or @Name="GW_CM_UltramarineHelmet_Base"]/apparel</xpath>
			<value>
				<immuneToToxGasExposure>true</immuneToToxGasExposure>
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
		@Name="GW_CM_DAngelHelmet_Base" or
		@Name="GW_CM_UltramarineHelmet_Base" or
		defName="GW_CM_DAngelHelmet_C" or
		defName="GW_CM_DAngelHelmet_D" or
		defName="GW_CM_UMngelHelmet_B" or
		defName="GW_CM_UMngelHelmet_C" or
		defName="GW_CM_UMngelHelmet_D"
		]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>30</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
		@Name="GW_CM_DAngelHelmet_Base" or
		@Name="GW_CM_UltramarineHelmet_Base" or
		defName="GW_CM_DAngelHelmet_C" or
		defName="GW_CM_DAngelHelmet_D" or
		defName="GW_CM_UMngelHelmet_B" or
		defName="GW_CM_UMngelHelmet_C" or
		defName="GW_CM_UMngelHelmet_D"
		]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>30</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="GW_CM_UMngelHelmet_E"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>36</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="GW_CM_UMngelHelmet_E"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>42</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="GW_CM_DAngelHelmet_Base" or @Name="GW_CM_UltramarineHelmet_Base"]/statBases/Flammability</xpath>
		<value>
			<Flammability>0</Flammability>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[@Name="GW_CM_DAngelHelmet_Base" or @Name="GW_CM_UltramarineHelmet_Base"]/equippedStatOffsets</xpath>
		<value>
			<AimingAccuracy>0.22</AimingAccuracy>
			<SmokeSensitivity>-1</SmokeSensitivity>
		</value>
	</Operation>

</Patch>