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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_HeavyClub"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>5</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>1.93</cooldownTime>
					<armorPenetrationBlunt>1.375</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>14</power>
					<cooldownTime>4.49</cooldownTime>
					<armorPenetrationBlunt>5.5</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_HeavyClub"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<MeleeCounterParryBonus>0.53</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_HeavyClub"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>1.38</MeleeCritChance>
				<MeleeParryChance>0.4</MeleeParryChance>
				<MeleeDodgeChance>0.37</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<!-- Light Club -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_LightClub"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>4</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>1.78</cooldownTime>
					<armorPenetrationBlunt>1</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>10</power>
					<cooldownTime>3.01</cooldownTime>
					<armorPenetrationBlunt>3.75</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_LightClub"]/statBases</xpath>
		<value>
			<Bulk>3.75</Bulk>
			<MeleeCounterParryBonus>0.14</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_LightClub"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.58</MeleeCritChance>
				<MeleeParryChance>0.14</MeleeParryChance>
				<MeleeDodgeChance>0.16</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

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

	<!-- === Tribal Axe === -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_TribalAxe"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>3</power>
					<cooldownTime>1.59</cooldownTime>
					<chanceFactor>0.33</chanceFactor>
					<armorPenetrationBlunt>0.625</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>17</power>
					<cooldownTime>3.52</cooldownTime>
					<armorPenetrationBlunt>2.025</armorPenetrationBlunt>
					<armorPenetrationSharp>0.28</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_TribalAxe"]/statBases</xpath>
		<value>
			<Bulk>4</Bulk>
			<MeleeCounterParryBonus>0.15</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_TribalAxe"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.10</MeleeCritChance>
				<MeleeParryChance>0.15</MeleeParryChance>
				<MeleeDodgeChance>0.20</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

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

	<!-- === Shiv === -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_Shiv"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>4</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>0.07</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>9.5</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>0.45</armorPenetrationBlunt>
					<armorPenetrationSharp>0.18</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VWE_MeleeWeapon_Shiv"]/statBases</xpath>
		<value>
			<Bulk>0.15</Bulk>
		</value>
	</Operation>

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

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