Show / Hide Table of Contents

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.

Inheritance
System.Object
DamageModifierSet
DamageModifierSetPrototype
Namespace: Content.Shared.Damage
Assembly: Content.Shared.dll
Syntax
public class DamageModifierSet : object

Fields

| Improve this Doc View Source

Coefficients

Declaration
public Dictionary<string, float> Coefficients
Field Value
Type Description
Dictionary<System.String, System.Single>
| Improve this Doc View Source

FlatReduction

Declaration
public Dictionary<string, float> FlatReduction
Field Value
Type Description
Dictionary<System.String, System.Single>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾