Crafting change

This commit is contained in:
dingo
2025-12-28 09:36:40 -05:00
parent f1b2749526
commit 8cc54cfafd
9 changed files with 3029 additions and 18 deletions
+30 -2
View File
@@ -32,7 +32,7 @@ public class DungeonItemDefinition
public int RequiredDexterity { get; set; } = 0;
public int RequiredLevel { get; set; } = 1;
// Stat bonuses when equipped
// Stat bonuses when equipped (base values - used for drops/purchases)
public int BonusStrength { get; set; } = 0;
public int BonusIntelligence { get; set; } = 0;
public int BonusWisdom { get; set; } = 0;
@@ -41,7 +41,35 @@ public class DungeonItemDefinition
public int BonusHealth { get; set; } = 0;
public int BonusMana { get; set; } = 0;
// Weapon stats
// Stat ranges for crafting (if HasStatRolls on recipe)
// When crafting, each stat is rolled between Min and Max
// Higher crafting skill = higher chance for max rolls
public int MinBonusStrength { get; set; } = 0;
public int MaxBonusStrength { get; set; } = 0;
public int MinBonusIntelligence { get; set; } = 0;
public int MaxBonusIntelligence { get; set; } = 0;
public int MinBonusWisdom { get; set; } = 0;
public int MaxBonusWisdom { get; set; } = 0;
public int MinBonusEndurance { get; set; } = 0;
public int MaxBonusEndurance { get; set; } = 0;
public int MinBonusDexterity { get; set; } = 0;
public int MaxBonusDexterity { get; set; } = 0;
public int MinBonusHealth { get; set; } = 0;
public int MaxBonusHealth { get; set; } = 0;
public int MinBonusMana { get; set; } = 0;
public int MaxBonusMana { get; set; } = 0;
// Weapon damage ranges for crafting
public int MinMinDamage { get; set; } = 0;
public int MaxMinDamage { get; set; } = 0;
public int MinMaxDamage { get; set; } = 0;
public int MaxMaxDamage { get; set; } = 0;
// Armor range for crafting
public int MinArmor { get; set; } = 0;
public int MaxArmor { get; set; } = 0;
// Weapon stats (base values)
public int MinDamage { get; set; } = 0;
public int MaxDamage { get; set; } = 0;
public float AttackRange { get; set; } = 0; // 0 = melee