namespace RolemasterDb.CriticalParsing;

public sealed class ParsedCriticalEffect(
    string effectCode,
    string? target,
    int? valueInteger,
    string? valueExpression,
    int? durationRounds,
    int? perRound,
    int? modifier,
    string? bodyPart,
    bool isPermanent,
    string sourceType,
    string sourceText)
{
    public string EffectCode { get; } = effectCode;
    public string? Target { get; } = target;
    public int? ValueInteger { get; } = valueInteger;
    public string? ValueExpression { get; } = valueExpression;
    public int? DurationRounds { get; } = durationRounds;
    public int? PerRound { get; } = perRound;
    public int? Modifier { get; } = modifier;
    public string? BodyPart { get; } = bodyPart;
    public bool IsPermanent { get; } = isPermanent;
    public string SourceType { get; } = sourceType;
    public string SourceText { get; } = sourceText;
}
