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

	<!-- ========== Muffalo ========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Muffalo"]/statBases/MoveSpeed</xpath>
		<value>
			<MoveSpeed>5</MoveSpeed>
			<MeleeDodgeChance>0.36</MeleeDodgeChance>
			<MeleeCritChance>0.12</MeleeCritChance>
			<MeleeParryChance>0.15</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Muffalo"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>24</power>
					<cooldownTime>3.17</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<armorPenetrationBlunt>10</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>left hoof</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>9</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>2.250</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontLeftLeg</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>left hoof</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>9</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>2.250</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontLeftLeg_2</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right hoof</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>9</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>2.250</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontRightLeg</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right hoof</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>9</power>
					<cooldownTime>1.2</cooldownTime>
					<armorPenetrationBlunt>2.250</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontRightLeg_2</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>5</power>
					<cooldownTime>0.8</cooldownTime>
					<chanceFactor>0.5</chanceFactor>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[defName="Muffalo"]/comps</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/ThingDef[defName="Muffalo"]</xpath>
			<value>
				<comps />
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Muffalo"]/comps</xpath>
		<value>
			<li Class="CombatExtended.CompProperties_ArmorDurability">
				<Durability>1037</Durability>
				<Regenerates>true</Regenerates>
				<RegenInterval>600</RegenInterval>
				<RegenValue>5</RegenValue>
				<MinArmorPct>0.5</MinArmorPct>
			</li>
		</value>
	</Operation>

	<!-- ========== Gazelle ========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Gazelle"]/statBases/MoveSpeed</xpath>
		<value>
			<MoveSpeed>6.2</MoveSpeed>
			<MeleeDodgeChance>0.23</MeleeDodgeChance>
			<MeleeCritChance>0.10</MeleeCritChance>
			<MeleeParryChance>0.05</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Gazelle"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left hoof</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.84</cooldownTime>
					<armorPenetrationBlunt>0.563</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontLeftLeg</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>left hoof</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.84</cooldownTime>
					<armorPenetrationBlunt>0.563</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontLeftLeg_2</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right hoof</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.84</cooldownTime>
					<armorPenetrationBlunt>0.563</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontRightLeg</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right hoof</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>2</power>
					<cooldownTime>0.84</cooldownTime>
					<armorPenetrationBlunt>0.563</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontRightLeg_2</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>1</power>
					<cooldownTime>0.84</cooldownTime>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<armorPenetrationBlunt>0.05</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.65</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>1</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

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

	<!-- ========== Iguana ========== -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Iguana"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.14</MeleeDodgeChance>
			<MeleeCritChance>0.02</MeleeCritChance>
			<MeleeParryChance>0.02</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Iguana"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left claws</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>4</power>
					<cooldownTime>1.5</cooldownTime>
					<linkedBodyPartsGroup>FrontLeftClaws</linkedBodyPartsGroup>
					<armorPenetrationSharp>0.03</armorPenetrationSharp>
					<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right claws</label>
					<capacities>
						<li>Scratch</li>
					</capacities>
					<power>4</power>
					<cooldownTime>1.5</cooldownTime>
					<linkedBodyPartsGroup>FrontRightClaws</linkedBodyPartsGroup>
					<armorPenetrationSharp>0.03</armorPenetrationSharp>
					<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>5</power>
					<cooldownTime>1.89</cooldownTime>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<armorPenetrationBlunt>1.250</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>2</power>
					<cooldownTime>4.24</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>0.5</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

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

	<!-- ========== Rhinoceros ========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Rhinoceros"]/statBases/MoveSpeed</xpath>
		<value>
			<MoveSpeed>5.5</MoveSpeed>
			<MeleeDodgeChance>0.11</MeleeDodgeChance>
			<MeleeCritChance>0.52</MeleeCritChance>
			<MeleeParryChance>0.33</MeleeParryChance>
			<ArmorRating_Blunt>0.25</ArmorRating_Blunt>
			<ArmorRating_Sharp>0.1</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Rhinoceros"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>horn</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>28</power>
					<cooldownTime>2.67</cooldownTime>
					<linkedBodyPartsGroup>HornAttackTool</linkedBodyPartsGroup>
					<armorPenetrationBlunt>16</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>horn</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>24</power>
					<cooldownTime>2.37</cooldownTime>
					<linkedBodyPartsGroup>HornAttackTool_2</linkedBodyPartsGroup>
					<armorPenetrationBlunt>16</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>10</power>
					<cooldownTime>2.44</cooldownTime>
					<chanceFactor>0.7</chanceFactor>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<armorPenetrationSharp>0.04</armorPenetrationSharp>
					<armorPenetrationBlunt>3.5</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>20</power>
					<cooldownTime>2.95</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>8.5</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationConditional">
		<xpath>Defs/ThingDef[defName="Rhinoceros"]/comps</xpath>
		<nomatch Class="PatchOperationAdd">
			<xpath>Defs/ThingDef[defName="Rhinoceros"]</xpath>
			<value>
				<comps />
			</value>
		</nomatch>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Rhinoceros"]/comps</xpath>
		<value>
			<li Class="CombatExtended.CompProperties_ArmorDurability">
				<Durability>1625</Durability>
				<Regenerates>true</Regenerates>
				<RegenInterval>600</RegenInterval>
				<RegenValue>5</RegenValue>
				<MinArmorPct>0.5</MinArmorPct>
			</li>
		</value>
	</Operation>

	<!-- ========== Dromedary ========== -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Dromedary"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.12</MeleeDodgeChance>
			<MeleeCritChance>0.18</MeleeCritChance>
			<MeleeParryChance>0.19</MeleeParryChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Dromedary"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left hoof</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>7</power>
					<cooldownTime>1.19</cooldownTime>
					<armorPenetrationBlunt>2.250</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontLeftLeg</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>left hoof</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>7</power>
					<cooldownTime>1.19</cooldownTime>
					<armorPenetrationBlunt>2.250</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontLeftLeg_2</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right hoof</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>7</power>
					<cooldownTime>1.19</cooldownTime>
					<armorPenetrationBlunt>2.250</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontRightLeg</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right hoof</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>7</power>
					<cooldownTime>1.19</cooldownTime>
					<armorPenetrationBlunt>2.250</armorPenetrationBlunt>
					<linkedBodyPartsGroup>FrontRightLeg_2</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>4</power>
					<cooldownTime>0.84</cooldownTime>
					<chanceFactor>0.7</chanceFactor>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<armorPenetrationBlunt>0.4</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>5</power>
					<cooldownTime>1.97</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>1.5</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

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

</Patch>