Resistance System

This commit is contained in:
dingo
2025-12-26 10:40:09 -05:00
parent 2d847c91dd
commit fd056692df
16 changed files with 2862 additions and 8 deletions
+12
View File
@@ -22,6 +22,18 @@ public class PlayerInstance
public float AttackSpeed { get; set; } = 1f;
public int Strength { get; set; }
public int Intelligence { get; set; }
public int Wisdom { get; set; }
public int Endurance { get; set; }
public int Dexterity { get; set; }
// Defensive stats (from gear)
public int Armor { get; set; }
public int MagicResist { get; set; }
/// <summary>
/// Combined resistances from innate + gear
/// </summary>
public Dictionary<string, float> Resistances { get; set; } = new();
public bool IsAlive { get; set; } = true;
public bool IsInCombat { get; set; }