예제 #1
0
        /*
         * To add: Crit range, Crit modifier
         * Should magic go here or in its own class?
         */

        public Weapon(Die damageDie, int numberOfDice)
        {
            _damageDie    = damageDie;
            _numberOfDice = numberOfDice;
        }
예제 #2
0
 public Entity(Die _hitDice, int hitPointMax)
 {
     this._hitDice     = _hitDice;
     this._hitPointMax = hitPointMax;
     CalculateValues(this);
 }