示例#1
0
 /**
  * Note: spear can be both range and melee, but required strength is for melee and range usages the same
  *
  * @param ArmamentCode $armamentCode
  * @param Strength $currentStrength
  * @param Size $bodySize
  * @return bool
  * @throws Exceptions\UnknownArmament
  */
 public function canUseArmament(ArmamentCode $armamentCode, Strength $currentStrength, Size $bodySize)
 {
     return $this->tables->getArmamentStrengthSanctionsTableByCode($armamentCode)->canUseIt($this->getMissingStrengthForArmament($armamentCode, $currentStrength, $bodySize));
 }