Чистка оптимизация и унификация кода.

This commit is contained in:
lopar
2020-08-30 02:21:22 +03:00
parent 8a2dfea36b
commit 427149b90e
16 changed files with 2119 additions and 2019 deletions
+2 -2
View File
@@ -1567,7 +1567,7 @@ class fbattle
include "../darkness_quest.php";
$this->exp[$v] = round($this->exp[$v]);
$dop_exp = check_proc($this->user['id']);
$dop_exp = 100; //процент опыта
if ($dop_exp > 100) {
$add = ($dop_exp - 100);
$this->exp[$v] += round(($this->exp[$v] * $add) / 100, 0);
@@ -1641,7 +1641,7 @@ class fbattle
}
$this->exp[$v] = round($this->exp[$v]);
$dop_exp = check_proc($this->user['id']);
$dop_exp = 100; //процент опыта
if ($dop_exp > 100) {
$add = ($dop_exp - 100);
$this->exp[$v] += round(($this->exp[$v] * $add) / 100, 0);