Vixen
caa30e12
csharp
public readonly record struct Modifier

One thing acting on one stat, from one source.

Read the guide page for this →

Fields and properties (4)

  • public AttributeId Attribute

    Which stat.

  • public ModifierOp Op

    Which bucket, and therefore which stage of the evaluation.

  • public float Value

    How much. A percentage is a fraction: 0.15f is 15 %.

  • public ModifierSource Source

    What granted it, so it can be taken away again exactly.

Methods (1)

Used by (15)

  • AttributeSetVixen.Gameplay
  • AttributeSetTestsVixen.Gameplay.Tests
  • EffectSetVixen.Gameplay
  • EffectTemplateVixen.Gameplay
  • ItemLibraryVixen.Gameplay.Items
  • ItemStatsVixen.Gameplay.Items
  • ItemStatsTestsVixen.Gameplay.Items.Tests
  • ItemTemplateVixen.Gameplay.Items
  • ProgressionLibraryVixen.Gameplay.Progression
  • ProgressionStateVixen.Gameplay.Progression
  • ProgressionStateTestsVixen.Gameplay.Progression.Tests
  • SpecialisationVixen.Gameplay.Progression
  • TalentNodeVixen.Gameplay.Progression
  • TalentTreeVixen.Gameplay.Progression
  • TalentTreeTestsVixen.Gameplay.Progression.Tests