Closed MikeMMattinson closed 5 months ago
public void AttackUp(int increase = 1, int max = 20){
SetAttack(Mathf.Min(GetAttack()+increase, max));
}
public void SetDefense(int defense)
{
this.defense = defense;
}
public int GetDefense()
{
return defense;
}
public void DefenseUp(int increase = 1, int max = 15){
SetDefense(Mathf.Min(GetDefense()+increase, max));
}
defense 15 attack 20