From 3178c5e3a6962867104a2322c28e8353af80ab5a Mon Sep 17 00:00:00 2001 From: lopar Date: Sat, 12 Jan 2019 00:52:23 +0200 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=B8=D0=BF=D0=B8=D0=B7=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BF=D1=80=D0=B5=D0=B4=D0=BC=D0=B5=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/Item.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/Item.php b/classes/Item.php index 0d6805b..dde06c1 100644 --- a/classes/Item.php +++ b/classes/Item.php @@ -9,6 +9,7 @@ abstract class Item public $img; public $type; + private $typename; public $nlevel; public $nsila; @@ -146,7 +147,7 @@ abstract class Item if ($this->nalign) echo " nalign}.gif title='Этот предмет могут использовать только игроки с определённой склонностью.'> "; if ($this->maxdur > 0) echo "
Долговечность: {$this->maxdur}"; if ($this->maxdur == -1) echo "
Долговечность: неразрушимо"; - echo "
{$this->typename}"; + echo "
{$this->type} → {$this->typename}"; } protected function printRequirements()