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')) {
-
+
Ловкость: = $user['lovk'] ?>
-
+
Интуиция: = $user['inta'] ?>
-
+
Выносливость: = $user['vinos'] ?>
-
-
-
- echo ($user['level'] > 3) ? "Интеллект: {$user['intel']}" : "";
- echo ($user['stats'] && ($user['level'] > 3)) ? " " : "";
- if ($user['level'] > 3) echo "
" ?>
-
- Возможных увеличений: = $user['stats'] ?>
+
+ Интеллект: = $user['intel'] ?>
+
+
+
+
+ Мудрость: = $user['mudra'] ?>
+
+
+
+
+
+ Возможных увеличений: = $user['stats'] ?>
-
$mf = countmf();
- ?>
-
-
-
if ($_SESSION['modif'] == 1) {
$item_mf = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `owner` = "' . $user['id'] . '" AND `dressed` = "1" AND `add_proc_mf` > 0'));
$item_damage = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `owner` = "' . $user['id'] . '" AND `dressed` = "1" AND `add_proc_uron` > 0'));