public void TestWeaponEnchanter()
        {
            WeaponItem          weapon          = WeaponItemSmith.OrderItem("Dagger");
            MagicWeaponItem     magicWeapon     = new MagicWeaponItem(weapon, 1);
            EnchantedWeaponItem enchantedWeapon = WeaponEnchanter.RequestEnchantment(magicWeapon, "Flaming");

            Approvals.Verify(DisplayUtilities.FullMagicalDisplay(enchantedWeapon));
        }
        public void TestEnhancementBonusIsMoreThanPlusTen()
        {
            WeaponItem          weapon         = WeaponItemSmith.OrderItem("Dagger");
            MagicWeaponItem     magicWeapon    = new MagicWeaponItem(weapon, 5);
            EnchantedWeaponItem flamingWeapon  = WeaponEnchanter.RequestEnchantment(magicWeapon, "Flaming");
            EnchantedWeaponItem icyBurstWeapon = WeaponEnchanter.RequestEnchantment(flamingWeapon, "Icy Burst");

            WeaponEnchanter.RequestEnchantment(icyBurstWeapon, "Vorpal");
        }
示例#3
0
        public void TestLargePlus3FlamingWeapon()
        {
            WeaponItem          weapon          = WeaponItemSmith.OrderItem("Dagger");
            WeaponItem          sizedWeapon     = WeaponItemSmith.SizeWeapon(weapon, "Large");
            MagicWeaponItem     magicWeapon     = new MagicWeaponItem(sizedWeapon, 3);
            EnchantedWeaponItem enchantedWeapon = WeaponEnchanter.RequestEnchantment(magicWeapon, "Flaming");

            Approvals.Verify(DisplayUtilities.FullMagicalDisplay(enchantedWeapon));
        }
        public void TestFlamingMithralItem()
        {
            WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger");
            ExtraordinaryQualityWeapon mithralWeapon   = WeaponItemSmith.OrderSpecialComponent(weapon, "Mithral");
            MagicWeaponItem            magicWeapon     = new MagicWeaponItem(mithralWeapon, 1);
            EnchantedWeaponItem        enchantedWeapon = WeaponEnchanter.RequestEnchantment(magicWeapon, "Flaming");

            Approvals.Verify(DisplayUtilities.FullMagicalDisplay(enchantedWeapon));
        }