Add emp artifact effect (#14493)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Systems;
|
||||
|
||||
namespace Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Artifact that EMP
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[Access(typeof(EmpArtifactSystem))]
|
||||
public sealed class EmpArtifactComponent : Component
|
||||
{
|
||||
[DataField("range"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float Range = 4f;
|
||||
|
||||
[DataField("energyConsumption"), ViewVariables(VVAccess.ReadWrite)]
|
||||
public float EnergyConsumption = 1000000;
|
||||
}
|
||||
Reference in New Issue
Block a user