Vixen
caa30e12
csharp
public enum EffectStacking

What a second application of an effect that is already there does.

Read the guide page for this →

Remarks

Five policies rather than five systems. Doc 28 § Effects: buff, debuff, damage-over-time, cooldown, crowd control, aura, shield and stance are one type with a policy, which is one replication path, one save path, one inspector and one set of stacking bugs to fix once.

Fields and properties (5)

  • None

    The second application is refused while the first is running.

  • Refresh

    The remaining duration goes back to full. One instance, one stack.

  • Extend

    The full duration is added to what is left. One instance, one stack.

  • StackTo

    One instance whose stack count rises to MaximumStacks, with the duration refreshed each time. Modifiers scale with the count.

  • Independent

    Every application is its own instance with its own duration.

Used by (8)

  • DefinitionImporterTestsVixen.Editor.Assets.Tests
  • DefinitionSerializationTestsVixen.Gameplay.Tests
  • EffectDefinitionVixen.Gameplay
  • EffectSetVixen.Gameplay
  • EffectSetTestsVixen.Gameplay.Tests
  • EffectTemplateVixen.Gameplay
  • TypeRegistrationVixen.Gameplay
  • Vixen_Gameplay_EffectDefinitionSerializerVixen.Gameplay