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

	<Operation Class="PatchOperationFindMod">
		<mods>
			<li>Biomes! Islands</li>
		</mods>

		<match Class="PatchOperationSequence">
			<operations>

				<li Class="PatchOperationAddModExtension">
					<xpath>Defs/ThingDef[defName="AA_Fangsquid"]</xpath>
					<value>
						<li Class="CombatExtended.RacePropertiesExtensionCE">
							<bodyShape>Serpentine</bodyShape>
						</li>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="AA_Fangsquid"]/statBases</xpath>
					<value>
						<MeleeDodgeChance>0.1</MeleeDodgeChance>
						<MeleeCritChance>0.08</MeleeCritChance>
						<MeleeParryChance>0.4</MeleeParryChance>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="AA_Fangsquid"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<capacities>
									<li>Bite</li>
								</capacities>
								<power>12</power>
								<cooldownTime>1.68</cooldownTime>
								<linkedBodyPartsGroup>AA_Mouth</linkedBodyPartsGroup>
								<armorPenetrationSharp>0.14</armorPenetrationSharp>
								<armorPenetrationBlunt>1.1</armorPenetrationBlunt>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>tentacle</label>
								<capacities>
									<li>Blunt</li>
								</capacities>
								<power>8</power>
								<cooldownTime>1</cooldownTime>
								<linkedBodyPartsGroup>AA_TentacleAttackTool</linkedBodyPartsGroup>
								<armorPenetrationBlunt>0.55</armorPenetrationBlunt>
							</li>
						</tools>
					</value>
				</li>

			</operations>
		</match>
	</Operation>
</Patch>