// SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com> // SPDX-FileCopyrightText: 2025 Aviu00 <93730715+Aviu00@users.noreply.github.com> // SPDX-FileCopyrightText: 2025 Misandry // SPDX-FileCopyrightText: 2025 gus // // SPDX-License-Identifier: AGPL-3.0-or-later using Content.Shared.Damage; using Robust.Shared.GameStates; using Robust.Shared.Utility; namespace Content.Shared._Shitcode.Wizard.Spellblade; [RegisterComponent, NetworkedComponent] public sealed partial class ShieldedComponent : Component { [DataField] public float Lifetime = 5f; [DataField] public bool AntiStun = true; [DataField] public DamageModifierSet Resistances = new() { Coefficients = new() { ["Blunt"] = 0.5f, ["Slash"] = 0.5f, ["Piercing"] = 0.5f, ["Heat"] = 0.5f } }; [DataField] public SpriteSpecifier Sprite = new SpriteSpecifier.Rsi(new ResPath("_Goobstation/Wizard/Effects/effects.rsi"), "shield-old"); } public enum ShieldedKey : byte { Key, }