Replace SharedStatusEffectsSystem with StatusEffectsSystem
Updated references from SharedStatusEffectsSystem to StatusEffectsSystem in spell and magic weakness systems to use the correct status effects system implementation.
This commit is contained in:
@@ -19,7 +19,7 @@ public sealed partial class CP14SpellApplyStatusEffect : CP14SpellEffect
|
||||
if (args.Target is null)
|
||||
return;
|
||||
|
||||
var effectSys = entManager.System<SharedStatusEffectsSystem>();
|
||||
var effectSys = entManager.System<StatusEffectsSystem>();
|
||||
|
||||
if (!Refresh)
|
||||
effectSys.TryAddStatusEffectDuration(args.Target.Value, StatusEffect, Duration);
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Shared._CP14.MagicWeakness;
|
||||
|
||||
public abstract class CP14SharedMagicWeaknessSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly SharedStatusEffectsSystem _statusEffects = default!;
|
||||
[Dependency] private readonly StatusEffectsSystem _statusEffects = default!;
|
||||
[Dependency] private readonly DamageableSystem _damageable = default!;
|
||||
[Dependency] private readonly SharedPopupSystem _popup = default!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user