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

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

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="MorrowRim_WerewolfLord"]/statBases</xpath>
		<value>
			<MeleeDodgeChance>0.38</MeleeDodgeChance>
			<MeleeCritChance>0.58</MeleeCritChance>
			<MeleeParryChance>0.68</MeleeParryChance>
			<ArmorRating_Sharp>0.45</ArmorRating_Sharp>
			<ArmorRating_Blunt>2.5</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="MorrowRim_WerewolfLord"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>left hand claws</label>
					<capacities>
						<li>MorrowRim_WerewolfScratch</li>
					</capacities>
					<power>24</power>
					<cooldownTime>0.75</cooldownTime>
					<linkedBodyPartsGroup>FrontLeftClaws</linkedBodyPartsGroup>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>14</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<armorPenetrationSharp>1.25</armorPenetrationSharp>
					<armorPenetrationBlunt>6</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>right hand claws</label>
					<capacities>
						<li>MorrowRim_WerewolfScratch</li>
					</capacities>
					<power>24</power>
					<cooldownTime>0.75</cooldownTime>
					<linkedBodyPartsGroup>FrontRightClaws</linkedBodyPartsGroup>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>14</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<armorPenetrationSharp>1.25</armorPenetrationSharp>
					<armorPenetrationBlunt>6</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>MorrowRim_WerewolfBite</li>
					</capacities>
					<power>35</power>
					<cooldownTime>1.66</cooldownTime>
					<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
					<surpriseAttack>
						<extraMeleeDamages>
							<li>
								<def>Stun</def>
								<amount>14</amount>
							</li>
						</extraMeleeDamages>
					</surpriseAttack>
					<chanceFactor>0.75</chanceFactor>
					<armorPenetrationSharp>2.5</armorPenetrationSharp>
					<armorPenetrationBlunt>8</armorPenetrationBlunt>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>10</power>
					<cooldownTime>1.5</cooldownTime>
					<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
					<armorPenetrationBlunt>6</armorPenetrationBlunt>
					<chanceFactor>0.5</chanceFactor>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>