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

	<!-- ========== EV Rumbler ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_EvolvedRumbler"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
				<canParry>true</canParry>
				<maxParry>3</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_EvolvedRumbler"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.2</MeleeDodgeChance>
			<MeleeCritChance>1.82</MeleeCritChance>
			<MeleeParryChance>0.37</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_EvolvedRumbler"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>12</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>10</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.8</cooldownTime>
					<linkedBodyPartsGroup>RH_LeftClaw</linkedBodyPartsGroup>
					<armorPenetrationBlunt>12.5</armorPenetrationBlunt>
					<armorPenetrationSharp>2.5</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>13</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>10</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.5</cooldownTime>
					<linkedBodyPartsGroup>RH_RightClaw</linkedBodyPartsGroup>
					<armorPenetrationBlunt>12.5</armorPenetrationBlunt>
					<armorPenetrationSharp>2.5</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>16</power>
					<cooldownTime>5.2</cooldownTime>
					<linkedBodyPartsGroup>RH_N4Teeth</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>3.75</armorPenetrationBlunt>
					<armorPenetrationSharp>0.75</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_DF_EvolvedRumbler"]/combatPower</xpath>
		<value>
			<combatPower>225</combatPower>
		</value>
	</Operation>

	<!-- ========== Evolved long arm ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_EvolvedLongArms"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
				<canParry>true</canParry>
				<maxParry>4</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_EvolvedLongArms"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.25</MeleeDodgeChance>
			<MeleeCritChance>2.0</MeleeCritChance>
			<MeleeParryChance>0.37</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_EvolvedLongArms"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left arm blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>14</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>8</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.8</cooldownTime>
					<linkedBodyPartsGroup>RH_LeftArmBlade</linkedBodyPartsGroup>
					<armorPenetrationBlunt>2.5</armorPenetrationBlunt>
					<armorPenetrationSharp>0.5</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right arm blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>15</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>45</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3</cooldownTime>
					<linkedBodyPartsGroup>RH_RightBlade</linkedBodyPartsGroup>
					<armorPenetrationBlunt>2.5</armorPenetrationBlunt>
					<armorPenetrationSharp>0.5</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>17</power>
					<cooldownTime>5.2</cooldownTime>
					<linkedBodyPartsGroup>RH_N4Teeth</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>3.75</armorPenetrationBlunt>
					<armorPenetrationSharp>0.75</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_DF_EvolvedLongArms"]/combatPower</xpath>
		<value>
			<combatPower>225</combatPower>
		</value>
	</Operation>

	<!-- ========== Volatile long arm ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_IrridiatedLongArms"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
				<canParry>true</canParry>
				<maxParry>4</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_IrridiatedLongArms"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.5</MeleeDodgeChance>
			<MeleeCritChance>2.0</MeleeCritChance>
			<MeleeParryChance>0.37</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_IrridiatedLongArms"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left arm blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>67</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>50</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>4.0</cooldownTime>
					<linkedBodyPartsGroup>RH_LeftArmBlade</linkedBodyPartsGroup>
					<armorPenetrationBlunt>12.5</armorPenetrationBlunt>
					<armorPenetrationSharp>2.5</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right arm blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>71</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>60</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>4.4</cooldownTime>
					<linkedBodyPartsGroup>RH_RightBlade</linkedBodyPartsGroup>
					<armorPenetrationBlunt>15</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>87</power>
					<cooldownTime>8.2</cooldownTime>
					<linkedBodyPartsGroup>RH_N4Teeth</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>25.0</armorPenetrationBlunt>
					<armorPenetrationSharp>5.0</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_DF_IrridiatedLongArms"]/combatPower</xpath>
		<value>
			<combatPower>900</combatPower>
		</value>
	</Operation>

	<!-- ========== Volatile Leaper ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_VolatileLeaper"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Quadruped</bodyShape>
				<canParry>true</canParry>
				<maxParry>5</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_VolatileLeaper"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.59</MeleeDodgeChance>
			<MeleeCritChance>2.0</MeleeCritChance>
			<MeleeParryChance>2.0</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_VolatileLeaper"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>38</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>30</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.7</cooldownTime>
					<linkedBodyPartsGroup>RH_N4LeftHand</linkedBodyPartsGroup>
					<armorPenetrationBlunt>40</armorPenetrationBlunt>
					<armorPenetrationSharp>8</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>42</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>30</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.5</cooldownTime>
					<linkedBodyPartsGroup>RH_N4RightHand</linkedBodyPartsGroup>
					<armorPenetrationBlunt>40</armorPenetrationBlunt>
					<armorPenetrationSharp>8</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>tongue</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>700</power>
					<cooldownTime>4.2</cooldownTime>
					<linkedBodyPartsGroup>RH_LeaperTongue</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<armorPenetrationBlunt>100</armorPenetrationBlunt>
					<armorPenetrationSharp>30</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_DF_VolatileLeaper"]/combatPower</xpath>
		<value>
			<combatPower>2100</combatPower>
		</value>
	</Operation>

	<!-- ========== BLACK TITAN ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_BlackTitan"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
				<canParry>true</canParry>
				<maxParry>5</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_BlackTitan"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.56</MeleeDodgeChance>
			<MeleeCritChance>2.0</MeleeCritChance>
			<MeleeParryChance>1.87</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_BlackTitan"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left fist</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>80</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>70</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>4.8</cooldownTime>
					<linkedBodyPartsGroup>RH_N4LeftHand</linkedBodyPartsGroup>
					<armorPenetrationBlunt>45</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right fist</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>85</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>70</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.4</cooldownTime>
					<linkedBodyPartsGroup>RH_N4RightHand</linkedBodyPartsGroup>
					<armorPenetrationBlunt>50</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>100</power>
					<cooldownTime>4.2</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>25</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_BlackTitan"]/combatPower</xpath>
		<value>
			<combatPower>1200</combatPower>
		</value>
	</Operation>

	<!-- ========== Black Wraith ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_BlackWraith"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
				<canParry>true</canParry>
				<maxParry>5</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_BlackWraith"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.66</MeleeDodgeChance>
			<MeleeCritChance>2.0</MeleeCritChance>
			<MeleeParryChance>1.11</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_BlackWraith"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>tentacle</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>97</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>85</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.5</cooldownTime>
					<linkedBodyPartsGroup>RH_LeftTentacle</linkedBodyPartsGroup>
					<armorPenetrationBlunt>100</armorPenetrationBlunt>
					<armorPenetrationSharp>36</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>tentacle</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>110</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>85</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.8</cooldownTime>
					<linkedBodyPartsGroup>RH_RightTentacle</linkedBodyPartsGroup>
					<armorPenetrationBlunt>110</armorPenetrationBlunt>
					<armorPenetrationSharp>38</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>90</power>
					<cooldownTime>3.5</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>30</armorPenetrationBlunt>
					<armorPenetrationSharp>6</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_BlackWraith"]/combatPower</xpath>
		<value>
			<combatPower>900</combatPower>
		</value>
	</Operation>

	<!-- ========== BLACK LEAPER ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_BlackLeaper"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
				<canParry>true</canParry>
				<maxParry>4</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_BlackLeaper"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.05</MeleeDodgeChance>
			<MeleeCritChance>0.56</MeleeCritChance>
			<MeleeParryChance>1.87</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_BlackLeaper"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>35</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>30</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>5.5</cooldownTime>
					<linkedBodyPartsGroup>RH_N4LeftHand</linkedBodyPartsGroup>
					<armorPenetrationBlunt>30</armorPenetrationBlunt>
					<armorPenetrationSharp>6</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>37</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>30</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>5.4</cooldownTime>
					<linkedBodyPartsGroup>RH_N4RightHand</linkedBodyPartsGroup>
					<armorPenetrationBlunt>32.5</armorPenetrationBlunt>
					<armorPenetrationSharp>6.5</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>tongue</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>600</power>
					<cooldownTime>6.7</cooldownTime>
					<linkedBodyPartsGroup>RH_LeaperTongue</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>100</armorPenetrationBlunt>
					<armorPenetrationSharp>30</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_DF_BlackLeaper"]/combatPower</xpath>
		<value>
			<combatPower>1500</combatPower>
		</value>
	</Operation>

	<!-- ========== Devil Hound ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_DevilHound"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Quadruped</bodyShape>
				<canParry>true</canParry>
				<maxParry>2</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_DevilHound"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.67</MeleeDodgeChance>
			<MeleeCritChance>2.0</MeleeCritChance>
			<MeleeParryChance>2.0</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_DevilHound"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>claws</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>72</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>85</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.6</cooldownTime>
					<linkedBodyPartsGroup>RH_LeftClaw</linkedBodyPartsGroup>
					<armorPenetrationBlunt>75</armorPenetrationBlunt>
					<armorPenetrationSharp>15</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>claws</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>77</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>85</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.1</cooldownTime>
					<linkedBodyPartsGroup>RH_RightClaw</linkedBodyPartsGroup>
					<armorPenetrationBlunt>75</armorPenetrationBlunt>
					<armorPenetrationSharp>15</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>125</power>
					<cooldownTime>4.7</cooldownTime>
					<linkedBodyPartsGroup>RH_N4Teeth</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>40</armorPenetrationBlunt>
					<armorPenetrationSharp>10</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_DF_DevilHound"]/combatPower</xpath>
		<value>
			<combatPower>2700</combatPower>
		</value>
	</Operation>

	<!-- ========== Tendril ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_Tendril"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
				<canParry>true</canParry>
				<maxParry>3</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_Tendril"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.18</MeleeDodgeChance>
			<MeleeCritChance>0.21</MeleeCritChance>
			<MeleeParryChance>1.16</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_Tendril"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>tentacles</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>9</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>5</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>2.0</cooldownTime>
					<linkedBodyPartsGroup>RH_LeftTentacle</linkedBodyPartsGroup>
					<armorPenetrationBlunt>7.5</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>tentacles</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>13</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>5</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>2.3</cooldownTime>
					<linkedBodyPartsGroup>RH_RightTentacle</linkedBodyPartsGroup>
					<armorPenetrationBlunt>11.25</armorPenetrationBlunt>
					<armorPenetrationSharp>4.5</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>12</power>
					<cooldownTime>4.0</cooldownTime>
					<linkedBodyPartsGroup>RH_N4Teeth</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>3.5</armorPenetrationBlunt>
					<armorPenetrationSharp>0.5</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_DF_Tendril"]/combatPower</xpath>
		<value>
			<combatPower>75</combatPower>
		</value>
	</Operation>

	<!-- ========== Bone ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_Bone"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
				<canParry>true</canParry>
				<maxParry>3</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_Bone"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.09</MeleeDodgeChance>
			<MeleeCritChance>0.07</MeleeCritChance>
			<MeleeParryChance>0.16</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_Bone"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left fist</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>8</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>5</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>2.5</cooldownTime>
					<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup>
					<armorPenetrationBlunt>7.5</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right fist</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>12</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>5</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>2.7</cooldownTime>
					<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup>
					<armorPenetrationBlunt>11.25</armorPenetrationBlunt>
					<armorPenetrationSharp>4.5</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>15</power>
					<cooldownTime>10.0</cooldownTime>
					<linkedBodyPartsGroup>RH_N4Teeth</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>3.5</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_DF_Bone"]/combatPower</xpath>
		<value>
			<combatPower>80</combatPower>
		</value>
	</Operation>

	<!-- ========== Roid Hulk ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF2_RoidHulk"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
				<canParry>true</canParry>
				<maxParry>4</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF2_RoidHulk"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.15</MeleeDodgeChance>
			<MeleeCritChance>0.25</MeleeCritChance>
			<MeleeParryChance>0.29</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF2_RoidHulk"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>14</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>13</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>3.0</cooldownTime>
					<linkedBodyPartsGroup>RH_LeftClaw</linkedBodyPartsGroup>
					<armorPenetrationBlunt>15</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>16</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>15</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>2.8</cooldownTime>
					<linkedBodyPartsGroup>RH_RightClaw</linkedBodyPartsGroup>
					<armorPenetrationBlunt>15</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>18</power>
					<cooldownTime>12.0</cooldownTime>
					<linkedBodyPartsGroup>RH_N4Teeth</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>3.75</armorPenetrationBlunt>
					<armorPenetrationSharp>0.75</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_DF2_RoidHulk"]/combatPower</xpath>
		<value>
			<combatPower>200</combatPower>
		</value>
	</Operation>

	<!-- ========== Reaper ========== -->

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="RH_DF_Reaper"]</xpath>
		<value>
			<li Class="CombatExtended.RacePropertiesExtensionCE">
				<bodyShape>Humanoid</bodyShape>
				<canParry>true</canParry>
				<maxParry>4</maxParry>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="RH_DF_Reaper"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.08</MeleeDodgeChance>
			<MeleeCritChance>0.09</MeleeCritChance>
			<MeleeParryChance>0.32</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RH_DF_Reaper"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claw</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>11</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>13</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>2.2</cooldownTime>
					<linkedBodyPartsGroup>RH_LeftClawAB</linkedBodyPartsGroup>
					<armorPenetrationBlunt>12.5</armorPenetrationBlunt>
					<armorPenetrationSharp>2.5</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>arm blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>21</power>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>15</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<cooldownTime>2.6</cooldownTime>
					<chanceFactor>0.9</chanceFactor>
					<linkedBodyPartsGroup>RH_RightBlade</linkedBodyPartsGroup>
					<armorPenetrationBlunt>10</armorPenetrationBlunt>
					<armorPenetrationSharp>2</armorPenetrationSharp>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>ToxicBite</li>
					</capacities>
					<power>12</power>
					<cooldownTime>11.0</cooldownTime>
					<linkedBodyPartsGroup>RH_N4Teeth</linkedBodyPartsGroup>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>2.5</armorPenetrationBlunt>
					<armorPenetrationSharp>0.5</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/PawnKindDef[defName="RH_DF_Reaper"]/combatPower</xpath>
		<value>
			<combatPower>100</combatPower>
		</value>
	</Operation>
</Patch>