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

	<!-- === Baton === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_Baton"]/statBases</xpath>
		<value>
			<Bulk>2.75</Bulk>
			<MeleeCounterParryBonus>0.9</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_Baton"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.17</MeleeCritChance>
				<MeleeParryChance>0.9</MeleeParryChance>
				<MeleeDodgeChance>0.3</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_Baton"]/weaponTags</xpath>
		<value>
			<li>CE_Sidearm_Melee</li>
			<li>CE_OneHandedWeapon</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_Baton"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>2</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>1.59</cooldownTime>
					<armorPenetrationBlunt>0.625</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>9</power>
					<cooldownTime>1.68</cooldownTime>
					<armorPenetrationBlunt>3.375</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- === Combat Knife === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_CombatKnife"]/statBases</xpath>
		<value>
			<Bulk>1.25</Bulk>
			<MeleeCounterParryBonus>0.30</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_CombatKnife"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.10</MeleeCritChance>
				<MeleeParryChance>0.30</MeleeParryChance>
				<MeleeDodgeChance>0.010</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_CombatKnife"]/weaponTags</xpath>
		<value>
			<li>CE_Sidearm_Melee</li>
			<li>CE_OneHandedWeapon</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_CombatKnife"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>1</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>1.26</cooldownTime>
					<armorPenetrationBlunt>0.250</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>12</power>
					<cooldownTime>1</cooldownTime>
					<armorPenetrationBlunt>0.56</armorPenetrationBlunt>
					<armorPenetrationSharp>0.72</armorPenetrationSharp>
					<linkedBodyPartsGroup>Blade</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>13</power>
					<cooldownTime>1</cooldownTime>
					<armorPenetrationBlunt>0.55</armorPenetrationBlunt>
					<armorPenetrationSharp>0.76</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- === Shovel === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_Shovel"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<MeleeCounterParryBonus>0.56</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_Shovel"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.22</MeleeCritChance>
			<MeleeParryChance>0.20</MeleeParryChance>
			<MeleeDodgeChance>0.17</MeleeDodgeChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_Shovel"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>2</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>1.44</cooldownTime>
					<armorPenetrationBlunt>0.375</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>14</power>
					<cooldownTime>1.24</cooldownTime>
					<armorPenetrationSharp>0.17</armorPenetrationSharp>
					<armorPenetrationBlunt>0.844</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>