refactor
This commit is contained in:
@@ -207,8 +207,6 @@ if (!$isBattle) {
|
||||
$i++;
|
||||
}
|
||||
|
||||
|
||||
$js .= '$("#priems").html("' . $priem->seeMy() . '");';
|
||||
$jslog = $btl->lookmLog() . $btl->lookLog();
|
||||
if ($jslog != '') {
|
||||
$js = $jslog . $js;
|
||||
@@ -232,6 +230,7 @@ if (!$isBattle) {
|
||||
$smnpty = (int)$u->info['smena'];
|
||||
$mainstatus = $btl->mainStatus;
|
||||
$ggcode = PassGen::new();
|
||||
$mypriems = $priem->seeMy();
|
||||
|
||||
echo <<<HTML
|
||||
<script>
|
||||
@@ -240,6 +239,7 @@ if (!$isBattle) {
|
||||
$('#expmaybe').html('$expmaybe');
|
||||
$('#timer_out').html('$tmr');
|
||||
$('#pers_magic').html('$persMagic');
|
||||
$('#priems').html(`$mypriems`);
|
||||
g_iCount = 30;
|
||||
noconnect = 15;
|
||||
connect = 1;
|
||||
@@ -259,7 +259,10 @@ if (!$isBattle) {
|
||||
tactic(7,'$tactic7');
|
||||
smena_alls = '0';
|
||||
ggcode='$ggcode';
|
||||
|
||||
|
||||
$js
|
||||
|
||||
</script>
|
||||
HTML;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user