Merge pull request #1516 from crystallpunk-14/ed-08-07-2025-shader-sea

Status effect spells
This commit is contained in:
Red
2025-07-09 09:16:49 +03:00
committed by GitHub
parent 668e79111c
commit 5b4440d18d
14 changed files with 282 additions and 42 deletions

View File

@@ -1,3 +1,5 @@
using Content.Shared.Damage;
using Content.Shared.Damage.Events;
using Content.Shared.StatusEffectNew.Components;
using Robust.Shared.Player;
@@ -7,6 +9,10 @@ public abstract partial class SharedStatusEffectsSystem
{
protected void InitializeRelay()
{
//CP14 Zone
SubscribeLocalEvent<StatusEffectContainerComponent, DamageModifyEvent>(RelayStatusEffectEvent);
//CP14 Zone end
SubscribeLocalEvent<StatusEffectContainerComponent, LocalPlayerAttachedEvent>(RelayStatusEffectEvent);
SubscribeLocalEvent<StatusEffectContainerComponent, LocalPlayerDetachedEvent>(RelayStatusEffectEvent);
}