fish-station/Content.Server/_Sunrise/Boss/Components/HellSpawnRushComponent.cs
pacable 8f2445ea94
Адское Отродье - Босс для утилей (#1525)
Signed-off-by: pacable <igor.mamaev1@gmail.com>
2025-03-10 02:33:48 +03:00

44 lines
1 KiB
C#

using System.Numerics;
using Content.Shared.Damage;
using Content.Shared.FixedPoint;
using Content.Shared.Whitelist;
using Robust.Shared.Prototypes;
namespace Content.Server._Sunrise.Boss.Components;
[RegisterComponent]
public sealed partial class HellSpawnRushComponent : Component
{
[DataField]
public EntityUid? RuneUid;
[DataField]
public Vector2 CameraKickback = new(-5f, -5f);
[DataField]
public float CameraKickRange = 3f;
[DataField]
public bool DoCameraKickOnLand = true;
[DataField]
public float Range = 8f;
[DataField]
public EntProtoId? RushAction = "ActionHellSpawnRush";
[DataField] public EntityUid? RushActionEntity;
[DataField]
public DamageSpecifier ThrowHitDamageDict = new()
{
DamageDict = new Dictionary<string, FixedPoint2>
{
{ "Brute", 50 },
{ "Structural", 150 }, // this ensures that structures like doors are destroyed
},
};
[DataField]
public EntityWhitelist? Blacklist;
}