Ejemplo n.º 1
0
 /**
  * @param ArmorCode $armorCode
  * @param Strength $currentStrength
  * @param Size $bodySize
  * @return int
  * @throws CanNotUseArmorBecauseOfMissingStrength
  * @throws \DrdPlus\Tables\Armaments\Exceptions\UnknownArmament
  * @throws \Granam\Integer\Tools\Exceptions\WrongParameterType
  * @throws \Granam\Integer\Tools\Exceptions\ValueLostOnCast
  */
 public function getSanctionDescriptionByStrengthWithArmor(ArmorCode $armorCode, Strength $currentStrength, Size $bodySize)
 {
     return $this->tables->getArmorStrengthSanctionsTable()->getSanctionDescription($this->getMissingStrengthForArmament($armorCode, $currentStrength, $bodySize));
 }