Swaps HV/MV/LV scaling to supply power scaling (#20880)
This commit is contained in:
@@ -41,18 +41,6 @@ public sealed partial class ElectrifiedComponent : Component
|
||||
[DataField("lowVoltageNode")]
|
||||
public string? LowVoltageNode;
|
||||
|
||||
[DataField("highVoltageDamageMultiplier")]
|
||||
public float HighVoltageDamageMultiplier = 3f;
|
||||
|
||||
[DataField("highVoltageTimeMultiplier")]
|
||||
public float HighVoltageTimeMultiplier = 1.5f;
|
||||
|
||||
[DataField("mediumVoltageDamageMultiplier")]
|
||||
public float MediumVoltageDamageMultiplier = 2f;
|
||||
|
||||
[DataField("mediumVoltageTimeMultiplier")]
|
||||
public float MediumVoltageTimeMultiplier = 1.25f;
|
||||
|
||||
[DataField("shockDamage")]
|
||||
public int ShockDamage = 20;
|
||||
|
||||
|
||||
@@ -7,15 +7,18 @@
|
||||
[Access(typeof(ElectrocutionSystem))]
|
||||
public sealed partial class ElectrocutionComponent : Component
|
||||
{
|
||||
[DataField("timeLeft")]
|
||||
public float TimeLeft;
|
||||
|
||||
[DataField("electrocuting")]
|
||||
public EntityUid Electrocuting;
|
||||
|
||||
[DataField("source")]
|
||||
public EntityUid Source;
|
||||
|
||||
[DataField("timeLeft")]
|
||||
public float TimeLeft;
|
||||
|
||||
[DataField("accumDamage")]
|
||||
public float AccumulatedDamage;
|
||||
|
||||
[DataField("source")]
|
||||
public EntityUid Source;
|
||||
[DataField("baseDamage")]
|
||||
public float BaseDamage = 20f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user