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

	<!--Demonscale-->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TM_Demonscale"]/stuffProps/categories</xpath>
		<value>
			<li>Metallic_Weapon</li>
			<li>Steeled</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TM_Demonscale"]/stuffProps/statFactors</xpath>
		<value>
			<MeleePenetrationFactor>1.5</MeleePenetrationFactor>
			<Mass>0.75</Mass>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Demonscale"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>1.75</StuffPower_Armor_Sharp>
			<StuffPower_Armor_Electric>0.20</StuffPower_Armor_Electric>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Demonscale"]/statBases/StuffPower_Armor_Blunt</xpath>
		<value>
			<StuffPower_Armor_Blunt>3.5</StuffPower_Armor_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Demonscale"]/statBases/StuffPower_Armor_Heat</xpath>
		<value>
			<StuffPower_Armor_Heat>0.35</StuffPower_Armor_Heat>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Demonscale"]/statBases/StuffPower_Armor_Harmony</xpath>
		<value>
			<StuffPower_Armor_Harmony>0.15</StuffPower_Armor_Harmony>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TM_Demonscale"]/statBases</xpath>
		<value>
			<Bulk>0.03</Bulk>
		</value>
	</Operation>

	<!--Arcalleum-->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TM_Arcalleum"]/stuffProps/categories</xpath>
		<value>
			<li>Metallic_Weapon</li>
			<li>Steeled</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TM_Arcalleum"]/stuffProps/statFactors</xpath>
		<value>
			<MeleePenetrationFactor>1.3</MeleePenetrationFactor>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Arcalleum"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>1.1</StuffPower_Armor_Sharp>
			<StuffPower_Armor_Electric>0.20</StuffPower_Armor_Electric>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Arcalleum"]/statBases/StuffPower_Armor_Blunt</xpath>
		<value>
			<StuffPower_Armor_Blunt>3.25</StuffPower_Armor_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Arcalleum"]/statBases/StuffPower_Armor_Heat</xpath>
		<value>
			<StuffPower_Armor_Heat>0.20</StuffPower_Armor_Heat>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Arcalleum"]/statBases/StuffPower_Armor_Harmony</xpath>
		<value>
			<StuffPower_Armor_Harmony>0.12</StuffPower_Armor_Harmony>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Arcalleum"]/statBases/SharpDamageMultiplier</xpath>
		<value>
			<SharpDamageMultiplier>0.75</SharpDamageMultiplier>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="TM_Arcalleum"]/statBases</xpath>
		<value>
			<Bulk>0.03</Bulk>
		</value>
	</Operation>

	<!--Manaweave-->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Manaweave"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.5</StuffPower_Armor_Sharp>
			<StuffPower_Armor_Electric>0.08</StuffPower_Armor_Electric>
			<Bulk>0.3</Bulk>
			<WornBulk>0.3</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Manaweave"]/statBases/StuffPower_Armor_Blunt</xpath>
		<value>
			<StuffPower_Armor_Blunt>0.1</StuffPower_Armor_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Manaweave"]/statBases/StuffPower_Armor_Heat</xpath>
		<value>
			<StuffPower_Armor_Heat>0.08</StuffPower_Armor_Heat>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Manaweave"]/statBases/StuffPower_Armor_Harmony</xpath>
		<value>
			<StuffPower_Armor_Harmony>0.025</StuffPower_Armor_Harmony>
		</value>
	</Operation>

	<!--Demonhide-->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Demonhide"]/statBases/StuffPower_Armor_Sharp</xpath>
		<value>
			<StuffPower_Armor_Sharp>0.95</StuffPower_Armor_Sharp>
			<StuffPower_Armor_Electric>0.08</StuffPower_Armor_Electric>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Demonhide"]/statBases/StuffPower_Armor_Blunt</xpath>
		<value>
			<StuffPower_Armor_Blunt>0.3</StuffPower_Armor_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Demonhide"]/statBases/StuffPower_Armor_Heat</xpath>
		<value>
			<StuffPower_Armor_Heat>0.08</StuffPower_Armor_Heat>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="TM_Demonhide"]/statBases/StuffPower_Armor_Harmony</xpath>
		<value>
			<StuffPower_Armor_Harmony>0.06</StuffPower_Armor_Harmony>
		</value>
	</Operation>

</Patch>