* Selfdamage for melee. * Update base.yml --------- Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
18 lines
444 B
C#
18 lines
444 B
C#
|
|
using Content.Server._CP14.MeleeWeapon.EntitySystems;
|
|
|
|
namespace Content.Server._CP14.MeleeWeapon.Components;
|
|
|
|
/// <summary>
|
|
/// allows the object to become blunt with use
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(CP14SharpeningSystem))]
|
|
public sealed partial class CP14SharpenedComponent : Component
|
|
{
|
|
[DataField]
|
|
public float Sharpness = 1f;
|
|
|
|
[DataField]
|
|
public float SharpnessDamageBy1Damage = 0.002f; //500 damage
|
|
}
|