示例#1
0
 def test_weapon_proficiency_maul(self):
     f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Rogue())
     self.assertFalse(f.is_weapon_proficient(weapons[WeaponId.MAUL]))
示例#2
0
 def test_weapon_proficiency_heavy_crossbow(self):
     f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Rogue())
     self.assertFalse(f.is_weapon_proficient(weapons[WeaponId.HEAVY_CROSSBOW]))
示例#3
0
 def test_weapon_proficiency_longsword(self):
     f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Rogue())
     self.assertTrue(f.is_weapon_proficient(weapons[WeaponId.LONGSWORD]))
示例#4
0
 def test_weapon_proficiency_club(self):
     f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Rogue())
     self.assertTrue(f.is_weapon_proficient(weapons[WeaponId.CLUB]))
示例#5
0
 def test_weapon_proficiency(self):
     f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Fighter())
     self.assertTrue(f.is_weapon_proficient(weapons[WeaponId.LONGSWORD]))