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."); }
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; }
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; }