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

	<!--Flandre Hat-->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatFL"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>6</ArmorRating_Sharp>
			<Bulk>3</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatFL"]/equippedStatOffsets/ShootingAccuracyPawn</xpath>
		<value>
			<ShootingAccuracyPawn>0.04</ShootingAccuracyPawn>
			<AimingAccuracy>0.02</AimingAccuracy>
		</value>
	</Operation>

	<!--Remilia Hat-->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatRM"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>3.6</ArmorRating_Sharp>
			<Bulk>7</Bulk>
			<WornBulk>5</WornBulk>
		</value>
	</Operation>

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

	<!--Meirin Hat-->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatHMR"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>4.8</ArmorRating_Sharp>
			<Bulk>7</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatHMR"]/equippedStatOffsets/MeleeDodgeChance</xpath>
		<value>
			<MeleeDodgeChance>0.07</MeleeDodgeChance>
		</value>
	</Operation>
</Patch>