make class greater

This commit is contained in:
Igor Barkov [iwork] 2019-01-14 17:57:46 +02:00
parent 0e8ae215ed
commit 30001db92b
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ IMG;
protected function printRequirements()
{
if (!empty($this->$modifier)) {
echo "<br> Требования:";
if (in_array($modifier,['nlevel','nnoj'])) echo "<br> Требования:";
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);