/** * Even shield can ba used as weapon, just quite ineffective. * * @param WeaponlikeCode $weaponlikeCode * @param Strength $currentStrength * @return int * @throws \DrdPlus\Tables\Armaments\Weapons\Exceptions\CanNotUseWeaponBecauseOfMissingStrength * @throws \DrdPlus\Tables\Armaments\Exceptions\UnknownArmament * @throws \DrdPlus\Tables\Armaments\Exceptions\UnknownWeaponlike * @throws \DrdPlus\Tables\Armaments\Exceptions\UnknownMeleeWeaponlike */ public function getBaseOfWoundsMalusByStrengthWithWeaponlike(WeaponlikeCode $weaponlikeCode, Strength $currentStrength) { return $this->tables->getWeaponlikeStrengthSanctionsTableByCode($weaponlikeCode)->getBaseOfWoundsSanction($this->getMissingStrengthForArmament($weaponlikeCode, $currentStrength, Size::getIt(0))); }