using Content.Shared._CP14.Skill.Prototypes;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared._CP14.Skill.Components;
///
/// Component that stores the skills learned by a player and their progress in the skill trees.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
[Access(typeof(CP14SharedSkillSystem))]
public sealed partial class CP14MeleeWeaponSkillRequiredComponent : Component
{
///
/// What skills does a character have to have to use this weapon?
///
[DataField, AutoNetworkedField]
public HashSet> Skills = new();
///
/// The chances of dropping a weapon from your hands if the required skills are not learned by the character.
///
[DataField, AutoNetworkedField]
public float DropProbability = 0.5f;
///
/// Reduces outgoing damage if the required skills are not learned by the character
///
[DataField, AutoNetworkedField]
public float DamageMultiplier = 0.5f;
}