Чистка оптимизация и унификация кода.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user