<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<Operation Class="PatchOperationFindMod">
		<mods>
			<li>Royalty</li>
		</mods>
		<match Class="PatchOperationSequence">
			<operations>

			<li Class="PatchOperationRemove">
				<xpath>Defs/ThingDef[
					defName="CAT_CryptoBardicheBladelink" or
					defName="CAT_CryptoBidentBladelink" or
					defName="CAT_CryptoCleaverBladelink"
					]/equippedStatOffsets</xpath>
			</li>

			<!-- === Crypto Bardiche === -->

			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="CAT_CryptoBardicheBladelink"]/tools</xpath>
				<value>
					<tools>
						<li Class="CombatExtended.ToolCE">
							<label>handle</label>
							<capacities>
								<li>Poke</li>
							</capacities>
							<power>12</power>
							<cooldownTime>1.66</cooldownTime>
							<chanceFactor>0.33</chanceFactor>
							<armorPenetrationBlunt>0.75</armorPenetrationBlunt>
							<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>pommel</label>
							<capacities>
								<li>VQE_CryptoaxeCut</li>
							</capacities>
							<power>15</power>
							<cooldownTime>1.2</cooldownTime>
							<armorPenetrationBlunt>2.85</armorPenetrationBlunt>
							<armorPenetrationSharp>4</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>head</label>
							<capacities>
								<li>CAT_CryptoStab</li>
							</capacities>
							<power>32</power>
							<cooldownTime>3</cooldownTime>
							<armorPenetrationBlunt>12.85</armorPenetrationBlunt>
							<armorPenetrationSharp>24</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
					</tools>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoBardicheBladelink"]/statBases</xpath>
				<value>
					<Bulk>8</Bulk>
					<MeleeCounterParryBonus>0.66</MeleeCounterParryBonus>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoBardicheBladelink"]</xpath>
				<value>
					<equippedStatOffsets>
						<MeleeCritChance>0.36</MeleeCritChance>
						<MeleeParryChance>0.66</MeleeParryChance>
						<MeleeDodgeChance>0.73</MeleeDodgeChance>
					</equippedStatOffsets>
				</value>
			</li>

			<!-- === Crypto Battleaxe === -->
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="CAT_CryptoBattleaxeBladelink"]/tools</xpath>
				<value>
					<tools>
						<li Class="CombatExtended.ToolCE">
							<label>handle</label>
							<capacities>
								<li>Poke</li>
							</capacities>
							<power>12</power>
							<cooldownTime>1.66</cooldownTime>
							<chanceFactor>0.33</chanceFactor>
							<armorPenetrationBlunt>0.75</armorPenetrationBlunt>
							<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>head</label>
							<capacities>
								<li>VQE_CryptoaxeCut</li>
							</capacities>
							<power>36</power>
							<cooldownTime>3</cooldownTime>
							<armorPenetrationBlunt>12.85</armorPenetrationBlunt>
							<armorPenetrationSharp>24</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
					</tools>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoBattleaxeBladelink"]/statBases</xpath>
				<value>
					<Bulk>8</Bulk>
					<MeleeCounterParryBonus>0.66</MeleeCounterParryBonus>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoBattleaxeBladelink"]/equippedStatOffsets</xpath>
				<value>
					<MeleeCritChance>0.47</MeleeCritChance>
					<MeleeParryChance>0.55</MeleeParryChance>
					<MeleeDodgeChance>0.73</MeleeDodgeChance>
				</value>
			</li>

			<!-- === Crypto Bident === -->
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="CAT_CryptoBidentBladelink"]/tools</xpath>
				<value>
					<tools>
						<li Class="CombatExtended.ToolCE">
							<label>shaft</label>
							<capacities>
								<li>Poke</li>
							</capacities>
							<power>4</power>
							<cooldownTime>1.78</cooldownTime>
							<chanceFactor>0.33</chanceFactor>
							<armorPenetrationBlunt>1</armorPenetrationBlunt>
							<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>head</label>
							<capacities>
								<li>VQE_CryptoaxeCut</li>
							</capacities>
							<power>28</power>
							<cooldownTime>2.5</cooldownTime>
							<armorPenetrationBlunt>4.84</armorPenetrationBlunt>
							<armorPenetrationSharp>14</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>point</label>
							<capacities>
								<li>CAT_CryptoStab</li>
							</capacities>
							<power>18</power>
							<cooldownTime>1.6</cooldownTime>
							<armorPenetrationBlunt>4.84</armorPenetrationBlunt>
							<armorPenetrationSharp>28</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
					</tools>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoBidentBladelink"]/statBases</xpath>
				<value>
					<Bulk>8</Bulk>
					<MeleeCounterParryBonus>1.1</MeleeCounterParryBonus>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoBidentBladelink"]</xpath>
				<value>
					<equippedStatOffsets>
						<MeleeCritChance>0.50</MeleeCritChance>
						<MeleeParryChance>0.82</MeleeParryChance>
						<MeleeDodgeChance>0.55</MeleeDodgeChance>
					</equippedStatOffsets>
				</value>
			</li>

			<!-- === Crypto Bident === -->
			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="CAT_CryptoCleaverBladelink"]/tools</xpath>
				<value>
					<tools>
						<li Class="CombatExtended.ToolCE">
							<label>shaft</label>
							<capacities>
								<li>Poke</li>
							</capacities>
							<power>4</power>
							<cooldownTime>1.78</cooldownTime>
							<chanceFactor>0.33</chanceFactor>
							<armorPenetrationBlunt>1</armorPenetrationBlunt>
							<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>head</label>
							<capacities>
								<li>VQE_CryptoaxeCut</li>
							</capacities>
							<power>42</power>
							<cooldownTime>4.1</cooldownTime>
							<armorPenetrationBlunt>4.84</armorPenetrationBlunt>
							<armorPenetrationSharp>32</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>point</label>
							<capacities>
								<li>VQE_CryptoaxeCut</li>
							</capacities>
							<power>22</power>
							<cooldownTime>2.0</cooldownTime>
							<armorPenetrationBlunt>4.84</armorPenetrationBlunt>
							<armorPenetrationSharp>16</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
					</tools>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoCleaverBladelink"]/statBases</xpath>
				<value>
					<Bulk>8</Bulk>
					<MeleeCounterParryBonus>0.66</MeleeCounterParryBonus>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoCleaverBladelink"]</xpath>
				<value>
					<equippedStatOffsets>
						<MeleeCritChance>0.88</MeleeCritChance>
						<MeleeParryChance>0.60</MeleeParryChance>
						<MeleeDodgeChance>0.55</MeleeDodgeChance>
					</equippedStatOffsets>
				</value>
			</li>

			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="CAT_CryptoGreatswordBladelink"]/tools</xpath>
				<value>
					<tools>
						<li Class="CombatExtended.ToolCE">
							<label>shaft</label>
							<capacities>
								<li>Poke</li>
							</capacities>
							<power>4</power>
							<cooldownTime>1.78</cooldownTime>
							<chanceFactor>0.33</chanceFactor>
							<armorPenetrationBlunt>1</armorPenetrationBlunt>
							<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>head</label>
							<capacities>
								<li>VQE_CryptoaxeCut</li>
							</capacities>
							<power>30</power>
							<cooldownTime>2.5</cooldownTime>
							<armorPenetrationBlunt>4.84</armorPenetrationBlunt>
							<armorPenetrationSharp>14</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>point</label>
							<capacities>
								<li>CAT_CryptoStab</li>
							</capacities>
							<power>18</power>
							<cooldownTime>1.5</cooldownTime>
							<armorPenetrationBlunt>4.84</armorPenetrationBlunt>
							<armorPenetrationSharp>28</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
					</tools>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoGreatswordBladelink"]/statBases</xpath>
				<value>
					<Bulk>8</Bulk>
					<MeleeCounterParryBonus>0.66</MeleeCounterParryBonus>
				</value>
			</li>

			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="CAT_CryptoGreatswordBladelink"]/equippedStatOffsets</xpath>
				<value>
					<equippedStatOffsets>
						<MeleeCritChance>0.88</MeleeCritChance>
						<MeleeParryChance>0.61</MeleeParryChance>
						<MeleeDodgeChance>0.55</MeleeDodgeChance>
					</equippedStatOffsets>
				</value>
			</li>

			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="CAT_CryptoSwordBladelink"]/tools</xpath>
				<value>
					<tools>
						<li Class="CombatExtended.ToolCE">
							<label>shaft</label>
							<capacities>
								<li>Poke</li>
							</capacities>
							<power>4</power>
							<cooldownTime>1.78</cooldownTime>
							<chanceFactor>0.33</chanceFactor>
							<armorPenetrationBlunt>1</armorPenetrationBlunt>
							<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>head</label>
							<capacities>
								<li>VQE_CryptoaxeCut</li>
							</capacities>
							<power>30</power>
							<cooldownTime>2.5</cooldownTime>
							<armorPenetrationBlunt>4.84</armorPenetrationBlunt>
							<armorPenetrationSharp>14</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>point</label>
							<capacities>
								<li>CAT_CryptoStab</li>
							</capacities>
							<power>18</power>
							<cooldownTime>1.5</cooldownTime>
							<armorPenetrationBlunt>4.84</armorPenetrationBlunt>
							<armorPenetrationSharp>28</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
					</tools>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoSwordBladelink"]/statBases</xpath>
				<value>
					<Bulk>8</Bulk>
					<MeleeCounterParryBonus>0.50</MeleeCounterParryBonus>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoSwordBladelink"]</xpath>
				<value>
					<equippedStatOffsets>
						<MeleeCritChance>0.66</MeleeCritChance>
						<MeleeParryChance>0.60</MeleeParryChance>
						<MeleeDodgeChance>0.70</MeleeDodgeChance>
					</equippedStatOffsets>
				</value>
			</li>

			<li Class="PatchOperationReplace">
				<xpath>Defs/ThingDef[defName="CAT_CryptoMaceBladelink"]/tools</xpath>
				<value>
					<tools>
						<li Class="CombatExtended.ToolCE">
							<label>handle</label>
							<capacities>
								<li>Poke</li>
							</capacities>
							<power>3</power>
							<cooldownTime>2.8</cooldownTime>
							<chanceFactor>0.33</chanceFactor>
							<armorPenetrationBlunt>0.75</armorPenetrationBlunt>
							<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
						</li>
						<li Class="CombatExtended.ToolCE">
							<label>edge</label>
							<capacities>
								<li>CAT_CryptoSmash</li>
							</capacities>
							<power>20</power>
							<cooldownTime>1.8</cooldownTime>
							<armorPenetrationBlunt>20</armorPenetrationBlunt>
							<armorPenetrationSharp>10</armorPenetrationSharp>
							<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
						</li>
					</tools>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoMaceBladelink"]/statBases</xpath>
				<value>
					<Bulk>4</Bulk>
					<MeleeCounterParryBonus>0.45</MeleeCounterParryBonus>
				</value>
			</li>

			<li Class="PatchOperationAdd">
				<xpath>Defs/ThingDef[defName="CAT_CryptoMaceBladelink"]</xpath>
				<value>
					<equippedStatOffsets>
						<MeleeCritChance>0.25</MeleeCritChance>
						<MeleeParryChance>0.45</MeleeParryChance>
						<MeleeDodgeChance>0.30</MeleeDodgeChance>
					</equippedStatOffsets>
				</value>
			</li>

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

			</operations>
		</match>
	</Operation>
</Patch>