Fix
This commit is contained in:
parent
dcf9f2c905
commit
2ac503a469
|
|
@ -76,7 +76,7 @@ public sealed class MassSleepPowerSystem : SharedMassSleepPowerSystem
|
|||
|
||||
foreach (var target in _lookup.GetEntitiesInRange(args.User, psionic.Comp.Radius))
|
||||
{
|
||||
if (args.Used != target && Psionic.CanBeTargeted(target))
|
||||
if (args.Used == target || !Psionic.CanBeTargeted(target))
|
||||
continue;
|
||||
|
||||
_statusEffects.TryUpdateStatusEffectDuration(target, MassSleepStatusEffect, psionic.Comp.Duration);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
|
|
@ -38,16 +37,4 @@ public sealed partial class MassSleepPowerComponent : BasePsionicPowerComponent
|
|||
/// </summary>
|
||||
[DataField]
|
||||
public float WarningRadius = 6f;
|
||||
|
||||
/// <summary>
|
||||
/// The reagent ID that will be inserted into the bloodstream of the victims.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string ReagentId = "Prometheum";
|
||||
|
||||
/// <summary>
|
||||
/// The amount of reagent to be inserted into the victims every second.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public FixedPoint2 Quantity = 0.5f;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue