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

	<!--  Weathered Short bow  -->

	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>BotchJob_WeatheredShortbow</defName>
		<statBases>
			<SightsEfficiency>0.8</SightsEfficiency>
			<ShotSpread>1</ShotSpread>
			<SwayFactor>2</SwayFactor>
			<Bulk>3.00</Bulk>
			<RangedWeapon_Cooldown>1</RangedWeapon_Cooldown>
		</statBases>
		<costList>
			<WoodLog>15</WoodLog>
		</costList>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Projectile_Arrow_Stone</defaultProjectile>
			<warmupTime>1</warmupTime>
			<range>14</range>
			<soundCast>Bow_Small</soundCast>
		</Properties>
		<AmmoUser>
			<ammoSet>AmmoSet_Arrow</ammoSet>
			<AmmoGenPerMagOverride>5</AmmoGenPerMagOverride>
		</AmmoUser>
		<FireModes />
		<weaponTags>
			<li>CE_Bow</li>
		</weaponTags>
		<AllowWithRunAndGun>false</AllowWithRunAndGun>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="BotchJob_WeatheredShortbow"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>7</power>
					<cooldownTime>1.6</cooldownTime>
					<armorPenetrationBlunt>0.65</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

	<!-- Profaned Greatbow -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>BotchJob_ProfanedGreatbow</defName>
		<statBases>
			<SightsEfficiency>0.8</SightsEfficiency>
			<ShotSpread>1</ShotSpread>
			<SwayFactor>2</SwayFactor>
			<Bulk>10.00</Bulk>
			<RangedWeapon_Cooldown>1</RangedWeapon_Cooldown>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>Projectile_ProfanedGreatbowArrow</defaultProjectile>
			<warmupTime>1.3</warmupTime>
			<range>30</range>
			<soundCast>Bow_Large</soundCast>
		</Properties>
		<AmmoUser>
			<ammoSet>AmmoSet_ProfanedGreatbowArrow</ammoSet>
			<AmmoGenPerMagOverride>5</AmmoGenPerMagOverride>
		</AmmoUser>
		<FireModes/>
		<weaponTags>
			<li>BotchJob_ProfanedGreatbow</li>
		</weaponTags>
		<AllowWithRunAndGun>false</AllowWithRunAndGun>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="BotchJob_ProfanedGreatbow"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>7</power>
					<cooldownTime>1.44</cooldownTime>
					<armorPenetrationBlunt>0.79</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>
	
	<!-- Profaned Greatbow -->
	<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
		<defName>BotchJob_SpectralGreatbow</defName>
		<statBases>
			<SightsEfficiency>0.8</SightsEfficiency>
			<ShotSpread>1</ShotSpread>
			<SwayFactor>2</SwayFactor>
			<Bulk>5.00</Bulk>
			<RangedWeapon_Cooldown>1</RangedWeapon_Cooldown>
		</statBases>
		<Properties>
			<verbClass>CombatExtended.Verb_ShootCE</verbClass>
			<hasStandardCommand>true</hasStandardCommand>
			<defaultProjectile>BotchJob_SpectralGreatbowArrow</defaultProjectile>
			<warmupTime>1.8</warmupTime>
			<range>30</range>
			<burstShotCount>3</burstShotCount>
			<soundCast>Bow_Large</soundCast>
			<recoilAmount>0</recoilAmount>
		</Properties>
		<FireModes>
			<aiUseBurstMode>TRUE</aiUseBurstMode>
			<aiAimMode>AimedShot</aiAimMode>
			<aimedBurstShotCount>1</aimedBurstShotCount>
		</FireModes>
		<weaponTags>
			<li>BotchJob_SpectralGreatbow</li>
		</weaponTags>
		<AllowWithRunAndGun>false</AllowWithRunAndGun>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="BotchJob_SpectralGreatbow"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>7</power>
					<cooldownTime>1.44</cooldownTime>
					<armorPenetrationBlunt>0.79</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

</Patch>