Class ExplosionResistanceComponent
Component that provides entities with explosion resistance.
Inheritance
System.Object
ExplosionResistanceComponent
Namespace: Content.Server.Explosion.Components
Assembly: Content.Server.dll
Syntax
public sealed class ExplosionResistanceComponent : Component
Remarks
This is desirable over just using damage modifier sets, given that equipment like bomb-suits need to significantly reduce the damage, but shouldn't be silly overpowered in regular combat.
Fields
| Improve this Doc View SourceDamageCoefficient
The explosive resistance coefficient, This fraction is multiplied into the total resistance.
Declaration
public float DamageCoefficient
Field Value
Type | Description |
---|---|
System.Single |
Modifiers
Modifiers specific to each explosion type for more customizability.
Declaration
public Dictionary<string, float> Modifiers
Field Value
Type | Description |
---|---|
Dictionary<System.String, System.Single> |