mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
* AAAAAAAAadds skia * Added to the spawn options table * Fix EOR, Added shatter ability, Fix Reroll popup * Fixed the death of the Skia * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixed taco's silly mistake * Skia need pry-ability * Adds Goob Nightvision * Added some missing Protos * Appease the Yaml gods * Did the Delta Fixes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Lathes fix * Update attributions.yml * More yaml fixes * The Yaml Linter shall never be sated * More fixes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixed objective reroll * Bring up to date * aaaaaaaaaaa * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixed damageset, removed unneeded point light * I'm so sorry Deltandas * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: William Lemon <William.Lemon2@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
31 lines
980 B
C#
31 lines
980 B
C#
using Content.Shared.Damage;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared._DV.Body;
|
|
|
|
/// <summary>
|
|
/// Component that allows a body to deal or receive modified damage amounts based on their light level.
|
|
/// Requires <see cref="LightLevelHealthComponent"/> to function.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class LightLevelDamageMultComponent : Component
|
|
{
|
|
[DataField]
|
|
public float DarkReceivedMultiplier = 1.0f;
|
|
[DataField]
|
|
public float LightReceivedMultiplier = 1.0f;
|
|
[DataField]
|
|
public float LightDealtMultiplier = 1.0f;
|
|
[DataField]
|
|
public float DarkDealtMultiplier = 1.0f;
|
|
|
|
[DataField]
|
|
public DamageModifierSet? DarkReceivedModifiers = default!;
|
|
[DataField]
|
|
public DamageModifierSet? LightReceivedModifiers = default!;
|
|
[DataField]
|
|
public DamageModifierSet? DarkDealtModifiers = default!;
|
|
[DataField]
|
|
public DamageModifierSet? LightDealtModifiers = default!;
|
|
}
|