Добавил немного базы для заклинаний (Она не работает)

This commit is contained in:
Tornado Tech
2024-04-28 01:24:55 +10:00
parent 45d351b2b2
commit 25c174af41
10 changed files with 203 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
namespace Content.Server._CP14.Magic.Container;
public sealed class MagickSpellContainerSystem : EntitySystem
{
[Dependency] private readonly MagicSpellSystem _magicSpell = default!;
public void CastSpell(Entity<MagicSpellContainerComponent> container)
{
_magicSpell.Cast(container, container.Comp.Spells);
}
}