namespace RolemasterDb.App.Domain;

public sealed class CriticalEffect
{
    public int Id { get; set; }
    public int? CriticalResultId { get; set; }
    public int? CriticalBranchId { get; set; }
    public string EffectCode { get; set; } = string.Empty;
    public string? Target { get; set; }
    public int? ValueInteger { get; set; }
    public decimal? ValueDecimal { get; set; }
    public string? ValueExpression { get; set; }
    public int? DurationRounds { get; set; }
    public int? PerRound { get; set; }
    public int? Modifier { get; set; }
    public string? BodyPart { get; set; }
    public bool IsPermanent { get; set; }
    public string SourceType { get; set; } = "symbol";
    public string? SourceText { get; set; }
    public CriticalResult? CriticalResult { get; set; }
    public CriticalBranch? CriticalBranch { get; set; }
}
