<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Harpy"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
			</li>
		</value>
	</Operation>

	<!-- Speed: 8/BBS: 0.91/Mass: 40 -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Harpy"]/statBases</xpath>
		<value>
			<MeleeCritChance>1.14</MeleeCritChance>
			<MeleeParryChance>1.06</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Harpy"]/statBases/MeleeDodgeChance</xpath>
		<value>
			<MeleeDodgeChance>1.31</MeleeDodgeChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Harpy"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left fist</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>11</power>
					<cooldownTime>0.84</cooldownTime>
					<linkedBodyPartsGroup>LeftClawsHarpy</linkedBodyPartsGroup>
					<armorPenetrationBlunt>1.25</armorPenetrationBlunt>
					<armorPenetrationSharp>4</armorPenetrationSharp>

				</li>
				<li Class="CombatExtended.ToolCE">
					<label>left fist</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>10</power>
					<cooldownTime>0.84</cooldownTime>
					<linkedBodyPartsGroup>LeftClawsHarpy</linkedBodyPartsGroup>
					<armorPenetrationBlunt>1.25</armorPenetrationBlunt>
					<armorPenetrationSharp>4</armorPenetrationSharp>

				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right fist</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>11</power>
					<cooldownTime>0.84</cooldownTime>
					<linkedBodyPartsGroup>RightClawsHarpy</linkedBodyPartsGroup>
					<armorPenetrationBlunt>1.25</armorPenetrationBlunt>
					<armorPenetrationSharp>2</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right fist</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>10</power>
					<cooldownTime>0.84</cooldownTime>
					<linkedBodyPartsGroup>RightClawsHarpy</linkedBodyPartsGroup>
					<armorPenetrationBlunt>1.25</armorPenetrationBlunt>
					<armorPenetrationSharp>4</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>teeth</label>
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>5</power>
					<cooldownTime>1.32</cooldownTime>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
					<armorPenetrationSharp>0.3</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>4.49</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<chanceFactor>0.1</chanceFactor>
					<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Harpy"]/comps</xpath>
		<value>
			<li>
				<compClass>CombatExtended.CompPawnGizmo</compClass>
			</li>
			<li Class="CombatExtended.CompProperties_Suppressable"/>
		</value>
	</Operation>
</Patch>