Files
FinalBattle/Character.cs

14 lines
513 B
C#

public abstract class Character
{
public string? name {get; set;}
public int maxHP {get; set;}
public int currentHP {get; set;}
public bool dead {get; set;} = false;
public bool isTurn {get; set;}
public List<string>? CharacterEnabledActions = new List<string>();
public int damageReduction {get; set;} = 0;
public int damageModifier {get; set;} = 0;
public List<Item>? equipedItems = new List<Item>();
public List<string>? CharacterDisabledActions = new List<string>();
}