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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AA_FireWasp"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.5</MeleeDodgeChance>
			<MeleeCritChance>0.05</MeleeCritChance>
			<MeleeParryChance>0.04</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AA_FireWasp"]</xpath>
		<value>
			<butcherProducts>
				<Prometheum>8</Prometheum>
			</butcherProducts>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AA_FireWasp"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>AA_BurningAndFeedingBite</li>
					</capacities>
					<power>9</power>
					<cooldownTime>1.55</cooldownTime>
					<linkedBodyPartsGroup>AA_Sting</linkedBodyPartsGroup>
					<armorPenetrationSharp>1.25</armorPenetrationSharp>
					<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
					<chanceFactor>0.8</chanceFactor>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>claws</label>
					<capacities>
						<li>AA_BurningAndFeedingBite</li>
					</capacities>
					<power>5</power>
					<cooldownTime>1.2</cooldownTime>
					<linkedBodyPartsGroup>LegAttackTool</linkedBodyPartsGroup>
					<chanceFactor>0.1</chanceFactor>
					<armorPenetrationSharp>0.18</armorPenetrationSharp>
					<armorPenetrationBlunt>0.15</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>5</power>
					<cooldownTime>1.85</cooldownTime>
					<linkedBodyPartsGroup>Mouth</linkedBodyPartsGroup>
					<armorPenetrationSharp>0.15</armorPenetrationSharp>
					<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
					<chanceFactor>0.1</chanceFactor>
				</li>
			</tools>
		</value>
	</Operation>
</Patch>