Attacking a powered light now shocks an unarmed attacker (#18340)

This commit is contained in:
Errant
2023-07-27 07:37:09 +00:00
committed by GitHub
parent b728636283
commit c6d2fe6d03
2 changed files with 37 additions and 7 deletions

View File

@@ -68,5 +68,17 @@ namespace Content.Server.Light.Components
/// </summary>
[DataField("ejectBulbDelay")]
public float EjectBulbDelay = 2;
/// <summary>
/// Shock damage done to a mob that hits the light with an unarmed attack
/// </summary>
[DataField("unarmedHitShock")]
public int UnarmedHitShock = 20;
/// <summary>
/// Stun duration applied to a mob that hits the light with an unarmed attack
/// </summary>
[DataField("unarmedHitStun")]
public TimeSpan UnarmedHitStun = TimeSpan.FromSeconds(5);
}
}