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

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="BMT_Creature_Mantrap"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>QuadrupedTall</bodyShape>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="BMT_Creature_Mantrap"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.05</MeleeDodgeChance>
			<MeleeCritChance>0.65</MeleeCritChance>
			<MeleeParryChance>0.00</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="BMT_Creature_Mantrap"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left maw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>25</amount>
						</li>
						<li>
							<def>AcidBurn</def>
							<amount>15</amount>
						</li>
					</extraMeleeDamages>
					<power>5</power>
					<cooldownTime>1.5</cooldownTime>
					<linkedBodyPartsGroup>BMT_FrontLeftScythe</linkedBodyPartsGroup>
					<armorPenetrationSharp>0.2</armorPenetrationSharp>
					<armorPenetrationBlunt>2.5</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>25</amount>
						</li>
						<li>
							<def>AcidBurn</def>
							<amount>15</amount>
						</li>
					</extraMeleeDamages>
					<power>5</power>
					<cooldownTime>1.5</cooldownTime>
					<linkedBodyPartsGroup>BMT_FrontRightScythe</linkedBodyPartsGroup>
					<armorPenetrationSharp>0.2</armorPenetrationSharp>
					<armorPenetrationBlunt>2.5</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>