Beispiel #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]))
Beispiel #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]))
Beispiel #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]))
Beispiel #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]))
 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]))