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

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[
			defName="TM_LesserDemonR" or
			defName="TM_DemonR"
			] </xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="TM_LesserDemonR" or
			defName="TM_DemonR"
			]/statBases </xpath>
		<value>
			<CarryWeight>50</CarryWeight>
			<CarryBulk>20</CarryBulk>
			<AimingAccuracy>1.0</AimingAccuracy>
			<ShootingAccuracyPawn>1</ShootingAccuracyPawn>
			<MeleeDodgeChance>0.19</MeleeDodgeChance>
			<MeleeCritChance>0.22</MeleeCritChance>
			<MeleeParryChance>0.09</MeleeParryChance>
			<MaxHitPoints>200</MaxHitPoints>
			<SmokeSensitivity>0</SmokeSensitivity>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="TM_LesserDemonR" or
			defName="TM_DemonR"
			]/statBases/ArmorRating_Blunt </xpath>
		<value>
			<ArmorRating_Blunt>15</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="TM_LesserDemonR" or
			defName="TM_DemonR"
			]/statBases/ArmorRating_Sharp </xpath>
		<value>
			<ArmorRating_Sharp>12</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_LesserDemonR"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left arm</label>
					<capacities>
						<li>TM_ClawSweep</li>
					</capacities>
					<power>12</power>
					<cooldownTime>1.1</cooldownTime>
					<armorPenetrationSharp>4</armorPenetrationSharp>
					<armorPenetrationBlunt>18.4</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Demon_LeftArm</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right arm</label>
					<capacities>
						<li>TM_ClawSweep</li>
					</capacities>
					<power>15</power>
					<cooldownTime>1.3</cooldownTime>
					<armorPenetrationSharp>4</armorPenetrationSharp>
					<armorPenetrationBlunt>18.4</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Demon_RightArm</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>hoof</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>23</power>
					<cooldownTime>2</cooldownTime>
					<armorPenetrationSharp>0</armorPenetrationSharp>
					<armorPenetrationBlunt>11.5</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Demon_Legs</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_DemonR"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left arm</label>
					<capacities>
						<li>TM_ClawSweep</li>
					</capacities>
					<power>18</power>
					<cooldownTime>1.1</cooldownTime>
					<armorPenetrationSharp>6</armorPenetrationSharp>
					<armorPenetrationBlunt>18.4</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Demon_LeftArm</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right arm</label>
					<capacities>
						<li>TM_ClawSweep</li>
					</capacities>
					<power>23</power>
					<cooldownTime>1.3</cooldownTime>
					<armorPenetrationSharp>6</armorPenetrationSharp>
					<armorPenetrationBlunt>18.4</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Demon_RightArm</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>hoof</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>32</power>
					<cooldownTime>2</cooldownTime>
					<armorPenetrationSharp>0</armorPenetrationSharp>
					<armorPenetrationBlunt>15.25</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Demon_Legs</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>