Skip to content

Commit

Permalink
Merge pull request #136 from CombatExtended-Continued/AA-tweaks
Browse files Browse the repository at this point in the history
Alpha Animals Tweaks
  • Loading branch information
N7Huntsman committed Jun 15, 2020
2 parents e52f8f3 + 4392a3c commit 53e8770
Show file tree
Hide file tree
Showing 17 changed files with 733 additions and 559 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<damageDef>Bomb</damageDef>
<damageAmountBase>40</damageAmountBase>
<soundExplode>MortarBomb_Explode</soundExplode>
<speed>16</speed>
<speed>14</speed>
<armorPenetrationSharp>5</armorPenetrationSharp>
<armorPenetrationBlunt>25</armorPenetrationBlunt>
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
Expand All @@ -193,8 +193,8 @@
<comps>
<li Class="CombatExtended.CompProperties_Fragments">
<fragments>
<Fragment_Small>18</Fragment_Small>
<Fragment_Large>5</Fragment_Large>
<Fragment_Small>14</Fragment_Small>
<Fragment_Large>4</Fragment_Large>
</fragments>
</li>
</comps>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,107 +1,114 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Alpha Animals</li>
</mods>

<match Class="PatchOperationSequence">
<operations>

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

<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="AA_AnimusVox"]/statBases</xpath>
<value>
<MeleeDodgeChance>0.33</MeleeDodgeChance>
<MeleeCritChance>0.02</MeleeCritChance>
<MeleeParryChance>0.01</MeleeParryChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName="AA_AnimusVox"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>left claw</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>4</power>
<cooldownTime>0.9</cooldownTime>
<linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>14</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<armorPenetrationSharp>0.04</armorPenetrationSharp>
<armorPenetrationBlunt>0.18</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>right claw</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>4</power>
<cooldownTime>0.9</cooldownTime>
<linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>14</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<armorPenetrationSharp>0.04</armorPenetrationSharp>
<armorPenetrationBlunt>0.18</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<capacities>
<li>Bite</li>
</capacities>
<power>9</power>
<cooldownTime>1.4</cooldownTime>
<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>14</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<armorPenetrationSharp>0.1</armorPenetrationSharp>
<armorPenetrationBlunt>1.4</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>1</power>
<cooldownTime>1.26</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<armorPenetrationBlunt>0.015</armorPenetrationBlunt>
<chanceFactor>0.2</chanceFactor>
</li>
</tools>
</value>
</li>

</operations>
</match>
</Operation>
</Patch>
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Alpha Animals</li>
</mods>

<match Class="PatchOperationSequence">
<operations>

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

<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="AA_AnimusVox"]/statBases</xpath>
<value>
<MeleeDodgeChance>0.36</MeleeDodgeChance>
<MeleeCritChance>0.02</MeleeCritChance>
<MeleeParryChance>0.01</MeleeParryChance>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AA_AnimusVox"]/race/wildness</xpath>
<value>
<wildness>0.4</wildness>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName="AA_AnimusVox"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>left claw</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>4</power>
<cooldownTime>0.9</cooldownTime>
<linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>14</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<armorPenetrationSharp>0.07</armorPenetrationSharp>
<armorPenetrationBlunt>0.18</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>right claw</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>4</power>
<cooldownTime>0.9</cooldownTime>
<linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>14</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<armorPenetrationSharp>0.07</armorPenetrationSharp>
<armorPenetrationBlunt>0.18</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<capacities>
<li>Bite</li>
</capacities>
<power>11</power>
<cooldownTime>1.45</cooldownTime>
<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>14</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
<armorPenetrationSharp>0.15</armorPenetrationSharp>
<armorPenetrationBlunt>1.4</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>1</power>
<cooldownTime>1.26</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<armorPenetrationBlunt>0.015</armorPenetrationBlunt>
<chanceFactor>0.2</chanceFactor>
</li>
</tools>
</value>
</li>

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

0 comments on commit 53e8770

Please sign in to comment.