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)); } /**