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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Grei_Aspero"]/statBases</xpath>
		<value>
			<MeleeCritChance>0.9</MeleeCritChance>
			<MeleeDodgeChance>0.9</MeleeDodgeChance>
			<MeleeParryChance>1.1</MeleeParryChance>
			<Suppressability>0.9</Suppressability>
		</value>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Grei_Aspero"]/comps</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Grei_Aspero"]</xpath>
			<value>
				<comps/>
			</value>
		</nomatch>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Grei_Aspero"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claws</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>1.5</power>
					<cooldownTime>1.3</cooldownTime>
					<linkedBodyPartsGroup>Aspero_LeftClaw</linkedBodyPartsGroup>
					<armorPenetrationSharp>0.15</armorPenetrationSharp>
					<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claws</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>1.5</power>
					<cooldownTime>1.3</cooldownTime>
					<linkedBodyPartsGroup>Aspero_RightClaw</linkedBodyPartsGroup>
					<armorPenetrationSharp>0.15</armorPenetrationSharp>
					<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>teeth</label>
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.35</cooldownTime>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationSharp>0.5</armorPenetrationSharp>
					<armorPenetrationBlunt>2</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.5</cooldownTime>
					<linkedBodyPartsGroup>Aspero_hornGroup</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationSharp>0.8</armorPenetrationSharp>
					<armorPenetrationBlunt>0.423</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>tail</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.5</cooldownTime>
					<linkedBodyPartsGroup>Aspero_TailGroup</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>0.423</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>
</Patch>