<?xml version="1.0" encoding="utf-8"?>
<Patch>
  <!-- only loaded if Odyssey is not present -->
	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[defName="ACPKomodo"]/statBases</xpath>
		<match Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="ACPKomodo"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.08</MeleeDodgeChance>
			<MeleeCritChance>0.4</MeleeCritChance>
			<MeleeParryChance>0.2</MeleeParryChance>
		</value>
		</match>
	</Operation>

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[defName="ACPKomodo"]/statBases</xpath>
		<match Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="ACPKomodo"]/tools</xpath>
		<value>
			<tools>
			<li Class="CombatExtended.ToolCE">
				<label>left claws</label>
				<capacities>
				<li>Scratch</li>
				</capacities>
				<power>7</power>
				<cooldownTime>1.5</cooldownTime>
				<linkedBodyPartsGroup>FrontLeftClaws</linkedBodyPartsGroup>
				<armorPenetrationSharp>0.19</armorPenetrationSharp>
				<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
			</li>
			<li Class="CombatExtended.ToolCE">
				<label>right claws</label>
				<capacities>
				<li>Scratch</li>
				</capacities>
				<power>7</power>
				<cooldownTime>1.5</cooldownTime>
				<linkedBodyPartsGroup>FrontRightClaws</linkedBodyPartsGroup>
				<armorPenetrationSharp>0.19</armorPenetrationSharp>
				<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
			</li>
			<li Class="CombatExtended.ToolCE">
				<capacities>
				<li>ToxicBite</li>
				</capacities>
				<power>15</power>
				<cooldownTime>1.65</cooldownTime>
				<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
				<armorPenetrationBlunt>1.375</armorPenetrationBlunt>
			</li>
			</tools>
		</value>
		</match>
	</Operation>
</Patch>