<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- ===== Persona Monoblade ===== -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="EoD_MonobladeBladelink"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<MeleeCounterParryBonus>0.50</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="EoD_MonobladeBladelink"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>1.10</MeleeCritChance>
				<MeleeParryChance>0.50</MeleeParryChance>
				<MeleeDodgeChance>0.37</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="EoD_MonobladeBladelink"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.4</cooldownTime>
					<armorPenetrationBlunt>0.7</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>14</power>
					<cooldownTime>0.78</cooldownTime>
					<armorPenetrationBlunt>1.35</armorPenetrationBlunt>
					<armorPenetrationSharp>34.77</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>33</power>
					<cooldownTime>0.67</cooldownTime>
					<chanceFactor>1.33</chanceFactor>
					<armorPenetrationBlunt>4.18</armorPenetrationBlunt>
					<armorPenetrationSharp>25.3</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- ===== Persona Prestige Monoblade ===== -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="EoD_MonobladePrestige"]/statBases</xpath>
		<value>
			<Bulk>5</Bulk>
			<MeleeCounterParryBonus>0.50</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="EoD_MonobladePrestige"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>1.10</MeleeCritChance>
			<MeleeParryChance>0.53</MeleeParryChance>
			<MeleeDodgeChance>0.40</MeleeDodgeChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="EoD_MonobladePrestige"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.4</cooldownTime>
					<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>15</power>
					<cooldownTime>0.76</cooldownTime>
					<armorPenetrationBlunt>1.35</armorPenetrationBlunt>
					<armorPenetrationSharp>34.77</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>36</power>
					<cooldownTime>0.65</cooldownTime>
					<chanceFactor>1.33</chanceFactor>
					<armorPenetrationBlunt>4.18</armorPenetrationBlunt>
					<armorPenetrationSharp>25.3</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- ===== Archoblade ===== -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="EoD_Archoblade"]/statBases</xpath>
		<value>
			<Bulk>7</Bulk>
			<MeleeCounterParryBonus>1.20</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="EoD_Archoblade"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>2.50</MeleeCritChance>
				<MeleeParryChance>1.0</MeleeParryChance>
				<MeleeDodgeChance>0.45</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="EoD_Archoblade"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.4</cooldownTime>
					<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>18</power>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>5</amount>
							<chance>0.3</chance>
						</li>
					</extraMeleeDamages>
					<cooldownTime>0.71</cooldownTime>
					<armorPenetrationBlunt>3.72</armorPenetrationBlunt>
					<armorPenetrationSharp>63.25</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>37</power>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>5</amount>
							<chance>0.3</chance>
						</li>
					</extraMeleeDamages>
					<cooldownTime>0.6</cooldownTime>
					<chanceFactor>1.33</chanceFactor>
					<armorPenetrationBlunt>8.28</armorPenetrationBlunt>
					<armorPenetrationSharp>40</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>
</Patch>
