diff --git a/enter.php b/enter.php index 65bfd9e..a90fe5d 100644 --- a/enter.php +++ b/enter.php @@ -21,6 +21,7 @@ if ($username && $password) { } elseif (password_verify($password, $data['pass'])) { if (!$error) { + # Проверка на мультоводство по используемому кукису. if ($battle != null && $data['id'] != $battle) { db::c()->query('INSERT INTO `delo_multi` (`idperslater`, `idpersnow`) VALUES (?i, ?i)', $battle, $data['id']); } diff --git a/inf.php b/inf.php index d25d137..90a0131 100644 --- a/inf.php +++ b/inf.php @@ -60,15 +60,15 @@ if (!empty($user['realname'])) echo "Имя: " . $user['realname'] . "
";


-
+
Подарки getNumRows()) while ($row = $presents->fetch_assoc()) echo ""; ?> -
-
+
+
Лицензии Лицензия наемника" /> '; @@ -76,7 +76,7 @@ if (!empty($user['realname'])) echo "Имя: " . $user['realname'] . "
"; if ($user['prof1'] == 1) echo ' '; if ($user['prof1'] == 2) echo ' '; ?> - +
query('SELECT `type`,`dressed` FROM `inventory` WHERE `id`=?i', $del)->fetch_assoc(); + if (input::post('del')) { + $itemdel = db::c()->query('SELECT `type`,`dressed` FROM `inventory` WHERE `id`=?i', input::post('del'))->fetch_assoc(); if ($itemdel['dressed'] == 1) { dropitem($itemdel['type']); if ($itemdel['type'] == 5) { diff --git a/main.php b/main.php index 7a66262..ddfd876 100644 --- a/main.php +++ b/main.php @@ -2018,487 +2018,441 @@ if (input::get('edit')) {
- +
- -
+ -
- - - - - -
  - query("SELECT `name` FROM komplekt WHERE `owner` = ?i", $user['id']); - while ($u_k = $u_all_kompl->fetch_assoc()) { - $k_name = $u_k['name']; - echo " + query("SELECT `name` FROM komplekt WHERE `owner` = ?i", $user['id']); + while ($u_k = $u_all_kompl->fetch_assoc()) { + $k_name = $u_k['name']; + echo " Надеть \"" . $k_name . "\"
"; - }; - - ?> -
- - - - - -
  -
- -
-
+ } + ?> +
+ +
+ +
- - - -
-
- Уровень:
- Опыт: ()
- Побед:
- Поражений:
- Ничьих:
- - - - Деньги: кр.
- Репутация: реп.
- - - - - -
-
+
+
+
Уровень: +
Опыт: () +
Побед: +
Поражений: +
Ничьих: +
+
Деньги: кр. +
Репутация: реп. +
+
- - - - -
- +
+ + Сила: + + + + " : "" ?> +
+ Ловкость: " : "" ?> +
+ Интуиция: " : "" ?> +
+ Выносливость: " : "" ?> +
+ 3) ? "Интеллект: {$user['intel']}" : ""; + echo ($user['stats'] && ($user['level'] > 3)) ? " " : ""; + if ($user['level'] > 3) echo "
" ?> + + Возможных увеличений: - - - Сила: " : "" ?> -
- Ловкость: " : "" ?> -
- Интуиция: " : "" ?> -
- Выносливость: " : "" ?> -
- 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')); + $item_bron = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `owner` = "' . $user['id'] . '" AND `dressed` = "1" AND `add_proc_bron` > 0')); + + if (isset($item_mf['id'])) { + $max_mf = max_mf(); + $add_mf = sum_mf($user['id']); + if ($max_mf == 'fkrit') { + $var_mf = round(($mf['fkrit'] / 100) * $add_mf); + $mf['fkrit'] += $var_mf; + } elseif ($max_mf == 'fakrit') { + $var_mf = round(($mf['fakrit'] / 100) * $add_mf); + $mf['fakrit'] += $var_mf; + } elseif ($max_mf == 'fuvorot') { + $var_mf = round(($mf['fuvorot'] / 100) * $add_mf); + $mf['fuvorot'] += $var_mf; + } elseif ($max_mf == 'fauvorot') { + $var_mf = round(($mf['fauvorot'] / 100) * $add_mf); + $mf['fauvorot'] += $var_mf; } - ?> - + if (isset($item_bron['id'])) { + $add_bron = sum_bron($user['id']); + $var_brons = bron_ads($mf['bron1'], $mf['bron2'], $mf['bron3'], $mf['bron4'], $add_bron); + } else { + $var_brons = array('a1' => 0, 'a2' => 0, 'a3' => 0, 'a4' => 0); + } + ?> + + Урон: + - (' . $add_dmg . '%)'; + } ?>
+ Мф. крит. удара: (' . $add_mf . '%)'; + } ?>
+ Мф. против крит. удара: (' . $add_mf . '%)'; + } ?>
+ Мф. увертывания: (' . $add_mf . '%)'; + } ?>
+ Мф. против увертывания: (' . $add_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')); - $item_bron = mysql_fetch_array(mysql_query('SELECT `id` FROM `inventory` WHERE `owner` = "' . $user['id'] . '" AND `dressed` = "1" AND `add_proc_bron` > 0')); + if ($user['level'] > 3) { ?> - if (isset($item_mf['id'])) { - $max_mf = max_mf(); - $add_mf = sum_mf($user['id']); - if ($max_mf == 'fkrit') { - $var_mf = round(($mf['fkrit'] / 100) * $add_mf); - $mf['fkrit'] += $var_mf; - } elseif ($max_mf == 'fakrit') { - $var_mf = round(($mf['fakrit'] / 100) * $add_mf); - $mf['fakrit'] += $var_mf; - } elseif ($max_mf == 'fuvorot') { - $var_mf = round(($mf['fuvorot'] / 100) * $add_mf); - $mf['fuvorot'] += $var_mf; - } elseif ($max_mf == 'fauvorot') { - $var_mf = round(($mf['fauvorot'] / 100) * $add_mf); - $mf['fauvorot'] += $var_mf; - } - } - if (isset($item_damage['id'])) { - $add_dmg = sum_dmg($user['id']); - $min_dmg = round(($mf['minu'] / 100) * $add_dmg); - $max_dmg = round(($mf['maxu'] / 100) * $add_dmg); - } - - if (isset($item_bron['id'])) { - $add_bron = sum_bron($user['id']); - $var_brons = bron_ads($mf['bron1'], $mf['bron2'], $mf['bron3'], $mf['bron4'], $add_bron); - } else { - $var_brons = array('a1' => 0, 'a2' => 0, 'a3' => 0, 'a4' => 0); - } - ?> - - Урон: - - (' . $add_dmg . '%)'; - } ?>
- Мф. крит. удара: (' . $add_mf . '%)'; - } ?>
- Мф. против крит. удара: (' . $add_mf . '%)'; - } ?>
- Мф. увертывания: (' . $add_mf . '%)'; - } ?>
- Мф. против увертывания: (' . $add_mf . '%)'; - } ?>
- - - - - - -
- Владение оружием:
- ножами и - кастетами: " : "" ?> -
- мечами: " : "" ?> -
- дубинами, - булавами: " : "" ?> -
- топорами и - секирами: " : "" ?> -
- - - 3) { ?> - - Владение магией:
- - Серая магия: " : "" ?> -
- Магия Тьмы: " : "" ?> -
- Возможных увеличений: -
+ Серая магия: " : "" ?> +
+ Магия Тьмы: " : "" ?> +
+ Возможных увеличений: +
- + + + + + Броня головы: (' . $add_bron . '%)'; + } ?>
+ Броня корпуса: (' . $add_bron . '%)'; + } ?>
+ Броня пояса: (' . $add_bron . '%)'; + } ?>
+ Броня ног: (' . $add_bron . '%)'; + } ?>
+ + + = 25 || $user['lovk'] >= 25 || $user['inta'] >= 25 || $user['vinos'] >= 25 || $user['intel'] >= 25) && $user['level'] == 25) { + ?> + + + + = 25) { + $sila['fauvorot'] = 10; + $sila['fakrit'] = 10; } - ?> - - - - - Броня головы: (' . $add_bron . '%)'; - } ?>
- Броня корпуса: (' . $add_bron . '%)'; - } ?>
- Броня пояса: (' . $add_bron . '%)'; - } ?>
- Броня ног: (' . $add_bron . '%)'; - } ?>
- - - = 25 || $user['lovk'] >= 25 || $user['inta'] >= 25 || $user['vinos'] >= 25 || $user['intel'] >= 25) && $user['level'] == 25) { - ?> - - - - = 25) { - $sila['fauvorot'] = 10; - $sila['fakrit'] = 10; - } - if ($user['sila'] >= 50) { - $sila['fauvorot'] = 20; - $sila['fakrit'] = 25; - } - if ($user['sila'] >= 75) { - $sila['fauvorot'] = 30; - $sila['fakrit'] = 40; - } - if ($user['sila'] >= 100) { - $sila['fauvorot'] = 40; - $sila['fakrit'] = 50; - $sila['uminu'] = 2; - $sila['umaxu'] = 2; - } - if ($user['sila'] >= 125) { - $sila['fauvorot'] = 60; - $sila['fakrit'] = 75; - $sila['uminu'] = 5; - $sila['umaxu'] = 5; - } - if ($user['sila'] >= 150) { - $sila['fauvorot'] = 90; - $sila['fakrit'] = 110; - $sila['uminu'] = 8; - $sila['umaxu'] = 8; - } - if ($user['sila'] >= 175) { - $sila['fauvorot'] = 120; - $sila['fakrit'] = 150; - $sila['uminu'] = 12; - $sila['umaxu'] = 12; - } - if ($user['sila'] >= 200) { - $sila['fauvorot'] = 150; - $sila['fakrit'] = 200; - $sila['uminu'] = 15; - $sila['umaxu'] = 15; - } - if ($user['lovk'] >= 25) { - $lovk['fuvorot'] = 10; - $lovk['fauvorot'] = 10; - $lovk['fakrit'] = 20; - } - if ($user['lovk'] >= 50) { - $lovk['fuvorot'] = 20; - $lovk['fauvorot'] = 25; - $lovk['fakrit'] = 40; - } - if ($user['lovk'] >= 75) { - $lovk['fuvorot'] = 30; - $lovk['fauvorot'] = 30; - $lovk['fakrit'] = 60; - } - if ($user['lovk'] >= 100) { - $lovk['fuvorot'] = 40; - $lovk['fauvorot'] = 40; - $lovk['fakrit'] = 75; - $lovk['uminu'] = 5; - $lovk['umaxu'] = 5; - } - if ($user['lovk'] >= 125) { - $lovk['fuvorot'] = 40; - $lovk['fauvorot'] = 70; - $lovk['fakrit'] = 90; - $lovk['uminu'] = 6; - $lovk['umaxu'] = 6; - } - if ($user['lovk'] >= 150) { - $lovk['fuvorot'] = 40; - $lovk['fauvorot'] = 150; - $lovk['fakrit'] = 120; - $lovk['uminu'] = 8; - $lovk['umaxu'] = 8; - } - if ($user['lovk'] >= 175) { - $lovk['fuvorot'] = 40; - $lovk['fauvorot'] = 200; - $lovk['fakrit'] = 140; - $lovk['uminu'] = 10; - $lovk['umaxu'] = 10; - } - if ($user['lovk'] >= 200) { - $lovk['fuvorot'] = 40; - $lovk['fauvorot'] = 250; - $lovk['fakrit'] = 160; - $lovk['uminu'] = 15; - $lovk['umaxu'] = 15; - } - if ($user['inta'] >= 25) { - $inta['fkrit'] = 10; - $inta['fauvorot'] = 10; - $inta['fakrit'] = 15; - } - if ($user['inta'] >= 50) { - $inta['fkrit'] = 25; - $inta['fauvorot'] = 25; - $inta['fakrit'] = 25; - } - if ($user['inta'] >= 75) { - $inta['fkrit'] = 60; - $inta['fauvorot'] = 30; - $inta['fakrit'] = 30; - } - if ($user['inta'] >= 100) { - $inta['fkrit'] = 40; - $inta['fauvorot'] = 40; - $inta['fakrit'] = 75; - } - if ($user['inta'] >= 125) { - $inta['fkrit'] = 40; - $inta['fauvorot'] = 50; - $inta['fakrit'] = 100; - $inta['uminu'] = 1; - $inta['umaxu'] = 1; - } - if ($user['inta'] >= 150) { - $inta['fkrit'] = 60; - $inta['fauvorot'] = 40; - $inta['fakrit'] = 130; - $inta['uminu'] = 5; - $inta['umaxu'] = 5; - } - if ($user['inta'] >= 175) { - $inta['fkrit'] = 40; - $inta['fauvorot'] = 80; - $inta['fakrit'] = 170; - $inta['uminu'] = 10; - $inta['umaxu'] = 10; - } - if ($user['inta'] >= 200) { - $inta['fkrit'] = 40; - $inta['fauvorot'] = 120; - $inta['fakrit'] = 200; - $inta['uminu'] = 15; - $inta['umaxu'] = 15; - } - if ($user['vinos'] >= 25) { - $vinos['fkrit'] = 10; - $vinos['fauvorot'] = 10; - $vinos['fakrit'] = 15; - } - if ($user['vinos'] >= 50) { - $vinos['fkrit'] = 25; - $vinos['fauvorot'] = 25; - $vinos['fakrit'] = 25; - } - if ($user['vinos'] >= 75) { - $vinos['fkrit'] = 60; - $vinos['fauvorot'] = 30; - $vinos['fakrit'] = 30; - } - if ($user['vinos'] >= 100) { - $vinos['fkrit'] = 40; - $vinos['fauvorot'] = 40; - $vinos['fakrit'] = 75; - } - if ($user['vinos'] >= 125) { - $vinos['fkrit'] = 40; - $vinos['fauvorot'] = 50; - $vinos['fakrit'] = 100; - $vinos['uminu'] = 1; - $vinos['umaxu'] = 1; - } - if ($user['vinos'] >= 150) { - $vinos['fkrit'] = 60; - $vinos['fauvorot'] = 40; - $vinos['fakrit'] = 130; - $vinos['uminu'] = 5; - $vinos['umaxu'] = 5; - } - if ($user['vinos'] >= 175) { - $vinos['fkrit'] = 40; - $vinos['fauvorot'] = 80; - $vinos['fakrit'] = 170; - $vinos['uminu'] = 10; - $vinos['umaxu'] = 10; - } - if ($user['vinos'] >= 200) { - $vinos['fkrit'] = 40; - $vinos['fauvorot'] = 120; - $vinos['fakrit'] = 200; - $vinos['uminu'] = 15; - $vinos['umaxu'] = 15; - } - if ($user['vinos'] >= $user['sila'] && $user['vinos'] >= $user['lovk'] && $user['vinos'] >= $user['inta']) { - $i_uminu = $vinos['uminu']; - $i_fkrit = $vinos['fkrit']; - $i_fauvorot = $vinos['fauvorot']; - $i_fakrit = $vinos['fakrit']; - } - if ($user['inta'] >= $user['sila'] && $user['inta'] >= $user['lovk'] && $user['inta'] >= $user['vinos']) { - $i_uminu = $inta['uminu']; - $i_fkrit = $inta['fkrit']; - $i_fauvorot = $inta['fauvorot']; - $i_fakrit = $inta['fakrit']; - } - if ($user['lovk'] >= $user['sila'] && $user['lovk'] >= $user['inta'] && $user['lovk'] >= $user['vinos']) { - $i_uminu = $lovk['uminu']; - $i_fkrit = $lovk['fkrit']; - $i_fauvorot = $lovk['fauvorot']; - $i_fakrit = $lovk['fakrit']; - } - if ($user['sila'] >= $user['lovk'] && $user['sila'] >= $user['inta'] && $user['sila'] >= $user['vinos']) { - $i_uminu = $sila['uminu']; - $i_fkrit = $sila['fkrit']; - $i_fauvorot = $sila['fauvorot']; - $i_fakrit = $sila['fakrit']; - } - if ($i_fkrit > 0) { - echo "Мф. крит: +" . $i_fkrit . "
"; - } - if ($i_fakrit > 0) { - echo "Мф. анти крит: +" . $i_fakrit . "
"; - } - if ($i_fauvorot > 0) { - echo "Мф. анти уворот: +" . $i_fauvorot . "
"; - } - if ($i_uminu > 0) { - echo "Урон: +" . $i_uminu; - } - } + if ($user['sila'] >= 50) { + $sila['fauvorot'] = 20; + $sila['fakrit'] = 25; } - ?> -
+ if ($user['sila'] >= 75) { + $sila['fauvorot'] = 30; + $sila['fakrit'] = 40; + } + if ($user['sila'] >= 100) { + $sila['fauvorot'] = 40; + $sila['fakrit'] = 50; + $sila['uminu'] = 2; + $sila['umaxu'] = 2; + } + if ($user['sila'] >= 125) { + $sila['fauvorot'] = 60; + $sila['fakrit'] = 75; + $sila['uminu'] = 5; + $sila['umaxu'] = 5; + } + if ($user['sila'] >= 150) { + $sila['fauvorot'] = 90; + $sila['fakrit'] = 110; + $sila['uminu'] = 8; + $sila['umaxu'] = 8; + } + if ($user['sila'] >= 175) { + $sila['fauvorot'] = 120; + $sila['fakrit'] = 150; + $sila['uminu'] = 12; + $sila['umaxu'] = 12; + } + if ($user['sila'] >= 200) { + $sila['fauvorot'] = 150; + $sila['fakrit'] = 200; + $sila['uminu'] = 15; + $sila['umaxu'] = 15; + } + if ($user['lovk'] >= 25) { + $lovk['fuvorot'] = 10; + $lovk['fauvorot'] = 10; + $lovk['fakrit'] = 20; + } + if ($user['lovk'] >= 50) { + $lovk['fuvorot'] = 20; + $lovk['fauvorot'] = 25; + $lovk['fakrit'] = 40; + } + if ($user['lovk'] >= 75) { + $lovk['fuvorot'] = 30; + $lovk['fauvorot'] = 30; + $lovk['fakrit'] = 60; + } + if ($user['lovk'] >= 100) { + $lovk['fuvorot'] = 40; + $lovk['fauvorot'] = 40; + $lovk['fakrit'] = 75; + $lovk['uminu'] = 5; + $lovk['umaxu'] = 5; + } + if ($user['lovk'] >= 125) { + $lovk['fuvorot'] = 40; + $lovk['fauvorot'] = 70; + $lovk['fakrit'] = 90; + $lovk['uminu'] = 6; + $lovk['umaxu'] = 6; + } + if ($user['lovk'] >= 150) { + $lovk['fuvorot'] = 40; + $lovk['fauvorot'] = 150; + $lovk['fakrit'] = 120; + $lovk['uminu'] = 8; + $lovk['umaxu'] = 8; + } + if ($user['lovk'] >= 175) { + $lovk['fuvorot'] = 40; + $lovk['fauvorot'] = 200; + $lovk['fakrit'] = 140; + $lovk['uminu'] = 10; + $lovk['umaxu'] = 10; + } + if ($user['lovk'] >= 200) { + $lovk['fuvorot'] = 40; + $lovk['fauvorot'] = 250; + $lovk['fakrit'] = 160; + $lovk['uminu'] = 15; + $lovk['umaxu'] = 15; + } + if ($user['inta'] >= 25) { + $inta['fkrit'] = 10; + $inta['fauvorot'] = 10; + $inta['fakrit'] = 15; + } + if ($user['inta'] >= 50) { + $inta['fkrit'] = 25; + $inta['fauvorot'] = 25; + $inta['fakrit'] = 25; + } + if ($user['inta'] >= 75) { + $inta['fkrit'] = 60; + $inta['fauvorot'] = 30; + $inta['fakrit'] = 30; + } + if ($user['inta'] >= 100) { + $inta['fkrit'] = 40; + $inta['fauvorot'] = 40; + $inta['fakrit'] = 75; + } + if ($user['inta'] >= 125) { + $inta['fkrit'] = 40; + $inta['fauvorot'] = 50; + $inta['fakrit'] = 100; + $inta['uminu'] = 1; + $inta['umaxu'] = 1; + } + if ($user['inta'] >= 150) { + $inta['fkrit'] = 60; + $inta['fauvorot'] = 40; + $inta['fakrit'] = 130; + $inta['uminu'] = 5; + $inta['umaxu'] = 5; + } + if ($user['inta'] >= 175) { + $inta['fkrit'] = 40; + $inta['fauvorot'] = 80; + $inta['fakrit'] = 170; + $inta['uminu'] = 10; + $inta['umaxu'] = 10; + } + if ($user['inta'] >= 200) { + $inta['fkrit'] = 40; + $inta['fauvorot'] = 120; + $inta['fakrit'] = 200; + $inta['uminu'] = 15; + $inta['umaxu'] = 15; + } + if ($user['vinos'] >= 25) { + $vinos['fkrit'] = 10; + $vinos['fauvorot'] = 10; + $vinos['fakrit'] = 15; + } + if ($user['vinos'] >= 50) { + $vinos['fkrit'] = 25; + $vinos['fauvorot'] = 25; + $vinos['fakrit'] = 25; + } + if ($user['vinos'] >= 75) { + $vinos['fkrit'] = 60; + $vinos['fauvorot'] = 30; + $vinos['fakrit'] = 30; + } + if ($user['vinos'] >= 100) { + $vinos['fkrit'] = 40; + $vinos['fauvorot'] = 40; + $vinos['fakrit'] = 75; + } + if ($user['vinos'] >= 125) { + $vinos['fkrit'] = 40; + $vinos['fauvorot'] = 50; + $vinos['fakrit'] = 100; + $vinos['uminu'] = 1; + $vinos['umaxu'] = 1; + } + if ($user['vinos'] >= 150) { + $vinos['fkrit'] = 60; + $vinos['fauvorot'] = 40; + $vinos['fakrit'] = 130; + $vinos['uminu'] = 5; + $vinos['umaxu'] = 5; + } + if ($user['vinos'] >= 175) { + $vinos['fkrit'] = 40; + $vinos['fauvorot'] = 80; + $vinos['fakrit'] = 170; + $vinos['uminu'] = 10; + $vinos['umaxu'] = 10; + } + if ($user['vinos'] >= 200) { + $vinos['fkrit'] = 40; + $vinos['fauvorot'] = 120; + $vinos['fakrit'] = 200; + $vinos['uminu'] = 15; + $vinos['umaxu'] = 15; + } + if ($user['vinos'] >= $user['sila'] && $user['vinos'] >= $user['lovk'] && $user['vinos'] >= $user['inta']) { + $i_uminu = $vinos['uminu']; + $i_fkrit = $vinos['fkrit']; + $i_fauvorot = $vinos['fauvorot']; + $i_fakrit = $vinos['fakrit']; + } + if ($user['inta'] >= $user['sila'] && $user['inta'] >= $user['lovk'] && $user['inta'] >= $user['vinos']) { + $i_uminu = $inta['uminu']; + $i_fkrit = $inta['fkrit']; + $i_fauvorot = $inta['fauvorot']; + $i_fakrit = $inta['fakrit']; + } + if ($user['lovk'] >= $user['sila'] && $user['lovk'] >= $user['inta'] && $user['lovk'] >= $user['vinos']) { + $i_uminu = $lovk['uminu']; + $i_fkrit = $lovk['fkrit']; + $i_fauvorot = $lovk['fauvorot']; + $i_fakrit = $lovk['fakrit']; + } + if ($user['sila'] >= $user['lovk'] && $user['sila'] >= $user['inta'] && $user['sila'] >= $user['vinos']) { + $i_uminu = $sila['uminu']; + $i_fkrit = $sila['fkrit']; + $i_fauvorot = $sila['fauvorot']; + $i_fakrit = $sila['fakrit']; + } + if ($i_fkrit > 0) { + echo "Мф. крит: +" . $i_fkrit . "
"; + } + if ($i_fakrit > 0) { + echo "Мф. анти крит: +" . $i_fakrit . "
"; + } + if ($i_fauvorot > 0) { + echo "Мф. анти уворот: +" . $i_fauvorot . "
"; + } + if ($i_uminu > 0) { + echo "Урон: +" . $i_uminu; + } + } + } + ?> +