Закончил разработку обучения

This commit is contained in:
2023-01-15 22:47:19 +01:00
parent 45fc2f51b4
commit 739caee04b
11 changed files with 253 additions and 36 deletions

View File

@@ -29,11 +29,14 @@
<div class="se-pre-con" id="se-pre-con"></div>
<?php
if (!defined('GAME_VERSION')) {
require_once '_incl_data/autoload.php';
}
use Core\{Config, Database, Db};
use DarksLight2\Training\TrainingManager;
function var_info($vars, $d = false)
{
@@ -556,6 +559,12 @@ $spl = $spl['exp'];
echo '<script>top.myexpLineTop27(' . $u->info['exp'] . ',' . $spl . ');' . $tjs . 'top.ctest("' . $u->info['city'] . '");top.sd4key="' . $u->info['nextAct'] . '"; var battle = ' . (0 + $u->info['battle']) . '; top.hic();</script></body>
</html>';
$training_manager = TrainingManager::getInstance();
if($u->room['file']=='cp1') {
$training_manager->first_step->render();
$training_manager->second_step->render();
}
?>
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.2/modernizr.js"></script>-->
<script>