<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- Feral Glaive-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MeleeWeapon_FeralGlaive"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>shaft</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>6</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>1.31</cooldownTime>
					<armorPenetrationBlunt>2.025</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Shaft</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>47</power>
					<cooldownTime>2.9</cooldownTime>
					<armorPenetrationBlunt>8.1</armorPenetrationBlunt>
					<armorPenetrationSharp>1.62</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>40</power>
					<cooldownTime>1.16</cooldownTime>
					<armorPenetrationBlunt>2.025</armorPenetrationBlunt>
					<armorPenetrationSharp>2.03</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MeleeWeapon_FeralGlaive"]</xpath>
		<value>
			<modExtensions>
				<li Class="CombatExtended.GunDrawExtension">
					<DrawSize>1.6,1.5</DrawSize>
					<DrawOffset>0.35,0.30</DrawOffset>
				</li>
			</modExtensions>
		</value>
	</Operation>

	<!-- Feral Knife -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MeleeWeapon_FeralCleaver"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>3</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>1.89</cooldownTime>
					<armorPenetrationBlunt>0.65</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>15</power>
					<cooldownTime>1.6</cooldownTime>
					<armorPenetrationBlunt>0.612</armorPenetrationBlunt>
					<armorPenetrationSharp>0.39</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>17</power>
					<cooldownTime>1.44</cooldownTime>
					<armorPenetrationBlunt>0.425</armorPenetrationBlunt>
					<armorPenetrationSharp>0.43</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<!--=== Mutant Weapons ===-->
	<!-- Carver Axes -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Carver"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>47</power>
					<cooldownTime>2.9</cooldownTime>
					<armorPenetrationBlunt>8.1</armorPenetrationBlunt>
					<armorPenetrationSharp>1.62</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>40</power>
					<cooldownTime>1.16</cooldownTime>
					<armorPenetrationBlunt>2.025</armorPenetrationBlunt>
					<armorPenetrationSharp>2.03</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<!-- Sunderer -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Sunderer"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>shaft</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>9</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>2.42</cooldownTime>
					<armorPenetrationBlunt>3.125</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Shaft</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>9</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>2.37</cooldownTime>
					<armorPenetrationBlunt>3.125</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Shaft</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>55</power>
					<cooldownTime>3.71</cooldownTime>
					<armorPenetrationBlunt>16</armorPenetrationBlunt>
					<armorPenetrationSharp>3.6</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Sunderer"]/statBases</xpath>
		<value>
			<Bulk>14</Bulk>
		</value>
	</Operation>
</Patch>