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

	<!-- ==================== Weapons ==================== -->

	<!-- ========== Pike ========== -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DankPyon_MeleeWeapon_PikeRoxmont"]</xpath>
		<value>
			<statBases>
				<Bulk>12</Bulk>
				<MeleeCounterParryBonus>1.27</MeleeCounterParryBonus>
			</statBases>
			<equippedStatOffsets>
				<MeleeCritChance>0.08</MeleeCritChance>
				<MeleeParryChance>0.95</MeleeParryChance>
				<MeleeDodgeChance>1.27</MeleeDodgeChance>
			</equippedStatOffsets>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>shaft</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>8</power>
					<cooldownTime>1.3</cooldownTime>
					<chanceFactor>0.1</chanceFactor>
					<armorPenetrationBlunt>1.8</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Shaft</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>20</power>
					<cooldownTime>1.5</cooldownTime>
					<armorPenetrationBlunt>6</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- ========== Waraxe ========== -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DankPyon_MeleeWeapon_RoxWaraxe"]/statBases</xpath>
		<value>
			<Bulk>7</Bulk>
			<MeleeCounterParryBonus>0.35</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="DankPyon_MeleeWeapon_RoxWaraxe"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.30</MeleeCritChance>
				<MeleeParryChance>0.40</MeleeParryChance>
				<MeleeDodgeChance>0.23</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_MeleeWeapon_RoxWaraxe"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>shaft</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>3</power>
					<cooldownTime>1.3</cooldownTime>
					<chanceFactor>0.1</chanceFactor>
					<armorPenetrationBlunt>0.8</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Shaft</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>22</power>
					<cooldownTime>1.7</cooldownTime>
					<armorPenetrationBlunt>5</armorPenetrationBlunt>
					<armorPenetrationSharp>2.5</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>37</power>
					<cooldownTime>2.18</cooldownTime>
					<armorPenetrationBlunt>9.6</armorPenetrationBlunt>
					<armorPenetrationSharp>1.0</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>