For DamagedSiliconAccent use Destructible threshold for default "DamageAtMaxThreshold" (#37252)
* set DamageAtMaxCorruption as nullable with null default and use destructible trigger threshold for this if null. * fix documentation * these really don't need to be passed by reference
This commit is contained in:
@@ -27,10 +27,11 @@ public sealed partial class DamagedSiliconAccentComponent : Component
|
||||
|
||||
/// <summary>
|
||||
/// Probability of character corruption will increase linearly to <see cref="MaxDamageCorruption" /> once until
|
||||
/// total damage is at or above this value.
|
||||
/// total damage is at or above this value. If null, it will use the value returned by
|
||||
/// DestructibleSystem.DestroyedAt, which is the damage threshold for destruction or breakage.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public FixedPoint2 DamageAtMaxCorruption = 300;
|
||||
public FixedPoint2? DamageAtMaxCorruption;
|
||||
|
||||
/// <summary>
|
||||
/// Enable charge level corruption effects
|
||||
|
||||
Reference in New Issue
Block a user