* water spell textures * water creation spell * mana consume, and mana glove * remove mana transfer ring * Update migration.yml * copy Wizden loadout PR * add sprite component to all spells * spell dummy loadouts * delete spell traits * really give spells from loadouts * update crates fill and demiplane spawners * beer creation spell, fix passivedamage * Update PassiveDamageSystem.cs
28 lines
703 B
C#
28 lines
703 B
C#
using JetBrains.Annotations;
|
|
using Robust.Shared.Map;
|
|
|
|
namespace Content.Shared._CP14.MagicSpell.Spells;
|
|
|
|
[ImplicitDataDefinitionForInheritors]
|
|
[MeansImplicitUse]
|
|
public abstract partial class CP14SpellEffect
|
|
{
|
|
public abstract void Effect(EntityManager entManager, CP14SpellEffectBaseArgs args);
|
|
}
|
|
|
|
public record class CP14SpellEffectBaseArgs
|
|
{
|
|
public EntityUid? User;
|
|
public EntityUid? Used;
|
|
public EntityUid? Target;
|
|
public EntityCoordinates? Position;
|
|
|
|
public CP14SpellEffectBaseArgs(EntityUid? user, EntityUid? used, EntityUid? target, EntityCoordinates? position)
|
|
{
|
|
User = user;
|
|
Used = used;
|
|
Target = target;
|
|
Position = position;
|
|
}
|
|
}
|