* attuning to items start * verbs attuning, forgot oldest attuning * Update CP14SharedMagicAttuningSystem.cs * some fixes * add deattuning * fix popups on owner * file restructurization * MORE FOLDER RENAMING GODD * magic via holding yea! * fix deattuning * vfx bugfixs * wearing magic items * Cure wounds spell * refactor spells * more redo * finish refactor
21 lines
537 B
C#
21 lines
537 B
C#
using Content.Shared._CP14.MagicSpell.Spells;
|
|
using Content.Shared.FixedPoint;
|
|
|
|
namespace Content.Shared._CP14.MagicSpell.Components;
|
|
|
|
/// <summary>
|
|
/// Restricts the use of this action, by spending mana or user requirements.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(CP14SharedMagicSystem))]
|
|
public sealed partial class CP14MagicEffectComponent : Component
|
|
{
|
|
[DataField]
|
|
public FixedPoint2 ManaCost = 0f;
|
|
|
|
[DataField]
|
|
public bool Safe = false;
|
|
|
|
[DataField]
|
|
public List<CP14SpellEffect> Effects = new();
|
|
}
|