Magic rings (#378)

* flame creation spell backend

* flame creation visuals

* flame creation spell visual

* tweak

* some tweaks

* ice dagger spell

* move spells to rings

* Update ring.yml

* fix server crash
This commit is contained in:
Ed
2024-08-02 00:48:36 +03:00
committed by GitHub
parent 56da23925f
commit 31c9485e3b
32 changed files with 504 additions and 27 deletions

View File

@@ -22,7 +22,7 @@ public sealed partial class CP14MagicSystem : CP14SharedMagicSystem
private void OnSpellSpoken(Entity<CP14MagicEffectVerbalAspectComponent> ent, ref CP14VerbalAspectSpeechEvent args)
{
if (args.Performer is not null && args.Speech is not null)
_chat.TrySendInGameICMessage(args.Performer.Value, args.Speech, InGameICChatType.Speak, false);
_chat.TrySendInGameICMessage(args.Performer.Value, args.Speech, InGameICChatType.Speak, true);
}
private void OnSpawnMagicVisualEffect(Entity<CP14MagicEffectCastingVisualComponent> ent, ref CP14StartCastMagicEffectEvent args)