original_string: public function getBaseOfWoundsUsingWeaponlike(WeaponlikeCode $weaponlikeCode, Strength $currentStrength): int
      {
          // weapon base of wounds has to be summed with strength via bonus summing, see PPH page 92 right column
          $baseOfWounds = $this->tables->getBaseOfWoundsTable()->getBaseOfWounds(
              $this->getApplicableStrength($weaponlikeCode, $currentStrength),
              new IntegerObject($this->getWoundsOfWeaponlike($weaponlikeCode))
          );
          $baseOfWounds += $this->getBaseOfWoundsMalusByStrengthWithWeaponlike($weaponlikeCode, $currentStrength);
  
          return $baseOfWounds;
      }
code: public function getBaseOfWoundsUsingWeaponlike(WeaponlikeCode $weaponlikeCode, Strength $currentStrength): int
      {
          // weapon base of wounds has to be summed with strength via bonus summing, see PPH page 92 right column
          $baseOfWounds = $this->tables->getBaseOfWoundsTable()->getBaseOfWounds(
              $this->getApplicableStrength($weaponlikeCode, $currentStrength),
              new IntegerObject($this->getWoundsOfWeaponlike($weaponlikeCode))
          );
          $baseOfWounds += $this->getBaseOfWoundsMalusByStrengthWithWeaponlike($weaponlikeCode, $currentStrength);
  
          return $baseOfWounds;
      }
code_tokens: public function getBaseOfWoundsUsingWeaponlike ( WeaponlikeCode $ weaponlikeCode , Strength $ currentStrength ) : int { // weapon base of wounds has to be summed with strength via bonus summing, see PPH page 92 right column $ baseOfWounds = $ this -> tables -> getBaseOfWoundsTable ( ) -> getBaseOfWounds ( $ this -> getApplicableStrength ( $ weaponlikeCode , $ currentStrength ) , new IntegerObject ( $ this -> getWoundsOfWeaponlike ( $ weaponlikeCode ) ) ) ; $ baseOfWounds += $ this -> getBaseOfWoundsMalusByStrengthWithWeaponlike ( $ weaponlikeCode , $ currentStrength ) ; return $ baseOfWounds ; }
docstring: Gives base of wound with a weapon and user strength.
  
  @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\UnknownRangedWeapon
  @throws \DrdPlus\Tables\Armaments\Exceptions\UnknownMeleeWeaponlike
  @throws \DrdPlus\Tables\Armaments\Weapons\Ranged\Exceptions\UnknownBow
docstring_tokens: Gives base of wound with a weapon and user strength .