Vixen
c7401864
csharp
public readonly record struct RolledAffix

One affix an instance rolled, and how well.

Read the guide page for this →

Fields and properties (2)

  • public DefId Affix

    Which affix.

  • public float Roll

    Where in its ranges it landed, as a fraction from zero to one. One roll per affix, not per stat, so an affix with two stats rolls high on both or low on both.

Methods (1)

  • public RolledAffix(DefId Affix, float Roll)

    One affix an instance rolled, and how well.

Used by (3)

  • ItemAffixTestsVixen.Gameplay.Items.Tests
  • ItemAffixesVixen.Gameplay.Items
  • ItemStatsVixen.Gameplay.Items