Skip to content

Commit

Permalink
Prosthetic Moving stat replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
SamaelGray committed Oct 13, 2024
1 parent 423d23c commit f64c808
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.35</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.35</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.35</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 f64c808

Please sign in to comment.