Переезд impstats и additem..

This commit is contained in:
2023-04-16 02:54:34 +03:00
parent 3dc4cf7284
commit 2bc67ce543
127 changed files with 584 additions and 612 deletions
+2 -2
View File
@@ -264,7 +264,7 @@ $tma = '';
$st['os9'] += (int)$_GET['speed_HP'];
$st['os10'] += (int)$_GET['speed_MP'];
$st['os11'] += (int)$_GET['speed_debuff'];
$u->info['stats'] = $u->impStats($st);
$u->info['stats'] = \Core\ConversionHelper::arrayToDataString($st);
}
if ($u->info['sskills'] - (int)$summs < 0) {
echo '&nbsp; &nbsp;<span style="color: red; ">У вас нет свободных особенностей</span><br>';
@@ -469,7 +469,7 @@ $tma = '';
$st['s10'] += (int)$_GET['god'];
}
$u->info['stats'] = $u->impStats($st);
$u->info['stats'] = \Core\ConversionHelper::arrayToDataString($st);
if (
$_GET['str'] < 0 || $_GET['dex'] < 0 || $_GET['intel'] < 0 || $_GET['wis'] < 0 || $_GET['spirit'] < 0 || $_GET['will'] < 0 || $_GET['freedom'] < 0 || $_GET['god'] < 0 || $_GET['inst'] < 0 || $_GET['power'] < 0 || $_GET['m_sword'] < 0 || $_GET['m_tohand'] < 0 || $_GET['m_molot'] < 0 || $_GET['m_staff'] < 0 || $_GET['m_magic1'] < 0 || $_GET['m_magic2'] < 0 || $_GET['m_magic3'] < 0 || $_GET['m_magic4'] < 0 || $_GET['m_magic5'] < 0 || $_GET['m_magic6'] < 0 || $_GET['m_magic7'] < 0) {