Files
Delta-v/Content.Shared/_DV/CosmicCult/Components/CosmicEntropyDebuffComponent.cs
T
No Elka 9e12719c61 Cosmic cult entropy balance tweaks (#4099)
* Decrease entropy value

* Adjust siphoning

* Change entropyDegen

* Un-nerf cosmic equipment debuff

* Unindent by 2 spaces ops
2025-08-15 09:24:29 +03:00

33 lines
862 B
C#

using Content.Shared.Damage;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Shared._DV.CosmicCult.Components;
/// <summary>
/// Makes the target take damage over time.
/// Meant to be used in conjunction with statusEffectSystem.
/// </summary>
[RegisterComponent]
[AutoGenerateComponentPause]
public sealed partial class CosmicEntropyDebuffComponent : Component
{
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
[AutoPausedField]
public TimeSpan CheckTimer = default!;
[DataField]
public TimeSpan CheckWait = TimeSpan.FromSeconds(1);
/// <summary>
/// The debuff applied while the component is present.
/// </summary>
[DataField]
public DamageSpecifier Degen = new()
{
DamageDict = new()
{
{ "Cold", 0.1},
}
};
}