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

	<!-- Yoroi -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Ancient_SamuraiYoroi"]/statBases</xpath>
		<value>
			<Bulk>80</Bulk>
			<WornBulk>12</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Ancient_SamuraiYoroi"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeDodgeChance>-0.05</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<!-- Yoroi Helmet -->

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Ancient_SamuraiHelmet"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<AimingAccuracy>-0.2</AimingAccuracy>
				<MeleeHitChance>-1</MeleeHitChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<!-- Yoroi - Captain's Helmet -->

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Ancient_SamuraiCaptainHelmet"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<AimingAccuracy>-0.25</AimingAccuracy>
				<MeleeHitChance>-1.5</MeleeHitChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<!-- Ashigaru Armor -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Ancient_AshigaruArmor"]/statBases</xpath>
		<value>
			<Bulk>80</Bulk>
			<WornBulk>10</WornBulk>
		</value>
	</Operation>

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

	<!-- Ashigaru Helmet -->

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

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

	<!-- Qing Light Armor -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Ancient_QingLightArmor"]/statBases</xpath>
		<value>
			<Bulk>80</Bulk>
			<WornBulk>10</WornBulk>
		</value>
	</Operation>

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

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

	<!-- Qing Light Helmet -->

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

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

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

	<!-- Qing Heavy Helmet -->

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Ancient_QingHeavyHelm"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<AimingAccuracy>-0.20</AimingAccuracy>
				<MeleeHitChance>-1.25</MeleeHitChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<!-- Joseon Brigandine -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Ancient_Brigandine"]/statBases</xpath>
		<value>
			<Bulk>80</Bulk>
			<WornBulk>10</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Ancient_Brigandine"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeDodgeChance>-0.075</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<!-- Joseon Brigandine - Leather -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Ancient_LeatherBrigandine"]/statBases</xpath>
		<value>
			<Bulk>80</Bulk>
			<WornBulk>10</WornBulk>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Ancient_LeatherBrigandine"]/statBases</xpath>
		<value>
			<ArmorRating_Sharp>2</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Ancient_LeatherBrigandine"]/statBases</xpath>
		<value>
			<ArmorRating_Blunt>2</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Ancient_LeatherBrigandine"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeDodgeChance>-0.075</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<!-- Joseon Brigandine Helmet -->

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Ancient_BrigandineHelm"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<AimingAccuracy>-0.2</AimingAccuracy>
				<MeleeHitChance>-1</MeleeHitChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<!-- Joseon Brigandine Helmet - Leather -->

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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Ancient_LeatherBrigandineHelm"]/statBases</xpath>
		<value>
			<ArmorRating_Sharp>2</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Ancient_LeatherBrigandineHelm"]/statBases</xpath>
		<value>
			<ArmorRating_Blunt>2</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Ancient_LeatherBrigandineHelm"]/equippedStatOffsets</xpath>
		<value>
			<equippedStatOffsets>
				<AimingAccuracy>-0.2</AimingAccuracy>
				<MeleeHitChance>-1</MeleeHitChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<!-- Gunner's Hat -->

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

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

</Patch>