Skip to content

Commit

Permalink
Merge pull request #3137 from SamaelGray/SamaelGray-MechLethalDamageT…
Browse files Browse the repository at this point in the history
…hreshold

Mech HP scaling tweaks
  • Loading branch information
N7Huntsman authored Jun 22, 2024
2 parents d0cebc3 + ff8d6fc commit d4bd0f8
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 6 deletions.
7 changes: 7 additions & 0 deletions Biotech/Patches/ThingDefs_Races/Races_Mechanoids_Medium.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Mech_Scorcher"]/race/baseHealthScale</xpath>
<value>
<baseHealthScale>1.0</baseHealthScale>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Mech_Scorcher"]/tools</xpath>
<value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<Operation Class="PatchOperationFindMod">
<mods>
<li>Biotech</li>
<li>Biotech</li>
</mods>

<match Class="PatchOperationFindMod">
Expand Down Expand Up @@ -85,7 +85,7 @@
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VFE_Mech_Advanced_Aura_PlayerControlled"]</xpath>
<value>
<comps/>
<comps />
</value>
</nomatch>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<Operation Class="PatchOperationFindMod">
<mods>
<li>Biotech</li>
<li>Biotech</li>
</mods>

<match Class="PatchOperationFindMod">
Expand Down Expand Up @@ -96,7 +96,7 @@
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VFE_Mech_Advanced_Daggersnout_PlayerControlled"]</xpath>
<value>
<comps/>
<comps />
</value>
</nomatch>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<Operation Class="PatchOperationFindMod">
<mods>
<li>Biotech</li>
<li>Biotech</li>
</mods>

<match Class="PatchOperationFindMod">
Expand Down Expand Up @@ -69,7 +69,7 @@
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="AM_Mech_Advanced_PristineSlurrypede_PlayerControlled"]</xpath>
<value>
<comps/>
<comps />
</value>
</nomatch>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,13 @@
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_AdvancedLancer"]/race/baseHealthScale</xpath>
<value>
<baseHealthScale>1.0</baseHealthScale>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_AdvancedLancer"]/tools</xpath>
<value>
Expand Down Expand Up @@ -484,6 +491,13 @@
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_AdvancedKnight"]/race/baseHealthScale</xpath>
<value>
<baseHealthScale>1.0</baseHealthScale>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_AdvancedKnight"]/statBases/ArmorRating_Blunt</xpath>
<value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,13 @@
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_AdvancedKnight_PlayerControlled"]/race/baseHealthScale</xpath>
<value>
<baseHealthScale>1.0</baseHealthScale>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_AdvancedKnight_PlayerControlled"]/statBases/ArmorRating_Blunt</xpath>
<value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,13 @@
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_Lancer"]/race/baseHealthScale</xpath>
<value>
<baseHealthScale>1.0</baseHealthScale>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_Lancer"]/tools</xpath>
<value>
Expand Down Expand Up @@ -508,6 +515,13 @@
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_Knight"]/race/baseHealthScale</xpath>
<value>
<baseHealthScale>1.0</baseHealthScale>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_Knight"]/statBases/ArmorRating_Blunt</xpath>
<value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_Knight_PlayerControlled"]/race/baseHealthScale</xpath>
<value>
<baseHealthScale>1.0</baseHealthScale>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="VFE_Mech_Knight_PlayerControlled"]/statBases/ArmorRating_Blunt</xpath>
<value>
Expand Down
7 changes: 7 additions & 0 deletions Patches/Core/ThingDefs_Races/Races_Mechanoid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,13 @@
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Mech_Lancer"]/race/baseHealthScale</xpath>
<value>
<baseHealthScale>1.0</baseHealthScale>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Mech_Lancer"]/tools</xpath>
<value>
Expand Down

0 comments on commit d4bd0f8

Please sign in to comment.