Skip to content

Commit

Permalink
Patch hediffs, tweak mantis
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Dec 7, 2024
1 parent f908b0a commit 51f7d16
Show file tree
Hide file tree
Showing 3 changed files with 284 additions and 6 deletions.
201 changes: 201 additions & 0 deletions ModPatches/Mantis Race/Patches/Mantis Race/Hediff_Mantis.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- Plasteel Claws -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[@Name="Hediff_LTF_PlasteelClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>claw</label>
<capacities>
<li>Cut</li>
</capacities>
<power>12</power>
<cooldownTime>1.29</cooldownTime>
<armorPenetrationSharp>8.35</armorPenetrationSharp>
<armorPenetrationBlunt>12.35</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
<li Class="CombatExtended.ToolCE">
<label>claw</label>
<capacities>
<li>Stab</li>
</capacities>
<power>9</power>
<cooldownTime>1.59</cooldownTime>
<armorPenetrationSharp>10.65</armorPenetrationSharp>
<armorPenetrationBlunt>12.35</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
</tools>
</value>
</Operation>

<!-- Over Claws -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[@Name="Hediff_LTF_OverClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>edge</label>
<capacities>
<li>Cut</li>
</capacities>
<power>18</power>
<cooldownTime>1.29</cooldownTime>
<armorPenetrationSharp>10.65</armorPenetrationSharp>
<armorPenetrationBlunt>14.8</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
<li Class="CombatExtended.ToolCE">
<label>claw point</label>
<capacities>
<li>Stab</li>
</capacities>
<power>14</power>
<cooldownTime>1.59</cooldownTime>
<armorPenetrationSharp>14.65</armorPenetrationSharp>
<armorPenetrationBlunt>12.4</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
<li Class="CombatExtended.ToolCE">
<label>blade flat</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>8</power>
<cooldownTime>1.59</cooldownTime>
<armorPenetrationBlunt>8.8</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
</tools>
</value>
</Operation>

<!-- Steel Claws -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[@Name="Hediff_LTF_SteelClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>claw</label>
<capacities>
<li>Cut</li>
</capacities>
<power>10</power>
<cooldownTime>1.29</cooldownTime>
<armorPenetrationSharp>7.14</armorPenetrationSharp>
<armorPenetrationBlunt>10.85</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
<li Class="CombatExtended.ToolCE">
<label>claw</label>
<capacities>
<li>Stab</li>
</capacities>
<power>5</power>
<cooldownTime>1.59</cooldownTime>
<armorPenetrationSharp>9.65</armorPenetrationSharp>
<armorPenetrationBlunt>8.3</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
</tools>
</value>
</Operation>

<!-- Wooden Claws -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[@Name="Hediff_LTF_WoodenClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>claw</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>8</power>
<cooldownTime>1.39</cooldownTime>
<armorPenetrationSharp>3.26</armorPenetrationSharp>
<armorPenetrationBlunt>6.4</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>claw</label>
<capacities>
<li>Poke</li>
</capacities>
<power>4</power>
<cooldownTime>1.59</cooldownTime>
<armorPenetrationSharp>9.65</armorPenetrationSharp>
</li>
</tools>
</value>
</Operation>

<!-- Wooden Shields -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[@Name="Hediff_LTF_WoodenShields"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>plank</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>6.2</power>
<cooldownTime>2.16</cooldownTime>
<armorPenetrationBlunt>6.4</armorPenetrationBlunt>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>5</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
</li>
<li Class="CombatExtended.ToolCE">
<label>corner</label>
<capacities>
<li>Poke</li>
</capacities>
<power>4.8</power>
<cooldownTime>1.94</cooldownTime>
<armorPenetrationBlunt>6.4</armorPenetrationBlunt>
</li>
</tools>
</value>
</Operation>

<!-- ToxiClaws -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[@Name="Hediff_LTF_ToxiClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>claw</label>
<capacities>
<li>Cut</li>
</capacities>
<power>14</power>
<cooldownTime>1.29</cooldownTime>
<armorPenetrationSharp>8.35</armorPenetrationSharp>
<armorPenetrationBlunt>12.35</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
<li Class="CombatExtended.ToolCE">
<label>toxic device</label>
<capacities>
<li>ToxicBite</li>
</capacities>
<power>9</power>
<cooldownTime>1.59</cooldownTime>
<armorPenetrationSharp>10.65</armorPenetrationSharp>
<armorPenetrationBlunt>12.35</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
</tools>
</value>
</Operation>

</Patch>
12 changes: 6 additions & 6 deletions ModPatches/Mantis Race/Patches/Mantis Race/Race_Mantis.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<capacities>
<li>Blunt</li>
</capacities>
<power>1.2</power>
<power>3</power>
<cooldownTime>1.33</cooldownTime>
<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup>
<surpriseAttack>
Expand All @@ -48,7 +48,7 @@
<capacities>
<li>Blunt</li>
</capacities>
<power>1.2</power>
<power>3</power>
<cooldownTime>1.33</cooldownTime>
<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup>
<surpriseAttack>
Expand All @@ -58,15 +58,15 @@
<amount>14</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
</surpriseAttack>
<armorPenetrationBlunt>0.175</armorPenetrationBlunt>
</li>
<li Class="CombatExtended.ToolCE">
<label>left claw</label>
<capacities>
<li>Cut</li>
</capacities>
<power>18</power>
<power>9</power>
<cooldownTime>1.33</cooldownTime>
<linkedBodyPartsGroup>LeftHandClawsGroup</linkedBodyPartsGroup>
<armorPenetrationSharp>6.85</armorPenetrationSharp>
Expand All @@ -77,7 +77,7 @@
<capacities>
<li>Cut</li>
</capacities>
<power>18</power>
<power>9</power>
<cooldownTime>1.33</cooldownTime>
<linkedBodyPartsGroup>RightHandClawsGroup</linkedBodyPartsGroup>
<armorPenetrationSharp>6.85</armorPenetrationSharp>
Expand All @@ -88,7 +88,7 @@
<capacities>
<li>Bite</li>
</capacities>
<power>9</power>
<power>6</power>
<cooldownTime>1.5</cooldownTime>
<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
<armorPenetrationSharp>0.24</armorPenetrationSharp>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- Artficial Claw Base -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="LTF_SyntClaws"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>handle</label>
<capacities>
<li>Poke</li>
</capacities>
<power>1</power>
<chanceFactor>0.33</chanceFactor>
<cooldownTime>1.26</cooldownTime>
<armorPenetrationBlunt>0.250</armorPenetrationBlunt>
<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
</li>
<li Class="CombatExtended.ToolCE">
<label>sharpwave</label>
<capacities>
<li>Cut</li>
</capacities>
<power>10</power>
<cooldownTime>1.18</cooldownTime>
<armorPenetrationBlunt>0.36</armorPenetrationBlunt>
<armorPenetrationSharp>0.32</armorPenetrationSharp>
<linkedBodyPartsGroup>Blade</linkedBodyPartsGroup>
</li>
</tools>
</value>
</Operation>

<!-- Natural Claw Base -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[@Name="LTF_MantisNaturalClaws"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>handle</label>
<capacities>
<li>Poke</li>
</capacities>
<power>1</power>
<chanceFactor>0.33</chanceFactor>
<cooldownTime>1.26</cooldownTime>
<armorPenetrationBlunt>0.250</armorPenetrationBlunt>
<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
</li>
<li Class="CombatExtended.ToolCE">
<label>blade</label>
<capacities>
<li>Cut</li>
</capacities>
<power>8</power>
<cooldownTime>1.18</cooldownTime>
<armorPenetrationBlunt>0.36</armorPenetrationBlunt>
<armorPenetrationSharp>0.34</armorPenetrationSharp>
<linkedBodyPartsGroup>Blade</linkedBodyPartsGroup>
</li>
<li Class="CombatExtended.ToolCE">
<label>point</label>
<capacities>
<li>Stab</li>
</capacities>
<power>9</power>
<cooldownTime>1.2</cooldownTime>
<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
<armorPenetrationSharp>0.73</armorPenetrationSharp>
<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
</li>
</tools>
</value>
</Operation>

</Patch>

0 comments on commit 51f7d16

Please sign in to comment.