public override int HitPoints() { var Dice = new DiceRoller(); for (int i = 0; i <= 5; i++) { int hitPoints = Dice.diceRoller(_hitdice) + ((_constitution / 2) - 5); _hitPointMax += hitPoints; } return(_hitPointMax); }
public virtual int HitPoints() { int hitPointmax = 0; var Dice = new DiceRoller(); for (int i = 0; i <= 5; i++) { int hitPoints = Dice.diceRoller(_hitdice) + ((_constitution / 2) - 5); hitPointmax += hitPoints; } return(hitPointmax); }