<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!--========= Fixed Armor Value =========-->

	<!--Magnifier-->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Apparel_Special_Magnifier"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>2</WornBulk>
			<NightVisionEfficiency_Apparel>0.3</NightVisionEfficiency_Apparel>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Apparel_Special_Magnifier"]/equippedStatOffsets/MeleeDodgeChance</xpath>
		<value>
			<MeleeDodgeChance>-0.3</MeleeDodgeChance>
			<AimingAccuracy>0.25</AimingAccuracy>
		</value>
	</Operation>

	<!--TacAssist-->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Apparel_Special_TacticalAssist"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>2</WornBulk>
			<NightVisionEfficiency_Apparel>0.8</NightVisionEfficiency_Apparel>
			<ArmorRating_Sharp>4</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Apparel_Special_TacticalAssist"]/equippedStatOffsets/MeleeDodgeChance</xpath>
		<value>
			<MeleeDodgeChance>-0.3</MeleeDodgeChance>
			<AimingAccuracy>0.35</AimingAccuracy>
		</value>
	</Operation>

	<!--Glasses-->

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Apparel_Special_Glasses"]/statBases</xpath>
		<value>
			<Bulk>0.5</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>
	<!--Toxmask-->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Apparel_Special_Toxmask"]/statBases</xpath>
		<value>
			<Bulk>0.5</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="Miho_Apparel_Special_Toxmask"]</xpath>
		<value>
			<li Class="CombatExtended.ApparelHediffExtension">
				<hediff>WearingGasMask</hediff>
			</li>
		</value>
	</Operation>
	<!--Visor-->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Apparel_Special_Visor"]/equippedStatOffsets/ShootingAccuracyPawn</xpath>
		<value>
			<ShootingAccuracyPawn>-1</ShootingAccuracyPawn>
			<AimingAccuracy>-0.5</AimingAccuracy>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Apparel_Special_Visor"]/statBases</xpath>
		<value>
			<Bulk>0.5</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>
</Patch>