Files
crystall-punk-14/Content.Shared/_CP14/MagicSpell/Components/CP14MagicEffectTargetMobStatusRequiredComponent.cs

15 lines
446 B
C#
Raw Permalink Normal View History

using Content.Shared.Mobs;
using Robust.Shared.GameStates;
namespace Content.Shared._CP14.MagicSpell.Components;
/// <summary>
/// Allows you to limit the use of a spell based on the target's alive/dead status
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class CP14MagicEffectTargetMobStatusRequiredComponent : Component
{
[DataField]
public HashSet<MobState> AllowedStates = new() { MobState.Alive };
}