Class DamageModifierSet
A set of coefficients or flat modifiers to damage types.. Can be applied to DamageSpecifier using ApplyModifierSet(DamageSpecifier, DamageModifierSet). This can be done several times as the DamageSpecifier is passed to it's final target. By default the receiving DamageableComponent, will also apply it's own DamageModifierSet.
Namespace: Content.Shared.Damage
Assembly: Content.Shared.dll
Syntax
public class DamageModifierSet : object
Fields
| Improve this Doc View SourceCoefficients
Declaration
public Dictionary<string, float> Coefficients
Field Value
Type | Description |
---|---|
Dictionary<System.String, System.Single> |
FlatReduction
Declaration
public Dictionary<string, float> FlatReduction
Field Value
Type | Description |
---|---|
Dictionary<System.String, System.Single> |