Buff heat and flame damage (#23238)
This commit is contained in:
@@ -394,10 +394,9 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
EnsureComp<IgnitionSourceComponent>(uid);
|
||||
_ignitionSourceSystem.SetIgnited(uid);
|
||||
|
||||
// TODO FLAMMABLE: further balancing
|
||||
var damageScale = Math.Min((int)flammable.FireStacks, 5);
|
||||
var damageScale = MathF.Min(flammable.FireStacks, 5);
|
||||
|
||||
if(TryComp(uid, out TemperatureComponent? temp))
|
||||
if (TryComp(uid, out TemperatureComponent? temp))
|
||||
_temperatureSystem.ChangeHeat(uid, 12500 * damageScale, false, temp);
|
||||
|
||||
_damageableSystem.TryChangeDamage(uid, flammable.Damage * damageScale);
|
||||
|
||||
@@ -14,7 +14,7 @@ public sealed partial class LatheHeatProducingComponent : Component
|
||||
/// The amount of energy produced each second when producing an item.
|
||||
/// </summary>
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float EnergyPerSecond = 40000;
|
||||
public float EnergyPerSecond = 30000;
|
||||
|
||||
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
|
||||
public TimeSpan NextSecond;
|
||||
|
||||
Reference in New Issue
Block a user