make class greater:modificators

This commit is contained in:
Igor Barkov [iwork] 2019-01-14 18:12:34 +02:00
parent c08d9981f4
commit 60a74b2a4a
1 changed files with 3 additions and 2 deletions

View File

@ -223,6 +223,7 @@ IMG;
protected function printRequirements()
{
echo "<div style='margin-top: 5px;'>";
if ($this->nlevel > 0) echo "<br>Требуется уровень" . $this->wrap($this->nlevel);
if ($this->nnoj > 0) echo "<br>Требуется владение колющим оружиием" . $this->wrap($this->nnoj);
if ($this->ndubina > 0) echo "<br>Требуется владение дробящим оружием" . $this->wrap($this->ndubina);
@ -233,12 +234,12 @@ IMG;
if ($this->ninta > 0) echo "<br>Требуется интуиция" . $this->wrap($this->ninta);
if ($this->nvinos > 0) echo "<br>Требуется выносливость" . $this->wrap($this->nvinos);
if ($this->nintel > 0) echo "<br>Требуется интеллект" . $this->wrap($this->nintel);
echo "</div>";
}
protected function printBonuses()
{
echo "<div style='color: dimgray'>";
echo "<div style='margin-top: 5px;'>";
if ($this->gsila) echo "<br>Сила" . $this->wrap($this->gsila);
if ($this->glovk) echo "<br>Ловкость" . $this->wrap($this->glovk);
if ($this->ginta) echo "<br>Интуиция" . $this->wrap($this->ginta);