Armor price calculations (#11417)
Co-authored-by: CommieFlowers <rasmus.cedergren@hotmail.com> fixes https://github.com/space-wizards/space-station-14/issues/11299
This commit is contained in:
@@ -12,5 +12,17 @@ namespace Content.Shared.Damage.Prototypes
|
||||
{
|
||||
[IdDataFieldAttribute]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The price for each 1% damage reduction in armors
|
||||
/// </summary>
|
||||
[DataField("armorCoefficientPrice")]
|
||||
public double ArmorPriceCoefficient { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The price for each flat damage reduction in armors
|
||||
/// </summary>
|
||||
[DataField("armorFlatPrice")]
|
||||
public double ArmorPriceFlat { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user