From 8a2dfea36b9f73d25d6472992aa61f89d63748f8 Mon Sep 17 00:00:00 2001 From: lopar Date: Sat, 29 Aug 2020 21:25:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BA=D0=B0=20=D1=87=D1=82=D0=BE?= =?UTF-8?q?=20=D1=81=D1=87=D0=B8=D1=82=D0=B0=D0=B5=D0=BC=20=D0=BC=D0=B0?= =?UTF-8?q?=D0=BD=D1=83=20=D1=82=D0=B0=D0=BA=20=D0=B6=D0=B5=20=D0=BA=D0=B0?= =?UTF-8?q?=D0=BA=20=D0=B8=20=D0=B7=D0=B4=D0=BE=D1=80=D0=BE=D0=B2=D1=8C?= =?UTF-8?q?=D0=B5,=20=D0=BD=D0=BE=20=D1=81=20=D0=BF=D1=80=D0=B8=D0=B2?= =?UTF-8?q?=D1=8F=D0=B7=D0=BA=D0=BE=D0=B9=20=D0=BA=20=D0=BC=D1=83=D0=B4?= =?UTF-8?q?=D1=80=D0=BE=D1=81=D1=82=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/User.php b/classes/User.php index 83a5530..4c69871 100644 --- a/classes/User.php +++ b/classes/User.php @@ -60,7 +60,7 @@ class User } } $this->maxHealth = round(($this->endurance * 3) + ($this->endurance / 2) * ($this->level - 1) + ($this->endurance / 5) * (($this->level - 1) * ($this->level - 2) / 2)); - + $this->maxMana = round(($this->wisdom * 3) + ($this->wisdom / 2) * ($this->level - 1) + ($this->wisdom / 5) * (($this->level - 1) * ($this->level - 2) / 2)); } /**