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