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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_PowerClaw"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>15</power>
					<cooldownTime>0.94</cooldownTime>
					<chanceFactor>1</chanceFactor>
					<armorPenetrationBlunt>1.28</armorPenetrationBlunt>
					<armorPenetrationSharp>8</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>30</power>
					<cooldownTime>0.83</cooldownTime>
					<chanceFactor>1</chanceFactor>
					<armorPenetrationBlunt>2.28</armorPenetrationBlunt>
					<armorPenetrationSharp>6</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_PowerClaw"]/statBases</xpath>
		<value>
			<MeleeCounterParryBonus>2.00</MeleeCounterParryBonus>
			<Bulk>6.5</Bulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_PowerClaw"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.25</MeleeCritChance>
			<MeleeParryChance>1.50</MeleeParryChance>
			<MeleeDodgeChance>0.30</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- ==========  Ringed Blade  =========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_RingedBlade"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.57</cooldownTime>
					<chanceFactor>0.4</chanceFactor>
					<armorPenetrationBlunt>1.6</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>20</power>
					<cooldownTime>1.12</cooldownTime>
					<chanceFactor>1</chanceFactor>
					<armorPenetrationBlunt>1.8</armorPenetrationBlunt>
					<armorPenetrationSharp>3</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>32</power>
					<cooldownTime>1.28</cooldownTime>
					<chanceFactor>1</chanceFactor>
					<armorPenetrationBlunt>2.59</armorPenetrationBlunt>
					<armorPenetrationSharp>1.3</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_RingedBlade"]/statBases</xpath>
		<value>
			<MeleeCounterParryBonus>0.67</MeleeCounterParryBonus>
			<Bulk>5</Bulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_RingedBlade"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>1.20</MeleeCritChance>
			<MeleeParryChance>0.50</MeleeParryChance>
			<MeleeDodgeChance>0.40</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- ==========  Tachi  =========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_Tachi"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>2</power>
					<cooldownTime>1.57</cooldownTime>
					<chanceFactor>0.2</chanceFactor>
					<armorPenetrationBlunt>1.6</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>21</power>
					<cooldownTime>1.45</cooldownTime>
					<chanceFactor>1</chanceFactor>
					<armorPenetrationBlunt>1.296</armorPenetrationBlunt>
					<armorPenetrationSharp>8.68</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>45</power>
					<cooldownTime>1.22</cooldownTime>
					<chanceFactor>1</chanceFactor>
					<armorPenetrationBlunt>3.6</armorPenetrationBlunt>
					<armorPenetrationSharp>5.4</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_Tachi"]/statBases</xpath>
		<value>
			<MeleeCounterParryBonus>1.03</MeleeCounterParryBonus>
			<Bulk>8</Bulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_Tachi"]/equippedStatOffsets/MeleeDodgeChance</xpath>
		<value>
			<MeleeCritChance>0.40</MeleeCritChance>
			<MeleeParryChance>0.73</MeleeParryChance>
			<MeleeDodgeChance>0.60</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- ==========  Stun Rod  =========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_Sappertool"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Poke</li>
						<li>Blunt</li>
					</capacities>
					<power>4</power>
					<cooldownTime>1.78</cooldownTime>
					<chanceFactor>0.30</chanceFactor>
					<armorPenetrationBlunt>1.000</armorPenetrationBlunt>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>3</amount>
							<chance>0.15</chance>
						</li>
					</extraMeleeDamages>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_Sappertool"]/statBases</xpath>
		<value>
			<MeleeCounterParryBonus>1.24</MeleeCounterParryBonus>
			<Bulk>8</Bulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_Sappertool"]/equippedStatOffsets/MeleeDodgeChance</xpath>
		<value>
			<MeleeCritChance>0.30</MeleeCritChance>
			<MeleeParryChance>1.18</MeleeParryChance>
			<MeleeDodgeChance>1.30</MeleeDodgeChance>
		</value>
	</Operation>
	
	<!-- ==========  Jackhammer  =========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_PowerHammer"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Demolish</li>
					</capacities>
					<power>5</power>
					<cooldownTime>0.30</cooldownTime>
					<armorPenetrationBlunt>8</armorPenetrationBlunt>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_PowerHammer"]/statBases</xpath>
		<value>
			<MeleeCounterParryBonus>0</MeleeCounterParryBonus>
			<Bulk>12</Bulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_PowerHammer"]/equippedStatOffsets/MoveSpeed</xpath>
		<value>
			<MoveSpeed>-0.15</MoveSpeed>
			<MeleeCritChance>0</MeleeCritChance>
			<MeleeParryChance>0</MeleeParryChance>
			<MeleeDodgeChance>0</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- ==========  Plasma Tachi  =========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_PlasmaTachi"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>handle</label>
					<capacities>
						<li>Poke</li>
					</capacities>
					<power>3</power>
					<cooldownTime>1.69</cooldownTime>
					<chanceFactor>0.10</chanceFactor>
					<armorPenetrationBlunt>0.80</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>edge</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>47</power>
					<extraMeleeDamages>
						<li>
							<def>Flame</def>
							<amount>5</amount>
							<chance>0.3</chance>
						</li>
					</extraMeleeDamages>
					<cooldownTime>1.17</cooldownTime>
					<chanceFactor>0.66</chanceFactor>
					<armorPenetrationBlunt>4.06</armorPenetrationBlunt>
					<armorPenetrationSharp>24</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>25</power>
					<extraMeleeDamages>
						<li>
							<def>Flame</def>
							<amount>3</amount>
							<chance>0.2</chance>
						</li>
					</extraMeleeDamages>
					<cooldownTime>1.05</cooldownTime>
					<armorPenetrationBlunt>2.048</armorPenetrationBlunt>
					<armorPenetrationSharp>32</armorPenetrationSharp>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_PlasmaTachi"]/statBases</xpath>
		<value>
			<Bulk>9</Bulk>
			<MeleeCounterParryBonus>3.6</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_PlasmaTachi"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.74</MeleeCritChance>
			<MeleeParryChance>0.53</MeleeParryChance>
			<MeleeDodgeChance>0.60</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- ==========  Eltex Axe  =========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_EltexAxe"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>blade</label>
					<capacities>
						<li>Cut</li>
					</capacities>
					<power>47</power>
					<cooldownTime>2.9</cooldownTime>
					<chanceFactor>1.165</chanceFactor>
					<armorPenetrationBlunt>8.1</armorPenetrationBlunt>
					<armorPenetrationSharp>16.2</armorPenetrationSharp>
					<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
				</li>
				<li Class="CombatExtended.ToolCE">
					<label>point</label>
					<capacities>
						<li>Stab</li>
					</capacities>
					<power>29</power>
					<cooldownTime>1.16</cooldownTime>
					<chanceFactor>1.165</chanceFactor>
					<armorPenetrationBlunt>2.025</armorPenetrationBlunt>
					<armorPenetrationSharp>20.3</armorPenetrationSharp>
					<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_EltexAxe"]/statBases</xpath>
		<value>
			<Bulk>10</Bulk>
			<MeleeCounterParryBonus>1.08</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_EltexAxe"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>0.22</MeleeCritChance>
			<MeleeParryChance>1.53</MeleeParryChance>
			<MeleeDodgeChance>0.67</MeleeDodgeChance>
		</value>
	</Operation>

	<!-- ==========  Eltex Staff A/B  =========== -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_EltexA"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>5</power>
					<cooldownTime>2.85</cooldownTime>
					<armorPenetrationBlunt>1.69</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_EltexA"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<MeleeCounterParryBonus>0.93</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_EltexA"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>1.00</MeleeCritChance>
			<MeleeParryChance>0.70</MeleeParryChance>
			<MeleeDodgeChance>0.47</MeleeDodgeChance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_EltexB"]/tools</xpath>
		<value>
			<tools>
				<li Class="CombatExtended.ToolCE">
					<label>head</label>
					<capacities>
						<li>Blunt</li>
					</capacities>
					<power>5</power>
					<cooldownTime>2.85</cooldownTime>
					<armorPenetrationBlunt>1.69</armorPenetrationBlunt>
					<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
				</li>
			</tools>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_EltexB"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<MeleeCounterParryBonus>0.93</MeleeCounterParryBonus>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Miho_Weapon_EltexB"]/equippedStatOffsets</xpath>
		<value>
			<MeleeCritChance>1.00</MeleeCritChance>
			<MeleeParryChance>0.70</MeleeParryChance>
			<MeleeDodgeChance>0.47</MeleeDodgeChance>
		</value>
	</Operation>

</Patch>