/**
  * @param MissingWeaponSkillTable $missingWeaponSkillsTable
  * @return int
  */
 public function getMalusToBaseOfWounds(MissingWeaponSkillTable $missingWeaponSkillsTable)
 {
     /** @noinspection ExceptionsAnnotatingAndHandlingInspection */
     return $missingWeaponSkillsTable->getBaseOfWoundsForWeaponSkill($this->getCurrentSkillRank()->getValue());
 }
 /**
  * Only for shield as a weapon!
  *
  * @param MissingWeaponSkillTable $missingWeaponSkillsTable
  * @return int
  */
 public function getMalusToBaseOfWounds(MissingWeaponSkillTable $missingWeaponSkillsTable)
 {
     /**
      * using shield as a weapon means using something without skill (zero skill ShieldAsAWeapon respectively)
      *
      * @see PPH page 86 right column top
      */
     /** @noinspection ExceptionsAnnotatingAndHandlingInspection */
     return $missingWeaponSkillsTable->getBaseOfWoundsMalusForSkill(0);
 }
 /**
  * Note about SHIELD: "weaponlike" means for attacking - for shield standard usage as
  * a protective armament @see \DrdPlus\Skills\Physical\PhysicalSkills::getMalusToFightNumberWithProtective
  *
  * @param WeaponlikeCode $weaponlikeCode
  * @param MissingWeaponSkillTable $missingWeaponSkillsTable
  * @param bool $fightsWithTwoWeapons
  * @return int
  * @throws \DrdPlus\Skills\Physical\Exceptions\PhysicalSkillsDoNotKnowHowToUseThatWeapon
  */
 public function getMalusToBaseOfWoundsWithWeaponlike(WeaponlikeCode $weaponlikeCode, MissingWeaponSkillTable $missingWeaponSkillsTable, $fightsWithTwoWeapons)
 {
     $fightWithWeaponRankValue = $this->getHighestRankForSuitableFightWithWeapon($weaponlikeCode);
     /** @noinspection ExceptionsAnnotatingAndHandlingInspection */
     $malus = $missingWeaponSkillsTable->getBaseOfWoundsMalusForSkill($fightWithWeaponRankValue);
     if ($fightsWithTwoWeapons) {
         /** @noinspection ExceptionsAnnotatingAndHandlingInspection */
         $malus += $missingWeaponSkillsTable->getBaseOfWoundsMalusForSkill($this->getFightWithTwoWeapons()->getCurrentSkillRank()->getValue());
     }
     return $malus;
 }
 /**
  * @param MissingWeaponSkillTable $missingWeaponSkillsTable
  * @return int
  */
 public function getMalusToBaseOfWounds(MissingWeaponSkillTable $missingWeaponSkillsTable)
 {
     return $missingWeaponSkillsTable->getBaseOfWoundsForWeaponSkill($this->getCurrentSkillRank()->getValue());
 }
 /**
  * @param RangedWeaponCode $rangeWeaponCode
  * @param MissingWeaponSkillTable $missingWeaponSkillsTable
  * @return int
  * @throws \DrdPlus\Skills\Combined\Exceptions\CombinedSkillsDoNotHowToUseThatWeapon
  */
 public function getMalusToBaseOfWoundsWithShootingWeapon(RangedWeaponCode $rangeWeaponCode, MissingWeaponSkillTable $missingWeaponSkillsTable)
 {
     $rankValue = $this->getFightWithShootingWeaponRankValue($rangeWeaponCode);
     /** @noinspection ExceptionsAnnotatingAndHandlingInspection */
     return $missingWeaponSkillsTable->getBaseOfWoundsMalusForSkill($rankValue);
 }