Vixen
caa30e12
csharp
public sealed class CombatResolver

Turns a completed ability into damage and effects on the things it hit.

Read the guide page for this →

Remarks

Separate from AbilityCaster, because a caster knows what an ability was aimed at and this knows what it hit. Resolving a cone into a list of victims needs a world, which is the caller's; what happens to that list is the same code whether there is one of them or forty.

⚠ The event id is the caller's and every roll comes out of it. One id per ability completion, salted by the victim's index, so a forty-target cleave is reproducible as a whole and each of its forty hits is reproducible on its own.

Fields and properties (2)

Methods (3)

Used by (4)

  • CombatResolverTestsVixen.Gameplay.Combat.Tests
  • ContentVixen.Gameplay.Combat.Tests
  • DamagePipelineTestsVixen.Gameplay.Combat.Tests
  • DamageRuleTestsVixen.Gameplay.Combat.Tests