mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-02 17:17:25 +00:00
* Decrease entropy value * Adjust siphoning * Change entropyDegen * Un-nerf cosmic equipment debuff * Unindent by 2 spaces ops
33 lines
862 B
C#
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},
|
|
}
|
|
};
|
|
}
|