Crafting2

This commit is contained in:
dingo
2025-12-23 11:50:58 -05:00
parent 718da3ec3c
commit 4661576af5
7 changed files with 2640 additions and 6 deletions
+26
View File
@@ -74,6 +74,32 @@ public class DungeonCraftingRecipe
[MaxLength(1024)]
public string? PossibleStatsJson { get; set; }
// Bonus output system - at higher levels, chance to get upgraded item
/// <summary>
/// Alternative item to produce at higher levels (null = no bonus output)
/// </summary>
public int? BonusOutputItemDefinitionId { get; set; }
/// <summary>
/// Minimum level to start getting bonus output chance (e.g., 10)
/// </summary>
public int BonusOutputMinLevel { get; set; } = 0;
/// <summary>
/// Chance percentage at min level (e.g., 10 for 10%)
/// </summary>
public float BonusOutputChanceAtMinLevel { get; set; } = 0;
/// <summary>
/// Level at which bonus chance reaches 100% (e.g., 100)
/// </summary>
public int BonusOutputMaxLevel { get; set; } = 100;
/// <summary>
/// Quantity of bonus item to give
/// </summary>
public int BonusOutputQuantity { get; set; } = 1;
public bool IsEnabled { get; set; } = true;
// Navigation