Vixen
c7401864
csharp
public record class AffixDefinition

One rollable modifier an item can carry.

Read the guide page for this →

Fields and properties (7)

  • public string DisplayName

    What it is called in the UI — of Power.

  • public float Weight

    How likely it is against the other affixes in its pool.

  • public int MinimumItemLevel

    The lowest item level it appears on.

  • public int MaximumItemLevel

    The highest item level it appears on. Zero is no ceiling.

  • public List<ItemStatDefinition> Stats

    What it does, with its ranges.

  • public List<string> Tags

    What this affix is — Affix.Suffix.OfPower.

  • public List<string> RequiredItemTags

    Tag prefixes the item must match for this to be rollable on it.

Methods (1)

  • public override void CollectTags(ICollection<string> tags)

    Every tag this definition mentions, so the content build can bake the tag table.

Used by (6)

  • AffixTemplateVixen.Gameplay.Items
  • ContentVixen.Gameplay.Items.Tests
  • ItemLibraryVixen.Gameplay.Items
  • ItemsModuleVixen.Gameplay.Items
  • TypeRegistrationVixen.Gameplay.Items
  • Vixen_Gameplay_Items_AffixDefinitionSerializerVixen.Gameplay.Items