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

	<!-- Arc Wrench -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DV_MeleeWeapon_ArcWrench"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.59</cooldownTime>
					<armorPenetrationBlunt>2.00</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>15</power>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>8</amount>
							<chance>0.20</chance>
						</li>
					</extraMeleeDamages>
					<cooldownTime>1.68</cooldownTime>
					<chanceFactor>1.33</chanceFactor>
					<armorPenetrationBlunt>12</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DV_MeleeWeapon_ArcWrench"]/statBases</xpath>
		<value>
			<Bulk>3.5</Bulk>
			<MeleeCounterParryBonus>0.2</MeleeCounterParryBonus>
		</value>
	</Operation>


	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DV_MeleeWeapon_ArcWrench"] </xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.5</MeleeCritChance>
				<MeleeParryChance>0.15</MeleeParryChance>
				<MeleeDodgeChance>0.05</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>
	

</Patch>
