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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RG_WoollyStegosaurus"]/statBases/MoveSpeed</xpath>
		<value>
			<MoveSpeed>3</MoveSpeed>
			<MeleeDodgeChance>0.03</MeleeDodgeChance>
			<MeleeCritChance>0.22</MeleeCritChance>
			<MeleeParryChance>0.57</MeleeParryChance>
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="RG_WoollyStegosaurus"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>14</power>
					<cooldownTime>2.5</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<armorPenetrationBlunt>1.5</armorPenetrationBlunt>
					<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
					<chanceFactor>0.7</chanceFactor>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Bite</li>
					</capacities>
					<power>12</power>
					<cooldownTime>2</cooldownTime>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<armorPenetrationBlunt>0.700</armorPenetrationBlunt>
					<chanceFactor>0.5</chanceFactor>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>left foot</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>5</power>
					<cooldownTime>1.2</cooldownTime>
					<linkedBodyPartsGroup>FrontLeftLeg</linkedBodyPartsGroup>
					<armorPenetrationBlunt>2.25</armorPenetrationBlunt>
					<chanceFactor>0.2</chanceFactor>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right foot</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>5</power>
					<cooldownTime>1.2</cooldownTime>
					<linkedBodyPartsGroup>FrontRightLeg</linkedBodyPartsGroup>
					<armorPenetrationBlunt>2.255</armorPenetrationBlunt>
					<chanceFactor>0.2</chanceFactor>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>tail spikes</label>
					<capacities>
						<li>Scratch</li>
						<li>Stab</li>
						<li>Blunt</li>
					</capacities>
					<power>20</power>
					<cooldownTime>2.8</cooldownTime>
					<linkedBodyPartsGroup>RG_TailAttackTool</linkedBodyPartsGroup>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>5</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<armorPenetrationBlunt>4.235</armorPenetrationBlunt>
					<chanceFactor>1.2</chanceFactor>
				</li>
			</tools>
		</value>
	</Operation>

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

</Patch>