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