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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="TM_SkeletonLichR"
			]/statBases </xpath>
		<value>
			<CarryWeight>45</CarryWeight>
			<CarryBulk>30</CarryBulk>
			<AimingAccuracy>1.0</AimingAccuracy>
			<ShootingAccuracyPawn>5</ShootingAccuracyPawn>
			<MeleeDodgeChance>0.19</MeleeDodgeChance>
			<MeleeCritChance>0.22</MeleeCritChance>
			<MeleeParryChance>0.2</MeleeParryChance>
			<MaxHitPoints>200</MaxHitPoints>
			<SmokeSensitivity>0.1</SmokeSensitivity>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="TM_SkeletonR"
			]/statBases </xpath>
		<value>
			<CarryWeight>50</CarryWeight>
			<CarryBulk>30</CarryBulk>
			<AimingAccuracy>1.0</AimingAccuracy>
			<ShootingAccuracyPawn>1</ShootingAccuracyPawn>
			<MeleeDodgeChance>0.09</MeleeDodgeChance>
			<MeleeCritChance>0.02</MeleeCritChance>
			<MeleeParryChance>0.09</MeleeParryChance>
			<MaxHitPoints>200</MaxHitPoints>
			<SmokeSensitivity>0</SmokeSensitivity>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="TM_SkeletonLichR"
			]/statBases/ArmorRating_Blunt </xpath>
		<value>
			<ArmorRating_Blunt>6</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="TM_SkeletonLichR"
			]/statBases/ArmorRating_Sharp </xpath>
		<value>
			<ArmorRating_Sharp>4</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="TM_GiantSkeletonR"
			]/statBases/ArmorRating_Blunt </xpath>
		<value>
			<ArmorRating_Blunt>1.5</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="TM_GiantSkeletonR"
			]/statBases/ArmorRating_Sharp </xpath>
		<value>
			<ArmorRating_Sharp>1</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="TM_SkeletonR"
			]/statBases/ArmorRating_Blunt </xpath>
		<value>
			<ArmorRating_Blunt>1</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="TM_SkeletonR"
			]/statBases/ArmorRating_Sharp </xpath>
		<value>
			<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_SkeletonR"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left fist</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>13</power>
					<cooldownTime>2</cooldownTime>
					<armorPenetrationSharp>0</armorPenetrationSharp>
					<armorPenetrationBlunt>1.44</armorPenetrationBlunt>
					<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right fist</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>13</power>
					<cooldownTime>2</cooldownTime>
					<armorPenetrationSharp>0</armorPenetrationSharp>
					<armorPenetrationBlunt>1.44</armorPenetrationBlunt>
					<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>teeth</label>
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>17</power>
					<cooldownTime>2.5</cooldownTime>
					<armorPenetrationSharp>0</armorPenetrationSharp>
					<armorPenetrationBlunt>1.6</armorPenetrationBlunt>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_GiantSkeletonR"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left fist</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>21</power>
					<cooldownTime>2</cooldownTime>
					<armorPenetrationSharp>0</armorPenetrationSharp>
					<armorPenetrationBlunt>10</armorPenetrationBlunt>
					<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right fist</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>21</power>
					<cooldownTime>2</cooldownTime>
					<armorPenetrationSharp>0</armorPenetrationSharp>
					<armorPenetrationBlunt>10</armorPenetrationBlunt>
					<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>teeth</label>
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>27</power>
					<cooldownTime>2.5</cooldownTime>
					<armorPenetrationSharp>1</armorPenetrationSharp>
					<armorPenetrationBlunt>5</armorPenetrationBlunt>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_SkeletonLichR"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left fist</label>
					<capacities>
						<li>TM_ShadowBurn</li>
					</capacities>
					<power>19</power>
					<cooldownTime>1.1</cooldownTime>
					<armorPenetrationSharp>0</armorPenetrationSharp>
					<armorPenetrationBlunt>5</armorPenetrationBlunt>
					<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right fist</label>
					<capacities>
						<li>TM_ShadowBurn</li>
					</capacities>
					<power>19</power>
					<cooldownTime>1.1</cooldownTime>
					<armorPenetrationSharp>0</armorPenetrationSharp>
					<armorPenetrationBlunt>5</armorPenetrationBlunt>
					<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>death stare</label>
					<capacities>
						<li>TM_DeathGaze</li>
					</capacities>
					<power>20</power>
					<chanceFactor>.1</chanceFactor>
					<cooldownTime>2</cooldownTime>
					<armorPenetrationSharp>1</armorPenetrationSharp>
					<armorPenetrationBlunt>5</armorPenetrationBlunt>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>