using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.ViewVariables; namespace Content.Server.Guardian { /// /// Given to guardians to monitor their link with the host /// [RegisterComponent] public sealed class GuardianComponent : Component { /// /// The guardian host entity /// public EntityUid Host; /// /// Percentage of damage reflected from the guardian to the host /// [ViewVariables] [DataField("damageShare")] public float DamageShare { get; set; } = 0.85f; /// /// Maximum distance the guardian can travel before it's forced to recall, use YAML to set /// [ViewVariables] [DataField("distanceAllowed")] public float DistanceAllowed { get; set; } = 5f; /// /// If the guardian is currently manifested /// public bool GuardianLoose = false; } }