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

	<!-- Warcasket Combat Knife -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_CombatKnife"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>30</power>
					<cooldownTime>2.0</cooldownTime>
					<armorPenetrationBlunt>14</armorPenetrationBlunt>
					<armorPenetrationSharp>9</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>40</power>
					<cooldownTime>2.9</cooldownTime>
					<armorPenetrationBlunt>10</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_CombatKnife"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.63</MeleeCritChance>
				<MeleeParryChance>0.75</MeleeParryChance>
				<MeleeDodgeChance>0.4</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_CombatKnife"]/statBases</xpath>
		<value>
			<Bulk>7</Bulk>
			<MeleeCounterParryBonus>0.23</MeleeCounterParryBonus>
			<ToughnessRating>5</ToughnessRating>
		</value>
	</Operation>

	<!-- Warcasket Broadsword -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_Broadsword"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>56</power>
					<cooldownTime>2.4</cooldownTime>
					<armorPenetrationBlunt>18</armorPenetrationBlunt>
					<armorPenetrationSharp>12</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>68</power>
					<cooldownTime>3.35</cooldownTime>
					<armorPenetrationBlunt>17</armorPenetrationBlunt>
					<armorPenetrationSharp>7.2</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_Broadsword"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.02</MeleeCritChance>
				<MeleeParryChance>0.47</MeleeParryChance>
				<MeleeDodgeChance>0.18</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_Broadsword"]/statBases</xpath>
		<value>
			<Bulk>14</Bulk>
			<MeleeCounterParryBonus>1</MeleeCounterParryBonus>
			<ToughnessRating>10</ToughnessRating>
		</value>
	</Operation>

	<!-- Warcasket Gravity Hammer -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_GravityHammer"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>VFEP_GravityHammerAttack</li>
					</capacities>
					<power>92</power>
					<cooldownTime>5.73</cooldownTime>
					<armorPenetrationBlunt>580</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>50</power>
					<cooldownTime>2.11</cooldownTime>
					<chanceFactor>0.30</chanceFactor>
					<armorPenetrationBlunt>22.5</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_GravityHammer"]/statBases</xpath>
		<value>
			<Bulk>18</Bulk>
			<MeleeCounterParryBonus>2</MeleeCounterParryBonus>
			<ToughnessRating>25</ToughnessRating>
		</value>
	</Operation>

	<!-- === Warcasket Plasma Sword === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_PlasmaSword"]/statBases</xpath>
		<value>
			<Bulk>35</Bulk>
			<MeleeCounterParryBonus>1</MeleeCounterParryBonus>
			<ToughnessRating>24</ToughnessRating>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_PlasmaSword"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.02</MeleeCritChance>
				<MeleeParryChance>0.47</MeleeParryChance>
				<MeleeDodgeChance>0.18</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VFEP_WarcasketMeleeWeapon_PlasmaSword"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>46</power>
					<cooldownTime>2</cooldownTime>
					<armorPenetrationBlunt>9</armorPenetrationBlunt>
					<armorPenetrationSharp>64</armorPenetrationSharp>
					<extraMeleeDamages>
						<li>
							<def>Flame</def>
							<amount>10</amount>
							<chance>0.15</chance>
						</li>
					</extraMeleeDamages>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>58</power>
					<cooldownTime>2.6</cooldownTime>
					<armorPenetrationBlunt>17</armorPenetrationBlunt>
					<armorPenetrationSharp>48</armorPenetrationSharp>
					<extraMeleeDamages>
						<li>
							<def>Flame</def>
							<amount>10</amount>
							<chance>0.5</chance>
						</li>
					</extraMeleeDamages>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>