public int Attack(Dice playerDice)
        {
            playerDice.Sides = 20;
            playerDice.Roll();
            return playerDice.Roll();

        }
Beispiel #2
0
 public int Attack(Dice dice)
 {
     dice.Sides = this.DamageMaximum;
     return(dice.Roll());
 }
        public int Attack(Dice dice)
        {
            int attack = dice.Roll();

            return(attack);
        }
 public void Battle(Character character,Dice playerDice)
 {
     character.Attack(playerDice);
     character.Defend(playerDice.Roll());
 }
Beispiel #5
0
 public int Attack(Dice die)
 {
     die.Sides = this.DamageMaximum;
     return die.Roll();
 }
Beispiel #6
0
        public int Attack(Dice dice)
        {
            int damage = dice.Roll();

            return(damage);
        }