Пока что считаем ману так же как и здоровье, но с привязкой к мудрости.

This commit is contained in:
lopar 2020-08-29 21:25:22 +03:00
parent d689adc44e
commit 8a2dfea36b

View File

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