Class HealingComponent
Applies a damage change to the target when used in an interaction.
Inheritance
System.Object
HealingComponent
Namespace: Content.Server.Medical.Components
Assembly: Content.Server.dll
Syntax
public sealed class HealingComponent : Component
Fields
| Improve this Doc View SourceBloodlossModifier
Declaration
public float BloodlossModifier
Field Value
Type | Description |
---|---|
System.Single |
Remarks
This should generally be negative, since you're, like, trying to heal damage.
Damage
Declaration
public DamageSpecifier Damage
Field Value
Type | Description |
---|---|
DamageSpecifier |
DamageContainers
Declaration
public List<string>? DamageContainers
Field Value
Type | Description |
---|---|
System.Nullable<List<System.String>> |
Remarks
The supported damage types are specified using a DamageContainerPrototypes. For a HealingComponent this filters what damage container type this component should work on. If null, all damage container types are supported.
Delay
How long it takes to apply the damage.
Declaration
public float Delay
Field Value
Type | Description |
---|---|
System.Single |
HealingBeginSound
Sound played on healing begin
Declaration
public SoundSpecifier HealingBeginSound
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
HealingEndSound
Sound played on healing end
Declaration
public SoundSpecifier HealingEndSound
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
ModifyBloodLevel
Restore missing blood.
Declaration
public float ModifyBloodLevel
Field Value
Type | Description |
---|---|
System.Single |
SelfHealPenaltyMultiplier
Delay multiplier when healing yourself.
Declaration
public float SelfHealPenaltyMultiplier
Field Value
Type | Description |
---|---|
System.Single |