Ejemplo n.º 1
0
        public void TestIfHigherLevelIncreasesAttackPoints()
        {
            Gladius gladius       = new Gladius();
            var     increaseLevel = 4;

            gladius.IncreaseLevel(increaseLevel);
            gladius.IncreaseAttackPoints(gladius.Level);

            Assert.AreEqual(3500, gladius.AttackPoints, "Attack points aren't increased when the level is.");
        }
Ejemplo n.º 2
0
 public Principes() : base()
 {
     body = new BodyArmor(Body.Scalemail);
     g    = new Gladius();
     name = "Principes";
     Defense();
     armorLevel  += g.Armor();
     attack       = g.Attack();
     speed        = 1;
     healthPoints = 15.0;
 }
Ejemplo n.º 3
0
 public Triarii() : base()
 {
     body = new BodyArmor(Body.Plate);
     g    = new Gladius();
     name = "Triarii";
     Defense();
     armorLevel  += g.Armor();
     attack       = g.Attack();
     speed        = 1;
     healthPoints = 40.0;
 }