DamageTypeChanges
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user