using Theriapolis.Core.Rules.Stats;

namespace Theriapolis.Core.Rules.Combat;

public sealed record SaveResult
{
    public required int    TargetId    { get; init; }
    public required SaveId Save        { get; init; }
    public required int    D20Roll     { get; init; }
    public required int    SaveBonus   { get; init; }
    public required int    SaveTotal   { get; init; }   // D20Roll + bonus
    public required int    Dc          { get; init; }
    public required bool   Succeeded   { get; init; }
}
