Vixen
c7401864
csharp
public sealed class PityPolicyDefinition

How a run of bad luck becomes a guarantee.

Read the guide page for this →

Remarks

A first-class field rather than a game's private counter — doc 28 § Loot — because it is durable state, and a pity counter that resets on a realm crash is a support ticket.

⚠ Every member is settable, for the YAML binder's reason — see ModifierDefinition.

Fields and properties (3)

  • public int AttemptsBefore

    How many failed attempts pass before the chance starts rising.

  • public float RampPerAttempt

    How much is added to the chance for each attempt past that.

  • public int GuaranteedAt

    How many failed attempts make the next one certain. Zero is never.

Used by (12)

  • ContentVixen.Editor.Gameplay.Loot.Tests
  • LootSimulatorVixen.Editor.Gameplay.Loot
  • LootTableModelVixen.Editor.Gameplay.Loot
  • LootTableModelTestsVixen.Editor.Gameplay.Loot.Tests
  • ContentVixen.Gameplay.Loot.Tests
  • LootEvaluatorVixen.Gameplay.Loot
  • LootTableVixen.Gameplay.Loot
  • LootTableDefinitionVixen.Gameplay.Loot
  • PityTestsVixen.Gameplay.Loot.Tests
  • TypeRegistrationVixen.Gameplay.Loot
  • Vixen_Gameplay_Loot_LootTableDefinitionSerializerVixen.Gameplay.Loot
  • Vixen_Gameplay_Loot_PityPolicyDefinitionSerializerVixen.Gameplay.Loot