Skip to content

Commit

Permalink
Add regen modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Jun 21, 2024
1 parent cb101d5 commit f7d0d15
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions Anomaly/Defs/HediffDefs/Hediffs_Anomaly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@

<!-- Global -->

<!-- It would be preferable to apply the regen modifier is a factor, but that's not currently possible. -->

<HediffDef>
<defName>BioferriteToxicity</defName>
<label>Bioferrite toxicity</label>
<description>Ravaged by the effects of bioferrite toxicity.</description>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_SeverityPerDay">
<severityPerDay>-15</severityPerDay>
<severityPerDay>-20</severityPerDay>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath" />
</comps>
Expand All @@ -21,28 +23,40 @@
<statFactors>
<IncomingDamageFactor>1.05</IncomingDamageFactor>
</statFactors>
<regeneration>-25</regeneration>
</li>
<li>
<minSeverity>0.40</minSeverity>
<label>major</label>
<label>moderate</label>
<statFactors>
<IncomingDamageFactor>1.15</IncomingDamageFactor>
<IncomingDamageFactor>1.05</IncomingDamageFactor>
</statFactors>
<regeneration>-50</regeneration>
</li>
<li>
<minSeverity>0.6</minSeverity>
<label>severe</label>
<label>major</label>
<statFactors>
<IncomingDamageFactor>1.25</IncomingDamageFactor>
<IncomingDamageFactor>1.2</IncomingDamageFactor>
</statFactors>
<regeneration>-100</regeneration> <!-- Offsets unnatural regeneration. -->
</li>
<li>
<minSeverity>0.8</minSeverity>
<label>severe</label>
<statFactors>
<IncomingDamageFactor>1.35</IncomingDamageFactor>
</statFactors>
<regeneration>-200</regeneration>
</li>
<li>
<minSeverity>0.9</minSeverity>
<label>extreme</label>
<statFactors>
<IncomingDamageFactor>1.40</IncomingDamageFactor>
</statFactors>
</li>
<regeneration>-350</regeneration> <!-- Offsets impossible regeneration. -->
</li>
</stages>
</HediffDef>

Expand Down

0 comments on commit f7d0d15

Please sign in to comment.