Skip to content

Commit

Permalink
Merge pull request #3486 from SamaelGray/SamaelGray-MovingStatFix
Browse files Browse the repository at this point in the history
Prosthetic Moving stat penalty replaced with movement speed and dodge chance
  • Loading branch information
N7Huntsman authored Oct 31, 2024
2 parents 5afa40a + 3d94c9a commit 6c4cc9a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Patches/Core/HediffDefs/Hediffs_Local_AddedParts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="PowerClaw"]/stages/li/capMods</xpath>
<value>
<statOffsets>
<MoveSpeed>-0.37</MoveSpeed>
<MeleeDodgeChance>-0.03</MeleeDodgeChance>
</statOffsets>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="PowerClaw"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
Expand Down
24 changes: 24 additions & 0 deletions Royalty/Patches/HeDiffDefs/Hediffs_Implants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@

<!-- Prosthetics -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="DrillArm"]/stages/li/statOffsets</xpath>
<value>
<MoveSpeed>-0.37</MoveSpeed>
<MeleeDodgeChance>-0.03</MeleeDodgeChance>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/HediffDef[defName="DrillArm"]/stages/li/capMods</xpath>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="DrillArm"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
Expand All @@ -24,6 +36,18 @@
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="FieldHand"]/stages/li/statOffsets</xpath>
<value>
<MoveSpeed>-0.37</MoveSpeed>
<MeleeDodgeChance>-0.03</MeleeDodgeChance>
</value>
</Operation>

<Operation Class="PatchOperationRemove">
<xpath>Defs/HediffDef[defName="FieldHand"]/stages/li/capMods</xpath>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="FieldHand"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
Expand Down

0 comments on commit 6c4cc9a

Please sign in to comment.