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

	<!-- === The Real Flamberge Bladelink === -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MeleeWeapon_TheRealFLAMBERGEBladelink"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>4</power>
					<cooldownTime>2.25</cooldownTime>
					<chanceFactor>2</chanceFactor>
					<armorPenetrationBlunt>1.024</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>50</power>
					<extraMeleeDamages>
						<li>
							<def>Flame</def>
							<amount>12</amount>
							<chance>0.3</chance>
						</li>
					</extraMeleeDamages>
					<cooldownTime>1.5</cooldownTime>
					<armorPenetrationBlunt>6.4</armorPenetrationBlunt>
					<armorPenetrationSharp>21.34</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>22</power>
					<power>26</power>
					<extraMeleeDamages>
						<li>
							<def>Flame</def>
							<amount>8</amount>
							<chance>0.2</chance>
						</li>
					</extraMeleeDamages>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>2.704</armorPenetrationBlunt>
					<armorPenetrationSharp>30.05</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MeleeWeapon_TheRealFLAMBERGEBladelink"]/statBases</xpath>
		<value>
			<Bulk>12</Bulk>
			<MeleeCounterParryBonus>0.20</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MeleeWeapon_TheRealFLAMBERGEBladelink"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.17</MeleeCritChance>
				<MeleeParryChance>0.15</MeleeParryChance>
				<MeleeDodgeChance>0.6</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

</Patch>