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

	<!-- ===== Dark Elves ===== -->
	<!-- === Deadspear Helmet === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DevDesigner_DarkElves_DreadspearHelmet"]/statBases</xpath>
		<value>
			<Bulk>4</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DevDesigner_DarkElves_DreadspearHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.0</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- === Hood === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DevDesigner_DarkElves_MaskedHoodA" or defName="DevDesigner_DarkElves_MaskedHoodB"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DevDesigner_DarkElves_MaskedHoodA" or defName="DevDesigner_DarkElves_MaskedHoodB"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- === Knight Helmet === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DevDesigner_DarkElves_ColdOneKnightHelmet" or
			defName="DevDesigner_DarkElves_BlackGuardHelmet" or
			defName="DevDesigner_DarkElves_MorathiHelmet" or
			defName="DevDesigner_DarkElves_WitchHelmet" or
			defName="DevDesigner_DarkElves_SorceressHelmet"
			]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DevDesigner_DarkElves_ColdOneKnightHelmet"]/equippedStatOffsets</xpath>
		<value>
			<AimingAccuracy>-0.3</AimingAccuracy>
			<MeleeHitChance>-1.5</MeleeHitChance>
			<Suppressability>-0.15</Suppressability>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DevDesigner_DarkElves_ColdOneKnightHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.7</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- ===== High Elves ===== -->
	<!-- === Spearman Helmet === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DevDesigner_HighElves_SpearmanHelmet"]/statBases</xpath>
		<value>
			<Bulk>4</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DevDesigner_HighElves_SpearmanHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.0</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- === Knight Helmet === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DevDesigner_HighElves_ShadowWarriorHelmet" or defName="DevDesigner_HighElves_WhiteLionHelmet" or defName="DevDesigner_HighElves_DragonPrinceHelmet" or defName="DevDesigner_HighElves_AlarielleHelmet" or defName="DevDesigner_HighElves_LordHelmet"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DevDesigner_HighElves_ShadowWarriorHelmet" or defName="DevDesigner_HighElves_WhiteLionHelmet" or defName="DevDesigner_HighElves_DragonPrinceHelmet" or defName="DevDesigner_HighElves_AlarielleHelmet" or defName="DevDesigner_HighElves_LordHelmet"]/equippedStatOffsets</xpath>
		<value>
			<AimingAccuracy>-0.3</AimingAccuracy>
			<MeleeHitChance>-1.5</MeleeHitChance>
			<Suppressability>-0.15</Suppressability>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DevDesigner_HighElves_ShadowWarriorHelmet" or defName="DevDesigner_HighElves_WhiteLionHelmet" or defName="DevDesigner_HighElves_DragonPrinceHelmet" or defName="DevDesigner_HighElves_AlarielleHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.7</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DevDesigner_HighElves_LordHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3.0</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- ===== Wood Elves ===== -->
	<!-- === Stag Knight Helmet and Shaman Crown === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DevDesigner_WoodElves_StagKnightHelmet" or @Name="DevDesigner_WoodElves_ShamanCrownBase"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DevDesigner_WoodElves_StagKnightHelmet" or @Name="DevDesigner_WoodElves_ShamanCrownBase"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>1.25</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- === Hood === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DevDesigner_WoodElves_Hood" or defName="DevDesigner_WoodElves_MaskedHood"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DevDesigner_WoodElves_ArmoredHood"]/statBases</xpath>
		<value>
			<Bulk>4</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DevDesigner_WoodElves_Hood" or defName="DevDesigner_WoodElves_MaskedHood"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DevDesigner_WoodElves_ArmoredHood"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.25</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- === Bladedancer Helmet === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DevDesigner_WoodElves_BladeDancerHelmetA"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DevDesigner_WoodElves_BladeDancerHelmetA"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>1.55</StuffEffectMultiplierArmor>
		</value>
	</Operation>

</Patch>