* mob mob * temperature * delete resurrection spell * Update base.yml * Update base.yml * Update migration.yml * Update demiplane.yml * fix * delete air mixtures from alchemy * Update herbals.yml * Update herbals.yml * Update brad_potions.yml * Update GhostSystem.cs * healing spell refactor * return airloss * Revert "Update herbals.yml" This reverts commit86870e0390. * Revert "Update herbals.yml" This reverts commit8fdb01881d. * Revert "delete air mixtures from alchemy" This reverts commit0fddb2febd. * fix * fix mobs suffocation * Update base.yml
18 lines
518 B
C#
18 lines
518 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 LocId Popup = "cp14-magic-spell-target-alive";
|
|
|
|
[DataField]
|
|
public List<MobState> AllowedStates = new() { MobState.Alive };
|
|
}
|