<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- 'Verdict' Concussion Baton -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AD_ConcussionBaton" or defName="AD_FedConcussionBaton"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>2</power>
					<chanceFactor>0.33</chanceFactor>
					<cooldownTime>1.59</cooldownTime>
					<armorPenetrationBlunt>0.625</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>shaft</label>
					<labelUsedInLogging>false</labelUsedInLogging>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>15</power>
					<cooldownTime>0.95</cooldownTime>
					<armorPenetrationBlunt>25.625</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AD_ConcussionBaton"]/statBases</xpath>
		<value>
			<Bulk>2.5</Bulk>
			<MeleeCounterParryBonus>0.24</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AD_ConcussionBaton"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.42</MeleeCritChance>
				<MeleeParryChance>0.24</MeleeParryChance>
				<MeleeDodgeChance>0.2</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>
	<!--Since both bions are the same race, we'll buff the AI only weapon to boost the melee stats, since the melee one does visibly have a shield-->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AD_FedConcussionBaton"]/statBases</xpath>
		<value>
			<Bulk>2.5</Bulk>
			<MeleeCounterParryBonus>0.24</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AD_FedConcussionBaton"]</xpath>
		<value>
			<equippedStatOffsets>
				<MeleeCritChance>0.4</MeleeCritChance>
				<MeleeParryChance>1.2</MeleeParryChance>
				<MeleeDodgeChance>0.2</MeleeDodgeChance>
			</equippedStatOffsets>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="AD_ConcussionBaton"]/weaponTags</xpath>
		<value>
			<li>CE_OnehandedWeapon</li>
		</value>
	</Operation>
</Patch>