Example #1
0
 /**
  * Get the item and blueprint notes.
  *
  * @return string
  */
 protected function getNotes()
 {
     $notes = $this->item->getNotes();
     $translator = \SmartWork\Translator::getInstance();
     if ($this->bonusRangedFightValue) {
         if (!empty($notes)) {
             $notes .= ' ';
         }
         $notes .= $translator->gt('bonusRangedFightValueNote') . '(' . $this->bonusRangedFightValue . ')';
     }
     if ($this->reducePhysicalStrengthRequirement) {
         if (!empty($notes)) {
             $notes .= ' ';
         }
         $notes .= $translator->gt('reducePhysicalStrengthRequirementNote');
     }
     return $notes;
 }