Files
crystall-punk-14/Content.Shared/_CP14/MagicSpell/Components/CP14MagicEffectTargetMobStatusRequiredComponent.cs
Red e6f5ed2450 Spell pre-examine (#1661)
* examine spells

* fux

* fix
2025-08-11 23:46:28 +03:00

15 lines
446 B
C#

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 };
}