using Content.Shared._CP14.MagicRitual.Prototypes;
using Content.Shared._CP14.MagicSpell.Spells;
using Content.Shared._CP14.MagicSpellStorage;
using Content.Shared.DoAfter;
using Robust.Shared.Prototypes;
namespace Content.Shared._CP14.MagicSpell.Components;
/// <summary>
/// Stores the results and appearance of the magic effect
/// </summary>
[RegisterComponent, Access(typeof(CP14SharedMagicSystem), typeof(CP14SharedSpellStorageSystem))]
public sealed partial class CP14MagicEffectComponent : Component
{
/// if this effect was provided by an spellstorage, it will be recorded here automatically.
[DataField]
public EntityUid? SpellStorage;
public ProtoId<CP14MagicTypePrototype>? MagicType = null;
/// Effects that will trigger at the beginning of the cast, before mana is spent. Should have no gameplay importance, just special effects, popups and sounds.
public List<CP14SpellEffect> TelegraphyEffects = new();
public List<CP14SpellEffect> Effects = new();
public DoAfterId? ActiveDoAfter;
}