From 7c0796bc7a791224c1ca7964b4cfd7cfa352d1a6 Mon Sep 17 00:00:00 2001 From: lopar Date: Tue, 11 Dec 2018 22:46:44 +0200 Subject: [PATCH] =?UTF-8?q?=D0=A4=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=B2=D1=8B=D1=88=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D1=82=D0=BE=D0=B2=20=D0=B8=20=D0=BC=D0=BE=D0=B4?= =?UTF-8?q?=D0=B8=D1=84=D0=B8=D0=BA=D0=B0=D1=82=D0=BE=D1=80=D0=BE=D0=B2.?= =?UTF-8?q?=20=D0=9E=D1=82=D0=BB=D0=B0=D0=B4=D0=BA=D0=B0=205.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.php | 46 +++++++++++++++++++++------------------------- 1 file changed, 21 insertions(+), 25 deletions(-) diff --git a/main.php b/main.php index 8d755d7..5bf0ae6 100644 --- a/main.php +++ b/main.php @@ -1538,7 +1538,8 @@ header("Cache-Control: no-cache"); if (input::get('edit')) { if (input::get('ups')) { - switch (input::get('ups')) { + addOnePoint(input::get('ups'), 'stat'); + /*switch (input::get('ups')) { case 'sila' : addOnePoint('sila','stat'); break; @@ -1590,9 +1591,11 @@ if (input::get('edit')) { case 211 : addOnePoint('mdark','mastery'); break; - } + }*/ } + if (input::get('upm')) addOnePoint(input::get('upm'), 'mastery'); + if (input::get('drop')) { dropitem(input::get('drop')); updstats(); @@ -1821,45 +1824,38 @@ if (input::get('edit')) { -
+
Ловкость: -
+
Интуиция: -
+
Выносливость: - -
- 3) ? "Интеллект: {$user['intel']}" : ""; - echo ($user['stats'] && ($user['level'] > 3)) ? " " : ""; - if ($user['level'] > 3) echo "
" ?> - - Возможных увеличений: +
+ Интеллект: + + + +
+ Мудрость: + + + +
+
+ Возможных увеличений: - - - 0')); $item_damage = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `owner` = "' . $user['id'] . '" AND `dressed` = "1" AND `add_proc_uron` > 0'));