コード例 #1
0
		public void TestCreateMagicMithralWeapon()
		{
			WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger");
			ExtraordinaryQualityWeapon mithralWeapon = WeaponItemSmith.OrderSpecialComponent(weapon, "Mithral");
			MagicWeaponItem magicWeapon = new MagicWeaponItem(mithralWeapon, 1);
			Approvals.Verify(DisplayUtilities.BasicMagicalDisplay(magicWeapon));
		}
コード例 #2
0
 public void TestFlamingEnchantment()
 {
     WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger");
     MagicWeaponItem magicWeapon = new MagicWeaponItem(weapon, 1);
     EnchantedWeaponItem enchantedWeapon = WeaponEnchanter.RequestEnchantment(magicWeapon, "Flaming");
     Approvals.Verify(DisplayUtilities.FullMagicalDisplay(enchantedWeapon));
 }
コード例 #3
0
ファイル: SizingTest.cs プロジェクト: willegetz/notpk
		public void TestLargePlus3Weapon()
		{
			WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger");
			WeaponItem sizedWeapon = WeaponItemSmith.SizeWeapon(weapon, "Large");
			MagicWeaponItem magicWeapon = new MagicWeaponItem(sizedWeapon, 3);
			Approvals.Verify(DisplayUtilities.FullMagicalDisplay(magicWeapon));
		}
コード例 #4
0
 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));
 }
コード例 #5
0
 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");
 }
コード例 #6
0
ファイル: SizingTest.cs プロジェクト: willegetz/notpk
		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));
		}
コード例 #7
0
		public void TestDisplayMaxEnhancedWeaponItem()
		{
			WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger");
			MagicWeaponItem magicWeapon = new MagicWeaponItem(weapon, 5);
			Approvals.Verify(DisplayUtilities.FullMagicalDisplay(magicWeapon));
		}
コード例 #8
0
		public void TestCreateMagicWeapon()
		{
			WeaponItem weapon = WeaponItemSmith.OrderItem("Dagger");
			MagicWeaponItem magicWeapon = new MagicWeaponItem(weapon, 1);
			Approvals.Verify(DisplayUtilities.BasicMagicalDisplay(magicWeapon));
		}