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

25 lines
743 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Content.Shared.Damage;
using Content.Shared.FixedPoint;
using Content.Shared.Whitelist;
namespace Content.Shared._Sunrise.Boss.Components;
/// <summary>
/// Компонент, обозначающий, что сущность будет пытаться продамажить тех, кто с ней соприкасается
/// </summary>
[RegisterComponent]
public sealed partial class DamageOnCollideComponent : Component
{
[DataField("damageOnCollide")]
public DamageSpecifier Damage = new DamageSpecifier()
{
DamageDict = new Dictionary<string, FixedPoint2>
{
{ "Slash", 10 },
{ "Pierce", 10 },
}
};
[DataField]
public EntityWhitelist? Blacklist;
}