Exemplo n.º 1
0
 public function displaySetModifiers(SR_Player $player)
 {
     if (false === ($set = SR_SetItems::getSetForItem($this->getName()))) {
         return '';
     }
     if (SR_SetItems::hasSet($player, $set)) {
         $b = $i = "6";
         $b2 = $i2 = "";
     } else {
         $b = $i = "15";
         $b2 = $i2 = "";
         // 			$b = $b2 = $i = $i2 = ''; # italic
     }
     return ' ' . Shadowrun4::lang('set_modifiers', array($b, $set, $b2, $i, Shadowfunc::displayModifiers($player, SR_SetItems::getModifiersForSet($set)), $i2));
 }