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

				<!--Mono Sword-->
				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_MonoSword-Persona"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<label>handle</label>
								<capacities>
									<li>Poke</li>
								</capacities>
								<power>2</power>
								<cooldownTime>1.5</cooldownTime>
								<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>edge</label>
								<capacities>
									<li>Cut</li>
								</capacities>
								<power>35</power>
								<cooldownTime>0.83</cooldownTime>
								<chanceFactor>1.33</chanceFactor>
								<armorPenetrationBlunt>2.88</armorPenetrationBlunt>
								<armorPenetrationSharp>18</armorPenetrationSharp>
								<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>point</label>
								<capacities>
									<li>Stab</li>
								</capacities>
								<power>16</power>
								<cooldownTime>0.94</cooldownTime>
								<armorPenetrationBlunt>1.28</armorPenetrationBlunt>
								<armorPenetrationSharp>25</armorPenetrationSharp>
							</li>
						</tools>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_MonoSword-Persona"]/statBases</xpath>
					<value>
						<Bulk>4</Bulk>
						<MeleeCounterParryBonus>0.40</MeleeCounterParryBonus>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_MonoSword-Persona"]</xpath>
					<value>
						<equippedStatOffsets>
							<MeleeCritChance>1.00</MeleeCritChance>
							<MeleeParryChance>0.40</MeleeParryChance>
							<MeleeDodgeChance>0.27</MeleeDodgeChance>
						</equippedStatOffsets>
					</value>
				</li>

				<!--Zeus hammer-->
				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Zeushammer-Persona"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<label>handle</label>
								<capacities>
									<li>Poke</li>
								</capacities>
								<power>4</power>
								<cooldownTime>1.78</cooldownTime>
								<chanceFactor>0.10</chanceFactor>
								<armorPenetrationBlunt>1.000</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>head</label>
								<capacities>
									<li>Blunt</li>
								</capacities>
								<power>41</power>
								<extraMeleeDamages>
									<li>
										<def>EMP</def>
										<amount>5</amount>
									</li>
								</extraMeleeDamages>
								<cooldownTime>2.76</cooldownTime>
								<armorPenetrationBlunt>157.5</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
								<chanceFactor>0.30</chanceFactor>
							</li>
						</tools>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Zeushammer-Persona"]/statBases</xpath>
					<value>
						<Bulk>8</Bulk>
						<MeleeCounterParryBonus>0.40</MeleeCounterParryBonus>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Zeushammer-Persona"]</xpath>
					<value>
						<equippedStatOffsets>
							<MeleeCritChance>1.50</MeleeCritChance>
							<MeleeParryChance>0.30</MeleeParryChance>
							<MeleeDodgeChance>0.30</MeleeDodgeChance>
						</equippedStatOffsets>
					</value>
				</li>
				<!--Plasma Sword-->
				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_PlasmaSword-Persona"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<label>handle</label>
								<capacities>
									<li>Poke</li>
								</capacities>
								<power>3</power>
								<cooldownTime>1.69</cooldownTime>
								<chanceFactor>0.10</chanceFactor>
								<armorPenetrationBlunt>0.80</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>edge</label>
								<capacities>
									<li>Cut</li>
								</capacities>
								<power>47</power>
								<extraMeleeDamages>
									<li>
										<def>Flame</def>
										<amount>5</amount>
										<chance>0.3</chance>
									</li>
								</extraMeleeDamages>
								<cooldownTime>1.17</cooldownTime>
								<chanceFactor>0.66</chanceFactor>
								<armorPenetrationBlunt>4.06</armorPenetrationBlunt>
								<armorPenetrationSharp>24</armorPenetrationSharp>
								<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>point</label>
								<capacities>
									<li>Stab</li>
								</capacities>
								<power>25</power>
								<extraMeleeDamages>
									<li>
										<def>Flame</def>
										<amount>3</amount>
										<chance>0.2</chance>
									</li>
								</extraMeleeDamages>
								<cooldownTime>1.05</cooldownTime>
								<armorPenetrationBlunt>2.048</armorPenetrationBlunt>
								<armorPenetrationSharp>32</armorPenetrationSharp>
							</li>
						</tools>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_PlasmaSword-Persona"]/statBases</xpath>
					<value>
						<Bulk>8.5</Bulk>
						<MeleeCounterParryBonus>0.80</MeleeCounterParryBonus>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_PlasmaSword-Persona"]</xpath>
					<value>
						<equippedStatOffsets>
							<MeleeCritChance>1.00</MeleeCritChance>
							<MeleeParryChance>0.60</MeleeParryChance>
							<MeleeDodgeChance>0.40</MeleeDodgeChance>
						</equippedStatOffsets>
					</value>
				</li>

				<!--Spork-->
				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Spoon-PAP"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<label>handle</label>
								<capacities>
									<li>Poke</li>
								</capacities>
								<power>3</power>
								<cooldownTime>1.5</cooldownTime>
								<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>edge</label>
								<capacities>
									<li>Cut</li>
								</capacities>
								<power>50</power>
								<cooldownTime>0.83</cooldownTime>
								<chanceFactor>1.33</chanceFactor>
								<armorPenetrationBlunt>2.88</armorPenetrationBlunt>
								<armorPenetrationSharp>18</armorPenetrationSharp>
								<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>point</label>
								<capacities>
									<li>Stab</li>
								</capacities>
								<power>24</power>
								<cooldownTime>0.94</cooldownTime>
								<armorPenetrationBlunt>1.28</armorPenetrationBlunt>
								<armorPenetrationSharp>25</armorPenetrationSharp>
							</li>
						</tools>
					</value>
				</li>
				<li Class="PatchOperationConditional">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Spoon-Persona"]/statBases</xpath>
					<nomatch Class="PatchOperationAdd">
						<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Spoon-Persona"]</xpath>
						<value>
							<statBases/>
						</value>
					</nomatch>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Spoon-Persona"]/statBases</xpath>
					<value>
						<Bulk>1</Bulk>
						<MeleeCounterParryBonus>0.60</MeleeCounterParryBonus>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Spoon-Persona"]</xpath>
					<value>
						<equippedStatOffsets>
							<MeleeCritChance>1.30</MeleeCritChance>
							<MeleeParryChance>0.60</MeleeParryChance>
							<MeleeDodgeChance>0.42</MeleeDodgeChance>
						</equippedStatOffsets>
					</value>
				</li>

				<li Class="PatchOperationConditional">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Spoon-Persona"]/weaponTags</xpath>
					<nomatch Class="PatchOperationAdd">
						<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Spoon-Persona"]</xpath>
						<value>
							<weaponTags/>
						</value>
					</nomatch>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="CodZP_MeleeWeapon_Spoon-Persona"]/weaponTags</xpath>
					<value>
						<li>CE_OneHandedWeapon</li>
					</value>
				</li>
			</operations>
		</match>
	</Operation>
</Patch>