make class greater
This commit is contained in:
parent
30001db92b
commit
9095cd0af6
@ -223,8 +223,6 @@ IMG;
|
|||||||
|
|
||||||
protected function printRequirements()
|
protected function printRequirements()
|
||||||
{
|
{
|
||||||
if (!empty($this->$modifier)) {
|
|
||||||
if (in_array($modifier,['nlevel','nnoj'])) echo "<br> Требования:";
|
|
||||||
if ($this->nlevel > 0) echo "<br>Требуется уровень" . $this->wrap($this->nlevel);
|
if ($this->nlevel > 0) echo "<br>Требуется уровень" . $this->wrap($this->nlevel);
|
||||||
if ($this->nnoj > 0) echo "<br>Требуется владение колющим оружиием" . $this->wrap($this->nnoj);
|
if ($this->nnoj > 0) echo "<br>Требуется владение колющим оружиием" . $this->wrap($this->nnoj);
|
||||||
if ($this->ndubina > 0) echo "<br>Требуется владение дробящим оружием" . $this->wrap($this->ndubina);
|
if ($this->ndubina > 0) echo "<br>Требуется владение дробящим оружием" . $this->wrap($this->ndubina);
|
||||||
@ -235,7 +233,7 @@ IMG;
|
|||||||
if ($this->ninta > 0) echo "<br>Требуется интуиция" . $this->wrap($this->ninta);
|
if ($this->ninta > 0) echo "<br>Требуется интуиция" . $this->wrap($this->ninta);
|
||||||
if ($this->nvinos > 0) echo "<br>Требуется выносливость" . $this->wrap($this->nvinos);
|
if ($this->nvinos > 0) echo "<br>Требуется выносливость" . $this->wrap($this->nvinos);
|
||||||
if ($this->nintel > 0) echo "<br>Требуется интеллект" . $this->wrap($this->nintel);
|
if ($this->nintel > 0) echo "<br>Требуется интеллект" . $this->wrap($this->nintel);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function printBonuses()
|
protected function printBonuses()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user