Exemple #1
0
        public void Steel_Large()
        {
            // Arrange
            var armor = new SplintMail(SizeCategory.Large, SplintMailMaterial.Steel);

            // Assert
            Assert.IsFalse(armor.IsMasterwork);
            Assert.IsTrue(armor.MasterworkIsToggleable);
            Assert.AreEqual(7, armor.GetArmorBonus());
            Assert.AreEqual(7, armor.ArmorCheckPenalty());
            Assert.AreEqual(0, armor.MaximumDexterityBonus());
            Assert.AreEqual(400, armor.GetMarketPrice());
            Assert.AreEqual(90, armor.GetWeight());
            Assert.AreEqual(.25, armor.SpeedPenalty);
            Assert.AreEqual("Splint Mail", armor.ToString());
        }
Exemple #2
0
        public void Adamantine_Small_Default()
        {
            // Arrange
            var armor = new SplintMail(SizeCategory.Small, SplintMailMaterial.Adamantine);

            // Assert
            Assert.IsTrue(armor.IsMasterwork);
            Assert.IsFalse(armor.MasterworkIsToggleable);
            Assert.AreEqual(7, armor.GetArmorBonus());
            Assert.AreEqual(6, armor.ArmorCheckPenalty());
            Assert.AreEqual(0, armor.MaximumDexterityBonus());
            Assert.AreEqual(15_200, armor.GetMarketPrice());
            Assert.AreEqual(22.5, armor.GetWeight());
            Assert.AreEqual(0.25, armor.SpeedPenalty);
            Assert.AreEqual("Adamantine Splint Mail", armor.ToString());
        }
Exemple #3
0
        public void Mithral_Medium()
        {
            // Arrange
            var armor = new SplintMail(SizeCategory.Medium, SplintMailMaterial.Mithral);

            // Assert
            Assert.IsTrue(armor.IsMasterwork);
            Assert.IsFalse(armor.MasterworkIsToggleable);
            Assert.AreEqual(7, armor.GetArmorBonus());
            Assert.AreEqual(4, armor.ArmorCheckPenalty());
            Assert.AreEqual(2, armor.MaximumDexterityBonus());
            Assert.AreEqual(9_200, armor.GetMarketPrice());
            Assert.AreEqual(22.5, armor.GetWeight());
            Assert.AreEqual(0.25, armor.SpeedPenalty);
            Assert.AreEqual("Mithral Splint Mail", armor.ToString());
        }