Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }