DamageTypeChanges

This commit is contained in:
dingo
2025-12-26 16:24:12 -05:00
parent 84d49520a0
commit 1d3e4e5f90
17 changed files with 3941 additions and 770 deletions
+8 -3
View File
@@ -45,11 +45,16 @@ public class DungeonItemDefinition
public int MinDamage { get; set; } = 0;
public int MaxDamage { get; set; } = 0;
public float AttackRange { get; set; } = 0; // 0 = melee
public DamageType DamageType { get; set; } = DamageType.Physical;
// Armor stats
/// <summary>
/// Damage type key (references DamageResistanceType.Key)
/// e.g., "physical", "fire", "poison"
/// </summary>
[MaxLength(32)]
public string DamageTypeKey { get; set; } = "physical";
// Armor stats (flat damage reduction for all damage types)
public int Armor { get; set; } = 0;
public int MagicResist { get; set; } = 0;
// Consumable effects
public int HealAmount { get; set; } = 0;